Public Member Functions | ||||
ParaPacket (::NPL::NPLPacket *obj) | ||||
bool | IsValid () | |||
check if the object is valid | ||||
::NPL::NPLPacket * | GetNPLPacket () | |||
not used in script | ||||
void | Release () | |||
release this packet, call this function when a packet is not needed. | ||||
void | ReleasePacketData () | |||
same as Release(); | ||||
void | InvalidateMe () | |||
make this packet invalid. | ||||
int | GetType () const | |||
packet type | ||||
void | SetType (int type) | |||
| ||||
string | GetDestName () const | |||
void | SetDestName (const char *destName) | |||
string | GetSrcName () const | |||
void | SetSrcName (const char *srcName) | |||
unsigned long | GetSize () const | |||
string | GetData () const | |||
void | SetDataAndSize (const char *data, unsigned long size) | |||
Public Attributes | ||||
::NPL::NPLPacket * | m_pObj |
void ParaScripting::ParaPacket::InvalidateMe | ( | ) |
make this packet invalid.
int ParaScripting::ParaPacket::GetType | ( | ) | const |
packet type