Packet that tells the other consoles of a remix session about a section change.
More...
#include <sectionchangepacket.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 tells the other consoles of a remix session about a section change.
The RTTI records the class as deriving from ExternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline. The payload travels as one four-byte word, the section in the low four bits and the tick in the other 28.
◆ ~SectionChangePacket()
| SectionChangePacket::~SectionChangePacket |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x00340908
- Ghidra address:
- PAL: 0x003ade40
◆ SectionChangePacket()
| SectionChangePacket::SectionChangePacket |
( |
| ) |
|
|
inline |
Construct a packet with no section.
Inline. New() expands it.
◆ New()
| Message * SectionChangePacket::New |
( |
| ) |
|
|
static |
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x001232b0
- Ghidra address:
- PAL: 0x00124a30
◆ operator new()
| void * SectionChangePacket::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 SectionChangePacket::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * SectionChangePacket::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x003409a8
- Ghidra address:
- PAL: 0x003adee0
Implements Message.
◆ Type()
| int SectionChangePacket::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nSectionChangePacketType.
- Ghidra address:
- NTSC-U/C: 0x00340a20
- Ghidra address:
- PAL: 0x003adf58
Implements Message.
◆ GetName()
| const char * SectionChangePacket::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal SectionChangePacket.
- Ghidra address:
- NTSC-U/C: 0x00340a30
- Ghidra address:
- PAL: 0x003adf68
Implements Message.
◆ saveGuts()
| void SectionChangePacket::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the payload.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00139058
- Ghidra address:
- PAL: 0x0013a8b8
Reimplemented from Message.
◆ restoreGuts()
| void SectionChangePacket::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the payload.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x001390d0
- Ghidra address:
- PAL: 0x0013a930
Reimplemented from Message.
◆ GetSection()
| int SectionChangePacket::GetSection |
( |
| ) |
const |
|
inline |
- Returns
- The section. Four bits travel.
◆ SetSection()
| void SectionChangePacket::SetSection |
( |
int | nSection | ) |
|
|
inline |
- Parameters
-
| nSection | The section. Four bits travel. |
◆ GetTick()
| int SectionChangePacket::GetTick |
( |
| ) |
const |
|
inline |
- Returns
- The tick of the change. 28 bits travel.
◆ SetTick()
| void SectionChangePacket::SetTick |
( |
int | nTick | ) |
|
|
inline |
- Parameters
-
| nTick | The tick of the change. 28 bits travel. |
The documentation for this class was generated from the following file: