27 : mResult(nResult), mRemixes(pRemixes) {
36 void *
operator new(
size_t nSize) {
37 return PoolMemAlloc(
static_cast<int>(nSize),
"RepoRemixesMsg", 0);
45 void operator delete(
void *pBlock) {
73 return "RepoRemixesMsg";
97 std::list<NetRepoRemix> *mRemixes;
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
void PrintExtra(PrnStream &stream) const override
Write the result, and the remixes when the list exists.
RepoRemixesMsg(int nResult, std::list< NetRepoRemix > *pRemixes)
Construct a message.
Definition reporemixesmsg.h:26
Message * Clone() override
Produce a heap copy of this message, which points at the same remixes.
Definition reporemixesmsg.h:54
std::list< NetRepoRemix > * GetRemixes() const
Definition reporemixesmsg.h:86
int Type() override
Report this message's registered identity.
Definition reporemixesmsg.h:63
const char * GetName() const override
Report this message's class name.
Definition reporemixesmsg.h:72
int GetResult() const
Definition reporemixesmsg.h:91
int g_nRepoRemixesMsgType
Identity that RepoRemixesMsg::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.