Packet that reports a bar of a track erased in the remix editor.
More...
#include <erasebarpacket.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 bar of a track erased in the remix editor.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~EraseBarPacket()
| EraseBarPacket::~EraseBarPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034b158
- Ghidra address:
- PAL: 0x003b8588
◆ EraseBarPacket() [1/2]
| EraseBarPacket::EraseBarPacket |
( |
| ) |
|
|
inline |
Construct a packet with no track and no bar.
Inline. New() expands it.
◆ EraseBarPacket() [2/2]
| EraseBarPacket::EraseBarPacket |
( |
int | nTrack, |
|
|
int | nBar ) |
|
inline |
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123440
- Ghidra address:
- PAL: 0x00124bc0
◆ operator new()
| void * EraseBarPacket::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 EraseBarPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * EraseBarPacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0034b1f8
- Ghidra address:
- PAL: 0x003b8628
Implements Message.
◆ Type()
| int EraseBarPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nEraseBarPacketType.
- Ghidra address:
- NTSC-U/C: 0x0034b270
- Ghidra address:
- PAL: 0x003b86a0
Implements Message.
◆ GetName()
| const char * EraseBarPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal EraseBarPacket.
- Ghidra address:
- NTSC-U/C: 0x0034b280
- Ghidra address:
- PAL: 0x003b86b0
Implements Message.
◆ saveGuts()
| void EraseBarPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the track and the bar packed into one word.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0014e818
- Ghidra address:
- PAL: 0x00150198
Reimplemented from Message.
◆ restoreGuts()
| void EraseBarPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the word saveGuts() writes back into the fields.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0014e890
- Ghidra address:
- PAL: 0x00150210
Reimplemented from Message.
◆ GetBar()
| int EraseBarPacket::GetBar |
( |
| ) |
const |
|
inline |
◆ GetTrack()
| int EraseBarPacket::GetTrack |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: