resonance 1.0.1
Loading...
Searching...
No Matches
psjoinrequestpacket.h
Go to the documentation of this file.
1#pragma once
2
4#include "msg/tohostpacket.h"
5
21public:
31
42 static Message *New();
43
51 virtual Message *Clone();
52
60 virtual int Type();
61
69 virtual const char *GetName() const;
70
81 virtual void saveGuts(OBStream &stream) const;
82
92 virtual void restoreGuts(IBStream &stream);
93
103 virtual void PrintExtra(std::ostream &stream) const;
104
105private:
106 FreqAppearance mAppearance; // +0x14
107};
108
Appearance of a player's avatar.
Definition freqappearance.h:39
Input half of the byte stream interface.
Definition ibstream.h:36
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Output half of the byte stream interface.
Definition obstream.h:25
static Message * New()
Produce a packet with a fresh appearance on the heap.
PSJoinRequestPacket()
Construct a packet with a fresh appearance.
virtual void restoreGuts(IBStream &stream)
Read the packet back from a stream.
virtual int Type()
Report this packet's registered identity.
virtual void PrintExtra(std::ostream &stream) const
Write the appearance to a diagnostic stream through FreqAppearance::Print().
virtual Message * Clone()
Produce a heap copy of this packet.
virtual void saveGuts(OBStream &stream) const
Write the packet to a stream.
virtual const char * GetName() const
Report this packet's class name.
ToHostPacket()
Route the packet with the pair 0 and 0.
Definition tohostpacket.h:21
int g_nPSJoinRequestPacketType
Identity that PSJoinRequestPacket::Type() reports.