47 dbReply.
Data.
append(optionalData.Data.data(), optionalData.Data.size());
66 for (
auto const& [pushId, push] :
sDB2Manager.GetHotfixData())
71 availableHotfixes.
Hotfixes.insert(push.Records.front().ID);
92 hotfixData.
Record = hotfixRecord;
106 hotfixQueryResponse.
HotfixContent.
append(optionalData.Data.data(), optionalData.Data.size());
114 hotfixData.
Size = blobData->size();
#define TC_LOG_TRACE(filterType__,...)
std::map< int32, HotfixPush > HotfixContainer
Interface class for common access.
void WriteRecord(uint32 id, LocaleConstant locale, ByteBuffer &buffer) const
bool HasRecord(uint32 id) const
std::set< DB2Manager::HotfixId > Hotfixes
WorldPacket const * Write() override
int32 VirtualRealmAddress
std::vector< DBQueryRecord > Queries
DB2Manager::HotfixRecord::Status Status
WorldPacket const * Write() override
WorldPacket const * Write() override
std::vector< HotfixData > Hotfixes
std::vector< int32 > Hotfixes
void HandleDBQueryBulk(WorldPackets::Hotfix::DBQueryBulk &dbQuery)
LocaleConstant GetSessionDbcLocale() const
std::string GetPlayerInfo() const
void SendPacket(WorldPacket const *packet, bool forced=false)
Send a packet to the client.
void HandleHotfixRequest(WorldPackets::Hotfix::HotfixRequest &hotfixQuery)
void SendAvailableHotfixes()
auto MapGetValuePtr(M &map, typename M::key_type const &key)
uint32 GetAddress() const
uint32 AvailableLocalesMask
Battlenet::RealmHandle Id
DB2Manager::HotfixRecord Record