|
resonance 1.0.1
|
Network packet the game sends between game systems. More...
#include <csclientstatuspacket.h>


Public Member Functions | |
| virtual Message * | Clone () |
| Produce a heap copy of this packet. | |
| virtual int | Type () |
| Report this packet's registered identity. | |
| virtual const char * | GetName () const |
| Report this packet's class name. | |
| virtual void | PrintExtra (std::ostream &stream) const |
| Write the payload to a diagnostic stream. | |
| virtual void | saveGuts (OBStream &stream) const |
| Write the packet to a stream. | |
| virtual void | restoreGuts (IBStream &stream) |
| Read the packet back from a stream. | |
| Public Member Functions inherited from ToHostPacket | |
| ToHostPacket () | |
| Route the packet with the pair 0 and 0. | |
| Public Member Functions inherited from Message | |
| void * | operator new (size_t nSize) |
| Allocate a message from the tagged heap under the tag MSG. | |
| void | operator delete (void *pBlock) |
| Release a message to the tagged heap under the tag MSG. | |
| virtual | ~Message () |
| Vtable slot 1. | |
| std::ostream & | Print (std::ostream &stream) const |
| Write this message to a diagnostic stream as {GetName() PrintExtra()}. | |
Static Public Member Functions | |
| static Message * | New () |
| Produce a default-constructed packet on the heap. | |
| Static Public Member Functions inherited from Message | |
| static Message * | NewMessage (int nType) |
| Produce a message of the identified class through the factory list. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Packet | |
| Packet (int nDestination, int nDestinationSystem) | |
| Set the two routing words and mark the remaining two as unset. | |
| Protected Attributes inherited from Packet | |
| int | mDestination |
| int | mDestinationSystem |
| int | mClientId |
| The client the packet concerns, or -1 until set. | |
| int | mTargetClientId |
| A second client identifier, -1 until set. | |
Network packet the game sends between game systems.
Its RTTI descriptor is at 0x008ef028. It has ToHostPacket as its one base. The object is 0x18 bytes and its vtable is at 0x008147b8. The payload comes from the copy constructor at 0x003f3250. Clone() delegates to it. The offsets and widths are recovered, but the purpose of each field is not. The four words Packet provides are declared there rather than here.
Its vtable has eight entries and a zero terminator at index 8. Slots 5, 6, and 7 are all its own overrides. Both transfer members open by expanding the Packet pair inline rather than calling it, which every one of the twenty overriding packet classes does identically.
Both transfer members move the word Packet stores at +0x0c a second time, after this class's own member. Six of the twenty do that, and each of the six gives the repeat its own stack slot rather than reusing the one from the prefix, which is what establishes it as two expressions in the original rather than one.
The destructor at 0x003ef8f8 is compiler-generated and has no declaration here.
|
static |
Produce a default-constructed packet on the heap.
The registry the translation unit at 0x003ed2e0 builds stores this address against g_nCSClientStatusPacketType. Only the Packet words are initialised.
|
virtual |
Produce a heap copy of this packet.
Implements Message.
|
virtual |
Report this packet's registered identity.
Implements Message.
|
virtual |
Report this packet's class name.
Implements Message.
|
virtual |
Write the payload to a diagnostic stream.
Slot 5. The output is the literal ClientStatus: at 0x008141c8 followed by the member.
| stream | The stream to write to. |
Reimplemented from Message.
|
virtual |
Write the packet to a stream.
Slot 6.
| stream | The stream to write to. |
Reimplemented from Packet.
|
virtual |
Read the packet back from a stream.
Slot 7. The member arrives in a local that construction clears before the transfer.
| stream | The stream to read from. |
Reimplemented from Packet.