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
void Reset ()
 
void AddInt (int i)
 
void AddString (const char *pStr, int Limit=PACKER_BUFFER_SIZE)
 
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 * 64 }
 

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: