32 void *
operator new(
size_t nSize) {
33 return PoolMemAlloc(
static_cast<int>(nSize),
"InetConnectStatusMsg", 0);
41 void operator delete(
void *pBlock) {
69 return "InetConnectStatusMsg";
const String & GetStatus() const
Definition inetconnectstatusmsg.h:82
int Type() override
Report this message's registered identity.
Definition inetconnectstatusmsg.h:59
InetConnectStatusMsg(const String &status)
Construct a message.
Definition inetconnectstatusmsg.h:23
Message * Clone() override
Produce a heap copy of this message.
Definition inetconnectstatusmsg.h:50
const char * GetName() const override
Report this message's class name.
Definition inetconnectstatusmsg.h:68
void PrintExtra(PrnStream &stream) const override
Write the text of the step.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
Growable text buffer that is also a PrnStream.
Definition string.h:19
int g_nInetConnectStatusMsgType
Identity that InetConnectStatusMsg::Type() reports.
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.