#include <C4Network2Client.h>
Public Member Functions | |
| C4PacketAddr ()=default | |
| C4PacketAddr (int32_t iClientID, const C4Network2Address &addr) | |
| int32_t | getClientID () const |
| const C4Network2Address & | getAddr () const |
| void | CompileFunc (StdCompiler *pComp) override |
| C4NetIOPacket | pack (const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
| C4NetIOPacket | pack (uint8_t cStatus, const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
| void | unpack (const C4NetIOPacket &Pkt, char *pStatus=nullptr) |
Protected Attributes | |
| int32_t | iClientID |
| C4Network2Address | addr |
Definition at line 197 of file C4Network2Client.h.
|
default |
|
inline |
Definition at line 201 of file C4Network2Client.h.
|
overridevirtual |
Implements C4PacketBase.
Definition at line 638 of file C4Network2Client.cpp.
References addr, C4ClientIDUnknown, iClientID, mkIntPackAdapt(), mkNamingAdapt(), and StdCompiler::Value().
|
inline |
|
inline |
|
inherited |
Definition at line 150 of file C4Packet2.cpp.
Referenced by MkC4NetIOPacket().
|
inherited |
Definition at line 155 of file C4Packet2.cpp.
References mkDecompileAdapt(), and mkInsertAdapt().
|
inherited |
Definition at line 160 of file C4Packet2.cpp.
References C4NetIOPacket::getPBuf(), C4NetIOPacket::getRef(), and C4NetIOPacket::getStatus().
Referenced by C4IDPacket::C4IDPacket(), and C4Network2IO::HandlePacket().
|
protected |
Definition at line 207 of file C4Network2Client.h.
Referenced by CompileFunc(), and getAddr().
|
protected |
Definition at line 206 of file C4Network2Client.h.
Referenced by CompileFunc(), and getClientID().