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

Message that delivers the chat rooms of the lobby. More...

#include <lobbychatroomsmsg.h>

Inheritance diagram for LobbyChatroomsMsg:
Collaboration diagram for LobbyChatroomsMsg:

Public Member Functions

 LobbyChatroomsMsg (std::list< NetChatroomInfo > *pChatrooms)
 Construct a message that points at the rooms.
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 rooms.
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 rooms.
std::list< NetChatroomInfo > * GetChatrooms () 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

Message that delivers the chat rooms of the lobby.

The RTTI records the class as deriving from Message. The vtable is at 0x003d6168. The members Clone(), Type(), and GetName() are inline.

Constructor & Destructor Documentation

◆ LobbyChatroomsMsg()

LobbyChatroomsMsg::LobbyChatroomsMsg ( std::list< NetChatroomInfo > * pChatrooms)
inlineexplicit

Construct a message that points at the rooms.

Inline.

Parameters
pChatroomsThe rooms. The caller retains them.

Member Function Documentation

◆ operator new()

void * LobbyChatroomsMsg::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 LobbyChatroomsMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * LobbyChatroomsMsg::Clone ( )
inlineoverridevirtual

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

Returns
The copy.

Implements Message.

◆ Type()

int LobbyChatroomsMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nLobbyChatroomsMsgType.

Implements Message.

◆ GetName()

const char * LobbyChatroomsMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal LobbyChatroomsMsg.

Implements Message.

◆ PrintExtra()

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

Write the rooms.

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

Reimplemented from Message.

◆ GetChatrooms()

std::list< NetChatroomInfo > * LobbyChatroomsMsg::GetChatrooms ( ) const
inline
Returns
The chat rooms.

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