33 : mParams(params), mPlayer(player) {
42 void *
operator new(
size_t nSize) {
43 return PoolMemAlloc(
static_cast<int>(nSize),
"JoinLaunchpadSuccessMsg", 0);
51 void operator delete(
void *pBlock) {
79 return "JoinLaunchpadSuccessMsg";
const NetGameParams & GetParams() const
Definition joinlaunchpadsuccessmsg.h:92
void PrintExtra(PrnStream &stream) const override
Write the settings and the player of this console.
Message * Clone() override
Produce a heap copy of this message.
Definition joinlaunchpadsuccessmsg.h:60
const char * GetName() const override
Report this message's class name.
Definition joinlaunchpadsuccessmsg.h:78
int Type() override
Report this message's registered identity.
Definition joinlaunchpadsuccessmsg.h:69
JoinLaunchpadSuccessMsg(const NetGameParams ¶ms, const NetLaunchpadPlayer &player)
Construct a message with the settings and the player.
Definition joinlaunchpadsuccessmsg.h:32
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
The settings of an online game that the host publishes with its session.
Definition netgameparams.h:13
Text output stream.
Definition prnstream.h:16
int g_nJoinLaunchpadSuccessMsgType
Identity that JoinLaunchpadSuccessMsg::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.
The description of one player of the online session this console is in.
Definition netlaunchpadplayer.h:13