|
resonance 1.0.1
|
Network packet the game sends between game systems. More...
#include <scstartplayingpacket.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 | saveGuts (OBStream &) const |
| Write nothing, replacing Packet::saveGuts(). | |
| virtual void | restoreGuts (IBStream &) |
| Read nothing, replacing Packet::restoreGuts(). | |
| virtual void | PrintExtra (std::ostream &) const |
| Write nothing. | |
| Public Member Functions inherited from ToAllGameControllersPacket | |
| ToAllGameControllersPacket () | |
| Route the packet with the pair 3 and 2. | |
| 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 0x00902160. It has ToAllGameControllersPacket as its one base. The object is 0x14 bytes and its vtable is at 0x00814698. The payload comes from the copy constructor at 0x003f3720. 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.
The class adds no payload. Its allocation is exactly the 0x14 bytes Packet occupies, which is what measures Packet.
Slots 5, 6, and 7 of the table address three empty bodies of this class at 0x003f02a0, 0x003f0290, and 0x003f0298. The two transfer slots replace the non-empty Packet::saveGuts() and Packet::restoreGuts(). The packet therefore crosses the wire as zero bytes, without even the four Packet words. The three bodies lie in the order saveGuts(), restoreGuts(), PrintExtra() rather than in slot order, the shape of three members defined in the class body in that order. PrintExtra() is declared on that evidence alone, because an empty PrintExtra() at a unique address would otherwise be indistinguishable from a re-emission of the empty Message::PrintExtra().
The destructor at 0x003f01c0 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_nSCStartPlayingPacketType.
|
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.
|
inlinevirtual |
Write nothing, replacing Packet::saveGuts().
Slot 6.
Reimplemented from Packet.
|
inlinevirtual |
Read nothing, replacing Packet::restoreGuts().
Slot 7.
Reimplemented from Packet.
|
inlinevirtual |
Write nothing.
Slot 5.
Reimplemented from Message.