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

Message that reports the settings of the online game the host published. More...

#include <gameparamsupdatemsg.h>

Inheritance diagram for GameParamsUpdateMsg:
Collaboration diagram for GameParamsUpdateMsg:

Public Member Functions

 ~GameParamsUpdateMsg () override=default
 Destroy the object.
 GameParamsUpdateMsg (const NetGameParams &params)
 Construct a message with the settings.
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.
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 settings.
const NetGameParams & GetParams () 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 reports the settings of the online game the host published.

The RTTI includes the class name and records Message as the base. The vtable is at 0x003d5f28. The members Clone(), Type(), and GetName() are inline.

Constructor & Destructor Documentation

◆ ~GameParamsUpdateMsg()

GameParamsUpdateMsg::~GameParamsUpdateMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0039f9f8
Ghidra address:
PAL: 0x0040e6d8

◆ GameParamsUpdateMsg()

GameParamsUpdateMsg::GameParamsUpdateMsg ( const NetGameParams & params)
inlineexplicit

Construct a message with the settings.

Inline.

Parameters
paramsThe settings of the game.

Member Function Documentation

◆ operator new()

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

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * GameParamsUpdateMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.

Implements Message.

◆ Type()

int GameParamsUpdateMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nGameParamsUpdateMsgType.

Implements Message.

◆ GetName()

const char * GameParamsUpdateMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal GameParamsUpdateMsg.

Implements Message.

◆ PrintExtra()

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

Write the settings.

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

Reimplemented from Message.

◆ GetParams()

const NetGameParams & GameParamsUpdateMsg::GetParams ( ) const
inline
Returns
The settings of the game.

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