#include <C4Network2Res.h>
Public Member Functions | |
C4PacketResRequest (int32_t iID=-1, int32_t iChunk=-1) | |
int32_t | getReqID () const |
int32_t | getReqChunk () 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 | iReqID |
int32_t | iReqChunk |
Definition at line 435 of file C4Network2Res.h.
C4PacketResRequest::C4PacketResRequest | ( | int32_t | iID = -1 , |
int32_t | iChunk = -1 |
||
) |
Definition at line 556 of file C4Packet2.cpp.
|
overridevirtual |
Implements C4PacketBase.
Definition at line 562 of file C4Packet2.cpp.
References iReqChunk, iReqID, 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 441 of file C4Network2Res.h.
Referenced by CompileFunc(), and getReqChunk().
|
protected |
Definition at line 441 of file C4Network2Res.h.
Referenced by CompileFunc(), and getReqID().