Packet that reports a player bumped onto a track by a freestyle power-up.
More...
#include <freestylebumppacket.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 bumped onto a track by a freestyle power-up.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~FreestyleBumpPacket()
| FreestyleBumpPacket::~FreestyleBumpPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034b460
- Ghidra address:
- PAL: 0x003b8890
◆ FreestyleBumpPacket() [1/2]
| FreestyleBumpPacket::FreestyleBumpPacket |
( |
| ) |
|
|
inline |
Construct a packet with no player and no track.
Inline. New() expands it.
◆ FreestyleBumpPacket() [2/2]
| FreestyleBumpPacket::FreestyleBumpPacket |
( |
int | nNetOrder, |
|
|
int | nTrack ) |
|
inline |
Construct a packet for a player and a track.
Inline. NetArbiter::UpdatePlayer() expands it on its stack.
- Parameters
-
| nNetOrder | The session order of the player bumped. |
| nTrack | The track the player moves to. |
◆ New()
| Message * FreestyleBumpPacket::New |
( |
| ) |
|
|
static |
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x001231a0
- Ghidra address:
- PAL: 0x00124920
◆ operator new()
| void * FreestyleBumpPacket::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 FreestyleBumpPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * FreestyleBumpPacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0034b500
- Ghidra address:
- PAL: 0x003b8930
Implements Message.
◆ Type()
| int FreestyleBumpPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nFreestyleBumpPacketType.
- Ghidra address:
- NTSC-U/C: 0x0034b578
- Ghidra address:
- PAL: 0x003b89a8
Implements Message.
◆ GetName()
| const char * FreestyleBumpPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal FreestyleBumpPacket.
- Ghidra address:
- NTSC-U/C: 0x0034b588
- Ghidra address:
- PAL: 0x003b89b8
Implements Message.
◆ saveGuts()
| void FreestyleBumpPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the player and the track packed into one byte.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014edf8
- Ghidra address:
- PAL: 0x00150778
Reimplemented from Message.
◆ restoreGuts()
| void FreestyleBumpPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the byte saveGuts() writes back into the fields.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0014ee88
- Ghidra address:
- PAL: 0x001507f8
Reimplemented from Message.
◆ PrintExtra()
| void FreestyleBumpPacket::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the player and the track.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014ef08
- Ghidra address:
- PAL: 0x00150868
Reimplemented from Message.
◆ GetNetOrder()
| int FreestyleBumpPacket::GetNetOrder |
( |
| ) |
const |
|
inline |
- Returns
- The session order of the player bumped.
◆ GetTrack()
| int FreestyleBumpPacket::GetTrack |
( |
| ) |
const |
|
inline |
- Returns
- The track the player was moved to.
The documentation for this class was generated from the following file: