Packet that reports the vocals of a track of a remix section muted or restored.
More...
#include <mutevocalspacket.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 vocals of a track of a remix section muted or restored.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline.
◆ ~MuteVocalsPacket()
| MuteVocalsPacket::~MuteVocalsPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0033c568
- Ghidra address:
- PAL: 0x003a9aa0
◆ MuteVocalsPacket()
| MuteVocalsPacket::MuteVocalsPacket |
( |
| ) |
|
|
inline |
Construct a packet with no section and no track.
Inline. New() expands it.
◆ New()
| Message * MuteVocalsPacket::New |
( |
| ) |
|
|
static |
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123378
- Ghidra address:
- PAL: 0x00124af8
◆ operator new()
| void * MuteVocalsPacket::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 MuteVocalsPacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * MuteVocalsPacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0033c608
- Ghidra address:
- PAL: 0x003a9b40
Implements Message.
◆ Type()
| int MuteVocalsPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nMuteVocalsPacketType.
- Ghidra address:
- NTSC-U/C: 0x0033c688
- Ghidra address:
- PAL: 0x003a9bc0
Implements Message.
◆ GetName()
| const char * MuteVocalsPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal MuteVocalsPacket.
- Ghidra address:
- NTSC-U/C: 0x0033c698
- Ghidra address:
- PAL: 0x003a9bd0
Implements Message.
◆ PrintExtra()
| void MuteVocalsPacket::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the track and the mute state to a diagnostic stream.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00127a38
- Ghidra address:
- PAL: 0x00129230
Reimplemented from Message.
◆ saveGuts()
| void MuteVocalsPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the section, the track, and the mute state packed into one byte.
The section takes the low four bits, the track the next three, and the mute state the top bit.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00127918
- Ghidra address:
- PAL: 0x00129128
Reimplemented from Message.
◆ restoreGuts()
| void MuteVocalsPacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the byte saveGuts() writes back into the fields.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x001279b0
- Ghidra address:
- PAL: 0x001291b8
Reimplemented from Message.
◆ GetMute()
| int MuteVocalsPacket::GetMute |
( |
| ) |
const |
|
inline |
- Returns
- Whether the vocals are muted.
◆ SetMute()
| void MuteVocalsPacket::SetMute |
( |
int | nMute | ) |
|
|
inline |
- Parameters
-
| nMute | Whether the vocals are muted. |
◆ GetSection()
| int MuteVocalsPacket::GetSection |
( |
| ) |
const |
|
inline |
◆ SetSection()
| void MuteVocalsPacket::SetSection |
( |
int | nSection | ) |
|
|
inline |
◆ GetTrack()
| int MuteVocalsPacket::GetTrack |
( |
| ) |
const |
|
inline |
◆ SetTrack()
| void MuteVocalsPacket::SetTrack |
( |
int | nTrack | ) |
|
|
inline |
The documentation for this class was generated from the following file: