Packet in which the arbitrating console assigns every player a track.
More...
#include <arbiterpacket.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 in which the arbitrating console assigns every player a track.
The RTTI records the class as deriving from ExternalPacket. The members Clone(), Type(), and GetName() are inline. The member names are inferred from the packet's printed form.
◆ ~ArbiterPacket()
| ArbiterPacket::~ArbiterPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003479f0
- Ghidra address:
- PAL: 0x003b4e20
◆ ArbiterPacket() [1/2]
| ArbiterPacket::ArbiterPacket |
( |
| ) |
|
|
inline |
Construct a packet with no assignments.
Inline. New() expands it.
◆ ArbiterPacket() [2/2]
| ArbiterPacket::ArbiterPacket |
( |
int | nVersion | ) |
|
|
inlineexplicit |
Construct an empty packet with a sequence number.
Inline. NetArbiter::Broadcast() expands it on its stack.
- Parameters
-
| nVersion | The sequence number. |
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00122f18
- Ghidra address:
- PAL: 0x00124698
◆ operator new()
| void * ArbiterPacket::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 ArbiterPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x00347b00
- Ghidra address:
- PAL: 0x003b4f30
Implements Message.
◆ Type()
| int ArbiterPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nArbiterPacketType.
- Ghidra address:
- NTSC-U/C: 0x00347b40
- Ghidra address:
- PAL: 0x003b4f70
Implements Message.
◆ GetName()
| const char * ArbiterPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal ArbiterPacket.
- Ghidra address:
- NTSC-U/C: 0x00347b50
- Ghidra address:
- PAL: 0x003b4f80
Implements Message.
◆ saveGuts()
| void ArbiterPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the sequence number and the assignments of at most four players.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00146ea0
- Ghidra address:
- PAL: 0x00148880
Reimplemented from Message.
◆ restoreGuts()
| void ArbiterPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the fields saveGuts() writes, after the assignments are removed.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x00146fb0
- Ghidra address:
- PAL: 0x00148988
Reimplemented from Message.
◆ PrintExtra()
| void ArbiterPacket::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the sequence number and each player's track and slot.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00147330
- Ghidra address:
- PAL: 0x00148cf0
Reimplemented from Message.
◆ GetPlayers() [1/2]
| const std::vector< PlayerData > & ArbiterPacket::GetPlayers |
( |
| ) |
const |
|
inline |
◆ GetPlayers() [2/2]
| std::vector< PlayerData > & ArbiterPacket::GetPlayers |
( |
| ) |
|
|
inline |
- Returns
- The assignments, for filling.
◆ GetVersion()
| int ArbiterPacket::GetVersion |
( |
| ) |
const |
|
inline |
- Returns
- The sequence number of the player's last update.
The documentation for this class was generated from the following file: