TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Opcodes.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
22 
23 #ifndef _OPCODES_H
24 #define _OPCODES_H
25 
26 #include "Common.h"
27 #include <iomanip>
28 
30 {
34 
36 };
37 
39 {
40  MAX_OPCODE = 0x3FFF,
42  UNKNOWN_OPCODE = (0xFFFF + 1),
43  NULL_OPCODE = 0xBADD
44 };
45 
47 {
53  CMSG_ADDON_LIST = 0x3555,
55  CMSG_ADD_FRIEND = 0x365E,
56  CMSG_ADD_IGNORE = 0x3662,
57  CMSG_ADD_TOY = 0x31E6,
62  CMSG_ATTACK_STOP = 0x31B4,
118  CMSG_BUG_REPORT = 0x3616,
119  CMSG_BUSY_TRADE = 0x30D6,
122  CMSG_BUY_ITEM = 0x3417,
153  CMSG_CAN_DUEL = 0x35EE,
154  CMSG_CAST_SPELL = 0x31E9,
225  CMSG_COMPLAINT = 0x35FC,
237  CMSG_DEL_FRIEND = 0x365F,
238  CMSG_DEL_IGNORE = 0x3663,
244  CMSG_DF_JOIN = 0x3588,
245  CMSG_DF_LEAVE = 0x3593,
259  CMSG_EMOTE = 0x34A7,
265  CMSG_FAR_SIGHT = 0x3450,
353  CMSG_INSPECT = 0x3490,
360  CMSG_KEEP_ALIVE = 0x360F,
392  CMSG_LOOT_ITEM = 0x316F,
393  CMSG_LOOT_MONEY = 0x316E,
395  CMSG_LOOT_ROLL = 0x3174,
396  CMSG_LOOT_UNIT = 0x316D,
435  CMSG_MOVE_JUMP = 0x3968,
462  CMSG_MOVE_STOP = 0x3964,
479  CMSG_OPEN_ITEM = 0x3263,
492  CMSG_PET_ACTION = 0x33FD,
504  CMSG_PET_RENAME = 0x3615,
508  CMSG_PING = 0x36E5,
532  CMSG_QUERY_TIME = 0x343F,
549  CMSG_READ_ITEM = 0x3264,
594  CMSG_SELF_RES = 0x3497,
595  CMSG_SELL_ITEM = 0x3416,
599  CMSG_SEND_MAIL = 0x3579,
629  CMSG_SET_PVP = 0x31F8,
631  CMSG_SET_ROLE = 0x3556,
638  CMSG_SET_TITLE = 0x31D4,
650  CMSG_SORT_BAGS = 0x326B,
655  CMSG_SPLIT_ITEM = 0x391C,
666  CMSG_SWAP_ITEM = 0x391A,
680  CMSG_TOGGLE_PVP = 0x31F7,
687  CMSG_TUTORIAL = 0x366B,
710  CMSG_USE_ITEM = 0x31E5,
711  CMSG_USE_TOY = 0x31E7,
718  CMSG_WHO = 0x3611,
719  CMSG_WHO_IS = 0x3610,
722  CMSG_WRAP_ITEM = 0x3912,
723 };
724 
726 {
735  SMSG_ADDON_INFO = 0x26FC,
776  SMSG_BAN_REASON = 0x2633,
841  SMSG_BUY_FAILED = 0x2674,
897  SMSG_CHAT = 0x2B2B,
899  SMSG_CHAT_DOWN = 0x2B40,
924  SMSG_CONNECT_TO = 0x2FCA,
944  SMSG_DB_REPLY = 0x2528,
952  SMSG_DISMOUNT = 0x265C,
969  SMSG_EMOTE = 0x277B,
988  SMSG_FORCE_ANIM = 0x2712,
1055  SMSG_GOD_MODE = 0x26BA,
1201  SMSG_LOOT_LIST = 0x2702,
1207  SMSG_LOOT_ROLL = 0x25B4,
1223  SMSG_MOTD = 0x2B2D,
1234  SMSG_MOVE_ROOT = 0x2D45,
1307  SMSG_NEW_WORLD = 0x2531,
1320  SMSG_PAGE_TEXT = 0x26D8,
1335  SMSG_PET_ADDED = 0x252E,
1355  SMSG_PET_GUIDS = 0x26C3,
1357  SMSG_PET_MODE = 0x2506,
1381  SMSG_PONG = 0x2FCB,
1519  SMSG_SHOW_BANK = 0x2629,
1538  SMSG_SPELL_GO = 0x2BB7,
1590  SMSG_UI_TIME = 0x26D4,
1625  SMSG_WEATHER = 0x2651,
1627  SMSG_WHO = 0x2B2C,
1628  SMSG_WHO_IS = 0x2650,
1644 
1645  // Opcodes that are not generated automatically
1646  SMSG_ACCOUNT_HEIRLOOM_UPDATE = 0x254B, // no client handler
1649 
1650  // Deleted opcodes, here only to allow compile
1653 };
1654 
1655 inline bool IsInstanceOnlyOpcode(uint32 opcode)
1656 {
1657  switch (opcode)
1658  {
1659  case SMSG_QUEST_GIVER_STATUS: // ClientQuest
1660  case SMSG_DUEL_REQUESTED: // Client
1661  case SMSG_DUEL_IN_BOUNDS: // Client
1662  case SMSG_QUERY_TIME_RESPONSE: // Client
1663  case SMSG_DUEL_WINNER: // Client
1664  case SMSG_DUEL_COMPLETE: // Client
1665  case SMSG_DUEL_OUT_OF_BOUNDS: // Client
1666  case SMSG_ATTACK_STOP: // Client
1667  case SMSG_ATTACK_START: // Client
1668  case SMSG_MOUNT_RESULT: // Client
1669  return true;
1670  default:
1671  return false;
1672  }
1673 }
1674 
1677 {
1678  STATUS_AUTHED = 0, // Player authenticated (_player == NULL, m_playerRecentlyLogout = false or will be reset before handler call, m_GUID have garbage)
1679  STATUS_LOGGEDIN, // Player in game (_player != NULL, m_GUID == _player->GetGUID(), inWorld())
1680  STATUS_TRANSFER, // Player transferring to another map (_player != NULL, m_GUID == _player->GetGUID(), !inWorld())
1681  STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT, // _player != NULL or _player == NULL && m_playerRecentlyLogout && m_playerLogout, m_GUID store last _player guid)
1682  STATUS_NEVER, // Opcode not accepted from client (deprecated or server side only)
1683  STATUS_UNHANDLED // Opcode not handled yet
1684 };
1685 
1687 {
1688  PROCESS_INPLACE = 0, //process packet whenever we receive it - mostly for non-handled or non-implemented packets
1689  PROCESS_THREADUNSAFE, //packet is not thread-safe - process it in World::UpdateSessions()
1690  PROCESS_THREADSAFE //packet is thread-safe - process it in Map::Update()
1691 };
1692 
1693 class WorldPacket;
1694 class WorldSession;
1695 
1696 #pragma pack(push, 1)
1697 
1699 {
1700 public:
1701  OpcodeHandler(char const* name, SessionStatus status) : Name(name), Status(status) { }
1702  virtual ~OpcodeHandler() { }
1703 
1704  char const* Name;
1706 };
1707 
1709 {
1710 public:
1711  ClientOpcodeHandler(char const* name, SessionStatus status, PacketProcessing processing)
1712  : OpcodeHandler(name, status), ProcessingPlace(processing) { }
1713 
1714  virtual void Call(WorldSession* session, WorldPacket& packet) const = 0;
1715 
1717 };
1718 
1720 {
1721 public:
1722  ServerOpcodeHandler(char const* name, SessionStatus status, ConnectionType conIdx)
1723  : OpcodeHandler(name, status), ConnectionIndex(conIdx) { }
1724 
1726 };
1727 
1729 {
1730  public:
1732  {
1733  memset(_internalTableClient, 0, sizeof(_internalTableClient));
1734  memset(_internalTableServer, 0, sizeof(_internalTableServer));
1735  }
1736 
1737  OpcodeTable(OpcodeTable const&) = delete;
1738  OpcodeTable& operator=(OpcodeTable const&) = delete;
1739 
1741  {
1742  for (uint16 i = 0; i < NUM_OPCODE_HANDLERS; ++i)
1743  {
1744  delete _internalTableClient[i];
1745  delete _internalTableServer[i];
1746  }
1747  }
1748 
1749  void Initialize();
1750 
1752  {
1753  return _internalTableClient[index];
1754  }
1755 
1757  {
1758  return _internalTableServer[index];
1759  }
1760 
1761  private:
1762  template<class PacketClass, void(WorldSession::*HandlerFunction)(PacketClass&)>
1763  void ValidateAndSetClientOpcode(OpcodeClient opcode, char const* name, SessionStatus status, PacketProcessing processing);
1764 
1765  void ValidateAndSetServerOpcode(OpcodeServer opcode, char const* name, SessionStatus status, ConnectionType conIdx);
1766 
1769 };
1770 
1771 extern OpcodeTable opcodeTable;
1772 
1773 #pragma pack(pop)
1774 
1776 template<typename T>
1777 inline std::string GetOpcodeNameForLogging(T id)
1778 {
1779  uint32 opcode = uint32(id);
1780  std::ostringstream ss;
1781  ss << '[';
1782 
1783  if (static_cast<uint32>(id) < UNKNOWN_OPCODE)
1784  {
1785  if (OpcodeHandler const* handler = opcodeTable[T(opcode & 0x7FFF)])
1786  ss << handler->Name;
1787  else
1788  ss << "UNKNOWN OPCODE";
1789  }
1790  else
1791  ss << "INVALID OPCODE";
1792 
1793  ss << " 0x" << std::hex << std::setw(4) << std::setfill('0') << std::uppercase << opcode << std::nouppercase << std::dec << " (" << opcode << ")]";
1794  return ss.str();
1795 }
1796 
1797 
1798 #endif
1799 
Definition: Opcodes.h:590
Definition: Opcodes.h:1065
Definition: Opcodes.h:228
Definition: Opcodes.h:68
Definition: Opcodes.h:1095
Definition: Opcodes.h:154
Definition: Opcodes.h:140
Definition: Opcodes.h:783
Definition: Opcodes.h:586
Definition: Opcodes.h:408
Definition: Opcodes.h:134
Definition: Opcodes.h:1056
Definition: Opcodes.h:579
Definition: Opcodes.h:1218
Definition: Opcodes.h:965
Definition: Opcodes.h:1212
Definition: Opcodes.h:499
Definition: Opcodes.h:718
Definition: Opcodes.h:1074
Definition: Opcodes.h:975
Definition: Opcodes.h:87
Definition: Opcodes.h:1152
Definition: Opcodes.h:816
ServerOpcodeHandler * _internalTableServer[NUM_OPCODE_HANDLERS]
Definition: Opcodes.h:1768
Definition: Opcodes.h:346
Definition: Opcodes.h:78
Definition: Opcodes.h:1463
Definition: Opcodes.h:1627
Definition: Opcodes.h:1583
Definition: Opcodes.h:1201
Definition: Opcodes.h:313
Definition: Opcodes.h:949
Definition: Opcodes.h:1502
Definition: Opcodes.h:1248
Definition: Opcodes.h:1336
Definition: Opcodes.h:598
Definition: Opcodes.h:787
Definition: Opcodes.h:291
Definition: Opcodes.h:762
Definition: Opcodes.h:204
Definition: Opcodes.h:623
Definition: Opcodes.h:1545
Definition: Opcodes.h:1245
Definition: Opcodes.h:1326
Definition: Opcodes.h:1407
Definition: Opcodes.h:779
Definition: Opcodes.h:1344
Definition: Opcodes.h:828
Definition: Opcodes.h:1183
Definition: Opcodes.h:780
Definition: Opcodes.h:376
Definition: Opcodes.h:1531
Definition: Opcodes.h:1461
Definition: Opcodes.h:1416
Definition: Opcodes.h:1390
Definition: Opcodes.h:922
Definition: Opcodes.h:606
Definition: Opcodes.h:456
Definition: Opcodes.h:825
Definition: Opcodes.h:481
Definition: Opcodes.h:1242
Definition: Opcodes.h:1435
OpcodeTable opcodeTable
Definition: Opcodes.cpp:49
Definition: Opcodes.h:789
Definition: Opcodes.h:520
Definition: Opcodes.h:102
Definition: Opcodes.h:224
Definition: Opcodes.h:1349
Definition: Opcodes.h:657
Definition: Opcodes.h:1454
Definition: Opcodes.h:1541
Definition: Opcodes.h:1159
Definition: Opcodes.h:311
Definition: Opcodes.h:462
Definition: Opcodes.h:415
Definition: Opcodes.h:243
Definition: Opcodes.h:505
Definition: Opcodes.h:819
Definition: Opcodes.h:485
Definition: Opcodes.h:709
Definition: Opcodes.h:543
Definition: Opcodes.h:516
Definition: Opcodes.h:747
Definition: Opcodes.h:699
Definition: Opcodes.h:772
Definition: Opcodes.h:1253
Definition: Opcodes.h:1602
Definition: Opcodes.h:1579
Definition: Opcodes.h:791
Definition: Opcodes.h:362
Definition: Opcodes.h:403
Definition: Opcodes.h:1198
Definition: Opcodes.h:341
Definition: Opcodes.h:309
Definition: Opcodes.h:355
Definition: Opcodes.h:1626
Definition: Opcodes.h:1547
Definition: Opcodes.h:953
Definition: Opcodes.h:252
Definition: Opcodes.h:223
Definition: Opcodes.h:1323
Definition: Opcodes.h:1110
Definition: Opcodes.h:761
Definition: Opcodes.h:1402
PacketProcessing
Definition: Opcodes.h:1686
Definition: Opcodes.h:467
Definition: Opcodes.h:181
Definition: Opcodes.h:920
Definition: Opcodes.h:423
Definition: Opcodes.h:615
Definition: Opcodes.h:844
Definition: Opcodes.h:1324
Definition: Opcodes.h:991
Definition: Opcodes.h:1289
Definition: Opcodes.h:1214
Definition: Opcodes.h:101
Definition: Opcodes.h:521
Definition: Opcodes.h:748
Definition: Opcodes.h:1162
Definition: Opcodes.h:1548
Definition: Opcodes.h:1439
Definition: Opcodes.h:951
Definition: Opcodes.h:1612
Definition: Opcodes.h:909
Definition: Opcodes.h:434
Definition: Opcodes.h:296
Definition: Opcodes.h:306
Definition: Opcodes.h:1294
Definition: Opcodes.h:535
Definition: Opcodes.h:927
Definition: Opcodes.h:86
Definition: Opcodes.h:482
Definition: Opcodes.h:932
Definition: Opcodes.h:54
~OpcodeTable()
Definition: Opcodes.h:1740
Definition: Opcodes.h:660
Definition: Opcodes.h:1082
Definition: Opcodes.h:1156
Definition: Opcodes.h:113
Definition: Opcodes.h:1087
Definition: Opcodes.h:972
Definition: Opcodes.h:1352
Definition: Opcodes.h:612
Definition: Opcodes.h:1604
Definition: Opcodes.h:429
Definition: Opcodes.h:1634
Definition: Opcodes.h:956
Definition: Opcodes.h:867
Definition: Opcodes.h:502
Definition: Opcodes.h:1362
Definition: Opcodes.h:1047
Definition: Opcodes.h:391
Definition: Opcodes.h:902
Definition: Opcodes.h:251
Definition: Opcodes.h:171
Definition: Opcodes.h:1120
Definition: Opcodes.h:899
Definition: Opcodes.h:344
Definition: Opcodes.h:450
Definition: Opcodes.h:930
Definition: Opcodes.h:381
Definition: Opcodes.h:917
Definition: Opcodes.h:1041
Definition: Opcodes.h:389
OpcodeMisc
Definition: Opcodes.h:38
Definition: Opcodes.h:294
Definition: Opcodes.h:1518
Definition: Opcodes.h:305
Definition: Opcodes.h:377
Definition: Opcodes.h:238
Definition: Opcodes.h:271
Definition: Opcodes.h:1434
Definition: Opcodes.h:1282
Definition: Opcodes.h:1060
Definition: Opcodes.h:1391
Definition: Opcodes.h:751
Definition: Opcodes.h:688
Definition: Opcodes.h:1300
Definition: Opcodes.h:59
Definition: Opcodes.h:1133
Definition: Opcodes.h:840
Definition: Opcodes.h:1398
Definition: Opcodes.h:307
Definition: Opcodes.h:1568
Definition: Opcodes.h:925
Definition: Opcodes.h:475
Definition: Opcodes.h:827
Definition: Opcodes.h:178
Definition: Opcodes.h:1342
Definition: Opcodes.h:1418
Definition: Opcodes.h:418
Definition: Opcodes.h:1455
Definition: Opcodes.h:826
Definition: Opcodes.h:935
Definition: Opcodes.h:862
Definition: Opcodes.h:1632
Definition: Opcodes.h:1209
Definition: Opcodes.h:1073
Definition: Opcodes.h:976
Definition: Opcodes.h:1222
Definition: Opcodes.h:1271
Definition: Opcodes.h:647
Definition: Opcodes.h:162
Definition: Opcodes.h:730
Definition: Opcodes.h:207
Definition: Opcodes.h:974
Definition: Opcodes.h:1169
Definition: Opcodes.h:270
IntFormatSpec< int, TypeSpec<'x'> > hex(int value)
Definition: Opcodes.h:1470
Definition: Opcodes.h:115
Definition: Opcodes.h:757
Definition: Opcodes.h:330
Definition: Opcodes.h:1207
Definition: Opcodes.h:48
Definition: Opcodes.h:689
Definition: Opcodes.h:1582
Definition: Opcodes.h:829
Definition: Opcodes.h:565
Definition: Opcodes.h:1331
Definition: Opcodes.h:1590
Definition: Opcodes.h:967
Definition: Opcodes.h:1377
Definition: Opcodes.h:1639
Definition: Opcodes.h:940
Definition: Opcodes.h:635
Definition: Opcodes.h:1304
Definition: Opcodes.h:324
Definition: Opcodes.h:538
Definition: Opcodes.h:979
Definition: Opcodes.h:527
Definition: Opcodes.h:276
Definition: Opcodes.h:1595
Definition: Opcodes.h:235
Definition: Opcodes.h:244
Definition: Opcodes.h:301
Definition: Opcodes.h:536
Definition: Opcodes.h:1526
Definition: Opcodes.h:734
Definition: Opcodes.h:918
Definition: Opcodes.h:1143
PacketProcessing ProcessingPlace
Definition: Opcodes.h:1716
Definition: Opcodes.h:1101
Definition: Opcodes.h:139
Definition: Opcodes.h:263
Definition: Opcodes.h:632
Definition: Opcodes.h:1043
Definition: Opcodes.h:1261
Definition: Opcodes.h:871
Definition: Opcodes.h:572
void ValidateAndSetClientOpcode(OpcodeClient opcode, char const *name, SessionStatus status, PacketProcessing processing)
Definition: Opcodes.cpp:52
Definition: Opcodes.h:589
Definition: Opcodes.h:471
Definition: Opcodes.h:260
Definition: Opcodes.h:1577
Definition: Opcodes.h:692
Definition: Opcodes.h:74
Definition: Opcodes.h:1229
Definition: Opcodes.h:365
Definition: Opcodes.h:663
Definition: Opcodes.h:1148
Definition: Opcodes.h:810
Definition: Opcodes.h:53
Definition: Opcodes.h:1452
Definition: Opcodes.h:214
Definition: Opcodes.h:621
Definition: Opcodes.h:489
Definition: Opcodes.h:69
Definition: Opcodes.h:1578
Definition: Opcodes.h:343
Definition: Opcodes.h:1233
Definition: Opcodes.h:1487
Definition: Opcodes.h:1052
Definition: Opcodes.h:998
Definition: Opcodes.h:778
Definition: Opcodes.h:142
Definition: Opcodes.h:643
Definition: Opcodes.h:833
Definition: Opcodes.h:1533
Definition: Opcodes.h:547
Definition: Opcodes.h:1519
Definition: Opcodes.h:1210
Definition: Opcodes.h:738
Definition: Opcodes.h:633
Definition: Opcodes.h:1316
Definition: Opcodes.h:1611
Definition: Opcodes.h:366
Definition: Opcodes.h:1553
Definition: Opcodes.h:337
Definition: Opcodes.h:1359
Definition: Opcodes.h:1057
Definition: Opcodes.h:143
Definition: Opcodes.h:168
Definition: Opcodes.h:959
Definition: Opcodes.h:1263
Definition: Opcodes.h:1185
Definition: Opcodes.h:1690
Definition: Opcodes.h:1191
ServerOpcodeHandler(char const *name, SessionStatus status, ConnectionType conIdx)
Definition: Opcodes.h:1722
Definition: Opcodes.h:308
Definition: Opcodes.h:1049
Definition: Opcodes.h:1405
Definition: Opcodes.h:1090
Definition: Opcodes.h:517
Definition: Opcodes.h:613
Definition: Opcodes.h:894
Definition: Opcodes.h:79
Definition: Opcodes.h:1239
Definition: Opcodes.h:399
Definition: Opcodes.h:141
Definition: Opcodes.h:564
Definition: Opcodes.h:137
Definition: Opcodes.h:1298
bool IsInstanceOnlyOpcode(uint32 opcode)
Definition: Opcodes.h:1655
Definition: Opcodes.h:1589
Definition: Opcodes.h:1099
Definition: Opcodes.h:858
Definition: Opcodes.h:834
Definition: Opcodes.h:1005
Definition: Opcodes.h:414
Definition: Opcodes.h:653
Definition: Opcodes.h:936
Definition: Opcodes.h:1236
Definition: Opcodes.h:353
Definition: Opcodes.h:509
Definition: Opcodes.h:770
Definition: Opcodes.h:1620
Definition: Opcodes.h:715
Definition: Opcodes.h:608
Definition: Opcodes.h:275
Definition: Opcodes.h:1628
Definition: Opcodes.h:88
Definition: Opcodes.h:1027
Definition: Opcodes.h:472
Definition: Opcodes.h:1594
Definition: Opcodes.h:1523
Definition: Opcodes.h:1172
Definition: Opcodes.h:237
Definition: Opcodes.h:1125
Definition: Opcodes.h:946
Definition: Opcodes.h:942
Definition: Opcodes.h:642
Definition: Opcodes.h:342
Definition: Opcodes.h:127
Definition: Opcodes.h:1139
Definition: Opcodes.h:696
Definition: Opcodes.h:159
Definition: Opcodes.h:793
Definition: Opcodes.h:1204
Definition: Opcodes.h:1118
Definition: Opcodes.h:796
Definition: Opcodes.h:666
Definition: Opcodes.h:814
Definition: Opcodes.h:1610
virtual ~OpcodeHandler()
Definition: Opcodes.h:1702
Definition: Opcodes.h:1642
Definition: Opcodes.h:236
Definition: Opcodes.h:385
Definition: Opcodes.h:1625
Definition: Opcodes.h:57
Definition: Opcodes.h:1618
Definition: Opcodes.h:166
Definition: Opcodes.h:548
Definition: Opcodes.h:1311
Definition: Opcodes.h:1374
Definition: Opcodes.h:1564
Definition: Opcodes.h:898
Definition: Opcodes.h:1544
Definition: Opcodes.h:1512
Definition: Opcodes.h:393
Definition: Opcodes.h:943
Definition: Opcodes.h:1388
Definition: Opcodes.h:310
Definition: Opcodes.h:1592
Definition: Opcodes.h:55
Definition: Opcodes.h:89
Definition: Opcodes.h:1117
Definition: Opcodes.h:507
Definition: Opcodes.h:882
Definition: Opcodes.h:245
Definition: Opcodes.h:1154
Definition: Opcodes.h:1278
Definition: Opcodes.h:380
Definition: Opcodes.h:714
Definition: Opcodes.h:1307
Definition: Opcodes.h:417
Definition: Opcodes.h:1351
Definition: Opcodes.h:1588
Definition: Opcodes.h:1422
Definition: Opcodes.h:638
Definition: Opcodes.h:1389
Definition: Opcodes.h:1648
std::string GetOpcodeNameForLogging(T id)
Lookup opcode name for human understandable logging (T = OpcodeClient|OpcodeServer) ...
Definition: Opcodes.h:1777
Definition: Opcodes.h:1237
Definition: Opcodes.h:1028
Definition: Opcodes.h:1614
Definition: Opcodes.h:49
Definition: Opcodes.h:1220
Definition: Opcodes.h:702
Definition: Opcodes.h:1247
Definition: Opcodes.h:334
Definition: Opcodes.h:398
Definition: Opcodes.h:904
Definition: Opcodes.h:1023
Definition: Opcodes.h:1258
Definition: Opcodes.h:1355
Definition: Opcodes.h:136
Definition: Opcodes.h:1560
Definition: Opcodes.h:1167
Definition: Opcodes.h:599
Definition: Opcodes.h:248
Definition: Opcodes.h:219
Definition: Opcodes.h:1320
Definition: Opcodes.h:80
Definition: Opcodes.h:637
Definition: Opcodes.h:1492
Definition: Opcodes.h:1256
Definition: Opcodes.h:249
Definition: Opcodes.h:138
Definition: Opcodes.h:1195
Definition: Opcodes.h:1181
Definition: Opcodes.h:173
Definition: Opcodes.h:1036
Definition: Opcodes.h:1419
Definition: Opcodes.h:870
Definition: Opcodes.h:671
Definition: Opcodes.h:562
Definition: Opcodes.h:727
Definition: Opcodes.h:382
Definition: Opcodes.h:1293
Definition: Opcodes.h:409
Definition: Opcodes.h:1586
Definition: Opcodes.h:388
Definition: Opcodes.h:1497
Definition: Opcodes.h:691
Definition: Opcodes.h:401
Definition: Opcodes.h:58
Definition: Opcodes.h:118
Definition: Opcodes.h:523
Definition: Opcodes.h:1106
Definition: Opcodes.h:257
Definition: Opcodes.h:668
Definition: Opcodes.h:1009
Definition: Opcodes.h:449
Definition: Opcodes.h:665
Definition: Opcodes.h:695
Definition: Opcodes.h:1200
Definition: Opcodes.h:42
Definition: Opcodes.h:1308
Definition: Opcodes.h:1295
Definition: Opcodes.h:1076
Definition: Opcodes.h:476
Definition: Opcodes.h:765
Definition: Opcodes.h:924
Definition: Opcodes.h:129
Definition: Opcodes.h:1072
Definition: Opcodes.h:817
Definition: Opcodes.h:989
Definition: Opcodes.h:616
Definition: Opcodes.h:841
Definition: Opcodes.h:644
Definition: Opcodes.h:742
Definition: Opcodes.h:619
Definition: Opcodes.h:340
Definition: Opcodes.h:239
Definition: Opcodes.h:1093
Definition: Opcodes.h:437
Definition: Opcodes.h:1506
Definition: Opcodes.h:1552
Definition: Opcodes.h:303
Definition: Opcodes.h:130
Definition: Opcodes.h:448
Definition: Opcodes.h:1456
Definition: Opcodes.h:496
Definition: Opcodes.h:397
Definition: Opcodes.h:1350
Definition: Opcodes.h:1288
Definition: Opcodes.h:273
Definition: Opcodes.h:1182
Definition: Opcodes.h:994
Definition: Opcodes.h:888
Definition: Opcodes.h:1119
Definition: Opcodes.h:192
Definition: Opcodes.h:1504
Definition: Opcodes.h:717
Definition: Opcodes.h:500
Definition: Opcodes.h:818
Definition: Opcodes.h:1092
Definition: Opcodes.h:185
Definition: Opcodes.h:370
Definition: Opcodes.h:1593
Definition: Opcodes.h:938
Definition: Opcodes.h:931
Definition: Opcodes.h:1471
Definition: Opcodes.h:1401
Definition: Opcodes.h:1312
Definition: Opcodes.h:1646
virtual void Call(WorldSession *session, WorldPacket &packet) const =0
Definition: Opcodes.h:838
char const * Name
Definition: Opcodes.h:1704
Definition: Opcodes.h:83
Definition: Opcodes.h:1513
Definition: Opcodes.h:231
Definition: Opcodes.h:149
Definition: Opcodes.h:1457
Definition: Opcodes.h:1409
Definition: Opcodes.h:75
Definition: Opcodes.h:1505
Definition: Opcodes.h:1000
Definition: Opcodes.h:70
Definition: Opcodes.h:921
Definition: Opcodes.h:776
Definition: Opcodes.h:662
Definition: Opcodes.h:721
Definition: Opcodes.h:1317
Definition: Opcodes.h:323
Definition: Opcodes.h:837
Definition: Opcodes.h:1459
Definition: Opcodes.h:708
Definition: Opcodes.h:712
Definition: Opcodes.h:1301
Definition: Opcodes.h:556
Definition: Opcodes.h:1006
Definition: Opcodes.h:1428
Definition: Opcodes.h:1175
Definition: Opcodes.h:144
Definition: Opcodes.h:875
Definition: Opcodes.h:999
Definition: Opcodes.h:1100
Definition: Opcodes.h:906
Definition: Opcodes.h:1059
SessionStatus
Player state.
Definition: Opcodes.h:1676
Definition: Opcodes.h:320
Definition: Opcodes.h:1157
Definition: Opcodes.h:422
Definition: Opcodes.h:1277
Definition: Opcodes.h:188
Definition: Opcodes.h:186
Definition: Opcodes.h:479
Definition: Opcodes.h:896
Definition: Opcodes.h:769
Definition: Opcodes.h:1339
Definition: Opcodes.h:412
Definition: Opcodes.h:1292
Definition: Opcodes.h:122
Definition: Opcodes.h:1431
Definition: Opcodes.h:554
Definition: Opcodes.h:155
Definition: Opcodes.h:329
Definition: Opcodes.h:1322
Definition: Opcodes.h:1679
Definition: Opcodes.h:1260
Definition: Opcodes.h:1383
Definition: Opcodes.h:886
Definition: Opcodes.h:200
Definition: Opcodes.h:1488
Definition: Opcodes.h:1303
Definition: Opcodes.h:603
Definition: Opcodes.h:996
Definition: Opcodes.h:1064
Definition: Opcodes.h:566
Definition: Opcodes.h:1445
Definition: Opcodes.h:745
Definition: Opcodes.h:174
Definition: Opcodes.h:1516
Definition: Opcodes.h:277
Definition: Opcodes.h:262
Definition: Opcodes.h:550
Definition: Opcodes.h:872
Definition: Opcodes.h:410
Definition: Opcodes.h:1643
Definition: Opcodes.h:1537
Definition: Opcodes.h:812
Definition: Opcodes.h:652
Definition: Opcodes.h:119
Definition: Opcodes.h:777
Definition: Opcodes.h:1580
Definition: Opcodes.h:1108
Definition: Opcodes.h:1599
Definition: Opcodes.h:1032
Definition: Opcodes.h:1348
Definition: Opcodes.h:831
Definition: Opcodes.h:1029
Definition: Opcodes.h:912
Definition: Opcodes.h:570
Definition: Opcodes.h:304
Definition: Opcodes.h:1384
Definition: Opcodes.h:419
Definition: Opcodes.h:225
Definition: Opcodes.h:67
Definition: Opcodes.h:433
Definition: Opcodes.h:1683
Definition: Opcodes.h:1203
Definition: Opcodes.h:1652
Definition: Opcodes.h:577
Definition: Opcodes.h:815
Definition: Opcodes.h:117
Definition: Opcodes.h:605
Definition: Opcodes.h:1441
Definition: Opcodes.h:1448
Definition: Opcodes.h:1458
Definition: Opcodes.h:1276
Definition: Opcodes.h:374
Definition: Opcodes.h:202
Definition: Opcodes.h:739
Definition: Opcodes.h:1489
Definition: Opcodes.h:1321
Definition: Opcodes.h:584
Definition: Opcodes.h:1371
Definition: Opcodes.h:1291
Definition: Opcodes.h:258
Definition: Opcodes.h:104
Definition: Opcodes.h:744
Definition: Opcodes.h:1225
Definition: Opcodes.h:1635
Definition: Opcodes.h:1584
Definition: Opcodes.h:1587
Definition: Opcodes.h:1485
Definition: Opcodes.h:839
Definition: Opcodes.h:1474
Definition: Opcodes.h:911
Definition: Opcodes.h:164
Definition: Opcodes.h:962
Definition: Opcodes.h:1325
Definition: Opcodes.h:1174
Definition: Opcodes.h:445
Definition: Opcodes.h:441
Definition: Opcodes.h:700
Definition: Opcodes.h:737
Definition: Opcodes.h:681
Definition: Opcodes.h:950
Definition: Opcodes.h:876
OpcodeTable()
Definition: Opcodes.h:1731
Definition: Opcodes.h:216
Definition: Opcodes.h:650
Definition: Opcodes.h:533
Definition: Opcodes.h:733
Definition: Opcodes.h:1499
Definition: Opcodes.h:431
Definition: Opcodes.h:677
Definition: Opcodes.h:1376
Definition: Opcodes.h:232
Definition: Opcodes.h:1538
Definition: Opcodes.h:947
Definition: Opcodes.h:285
Definition: Opcodes.h:822
Definition: Opcodes.h:1429
Definition: Opcodes.h:1387
Definition: Opcodes.h:758
Definition: Opcodes.h:1397
Definition: Opcodes.h:1496
Definition: Opcodes.h:1550
Definition: Opcodes.h:1395
Definition: Opcodes.h:1066
Definition: Opcodes.h:1357
Definition: Opcodes.h:900
Definition: Opcodes.h:1285
Definition: Opcodes.h:1340
Definition: Opcodes.h:1022
Definition: Opcodes.h:256
Definition: Opcodes.h:492
Definition: Opcodes.h:1647
Definition: Opcodes.h:1680
Definition: Opcodes.h:1126
Definition: Opcodes.h:1598
Definition: Opcodes.h:1063
Definition: Opcodes.h:923
Definition: Opcodes.h:802
Definition: Opcodes.h:33
Definition: Opcodes.h:121
Definition: Opcodes.h:65
Definition: Opcodes.h:1563
Definition: Opcodes.h:493
Definition: Opcodes.h:161
Definition: Opcodes.h:1145
Definition: Opcodes.h:1061
Definition: Opcodes.h:193
Definition: Opcodes.h:854
Definition: Opcodes.h:1077
Definition: Opcodes.h:1438
Definition: Opcodes.h:1267
Definition: Opcodes.h:163
Definition: Opcodes.h:1045
Definition: Opcodes.h:1483
Definition: Opcodes.h:667
Definition: Opcodes.h:241
Definition: Opcodes.h:889
Definition: Opcodes.h:971
Definition: Opcodes.h:1543
Definition: Opcodes.h:1353
Definition: Opcodes.h:988
Definition: Opcodes.h:1446
Definition: Opcodes.h:1572
Definition: Opcodes.h:332
Definition: Opcodes.h:1115
Definition: Opcodes.h:43
Definition: Opcodes.h:463
Definition: Opcodes.h:1486
Definition: Opcodes.h:436
Definition: Opcodes.h:847
Definition: Opcodes.h:655
Definition: Opcodes.h:1562
Definition: Opcodes.h:1524
Definition: Opcodes.h:333
Definition: Opcodes.h:1411
Definition: Opcodes.h:466
Definition: Opcodes.h:1382
Definition: Opcodes.h:809
Definition: Opcodes.h:760
Definition: Opcodes.h:1299
Definition: Opcodes.h:315
Definition: Opcodes.h:255
Definition: Opcodes.h:540
Definition: Opcodes.h:1176
Definition: Opcodes.h:112
Definition: Opcodes.h:1501
Definition: Opcodes.h:1561
Definition: Opcodes.h:357
Definition: Opcodes.h:1230
Definition: Opcodes.h:319
Definition: Opcodes.h:1557
Definition: Opcodes.h:1268
Definition: Opcodes.h:354
Definition: Opcodes.h:198
Definition: Opcodes.h:573
Definition: Opcodes.h:81
Definition: Opcodes.h:1366
Definition: Opcodes.h:740
Definition: Opcodes.h:109
Definition: Opcodes.h:1403
Definition: Opcodes.h:544
Definition: Opcodes.h:1570
Definition: Opcodes.h:474
Definition: Opcodes.h:176
Definition: Opcodes.h:373
Definition: Opcodes.h:361
Definition: Opcodes.h:116
Definition: Opcodes.h:242
Definition: Opcodes.h:893
Definition: Opcodes.h:151
Definition: Opcodes.h:480
Definition: Opcodes.h:1556
Definition: Opcodes.h:1426
Definition: Opcodes.h:1380
Definition: Opcodes.h:1341
Definition: Opcodes.h:610
Definition: Opcodes.h:1453
Definition: Opcodes.h:1026
Definition: Opcodes.h:1096
Definition: Opcodes.h:749
Definition: Opcodes.h:1280
Definition: Opcodes.h:587
Definition: Opcodes.h:519
Definition: Opcodes.h:190
Definition: Opcodes.h:846
Definition: Opcodes.h:1123
ClientOpcodeHandler const * operator[](OpcodeClient index) const
Definition: Opcodes.h:1751
Definition: Opcodes.h:583
Definition: Opcodes.h:1637
Definition: Opcodes.h:1364
Definition: Opcodes.h:732
Definition: Opcodes.h:430
Definition: Opcodes.h:799
Definition: Opcodes.h:105
Definition: Opcodes.h:981
Definition: Opcodes.h:1467
Definition: Opcodes.h:1490
Definition: Opcodes.h:711
Definition: Opcodes.h:41
Definition: Opcodes.h:212
Definition: Opcodes.h:786
Definition: Opcodes.h:1211
Definition: Opcodes.h:209
Definition: Opcodes.h:1136
Definition: Opcodes.h:1058
Definition: Opcodes.h:640
Definition: Opcodes.h:961
Definition: Opcodes.h:451
Definition: Opcodes.h:964
Definition: Opcodes.h:639
Definition: Opcodes.h:1574
Definition: Opcodes.h:454
Definition: Opcodes.h:1329
Definition: Opcodes.h:351
OpcodeTable & operator=(OpcodeTable const &)=delete
Definition: Opcodes.h:1208
Definition: Opcodes.h:604
Definition: Opcodes.h:515
Definition: Opcodes.h:885
Definition: Opcodes.h:220
Definition: Opcodes.h:1681
Definition: Opcodes.h:1011
Definition: Opcodes.h:356
Definition: Opcodes.h:1549
Definition: Opcodes.h:774
Definition: Opcodes.h:574
Definition: Opcodes.h:348
Definition: Opcodes.h:824
Definition: Opcodes.h:518
Definition: Opcodes.h:1436
Definition: Opcodes.h:508
Definition: Opcodes.h:1235
Definition: Opcodes.h:522
Definition: Opcodes.h:1484
Definition: Opcodes.h:501
Definition: Opcodes.h:368
Definition: Opcodes.h:597
OpcodeServer
Definition: Opcodes.h:725
Definition: Opcodes.h:558
Definition: Opcodes.h:986
Definition: Opcodes.h:901
Definition: Opcodes.h:1413
Definition: Opcodes.h:926
Definition: Opcodes.h:1206
Definition: Opcodes.h:1629
Definition: Opcodes.h:1539
Definition: Opcodes.h:1310
Definition: Opcodes.h:135
Definition: Opcodes.h:532
Definition: Opcodes.h:746
Definition: Opcodes.h:1596
Definition: Opcodes.h:878
Definition: Opcodes.h:832
Definition: Opcodes.h:928
Definition: Opcodes.h:61
Definition: Opcodes.h:768
Definition: Opcodes.h:1084
Definition: Opcodes.h:1468
Definition: Opcodes.h:531
Definition: Opcodes.h:626
Definition: Opcodes.h:145
Definition: Opcodes.h:897
Definition: Opcodes.h:881
Definition: Opcodes.h:1605
Definition: Opcodes.h:226
Definition: Opcodes.h:1546
Definition: Opcodes.h:1451
Definition: Opcodes.h:1244
Definition: Opcodes.h:326
Definition: Opcodes.h:1199
Definition: Opcodes.h:622
Definition: Opcodes.h:649
Definition: Opcodes.h:1330
Definition: Opcodes.h:873
Definition: Opcodes.h:197
Definition: Opcodes.h:1160
Definition: Opcodes.h:1414
Definition: Opcodes.h:1241
Definition: Opcodes.h:1575
Definition: Opcodes.h:753
Definition: Opcodes.h:1234
Definition: Opcodes.h:798
Definition: Opcodes.h:1607
Definition: Opcodes.h:794
Definition: Opcodes.h:379
Definition: Opcodes.h:1493
Definition: Opcodes.h:331
Definition: Opcodes.h:1254
Definition: Opcodes.h:863
Definition: Opcodes.h:617
Definition: Opcodes.h:1608
Definition: Opcodes.h:1507
Definition: Opcodes.h:1392
Definition: Opcodes.h:1146
Definition: Opcodes.h:491
Definition: Opcodes.h:1062
Definition: Opcodes.h:460
Definition: Opcodes.h:966
Definition: Opcodes.h:741
Definition: Opcodes.h:1089
Definition: Opcodes.h:1347
Definition: Opcodes.h:1232
Definition: Opcodes.h:287
Definition: Opcodes.h:269
Definition: Opcodes.h:1246
Definition: Opcodes.h:457
Definition: Opcodes.h:1150
Definition: Opcodes.h:1517
Definition: Opcodes.h:458
Definition: Opcodes.h:968
Definition: Opcodes.h:50
Definition: Opcodes.h:1386
Definition: Opcodes.h:1432
Definition: Opcodes.h:302
Definition: Opcodes.h:158
Definition: Opcodes.h:93
Definition: Opcodes.h:1443
Definition: Opcodes.h:1238
Definition: Opcodes.h:752
Definition: Opcodes.h:820
Definition: Opcodes.h:658
Definition: Opcodes.h:1197
Definition: Opcodes.h:395
Definition: Opcodes.h:823
Definition: Opcodes.h:568
void ValidateAndSetServerOpcode(OpcodeServer opcode, char const *name, SessionStatus status, ConnectionType conIdx)
Definition: Opcodes.cpp:75
Definition: Opcodes.h:1081
Definition: Opcodes.h:790
Definition: Opcodes.h:1365
Definition: Opcodes.h:114
Definition: Opcodes.h:1051
Definition: Opcodes.h:1494
Definition: Opcodes.h:98
uint32_t uint32
Definition: Define.h:150
Definition: Opcodes.h:1356
Definition: Opcodes.h:77
Definition: Opcodes.h:684
Definition: Opcodes.h:1306
Definition: Opcodes.h:443
Definition: Opcodes.h:869
Definition: Opcodes.h:290
Definition: Opcodes.h:338
Definition: Opcodes.h:1363
Definition: Opcodes.h:52
Definition: Opcodes.h:461
Definition: Opcodes.h:1385
Definition: Opcodes.h:1585
Definition: Opcodes.h:1621
Definition: Opcodes.h:1479
Definition: Opcodes.h:1315
Definition: Opcodes.h:1266
Definition: Opcodes.h:954
Definition: Opcodes.h:756
Definition: Opcodes.h:1503
Definition: Opcodes.h:969
uint16_t uint16
Definition: Define.h:151
Definition: Opcodes.h:1682
Definition: Opcodes.h:1338
Definition: Opcodes.h:284
Definition: Opcodes.h:1297
Definition: Opcodes.h:1163
Definition: Opcodes.h:62
Definition: Opcodes.h:611
Definition: Opcodes.h:498
Definition: Opcodes.h:1085
Definition: Opcodes.h:686
Definition: Opcodes.h:438
Definition: Opcodes.h:1498
Definition: Opcodes.h:435
Definition: Opcodes.h:797
Definition: Opcodes.h:1164
Definition: Opcodes.h:1104
Definition: Opcodes.h:866
Definition: Opcodes.h:1410
Definition: Opcodes.h:915
Definition: Opcodes.h:529
Definition: Opcodes.h:128
Definition: Opcodes.h:955
Definition: Opcodes.h:371
Definition: Opcodes.h:1591
Definition: Opcodes.h:674
Definition: Opcodes.h:146
Definition: Opcodes.h:288
Definition: Opcodes.h:1515
ServerOpcodeHandler const * operator[](OpcodeServer index) const
Definition: Opcodes.h:1756
Definition: Opcodes.h:503
Definition: Opcodes.h:64
Definition: Opcodes.h:250
Definition: Opcodes.h:167
Definition: Opcodes.h:929
Definition: Opcodes.h:706
Definition: Opcodes.h:1075
Definition: Opcodes.h:859
Definition: Opcodes.h:821
Definition: Opcodes.h:1613
Definition: Opcodes.h:588
Definition: Opcodes.h:97
void Initialize()
Correspondence between opcodes and their names.
Definition: Opcodes.cpp:111
Definition: Opcodes.h:978
Definition: Opcodes.h:1576
Definition: Opcodes.h:1328
Definition: Opcodes.h:970
Definition: Opcodes.h:1651
Definition: Opcodes.h:90
Definition: Opcodes.h:1171
Definition: Opcodes.h:1048
Definition: Opcodes.h:469
Definition: Opcodes.h:607
Definition: Opcodes.h:486
Definition: Opcodes.h:1559
Definition: Opcodes.h:1555
Definition: Opcodes.h:96
Definition: Opcodes.h:676
Definition: Opcodes.h:468
Definition: Opcodes.h:1215
Definition: Opcodes.h:704
Definition: Opcodes.h:627
Definition: Opcodes.h:1141
Definition: Opcodes.h:801
Definition: Opcodes.h:1369
Definition: Opcodes.h:559
Definition: Opcodes.h:957
Definition: Opcodes.h:170
Definition: Opcodes.h:1078
Definition: Opcodes.h:279
Definition: Opcodes.h:1525
Definition: Opcodes.h:405
Definition: Opcodes.h:1396
Definition: Opcodes.h:203
Definition: Opcodes.h:830
Definition: Opcodes.h:1124
Definition: Opcodes.h:32
Definition: Opcodes.h:641
Definition: Opcodes.h:1193
Definition: Opcodes.h:392
Definition: Opcodes.h:987
Definition: Opcodes.h:1404
Definition: Opcodes.h:1633
Definition: Opcodes.h:1190
Definition: Opcodes.h:1153
Definition: Opcodes.h:175
Definition: Opcodes.h:701
Definition: Opcodes.h:1619
Definition: Opcodes.h:557
Definition: Opcodes.h:857
Definition: Opcodes.h:439
Definition: Opcodes.h:103
Definition: Opcodes.h:630
Definition: Opcodes.h:1319
Definition: Opcodes.h:631
Definition: Opcodes.h:868
Definition: Opcodes.h:1495
Definition: Opcodes.h:1423
Definition: Opcodes.h:693
Definition: Opcodes.h:552
Definition: Opcodes.h:673
Definition: Opcodes.h:1460
Definition: Opcodes.h:1565
Definition: Opcodes.h:1481
Definition: Opcodes.h:743
Definition: Opcodes.h:359
Definition: Opcodes.h:157
Definition: Opcodes.h:1532
Definition: Opcodes.h:1491
Definition: Opcodes.h:1412
Definition: Opcodes.h:153
Definition: Opcodes.h:483
Definition: Opcodes.h:1068
Definition: Opcodes.h:247
Definition: Opcodes.h:755
Definition: Opcodes.h:1335
Definition: Opcodes.h:350
Definition: Opcodes.h:184
Definition: Opcodes.h:1275
Definition: Opcodes.h:1094
Definition: Opcodes.h:66
Definition: Opcodes.h:907
Definition: Opcodes.h:1381
Definition: Opcodes.h:1272
Definition: Opcodes.h:1251
Definition: Opcodes.h:1050
Definition: Opcodes.h:592
Definition: Opcodes.h:683
Definition: Opcodes.h:266
Definition: Opcodes.h:1415
Definition: Opcodes.h:254
Definition: Opcodes.h:1151
Definition: Opcodes.h:1024
Definition: Opcodes.h:759
Definition: Opcodes.h:944
Definition: Opcodes.h:1378
Definition: Opcodes.h:1361
Definition: Opcodes.h:1609
Definition: Opcodes.h:1581
Definition: Opcodes.h:272
Definition: Opcodes.h:1257
Definition: Opcodes.h:736
Definition: Opcodes.h:694
Definition: Opcodes.h:217
Definition: Opcodes.h:1450
Definition: Opcodes.h:1406
Definition: Opcodes.h:364
Definition: Opcodes.h:152
Definition: Opcodes.h:1129
Definition: Opcodes.h:1514
Definition: Opcodes.h:773
Definition: Opcodes.h:1001
Definition: Opcodes.h:625
Definition: Opcodes.h:180
Definition: Opcodes.h:1480
Definition: Opcodes.h:372
Definition: Opcodes.h:179
Definition: Opcodes.h:1186
Definition: Opcodes.h:659
Definition: Opcodes.h:1116
Definition: Opcodes.h:576
Definition: Opcodes.h:1111
Definition: Opcodes.h:1205
Definition: Opcodes.h:629
Definition: Opcodes.h:1091
Definition: Opcodes.h:497
Definition: Opcodes.h:891
Definition: Opcodes.h:1314
Definition: Opcodes.h:40
Definition: Opcodes.h:1194
Definition: Opcodes.h:150
Definition: Opcodes.h:191
Definition: Opcodes.h:675
Definition: Opcodes.h:322
Definition: Opcodes.h:1107
Definition: Opcodes.h:1617
Definition: Opcodes.h:1158
Definition: Opcodes.h:363
Definition: Opcodes.h:1042
Definition: Opcodes.h:578
Definition: Opcodes.h:321
Definition: Opcodes.h:1187
Definition: Opcodes.h:459
Definition: Opcodes.h:895
Definition: Opcodes.h:1127
Definition: Opcodes.h:470
Definition: Opcodes.h:713
Definition: Opcodes.h:788
Definition: Opcodes.h:729
Definition: Opcodes.h:602
ConnectionType ConnectionIndex
Definition: Opcodes.h:1725
Definition: Opcodes.h:916
Definition: Opcodes.h:1343
Definition: Opcodes.h:187
Definition: Opcodes.h:1039
Definition: Opcodes.h:1631
Definition: Opcodes.h:880
Definition: Opcodes.h:386
Definition: Opcodes.h:510
Definition: Opcodes.h:1265
Definition: Opcodes.h:1002
Definition: Opcodes.h:530
Definition: Opcodes.h:1688
Definition: Opcodes.h:274
Definition: Opcodes.h:1284
Definition: Opcodes.h:375
Definition: Opcodes.h:369
Definition: Opcodes.h:764
Definition: Opcodes.h:1240
Definition: Opcodes.h:1529
Definition: Opcodes.h:85
Definition: Opcodes.h:1333
Definition: Opcodes.h:1140
Definition: Opcodes.h:856
Definition: Opcodes.h:452
Definition: Opcodes.h:233
Definition: Opcodes.h:848
Definition: Opcodes.h:352
Definition: Opcodes.h:545
Definition: Opcodes.h:1482
Definition: Opcodes.h:189
Definition: Opcodes.h:567
Definition: Opcodes.h:664
Definition: Opcodes.h:977
Definition: Opcodes.h:561
Definition: Opcodes.h:651
Definition: Opcodes.h:1080
Definition: Opcodes.h:427
Definition: Opcodes.h:792
Definition: Opcodes.h:1332
Definition: Opcodes.h:1105
Definition: Opcodes.h:672
Definition: Opcodes.h:132
Definition: Opcodes.h:73
Definition: Opcodes.h:697
Definition: Opcodes.h:1508
Definition: Opcodes.h:1469
Definition: Opcodes.h:76
Definition: Opcodes.h:1601
Definition: Opcodes.h:992
Definition: Opcodes.h:1597
Definition: Opcodes.h:465
Definition: Opcodes.h:253
Definition: Opcodes.h:1227
Definition: Opcodes.h:913
Definition: Opcodes.h:843
Definition: Opcodes.h:1358
Definition: Opcodes.h:1067
Definition: Opcodes.h:1444
Definition: Opcodes.h:1034
Definition: Opcodes.h:394
Definition: Opcodes.h:646
Definition: Opcodes.h:555
Definition: Opcodes.h:317
Definition: Opcodes.h:601
ClientOpcodeHandler * _internalTableClient[NUM_OPCODE_HANDLERS]
Definition: Opcodes.h:1767
Definition: Opcodes.h:980
Definition: Opcodes.h:283
Definition: Opcodes.h:1520
Definition: Opcodes.h:750
Definition: Opcodes.h:349
Definition: Opcodes.h:939
Definition: Opcodes.h:600
Definition: Opcodes.h:1170
Definition: Opcodes.h:963
Definition: Opcodes.h:72
Definition: Opcodes.h:1427
Definition: Opcodes.h:1071
Definition: Opcodes.h:698
Definition: Opcodes.h:1510
Definition: Opcodes.h:1449
Definition: Opcodes.h:767
Definition: Opcodes.h:1221
Definition: Opcodes.h:983
Definition: Opcodes.h:1270
Definition: Opcodes.h:111
Definition: Opcodes.h:1567
Definition: Opcodes.h:813
Definition: Opcodes.h:1465
Definition: Opcodes.h:731
Definition: Opcodes.h:997
Definition: Opcodes.h:850
Definition: Opcodes.h:246
Definition: Opcodes.h:1273
Definition: Opcodes.h:877
Definition: Opcodes.h:1571
Definition: Opcodes.h:1542
Definition: Opcodes.h:453
Definition: Opcodes.h:948
Definition: Opcodes.h:596
Definition: Opcodes.h:91
Definition: Opcodes.h:367
Definition: Opcodes.h:1373
Definition: Opcodes.h:800
Definition: Opcodes.h:1018
Definition: Opcodes.h:464
Definition: Opcodes.h:267
Definition: Opcodes.h:1372
Definition: Opcodes.h:1192
Definition: Opcodes.h:795
Definition: Opcodes.h:1166
Definition: Opcodes.h:156
Definition: Opcodes.h:60
ClientOpcodeHandler(char const *name, SessionStatus status, PacketProcessing processing)
Definition: Opcodes.h:1711
Definition: Opcodes.h:585
Definition: Opcodes.h:1142
Definition: Opcodes.h:1600
Definition: Opcodes.h:1177
Definition: Opcodes.h:1367
Definition: Opcodes.h:685
Definition: Opcodes.h:123
Definition: Opcodes.h:1302
Definition: Opcodes.h:1189
Definition: Opcodes.h:196
Definition: Opcodes.h:1566
Definition: Opcodes.h:985
Definition: Opcodes.h:1250
Definition: Opcodes.h:208
Definition: Opcodes.h:1462
Definition: Opcodes.h:1728
Definition: Opcodes.h:594
Definition: Opcodes.h:327
Definition: Opcodes.h:300
Definition: Opcodes.h:1641
Definition: Opcodes.h:1274
Definition: Opcodes.h:1345
Definition: Opcodes.h:984
Definition: Opcodes.h:199
Definition: Opcodes.h:1500
Definition: Opcodes.h:1121
Definition: Opcodes.h:1037
Definition: Opcodes.h:1165
Definition: Opcodes.h:781
Definition: Opcodes.h:504
Definition: Opcodes.h:1168
Definition: Opcodes.h:763
Definition: Opcodes.h:442
Definition: Opcodes.h:99
Definition: Opcodes.h:400
Definition: Opcodes.h:884
Definition: Opcodes.h:669
Definition: Opcodes.h:1079
Definition: Opcodes.h:407
Definition: Opcodes.h:1296
Definition: Opcodes.h:1213
Definition: Opcodes.h:537
Definition: Opcodes.h:1379
Definition: Opcodes.h:205
Definition: Opcodes.h:546
Definition: Opcodes.h:1616
Definition: Opcodes.h:1262
Definition: Opcodes.h:1216
Definition: Opcodes.h:512
Definition: Opcodes.h:194
Definition: Opcodes.h:575
Definition: Opcodes.h:910
Definition: Opcodes.h:582
Definition: Opcodes.h:614
Definition: Opcodes.h:229
Definition: Opcodes.h:234
Definition: Opcodes.h:636
Definition: Opcodes.h:1630
Definition: Opcodes.h:845
Definition: Opcodes.h:206
Definition: Opcodes.h:678
Definition: Opcodes.h:680
Definition: Opcodes.h:1511
Definition: Opcodes.h:473
Definition: Opcodes.h:108
Definition: Opcodes.h:1399
Definition: Opcodes.h:1603
Definition: Opcodes.h:1421
Definition: Opcodes.h:325
Definition: Opcodes.h:1509
Definition: Opcodes.h:406
Definition: Opcodes.h:477
Definition: Opcodes.h:771
Definition: Opcodes.h:609
Definition: Opcodes.h:1420
Definition: Opcodes.h:222
Definition: Opcodes.h:525
Definition: Opcodes.h:1522
Definition: Opcodes.h:534
Definition: Opcodes.h:937
Definition: Opcodes.h:1014
Definition: Opcodes.h:811
Definition: Opcodes.h:1112
Definition: Opcodes.h:852
Definition: Opcodes.h:634
Definition: Opcodes.h:670
Definition: Opcodes.h:528
Definition: Opcodes.h:295
Definition: Opcodes.h:593
Definition: Opcodes.h:1558
Definition: Opcodes.h:1689
Definition: Opcodes.h:1551
Definition: Opcodes.h:1287
Definition: Opcodes.h:595
Definition: Opcodes.h:1138
Definition: Opcodes.h:293
Definition: Opcodes.h:335
Definition: Opcodes.h:883
Definition: Opcodes.h:1573
OpcodeClient
Definition: Opcodes.h:46
Definition: Opcodes.h:110
Definition: Opcodes.h:506
Definition: Opcodes.h:1360
Definition: Opcodes.h:1698
Definition: Opcodes.h:1528
Definition: Opcodes.h:716
Definition: Opcodes.h:107
Definition: Opcodes.h:580
Definition: Opcodes.h:1393
Definition: Opcodes.h:628
Player session in the World.
Definition: WorldSession.h:882
Definition: Opcodes.h:215
Definition: Opcodes.h:1103
Definition: Opcodes.h:1155
Definition: Opcodes.h:1283
Definition: Opcodes.h:1375
Definition: Opcodes.h:806
Definition: Opcodes.h:126
Definition: Opcodes.h:1536
Definition: Opcodes.h:835
Definition: Opcodes.h:941
uint32_t uint32
Definition: g3dmath.h:168
Definition: Opcodes.h:860
Definition: Opcodes.h:775
Definition: Opcodes.h:1178
Definition: Opcodes.h:490
Definition: Opcodes.h:1417
Definition: Opcodes.h:428
Definition: Opcodes.h:447
Definition: Opcodes.h:1370
Definition: Opcodes.h:1535
Definition: Opcodes.h:1281
Definition: Opcodes.h:1442
Definition: Opcodes.h:1219
Definition: Opcodes.h:292
Definition: Opcodes.h:124
Definition: Opcodes.h:542
Definition: Opcodes.h:887
Definition: Opcodes.h:390
Definition: Opcodes.h:1137
Definition: Opcodes.h:661
Definition: Opcodes.h:1466
Definition: Opcodes.h:1719
Definition: Opcodes.h:1318
Definition: Opcodes.h:690
Definition: Opcodes.h:1264
Definition: Opcodes.h:865
Definition: Opcodes.h:259
Definition: Opcodes.h:1016
Definition: Opcodes.h:1147
Definition: Opcodes.h:1109
Definition: Opcodes.h:387
Definition: Opcodes.h:861
Definition: Opcodes.h:1346
Definition: Opcodes.h:864
Definition: Opcodes.h:874
Definition: Opcodes.h:1149
Definition: Opcodes.h:120
Definition: Opcodes.h:1259
Definition: Opcodes.h:945
Definition: Opcodes.h:484
Definition: Opcodes.h:1114
Definition: Opcodes.h:1070
Definition: Opcodes.h:1678
Definition: Opcodes.h:569
Definition: Opcodes.h:432
Definition: Opcodes.h:347
Definition: Opcodes.h:201
Definition: Opcodes.h:1708
Definition: Opcodes.h:1030
Definition: Opcodes.h:1472
Definition: Opcodes.h:728
Definition: Opcodes.h:384
Definition: Opcodes.h:1054
Definition: Opcodes.h:318
Definition: Opcodes.h:183
Definition: Opcodes.h:1622
Definition: Opcodes.h:1161
Definition: Opcodes.h:1554
Definition: Opcodes.h:299
Definition: Opcodes.h:1243
Definition: Opcodes.h:328
Definition: Opcodes.h:56
Definition: Opcodes.h:919
Definition: Opcodes.h:1327
Definition: Opcodes.h:1113
Definition: Opcodes.h:1004
Definition: Opcodes.h:1097
Definition: Opcodes.h:551
Definition: Opcodes.h:1088
Definition: Opcodes.h:1433
Definition: Opcodes.h:892
Definition: Opcodes.h:549
Definition: Opcodes.h:560
Definition: Opcodes.h:952
Definition: Opcodes.h:1098
Definition: Opcodes.h:1144
Definition: Opcodes.h:1400
Definition: Opcodes.h:336
Definition: Opcodes.h:1180
Definition: Opcodes.h:526
Definition: Opcodes.h:1425
Definition: Opcodes.h:182
Definition: Opcodes.h:84
Definition: Opcodes.h:1290
Definition: Opcodes.h:618
Definition: Opcodes.h:71
Definition: Opcodes.h:645
Definition: Opcodes.h:261
Definition: Opcodes.h:133
Definition: Opcodes.h:1269
Definition: Opcodes.h:624
Definition: Opcodes.h:1226
Definition: Opcodes.h:265
Definition: Opcodes.h:195
Definition: Opcodes.h:494
Definition: Opcodes.h:842
Definition: Opcodes.h:1128
Definition: Opcodes.h:1031
Definition: Opcodes.h:282
Definition: Opcodes.h:679
Definition: Opcodes.h:1252
Definition: Opcodes.h:1540
Definition: Opcodes.h:221
Definition: Opcodes.h:478
Definition: Opcodes.h:571
Definition: Opcodes.h:707
Definition: Opcodes.h:125
Definition: Opcodes.h:990
Definition: Opcodes.h:63
Definition: Opcodes.h:339
Definition: Opcodes.h:455
SessionStatus Status
Definition: Opcodes.h:1705
Definition: Opcodes.h:539
Definition: Opcodes.h:240
Definition: Opcodes.h:722
Definition: Opcodes.h:1055
Definition: Opcodes.h:360
Definition: Opcodes.h:1527
Definition: Opcodes.h:1086
Definition: Opcodes.h:648
Definition: Opcodes.h:654
Definition: Opcodes.h:903
Definition: Opcodes.h:411
Definition: Opcodes.h:656
Definition: Opcodes.h:106
Definition: Opcodes.h:413
Definition: Opcodes.h:1430
Definition: Opcodes.h:581
Definition: Opcodes.h:1184
Definition: Opcodes.h:131
Definition: Opcodes.h:100
Definition: Opcodes.h:591
Definition: Opcodes.h:1623
Definition: Opcodes.h:31
Definition: WorldPacket.h:26
Definition: Opcodes.h:784
Definition: Opcodes.h:218
Definition: Opcodes.h:710
Definition: Opcodes.h:1606
Definition: Opcodes.h:289
Definition: Opcodes.h:1173
Definition: Opcodes.h:1440
Definition: Opcodes.h:404
Definition: Opcodes.h:1249
Definition: Opcodes.h:425
Definition: Opcodes.h:1224
Definition: Opcodes.h:908
Definition: Opcodes.h:1010
Definition: Opcodes.h:1255
Definition: Opcodes.h:1530
Definition: Opcodes.h:1083
Definition: Opcodes.h:553
Definition: Opcodes.h:402
Definition: Opcodes.h:1615
Definition: Opcodes.h:1354
Definition: Opcodes.h:1196
Definition: Opcodes.h:934
Definition: Opcodes.h:172
Definition: Opcodes.h:358
Definition: Opcodes.h:160
Definition: Opcodes.h:720
Definition: Opcodes.h:1286
Definition: Opcodes.h:1279
Definition: Opcodes.h:1223
Definition: Opcodes.h:1053
ConnectionType
Definition: Opcodes.h:29
Definition: Opcodes.h:446
Definition: Opcodes.h:1408
Definition: Opcodes.h:383
Definition: Opcodes.h:687
Definition: Opcodes.h:35
Definition: Opcodes.h:230
Definition: Opcodes.h:682
Definition: Opcodes.h:1424
Definition: Opcodes.h:169
Definition: Opcodes.h:378
Definition: Opcodes.h:147
Definition: Opcodes.h:719
Definition: Opcodes.h:1202
Definition: Opcodes.h:905
Definition: Opcodes.h:1179
Definition: Opcodes.h:227
Definition: Opcodes.h:210
Definition: Opcodes.h:1122
Definition: Opcodes.h:345
Definition: Opcodes.h:1569
Definition: Opcodes.h:914
Definition: Opcodes.h:316
Definition: Opcodes.h:1015
Definition: Opcodes.h:1334
Definition: Opcodes.h:1464
Definition: Opcodes.h:82
Definition: Opcodes.h:513
Definition: Opcodes.h:1368
Definition: Opcodes.h:735
Definition: Opcodes.h:620
Definition: Opcodes.h:487
Definition: Opcodes.h:51
Definition: Opcodes.h:958
Definition: Opcodes.h:165
OpcodeHandler(char const *name, SessionStatus status)
Definition: Opcodes.h:1701
Definition: Opcodes.h:511
Definition: Opcodes.h:524
Definition: Opcodes.h:1102
Definition: Opcodes.h:314
Definition: Opcodes.h:298
Definition: Opcodes.h:1447
Definition: Opcodes.h:1217
Definition: Opcodes.h:993
Definition: Opcodes.h:973
Definition: Opcodes.h:488
Definition: Opcodes.h:1046
Definition: Opcodes.h:933
Definition: Opcodes.h:1534
Definition: Opcodes.h:705
Definition: Opcodes.h:177
Definition: Opcodes.h:1437
Definition: Opcodes.h:396