Message that starts the song of an online session on every console.
More...
#include <startgamemsg.h>
|
| | StartGameMsg (int nSeed) |
| | Construct a message with a seed.
|
| 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 seed.
|
| int | GetSeed () const |
| 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.
|
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that starts the song of an online session on every console.
The RTTI records the class as deriving from Message. The vtable is at 0x003d5e50. The members Clone(), Type(), and GetName() are inline.
◆ StartGameMsg()
| StartGameMsg::StartGameMsg |
( |
int | nSeed | ) |
|
|
inlineexplicit |
Construct a message with a seed.
Inline.
- Parameters
-
| nSeed | The seed of the random numbers every console's logic draws. |
◆ operator new()
| void * StartGameMsg::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a message, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void StartGameMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int StartGameMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nStartGameMsgType.
Implements Message.
◆ GetName()
| const char * StartGameMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void StartGameMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the seed.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x002690e0
- Ghidra address:
- PAL: 0x00272ce8
Reimplemented from Message.
◆ GetSeed()
| int StartGameMsg::GetSeed |
( |
| ) |
const |
|
inline |
- Returns
- The seed of the random numbers every console's logic draws.
The documentation for this class was generated from the following file: