TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ClientPktHeader Union Reference

#include <WorldSocket.h>

Static Public Member Functions

static bool IsValidSize (uint32 size)
 
static bool IsValidOpcode (uint32 opcode)
 

Public Attributes

struct {
   uint16   Size
 
   uint16   Command
 
Setup
 
struct {
   uint32   Size
 
   uint16   Command
 
Normal
 

Member Function Documentation

static bool ClientPktHeader::IsValidOpcode ( uint32  opcode)
inlinestatic
65 { return opcode < NUM_OPCODE_HANDLERS; }
Definition: Opcodes.h:41

+ Here is the caller graph for this function:

static bool ClientPktHeader::IsValidSize ( uint32  size)
inlinestatic
64 { return size < 10240; }

+ Here is the caller graph for this function:

Member Data Documentation

uint16 ClientPktHeader::Command
struct { ... } ClientPktHeader::Normal
struct { ... } ClientPktHeader::Setup
uint16 ClientPktHeader::Size
uint32 ClientPktHeader::Size

The documentation for this union was generated from the following file: