Packet that reports a player's score at the end of a song to the hosting console.
More...
#include <finalscorepacket.h>
|
| static Message * | New () |
| | Produce a default-constructed packet on the heap.
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Packet that reports a player's score at the end of a song to the hosting console.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed, and the packet is addressed to peer 0. The members Clone(), Type(), and GetName() are inline.
◆ ~FinalScorePacket()
| FinalScorePacket::~FinalScorePacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003359a8
- Ghidra address:
- PAL: 0x003a2f58
◆ FinalScorePacket() [1/2]
| FinalScorePacket::FinalScorePacket |
( |
| ) |
|
|
inline |
Construct a packet with no score.
Inline. New() expands it.
◆ FinalScorePacket() [2/2]
| FinalScorePacket::FinalScorePacket |
( |
int | nScore | ) |
|
|
inlineexplicit |
◆ New()
| Message * FinalScorePacket::New |
( |
| ) |
|
|
static |
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123200
- Ghidra address:
- PAL: 0x00124980
◆ operator new()
| void * FinalScorePacket::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a packet, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void FinalScorePacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * FinalScorePacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x00335a48
- Ghidra address:
- PAL: 0x003a2ff8
Implements Message.
◆ Type()
| int FinalScorePacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nFinalScorePacketType.
- Ghidra address:
- NTSC-U/C: 0x00335ab8
- Ghidra address:
- PAL: 0x003a3068
Implements Message.
◆ GetName()
| const char * FinalScorePacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal FinalScorePacket.
- Ghidra address:
- NTSC-U/C: 0x00335ac8
- Ghidra address:
- PAL: 0x003a3078
Implements Message.
◆ saveGuts()
| void FinalScorePacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the score.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0010c460
- Ghidra address:
- PAL: 0x0010db98
Reimplemented from Message.
◆ restoreGuts()
| void FinalScorePacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the score.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0010c490
- Ghidra address:
- PAL: 0x0010dbc8
Reimplemented from Message.
◆ GetScore()
| int FinalScorePacket::GetScore |
( |
| ) |
const |
|
inline |
- Returns
- The player's score.
◆ SetScore()
| void FinalScorePacket::SetScore |
( |
int | nScore | ) |
|
|
inline |
- Parameters
-
| nScore | The player's score. |
The documentation for this class was generated from the following file: