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:
DDuarte
2014-10-25 15:42:16 +01:00
parent c67fa90f3e
commit f37e5b9afd
13 changed files with 125 additions and 73 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ public:
uint32 opcode;
parsedStream >> opcode;
WorldPacket data(Opcodes(opcode), 0);
WorldPacket data(OpcodeServer(opcode), 0);
while (!parsedStream.eof())
{