Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)

This commit is contained in:
Shauren
2020-09-19 12:44:42 +02:00
parent c75d411a2f
commit f922c6e7a4
100 changed files with 868 additions and 818 deletions

View File

@@ -64,7 +64,7 @@ void WorldSession::SendAvailableHotfixes()
void WorldSession::HandleHotfixRequest(WorldPackets::Hotfix::HotfixRequest& hotfixQuery)
{
DB2Manager::HotfixContainer const& hotfixes = sDB2Manager.GetHotfixData();
WorldPackets::Hotfix::HotfixResponse hotfixQueryResponse;
WorldPackets::Hotfix::HotfixConnect hotfixQueryResponse;
hotfixQueryResponse.Hotfixes.reserve(hotfixQuery.Hotfixes.size());
for (DB2Manager::HotfixRecord const& hotfixRecord : hotfixQuery.Hotfixes)
{
@@ -72,7 +72,7 @@ void WorldSession::HandleHotfixRequest(WorldPackets::Hotfix::HotfixRequest& hotf
{
DB2StorageBase const* storage = sDB2Manager.GetStorage(hotfixRecord.TableHash);
WorldPackets::Hotfix::HotfixResponse::HotfixData hotfixData;
WorldPackets::Hotfix::HotfixConnect::HotfixData hotfixData;
hotfixData.Record = hotfixRecord;
if (storage && storage->HasRecord(uint32(hotfixRecord.RecordID)))
{