Packet that reports a section of a track erased in the remix editor.
More...
#include <erasesectionpacket.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 section 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.
◆ ~EraseSectionPacket()
| EraseSectionPacket::~EraseSectionPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034b2a0
- Ghidra address:
- PAL: 0x003b86d0
◆ EraseSectionPacket() [1/2]
| EraseSectionPacket::EraseSectionPacket |
( |
| ) |
|
|
inline |
Construct a packet with no track and no section.
Inline. New() expands it.
◆ EraseSectionPacket() [2/2]
| EraseSectionPacket::EraseSectionPacket |
( |
int | nTrack, |
|
|
int | nBar ) |
|
inline |
Construct a packet for an erased section.
Inline. PitchTrack::HandleInput() expands it.
- Parameters
-
| nTrack | The track. |
| nBar | A bar of the section. |
◆ New()
| Message * EraseSectionPacket::New |
( |
| ) |
|
|
static |
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x001234a0
- Ghidra address:
- PAL: 0x00124c20
◆ operator new()
| void * EraseSectionPacket::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 EraseSectionPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * EraseSectionPacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0034b340
- Ghidra address:
- PAL: 0x003b8770
Implements Message.
◆ Type()
| int EraseSectionPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nEraseSectionPacketType.
- Ghidra address:
- NTSC-U/C: 0x0034b3b8
- Ghidra address:
- PAL: 0x003b87e8
Implements Message.
◆ GetName()
| const char * EraseSectionPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal EraseSectionPacket.
- Ghidra address:
- NTSC-U/C: 0x0034b3c8
- Ghidra address:
- PAL: 0x003b87f8
Implements Message.
◆ saveGuts()
| void EraseSectionPacket::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: 0x0014e900
- Ghidra address:
- PAL: 0x00150280
Reimplemented from Message.
◆ restoreGuts()
| void EraseSectionPacket::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: 0x0014e978
- Ghidra address:
- PAL: 0x001502f8
Reimplemented from Message.
◆ GetBar()
| int EraseSectionPacket::GetBar |
( |
| ) |
const |
|
inline |
- Returns
- A bar of the section erased.
◆ GetTrack()
| int EraseSectionPacket::GetTrack |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: