DDraceNetwork Docs
CMsgPacker Class Reference

#include <message.h>

Inheritance diagram for CMsgPacker:
[legend]
Collaboration diagram for CMsgPacker:
[legend]

Public Member Functions

 CMsgPacker (int Type, bool System=false, bool NoTranslate=false)
 
template<typename T >
 CMsgPacker (const T *, bool System=false, bool NoTranslate=false)
 
- Public Member Functions inherited from CPacker
 CPacker ()
 
- Public Member Functions inherited from CAbstractPacker
void Reset ()
 
void AddInt (int i)
 
void AddString (const char *pStr, int Limit=0, bool AllowTruncation=true)
 
void AddRaw (const void *pData, int Size)
 
int Size () const
 
const unsigned char * Data () const
 
bool Error () const
 

Public Attributes

int m_MsgId
 
bool m_System
 
bool m_NoTranslate
 

Additional Inherited Members

- Public Types inherited from CPacker
enum  { PACKER_BUFFER_SIZE = 1024 * 2 }
 
- Protected Member Functions inherited from CAbstractPacker
 CAbstractPacker (unsigned char *pBuffer, size_t Size)
 

Constructor & Destructor Documentation

◆ CMsgPacker() [1/2]

CMsgPacker::CMsgPacker ( int  Type,
bool  System = false,
bool  NoTranslate = false 
)
inline

◆ CMsgPacker() [2/2]

template<typename T >
CMsgPacker::CMsgPacker ( const T *  ,
bool  System = false,
bool  NoTranslate = false 
)
inline

Member Data Documentation

◆ m_MsgId

int CMsgPacker::m_MsgId

◆ m_NoTranslate

bool CMsgPacker::m_NoTranslate

◆ m_System

bool CMsgPacker::m_System

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