|
wavelength 1.0.0
|
Base of a packet the consoles of an online session exchange to run the session itself. More...
#include <internalpacket.h>


Public Member Functions | |
| int | Route () override |
| Report that a received packet goes to the online session. | |
| Public Member Functions inherited from Packet | |
| 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) |
| Public Member Functions inherited from Message | |
| virtual | ~Message () |
| Vtable slot 1. | |
| virtual Message * | Clone ()=0 |
| Produce a heap copy of this message. | |
| virtual int | Type ()=0 |
| Report this message's registered identity. | |
| virtual const char * | GetName () const =0 |
| Report this message's class name. | |
| virtual void | saveGuts (BinStream &stream) const |
| Write this message's payload to a stream. | |
| virtual void | restoreGuts (BinStream &stream) |
| Read this message's payload from a stream. | |
| virtual | ~Message () |
| virtual void | Unused1 () |
| Not called by the control. | |
| virtual int | Type ()=0 |
Protected Member Functions | |
| InternalPacket (unsigned char nFlags=0, int nReceiver=kUnset) | |
| Construct a packet from an unset sender. | |
| Protected Member Functions inherited from Packet | |
| Packet (unsigned char nFlags, int nReceiver) | |
| Construct a packet from an unset sender. | |
Additional Inherited Members | |
| Public Types inherited from Packet | |
| enum | RouteFlag { kRouteTransport = 1 , kRouteLaunchpad = 2 } |
| Bits of Route(). More... | |
| Static Public Member Functions inherited from Message | |
| static Message * | NewMessage (int nType) |
| Produce a message of the identified class through the factory list. | |
| Static Public Attributes inherited from Packet | |
| static constexpr int | kUnset = -2 |
| Value of mSender and mReceiver that marks the member as unset. | |
| static constexpr int | kAllPeers = -1 |
| Value of mReceiver that addresses every peer. | |
| static constexpr unsigned char | kFlagOrdered = 1 |
| Bit of mFlags that LaunchpadRT::Send() turns into the second delivery bit of the session library. | |
| static constexpr unsigned char | kFlagGuaranteed = 2 |
| Bit of mFlags that NetTransport::Send() turns into its guaranteed delivery bit. | |
Base of a packet the consoles of an online session exchange to run the session itself.
The RTTI records Packet as the one base. The class adds no member. A received packet of the class goes to the online session rather than to the game.
|
inlineexplicitprotected |
Construct a packet from an unset sender.
Inline. Every packet constructor expands it.
| nFlags | The delivery flags. |
| nReceiver | The peer the packet is for, kAllPeers, or kUnset. |
|
inlineoverridevirtual |
Report that a received packet goes to the online session.
Inline. Every derived vtable addresses a shared copy at 0x00398e48 that returns 2.
Implements Packet.