27 : mLaunchpads(pLaunchpads), mHasPrevious(nHasPrevious) {
36 void *
operator new(
size_t nSize) {
37 return PoolMemAlloc(
static_cast<int>(nSize),
"LobbyLaunchpadsMsg", 0);
45 void operator delete(
void *pBlock) {
73 return "LobbyLaunchpadsMsg";
96 std::list<NetLaunchpadInfo> *mLaunchpads;
Message * Clone() override
Produce a heap copy of this message, which points at the same launchpads.
Definition lobbylaunchpadsmsg.h:54
LobbyLaunchpadsMsg(std::list< NetLaunchpadInfo > *pLaunchpads, int nHasPrevious)
Construct a message that points at the launchpads.
Definition lobbylaunchpadsmsg.h:26
int Type() override
Report this message's registered identity.
Definition lobbylaunchpadsmsg.h:63
const char * GetName() const override
Report this message's class name.
Definition lobbylaunchpadsmsg.h:72
void PrintExtra(PrnStream &stream) const override
Write the launchpads when the list exists.
std::list< NetLaunchpadInfo > * GetLaunchpads() const
Definition lobbylaunchpadsmsg.h:91
int GetHasPrevious() const
Definition lobbylaunchpadsmsg.h:86
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
int g_nLobbyLaunchpadsMsgType
Identity that LobbyLaunchpadsMsg::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.