Packet that reports the player a crippler power-up struck.
More...
#include <cripplerpacket.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 player a crippler power-up struck.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~CripplerPacket()
| CripplerPacket::~CripplerPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034b028
- Ghidra address:
- PAL: 0x003b8458
◆ CripplerPacket() [1/2]
| CripplerPacket::CripplerPacket |
( |
| ) |
|
|
inline |
Construct a packet with no victim.
Inline. New() expands it.
◆ CripplerPacket() [2/2]
| CripplerPacket::CripplerPacket |
( |
int | nVictim | ) |
|
|
inlineexplicit |
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123040
- Ghidra address:
- PAL: 0x001247c0
◆ operator new()
| void * CripplerPacket::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 CripplerPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * CripplerPacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0034b0c8
- Ghidra address:
- PAL: 0x003b84f8
Implements Message.
◆ Type()
| int CripplerPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nCripplerPacketType.
- Ghidra address:
- NTSC-U/C: 0x0034b138
- Ghidra address:
- PAL: 0x003b8568
Implements Message.
◆ GetName()
| const char * CripplerPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal CripplerPacket.
- Ghidra address:
- NTSC-U/C: 0x0034b148
- Ghidra address:
- PAL: 0x003b8578
Implements Message.
◆ saveGuts()
| void CripplerPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the victim as one byte.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014e790
- Ghidra address:
- PAL: 0x00150130
Reimplemented from Message.
◆ restoreGuts()
| void CripplerPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the byte saveGuts() writes back into the victim.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0014e7d0
- Ghidra address:
- PAL: 0x00150160
Reimplemented from Message.
◆ GetVictim()
| int CripplerPacket::GetVictim |
( |
| ) |
const |
|
inline |
- Returns
- The session order of the player struck.
The documentation for this class was generated from the following file: