![]() |
DDraceNetwork Documentation
|
#include <packer.h>
Public Types | |
| enum | { PACKER_BUFFER_SIZE = 1024 * 2 } |
Public Member Functions | |
| 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 |
Private Attributes | |
| unsigned char | m_aBuffer [PACKER_BUFFER_SIZE] |
Additional Inherited Members | |
Protected Member Functions inherited from CAbstractPacker | |
| CAbstractPacker (unsigned char *pBuffer, size_t Size) | |
Default packer with buffer for networking.
|
inline |
|
private |