#include <C4GameLobby.h>
Public Types | |
enum | { Abort = -1 } |
Public Member Functions | |
C4PacketCountdown (int32_t iaCountdown) | |
C4PacketCountdown ()=default | |
bool | IsAbort () const |
int32_t | GetCountdown () const |
StdStrBuf | GetCountdownMsg (bool fInitialMsg=false) 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) |
Definition at line 33 of file C4GameLobby.h.
anonymous enum |
|
inline |
Definition at line 40 of file C4GameLobby.h.
|
default |
|
overridevirtual |
Implements C4PacketBase.
Definition at line 40 of file C4GameLobby.cpp.
References mkNamingAdapt(), and StdCompiler::Value().
|
inline |
Definition at line 44 of file C4GameLobby.h.
Referenced by C4GameLobby::MainDlg::OnCountdownPacket().
StdStrBuf C4GameLobby::C4PacketCountdown::GetCountdownMsg | ( | bool | fInitialMsg = false | ) | const |
Definition at line 45 of file C4GameLobby.cpp.
References C4GameLobby::AlmostStartCountdownTime, FormatString(), and LoadResStr().
Referenced by C4GameLobby::Countdown::Countdown(), C4GameLobby::MainDlg::OnCountdownPacket(), and C4GameLobby::Countdown::OnSec1Timer().
|
inline |
Definition at line 43 of file C4GameLobby.h.
References Abort.
Referenced by C4GameLobby::MainDlg::OnCountdownPacket().
|
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().