Packet that reports the players a bumper power-up knocked off their tracks.
More...
#include <bumperpacket.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 players a bumper power-up knocked off their tracks.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~BumperPacket()
| BumperPacket::~BumperPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x00349bc8
- Ghidra address:
- PAL: 0x003b6ff8
◆ BumperPacket() [1/2]
| BumperPacket::BumperPacket |
( |
| ) |
|
|
inline |
Construct a packet with no victims.
Inline. New() expands it.
◆ BumperPacket() [2/2]
Copy another packet.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00349d50
- Ghidra address:
- PAL: 0x003b7180
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00122fe0
- Ghidra address:
- PAL: 0x00124760
◆ operator new()
| void * BumperPacket::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 BumperPacket::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: 0x00349cd8
- Ghidra address:
- PAL: 0x003b7108
Implements Message.
◆ Type()
| int BumperPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nBumperPacketType.
- Ghidra address:
- NTSC-U/C: 0x00349d18
- Ghidra address:
- PAL: 0x003b7148
Implements Message.
◆ GetName()
| const char * BumperPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal BumperPacket.
- Ghidra address:
- NTSC-U/C: 0x00349d28
- Ghidra address:
- PAL: 0x003b7158
Implements Message.
◆ saveGuts()
| void BumperPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the victims, at most three.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014a960
- Ghidra address:
- PAL: 0x0014c320
Reimplemented from Message.
◆ restoreGuts()
| void BumperPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the victims saveGuts() writes, after the victims are removed.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0014aa38
- Ghidra address:
- PAL: 0x0014c3f0
Reimplemented from Message.
◆ PrintExtra()
| void BumperPacket::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write each victim's player and track.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014ad30
- Ghidra address:
- PAL: 0x0014c6d0
Reimplemented from Message.
◆ GetVictims() [1/2]
| const std::vector< VictimData > & BumperPacket::GetVictims |
( |
| ) |
const |
|
inline |
- Returns
- The players struck.
◆ GetVictims() [2/2]
| std::vector< VictimData > & BumperPacket::GetVictims |
( |
| ) |
|
|
inline |
- Returns
- The players struck, for filling.
The documentation for this class was generated from the following file: