wavelength 1.0.0
Loading...
Searching...
No Matches
LobbyLaunchpadsMsg Class Reference

List of launchpads, the result of NetLobby::RequestLaunchpads(). More...

#include <lobbylaunchpadsmsg.h>

Inheritance diagram for LobbyLaunchpadsMsg:
Collaboration diagram for LobbyLaunchpadsMsg:

Public Member Functions

 LobbyLaunchpadsMsg (std::list< NetLaunchpadInfo > *pLaunchpads, int nHasPrevious)
 Construct a message that points at the launchpads.
void * operator new (size_t nSize)
 Allocate a message, billed to the class name.
void operator delete (void *pBlock)
 Release a message.
Message * Clone () override
 Produce a heap copy of this message, which points at the same launchpads.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
void PrintExtra (PrnStream &stream) const override
 Write the launchpads when the list exists.
int GetHasPrevious () const
std::list< NetLaunchpadInfo > * GetLaunchpads () const
Public Member Functions inherited from Message
virtual ~Message ()
 Vtable slot 1.
virtual void saveGuts (BinStream &stream) const
 Write this message's payload to a stream.
virtual void restoreGuts (BinStream &stream)
 Read this message's payload from a stream.
virtual ~Message ()
virtual void Unused1 ()
 Not called by the control.

Additional Inherited Members

Static Public Member Functions inherited from Message
static Message * NewMessage (int nType)
 Produce a message of the identified class through the factory list.

Detailed Description

List of launchpads, the result of NetLobby::RequestLaunchpads().

The RTTI includes the class name and records Message as the base. Only the members its readers here use are declared.

Constructor & Destructor Documentation

◆ LobbyLaunchpadsMsg()

LobbyLaunchpadsMsg::LobbyLaunchpadsMsg ( std::list< NetLaunchpadInfo > * pLaunchpads,
int nHasPrevious )
inline

Construct a message that points at the launchpads.

Inline.

Parameters
pLaunchpadsThe launchpads. The caller retains them.
nHasPreviousNon-zero when launchpads precede the list.

Member Function Documentation

◆ operator new()

void * LobbyLaunchpadsMsg::operator new ( size_t nSize)
inline

Allocate a message, billed to the class name.

Parameters
nSizeThe object size the compiler supplies.
Returns
The block.

◆ operator delete()

void LobbyLaunchpadsMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * LobbyLaunchpadsMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message, which points at the same launchpads.

Returns
The copy.

Implements Message.

◆ Type()

int LobbyLaunchpadsMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nLobbyLaunchpadsMsgType.

Implements Message.

◆ GetName()

const char * LobbyLaunchpadsMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal LobbyLaunchpadsMsg.

Implements Message.

◆ PrintExtra()

void LobbyLaunchpadsMsg::PrintExtra ( PrnStream & stream) const
overridevirtual

Write the launchpads when the list exists.

Parameters
streamThe stream to write to.
Ghidra address:
NTSC-U/C: 0x00268f70
Ghidra address:
PAL: 0x00272b78

Reimplemented from Message.

◆ GetHasPrevious()

int LobbyLaunchpadsMsg::GetHasPrevious ( ) const
inline
Returns
Non-zero when launchpads precede the list.

◆ GetLaunchpads()

std::list< NetLaunchpadInfo > * LobbyLaunchpadsMsg::GetLaunchpads ( ) const
inline
Returns
The launchpads.

The documentation for this class was generated from the following file: