#include <C4Network2Res.h>
Public Member Functions | |
C4PacketResDiscover () | |
int32_t | getDisIDCnt () const |
int32_t | getDisID (int32_t i) const |
bool | isIDPresent (int32_t iID) const |
bool | AddDisID (int32_t iID) |
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 | iDisIDs [16] |
int32_t | iDisIDCnt {0} |
Definition at line 417 of file C4Network2Res.h.
|
default |
bool C4PacketResDiscover::AddDisID | ( | int32_t | iID | ) |
Definition at line 540 of file C4Packet2.cpp.
References iDisIDCnt, and iDisIDs.
Referenced by C4Network2ResList::SendDiscover().
|
overridevirtual |
Implements C4PacketBase.
Definition at line 548 of file C4Packet2.cpp.
References iDisIDCnt, iDisIDs, mkArrayAdapt(), mkIntPackAdapt(), mkNamingAdapt(), and StdCompiler::Value().
|
inline |
|
inline |
Definition at line 426 of file C4Network2Res.h.
References iDisIDCnt.
Referenced by C4Network2ResList::SendDiscover().
bool C4PacketResDiscover::isIDPresent | ( | int32_t | iID | ) | const |
|
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 423 of file C4Network2Res.h.
Referenced by AddDisID(), CompileFunc(), getDisIDCnt(), and isIDPresent().
|
protected |
Definition at line 423 of file C4Network2Res.h.
Referenced by AddDisID(), CompileFunc(), getDisID(), and isIDPresent().