Packet that reports the remix editor's preview of a section started or stopped.
More...
#include <previewpacket.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 remix editor's preview of a section started or stopped.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline. The member names are inferred.
◆ ~PreviewPacket()
| PreviewPacket::~PreviewPacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0033df10
- Ghidra address:
- PAL: 0x003ab448
◆ PreviewPacket()
| PreviewPacket::PreviewPacket |
( |
| ) |
|
|
inline |
Construct a packet with no section.
Inline. New() expands it. mPreviewing is left unset.
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00123500
- Ghidra address:
- PAL: 0x00124c80
◆ operator new()
| void * PreviewPacket::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 PreviewPacket::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: 0x0033dfb0
- Ghidra address:
- PAL: 0x003ab4e8
Implements Message.
◆ Type()
| int PreviewPacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nPreviewPacketType.
- Ghidra address:
- NTSC-U/C: 0x0033e028
- Ghidra address:
- PAL: 0x003ab560
Implements Message.
◆ GetName()
| const char * PreviewPacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal PreviewPacket.
- Ghidra address:
- NTSC-U/C: 0x0033e038
- Ghidra address:
- PAL: 0x003ab570
Implements Message.
◆ saveGuts()
| void PreviewPacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the fields packed into one word.
The section takes the low 31 bits and the preview state the top bit.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0012ef20
- Ghidra address:
- PAL: 0x001306f8
Reimplemented from Message.
◆ restoreGuts()
| void PreviewPacket::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: 0x0012ef90
- Ghidra address:
- PAL: 0x00130768
Reimplemented from Message.
◆ GetPreviewing()
| int PreviewPacket::GetPreviewing |
( |
| ) |
const |
|
inline |
- Returns
- Whether the preview started rather than stopped.
◆ SetPreviewing()
| void PreviewPacket::SetPreviewing |
( |
int | nPreviewing | ) |
|
|
inline |
- Parameters
-
| nPreviewing | Whether the preview started rather than stopped. |
◆ GetSection()
| int PreviewPacket::GetSection |
( |
| ) |
const |
|
inline |
- Returns
- The section previewed.
◆ SetSection()
| void PreviewPacket::SetSection |
( |
int | nSection | ) |
|
|
inline |
- Parameters
-
| nSection | The section previewed. |
The documentation for this class was generated from the following file: