aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/HotfixHandler.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-11-11 17:11:00 +0100
committerShauren <shauren.trinity@gmail.com>2017-12-30 00:23:43 +0100
commit20a3c9eed2b201e36333a83e3b2d28d6f16d69bd (patch)
tree3b2709f61f841d9b32ced513f7bc5abc04649ff2 /src/server/game/Handlers/HotfixHandler.cpp
parent90834606a23a673080c17795f605298835c728af (diff)
Core/PacketIO: Update opcodes to 7.3.2
Diffstat (limited to 'src/server/game/Handlers/HotfixHandler.cpp')
-rw-r--r--src/server/game/Handlers/HotfixHandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Handlers/HotfixHandler.cpp b/src/server/game/Handlers/HotfixHandler.cpp
index 59295e2ecb6..01fe2cf9b61 100644
--- a/src/server/game/Handlers/HotfixHandler.cpp
+++ b/src/server/game/Handlers/HotfixHandler.cpp
@@ -54,15 +54,15 @@ void WorldSession::HandleDBQueryBulk(WorldPackets::Hotfix::DBQueryBulk& dbQuery)
}
}
-void WorldSession::SendHotfixList(int32 version)
+void WorldSession::SendAvailableHotfixes(int32 version)
{
- SendPacket(WorldPackets::Hotfix::HotfixList(version, sDB2Manager.GetHotfixData()).Write());
+ SendPacket(WorldPackets::Hotfix::AvailableHotfixes(version, sDB2Manager.GetHotfixData()).Write());
}
-void WorldSession::HandleHotfixQuery(WorldPackets::Hotfix::HotfixQuery& hotfixQuery)
+void WorldSession::HandleHotfixRequest(WorldPackets::Hotfix::HotfixRequest& hotfixQuery)
{
std::map<uint64, int32> const& hotfixes = sDB2Manager.GetHotfixData();
- WorldPackets::Hotfix::HotfixQueryResponse hotfixQueryResponse;
+ WorldPackets::Hotfix::HotfixResponse hotfixQueryResponse;
hotfixQueryResponse.Hotfixes.reserve(hotfixQuery.Hotfixes.size());
for (uint64 hotfixId : hotfixQuery.Hotfixes)
{
@@ -70,7 +70,7 @@ void WorldSession::HandleHotfixQuery(WorldPackets::Hotfix::HotfixQuery& hotfixQu
{
DB2StorageBase const* storage = sDB2Manager.GetStorage(PAIR64_HIPART(hotfixId));
- WorldPackets::Hotfix::HotfixQueryResponse::HotfixData hotfixData;
+ WorldPackets::Hotfix::HotfixResponse::HotfixData hotfixData;
hotfixData.ID = hotfixId;
hotfixData.RecordID = *hotfix;
if (storage->HasRecord(hotfixData.RecordID))