Message that reports the end of an online session, with the final scores.
More...
#include <gameendedmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that reports the end of an online session, with the final scores.
The RTTI records the class as deriving from Message. The vtable is at 0x003d5e08. The members Clone(), Type(), and GetName() are inline.
◆ Result
Values of mResult.
| Enumerator |
|---|
| kResultFinished | The song ended normally.
|
| kResultHostAborted | The host left the session.
|
| kResultConnectionLost | The connection to the session was lost.
|
| kResultBooted | The host removed this console from the session.
|
◆ ~GameEndedMsg()
| GameEndedMsg::~GameEndedMsg |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039ff40
- Ghidra address:
- PAL: 0x0040ec20
◆ GameEndedMsg() [1/3]
| GameEndedMsg::GameEndedMsg |
( |
int | nResult | ) |
|
|
inlineexplicit |
Construct a message with no scores.
Inline.
- Parameters
-
◆ GameEndedMsg() [2/3]
| GameEndedMsg::GameEndedMsg |
( |
int | nResult, |
|
|
const std::vector< NetGameScore > & | scores ) |
|
inline |
Construct a message with the final scores.
Inline.
- Parameters
-
| nResult | One of Result. |
| scores | The final score of each player. |
◆ GameEndedMsg() [3/3]
Copy another message.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x003455e0
- Ghidra address:
- PAL: 0x003b2b18
◆ operator new()
| void * GameEndedMsg::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 GameEndedMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int GameEndedMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nGameEndedMsgType.
Implements Message.
◆ GetName()
| const char * GameEndedMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void GameEndedMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the result, and the scores when there are any.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269120
- Ghidra address:
- PAL: 0x00272d28
Reimplemented from Message.
◆ GetResult()
| int GameEndedMsg::GetResult |
( |
| ) |
const |
|
inline |
◆ GetScores()
| const std::vector< NetGameScore > & GameEndedMsg::GetScores |
( |
| ) |
const |
|
inline |
- Returns
- The final score of each player.
The documentation for this class was generated from the following file: