#include <C4Network2Client.h>
Public Member Functions | |
C4PacketTCPSimOpen ()=default | |
C4PacketTCPSimOpen (int32_t ClientID, 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 | ClientID |
C4Network2Address | addr |
Definition at line 216 of file C4Network2Client.h.
|
default |
|
inline |
Definition at line 220 of file C4Network2Client.h.
|
overridevirtual |
Implements C4PacketBase.
Definition at line 646 of file C4Network2Client.cpp.
References addr, C4ClientIDUnknown, ClientID, 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 226 of file C4Network2Client.h.
Referenced by CompileFunc(), and getAddr().
|
protected |
Definition at line 225 of file C4Network2Client.h.
Referenced by CompileFunc(), and getClientID().