Packet the host sends every console when it removes a guest from the session.
More...
#include <bootpkt.h>
|
| | ~BootPkt () override=default |
| | Destroy the object.
|
| | BootPkt () |
| | Construct a packet for every peer with no guest.
|
| void * | operator new (size_t nSize) |
| | Allocate a packet, billed to the class name.
|
| void | operator delete (void *pBlock) |
| | Release a packet.
|
| Message * | Clone () override |
| | Produce a heap copy of this packet.
|
| int | Type () override |
| | Report this packet's registered identity.
|
| const char * | GetName () const override |
| | Report this packet's class name.
|
| void | PrintExtra (PrnStream &stream) const override |
| | Write the sender, the receiver, and the guest.
|
| void | saveGuts (BinStream &stream) const override |
| | Write the guest as four bytes.
|
| void | restoreGuts (BinStream &stream) override |
| | Read the guest.
|
| int | GetPlayer () const |
| void | SetPlayer (int nPlayer) |
| int | Route () override |
| | Report that a received packet goes to the online session.
|
| void | PrintExtra (PrnStream &stream) const override |
| | Write the sender and the receiver that are set, as from: and to:.
|
| unsigned char | GetFlags () const |
| int | GetReceiver () const |
| int | GetSender () const |
| void | SetSender (int nSender) |
| virtual | ~Message () |
| | Vtable slot 1.
|
| virtual | ~Message () |
| virtual void | Unused1 () |
| | Not called by the control.
|
|
| 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 the host sends every console when it removes a guest from the session.
The RTTI records the class as deriving from InternalPacket. Delivery is guaranteed. The members Clone(), Type(), and GetName() are inline. The member names are inferred.
◆ ~BootPkt()
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003a0f18
- Ghidra address:
- PAL: 0x0040fbf8
◆ BootPkt()
Construct a packet for every peer with no guest.
Inline. New() expands it.
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00267790
- Ghidra address:
- PAL: 0x00271468
◆ operator new()
| void * BootPkt::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 BootPkt::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
Produce a heap copy of this packet.
- Returns
- The copy.
Implements Message.
◆ Type()
Report this packet's registered identity.
- Returns
- g_nBootPktType.
Implements Message.
◆ GetName()
| const char * BootPkt::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this packet's class name.
- Returns
- The literal BootPkt.
Implements Message.
◆ PrintExtra()
| void BootPkt::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the sender, the receiver, and the guest.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269950
- Ghidra address:
- PAL: 0x00273508
Reimplemented from Message.
◆ saveGuts()
| void BootPkt::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the guest as four bytes.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269990
- Ghidra address:
- PAL: 0x00273548
Reimplemented from Message.
◆ restoreGuts()
| void BootPkt::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the guest.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x002699c0
- Ghidra address:
- PAL: 0x00273578
Reimplemented from Message.
◆ GetPlayer()
| int BootPkt::GetPlayer |
( |
| ) |
const |
|
inline |
- Returns
- The identifier in the session of the guest removed, or kUnset.
◆ SetPlayer()
| void BootPkt::SetPlayer |
( |
int | nPlayer | ) |
|
|
inline |
- Parameters
-
| nPlayer | The identifier in the session of the guest removed, or kUnset. |
The documentation for this class was generated from the following file: