diff options
| author | DDuarte <dnpd.dd@gmail.com> | 2014-10-25 15:41:42 +0100 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2014-10-25 15:42:16 +0100 |
| commit | f37e5b9afd6b9d45afaf2c951d4fac0b72832865 (patch) | |
| tree | 79e76963809a2bc512dd3ef43056fb106816dae3 /src/server/scripts | |
| parent | c67fa90f3e4afd95141546676a959e89d2ac73ef (diff) | |
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)
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Commands/cs_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index 4a559e759ca..f93208a4186 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -314,7 +314,7 @@ public: uint32 opcode; parsedStream >> opcode; - WorldPacket data(Opcodes(opcode), 0); + WorldPacket data(OpcodeServer(opcode), 0); while (!parsedStream.eof()) { |
