Packet that reports a remix effect switched on or off for a track of a section.
More...
#include <fxpacket.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 remix effect switched on or off for a track of a section.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~FXPacket()
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034bef0
- Ghidra address:
- PAL: 0x003b9320
◆ FXPacket()
Construct a packet with no section and no track.
Inline. New() expands it.
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123310
- Ghidra address:
- PAL: 0x00124a90
◆ operator new()
| void * FXPacket::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 FXPacket::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: 0x0034bf90
- Ghidra address:
- PAL: 0x003b93c0
Implements Message.
◆ Type()
Report this packet's registered identity.
- Returns
- g_nFXPacketType.
- Ghidra address:
- NTSC-U/C: 0x0034c018
- Ghidra address:
- PAL: 0x003b9448
Implements Message.
◆ GetName()
| const char * FXPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal FXPacket.
- Ghidra address:
- NTSC-U/C: 0x0034c028
- Ghidra address:
- PAL: 0x003b9458
Implements Message.
◆ PrintExtra()
| void FXPacket::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the section, the track, the effect, and the switch to a diagnostic stream.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00150ef0
- Ghidra address:
- PAL: 0x001527e0
Reimplemented from Message.
◆ saveGuts()
| void FXPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the payload packed into two bytes.
The section takes the low four bits, the track the next three, the effect the next two, and the switch the bit after them.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00150dc8
- Ghidra address:
- PAL: 0x001526b8
Reimplemented from Message.
◆ restoreGuts()
| void FXPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the two bytes saveGuts() writes back into the fields.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x00150e68
- Ghidra address:
- PAL: 0x00152758
Reimplemented from Message.
◆ GetOn()
| int FXPacket::GetOn |
( |
| ) |
const |
|
inline |
- Returns
- Whether the effect is switched on.
◆ SetOn()
| void FXPacket::SetOn |
( |
int | nOn | ) |
|
|
inline |
- Parameters
-
| nOn | Whether the effect is switched on. |
◆ GetSection()
| int FXPacket::GetSection |
( |
| ) |
const |
|
inline |
◆ SetSection()
| void FXPacket::SetSection |
( |
int | nSection | ) |
|
|
inline |
◆ GetTrack()
| int FXPacket::GetTrack |
( |
| ) |
const |
|
inline |
◆ SetTrack()
| void FXPacket::SetTrack |
( |
int | nTrack | ) |
|
|
inline |
◆ GetType()
| int FXPacket::GetType |
( |
| ) |
const |
|
inline |
◆ SetType()
| void FXPacket::SetType |
( |
int | nType | ) |
|
|
inline |
The documentation for this class was generated from the following file: