#include <C4Network2IO.h>
Public Member Functions | |
| C4PacketConn () | |
| C4PacketConn (const class C4ClientCore &nCCore, uint32_t iConnID, const char *szPassword=nullptr) | |
| int32_t | getVer () const |
| uint32_t | getConnID () const |
| const C4ClientCore & | getCCore () const |
| const char * | getPassword () 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 | iVer |
| uint32_t | iConnID |
| C4ClientCore | CCore |
| StdCopyStrBuf | Password |
Definition at line 351 of file C4Network2IO.h.
| C4PacketConn::C4PacketConn | ( | ) |
Definition at line 397 of file C4Packet2.cpp.
| C4PacketConn::C4PacketConn | ( | const class C4ClientCore & | nCCore, |
| uint32_t | iConnID, | ||
| const char * | szPassword = nullptr |
||
| ) |
|
overridevirtual |
Implements C4PacketBase.
Definition at line 410 of file C4Packet2.cpp.
References CCore, iConnID, iVer, mkIntPackAdapt(), mkNamingAdapt(), Password, and StdCompiler::Value().
|
inline |
Definition at line 366 of file C4Network2IO.h.
References CCore.
Referenced by C4Network2::HandleConn().
|
inline |
|
inline |
Definition at line 367 of file C4Network2IO.h.
References StdStrBuf::getData(), and Password.
Referenced by C4Network2::HandleConn().
|
inline |
Definition at line 364 of file C4Network2IO.h.
References iVer.
Referenced by C4Network2::HandleConn().
|
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 360 of file C4Network2IO.h.
Referenced by CompileFunc(), and getCCore().
|
protected |
Definition at line 359 of file C4Network2IO.h.
Referenced by CompileFunc(), and getConnID().
|
protected |
Definition at line 358 of file C4Network2IO.h.
Referenced by CompileFunc(), and getVer().
|
protected |
Definition at line 361 of file C4Network2IO.h.
Referenced by CompileFunc(), and getPassword().