30 void *
operator new(
size_t nSize) {
31 return PoolMemAlloc(
static_cast<int>(nSize),
"LobbyConnectionLostMsg", 0);
39 void operator delete(
void *pBlock) {
Message * Clone() override
Produce a heap copy of this message.
LobbyConnectionLostMsg(int nError)
Construct a message.
Definition lobbyconnectionlostmsg.h:53
static constexpr int kInternetDown
The error code of a connection to the internet that went down.
Definition lobbyconnectionlostmsg.h:44
const char * GetName() const override
Report this message's class name.
int Type() override
Report this message's registered identity.
int GetError() const
Definition lobbyconnectionlostmsg.h:84
~LobbyConnectionLostMsg() override=default
Destroy the object.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.