Packet that reports the ranks of the players of the song.
More...
#include <updaterankspkt.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 the ranks of the players of the song.
The RTTI records the class as deriving from InternalPacket. The members Clone(), Type(), and GetName() are inline. The member names are inferred.
◆ ~UpdateRanksPkt()
| UpdateRanksPkt::~UpdateRanksPkt |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003a15f8
- Ghidra address:
- PAL: 0x004102d8
◆ UpdateRanksPkt() [1/2]
| UpdateRanksPkt::UpdateRanksPkt |
( |
| ) |
|
|
default |
Construct a packet with no ranks.
Inline. New() expands it.
◆ UpdateRanksPkt() [2/2]
| UpdateRanksPkt::UpdateRanksPkt |
( |
const std::vector< Info > & | ranks | ) |
|
|
inlineexplicit |
Construct a packet for every peer, ordered and guaranteed.
Inline.
- Parameters
-
| ranks | The rank of each player. |
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00267a60
- Ghidra address:
- PAL: 0x00271738
◆ operator new()
| void * UpdateRanksPkt::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 UpdateRanksPkt::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * UpdateRanksPkt::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
Implements Message.
◆ Type()
| int UpdateRanksPkt::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nUpdateRanksPktType.
Implements Message.
◆ GetName()
| const char * UpdateRanksPkt::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void UpdateRanksPkt::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the sender, the receiver, and the ranks.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269e28
- Ghidra address:
- PAL: 0x002739b8
Reimplemented from Packet.
◆ saveGuts()
| void UpdateRanksPkt::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the ranks.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269e68
- Ghidra address:
- PAL: 0x002739f8
Reimplemented from Message.
◆ restoreGuts()
| void UpdateRanksPkt::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the ranks.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x00269e90
- Ghidra address:
- PAL: 0x00273a20
Reimplemented from Message.
◆ GetRanks()
| const std::vector< Info > & UpdateRanksPkt::GetRanks |
( |
| ) |
const |
|
inline |
- Returns
- The rank of each player.
The documentation for this class was generated from the following file: