Core/Opcodes: Support opcodes with the same ids and different direction
- Split enum Opcodes in enum OpcodeMisc/OpcodeClient/OpcodeServer - Old MSGs are temporarly in the enum OpcodeClient - Split _internalTable of OpcodeTable in two tables, one for CMSG opcodes and another for SMSG opcodes Note: most added static_cast<OpcodeX> will be removed once WorldPacket is split in two classes (ServerPacket/ClientPacket, see #13434)
This commit is contained in:
@@ -314,7 +314,7 @@ public:
|
||||
uint32 opcode;
|
||||
parsedStream >> opcode;
|
||||
|
||||
WorldPacket data(Opcodes(opcode), 0);
|
||||
WorldPacket data(OpcodeServer(opcode), 0);
|
||||
|
||||
while (!parsedStream.eof())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user