Pol
Revision:cb584c9
|
#include <packets.h>
Public Member Functions | |
virtual size_t | estimateSize () const POL_OVERRIDE |
virtual char * | getBuffer () POL_OVERRIDE |
virtual u8 | getID () const POL_OVERRIDE |
virtual u16 | getSize () const POL_OVERRIDE |
template<class T , typename N > | |
std::enable_if< std::is_same< T, N >::value, void >::type | Write (N x) |
template<class T , typename N > | |
std::enable_if<!std::is_same< T, N >::value, void >::type | Write (N x) |
void | Write (const char *x, u16 len, bool nullterm=true) |
void | Write (u8 x[], u16 len) |
void | Write (const u16 *x, u16 len, bool nullterm=true) |
template<class T , typename N > | |
std::enable_if< std::is_same< T, N >::value, void >::type | WriteFlipped (N x) |
template<class T , typename N > | |
std::enable_if<!std::is_same< T, N >::value, void >::type | WriteFlipped (N x) |
void | WriteFlipped (const u16 *x, u16 len, bool nullterm=true) |
![]() | |
PacketInterface () | |
virtual | ~PacketInterface () |
virtual u16 | getSubID () const |
virtual void | ReSetBuffer () |
Public Attributes | |
char | buffer [SIZE] |
![]() | |
u16 | offset |
Static Public Attributes | |
static const u8 | ID = _id |
static const u16 | SIZE = _size |
static const u16 | SUB = _sub |
|
inlinevirtual |
Reimplemented from Pol::Network::PacketInterface.
|
inlinevirtual |
Reimplemented from Pol::Network::PacketInterface.
|
inlinevirtual |
Reimplemented from Pol::Network::PacketInterface.
|
inlinevirtual |
Reimplemented from Pol::Network::PacketInterface.
|
inline |
Definition at line 186 of file packets.h.
Referenced by Pol::Core::build_owncreate(), Pol::Core::build_sysmessage_cl(), Pol::Core::build_sysmessage_cl_affix(), and Pol::Core::send_owncreate().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 217 of file packets.h.
Referenced by Pol::Core::build_owncreate(), Pol::Core::build_sysmessage_cl(), Pol::Core::build_sysmessage_cl_affix(), and Pol::Core::send_owncreate().
|
inline |
|
inline |
char Pol::Network::PacketWriterDefs::PacketWriter< _id, _size, _sub >::buffer[SIZE] |
Definition at line 175 of file packets.h.
Referenced by Pol::Core::send_owncreate().
|
static |
|
static |
|
static |