27#ifdef VIDEO_STANDARD_PAL
28 kResultAuthFailed = -92,
48 void *
operator new(
size_t nSize) {
49 return PoolMemAlloc(
static_cast<int>(nSize),
"InetConnectResultMsg", 0);
57 void operator delete(
void *pBlock) {
85 return "InetConnectResultMsg";
97#ifndef VIDEO_STANDARD_PAL
void PrintExtra(PrnStream &stream) const override
Write the result, and the error text when it is not empty.
Message * Clone() override
Produce a heap copy of this message.
Definition inetconnectresultmsg.h:66
int Type() override
Report this message's registered identity.
Definition inetconnectresultmsg.h:75
Result
Values of mResult.
Definition inetconnectresultmsg.h:17
@ kResultConfigError
Definition inetconnectresultmsg.h:22
@ kResultTimeout
Definition inetconnectresultmsg.h:25
@ kResultSuccess
Definition inetconnectresultmsg.h:18
@ kResultOpenFailed
Definition inetconnectresultmsg.h:19
@ kResultFailed
Definition inetconnectresultmsg.h:26
@ kResultNoCombination
Definition inetconnectresultmsg.h:23
@ kResultConfigNotFound
Definition inetconnectresultmsg.h:20
@ kResultConfigWrongConsole
Definition inetconnectresultmsg.h:21
@ kResultHardwareError
Definition inetconnectresultmsg.h:24
const char * GetName() const override
Report this message's class name.
Definition inetconnectresultmsg.h:84
int GetResult() const
Definition inetconnectresultmsg.h:101
InetConnectResultMsg(int nResult)
Construct a result with no error text.
Definition inetconnectresultmsg.h:39
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_nInetConnectResultMsgType
Identity that InetConnectResultMsg::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.