TrinityCore
Loading...
Searching...
No Matches
ClientPktHeader Struct Reference

#include <WorldSocket.h>

Public Member Functions

bool IsValidSize () const
 
bool IsValidOpcode () const
 

Public Attributes

uint16 size
 
uint32 cmd
 

Detailed Description

Definition at line 54 of file WorldSocket.h.

Member Function Documentation

◆ IsValidOpcode()

bool ClientPktHeader::IsValidOpcode ( ) const
inline

Definition at line 60 of file WorldSocket.h.

References cmd, and NUM_OPCODE_HANDLERS.

Referenced by WorldSocket::ReadHeaderHandler().

◆ IsValidSize()

bool ClientPktHeader::IsValidSize ( ) const
inline

Definition at line 59 of file WorldSocket.h.

References size.

Referenced by WorldSocket::ReadHeaderHandler().

Member Data Documentation

◆ cmd

uint32 ClientPktHeader::cmd

◆ size

uint16 ClientPktHeader::size

Definition at line 56 of file WorldSocket.h.

Referenced by IsValidSize(), and WorldSocket::ReadHeaderHandler().


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