Packet that reports the state of a console of the session.
More...
#include <clientstatuspkt.h>
|
| | ~ClientStatusPkt () override=default |
| | Destroy the object.
|
| | ClientStatusPkt ()=default |
| | Construct a packet with mReady left unset.
|
| | ClientStatusPkt (int nReady) |
| | Construct a packet for every peer, ordered and guaranteed.
|
| 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 state.
|
| void | saveGuts (BinStream &stream) const override |
| | Write the state as a byte.
|
| void | restoreGuts (BinStream &stream) override |
| | Read the state as a signed byte.
|
| int | GetReady () const |
| 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 that reports the state of a console of the session.
The RTTI records the class as deriving from InternalPacket. The members Clone(), Type(), and GetName() are inline. The member names are inferred.
◆ ~ClientStatusPkt()
| ClientStatusPkt::~ClientStatusPkt |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003a0820
- Ghidra address:
- PAL: 0x0040f500
◆ ClientStatusPkt() [1/2]
| ClientStatusPkt::ClientStatusPkt |
( |
| ) |
|
|
default |
Construct a packet with mReady left unset.
Inline. New() expands it.
◆ ClientStatusPkt() [2/2]
| ClientStatusPkt::ClientStatusPkt |
( |
int | nReady | ) |
|
|
inlineexplicit |
Construct a packet for every peer, ordered and guaranteed.
Inline.
- Parameters
-
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x00267598
- Ghidra address:
- PAL: 0x00271270
◆ operator new()
| void * ClientStatusPkt::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 ClientStatusPkt::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
| Message * ClientStatusPkt::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this packet.
- Returns
- The copy.
Implements Message.
◆ Type()
| int ClientStatusPkt::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nClientStatusPktType.
Implements Message.
◆ GetName()
| const char * ClientStatusPkt::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void ClientStatusPkt::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the sender, the receiver, and the state.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x002694e8
- Ghidra address:
- PAL: 0x002730c0
Reimplemented from Message.
◆ saveGuts()
| void ClientStatusPkt::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the state as a byte.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269528
- Ghidra address:
- PAL: 0x00273100
Reimplemented from Message.
◆ restoreGuts()
| void ClientStatusPkt::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read the state as a signed byte.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x00269568
- Ghidra address:
- PAL: 0x00273130
Reimplemented from Message.
◆ GetReady()
| int ClientStatusPkt::GetReady |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: