AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
OpcodeTable Class Reference

#include "Opcodes.h"

Public Member Functions

 OpcodeTable ()
 
 OpcodeTable (OpcodeTable const &)=delete
 
OpcodeTableoperator= (OpcodeTable const &)=delete
 
 ~OpcodeTable ()
 
void Initialize ()
 Correspondence between opcodes and their names.
 
ClientOpcodeHandler const * operator[] (Opcodes index) const
 

Private Member Functions

template<typename Handler , Handler HandlerFunction>
void ValidateAndSetClientOpcode (OpcodeClient opcode, char const *name, SessionStatus status, PacketProcessing processing)
 
void ValidateAndSetServerOpcode (OpcodeServer opcode, char const *name, SessionStatus status)
 

Private Attributes

ClientOpcodeHandler_internalTableClient [NUM_OPCODE_HANDLERS]
 

Detailed Description