Heap-allocated NUL-terminated string.
Definition hxstr.h:41
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
SPJoinDenyPacket(int nReasonCode, const HxStr &reason)
Construct a packet from a word and a string, which is copied.
virtual void restoreGuts(IBStream &stream)
Read the Packet words, the word, and the string back from a stream.
virtual int Type()
Report this packet's registered identity.
SPJoinDenyPacket()
Construct a packet with an empty string.
Definition spjoindenypacket.h:33
static Message * New()
Produce a packet with an empty string on the heap.
virtual void saveGuts(OBStream &stream) const
Write the Packet words, the word, and the string to a stream.
virtual Message * Clone()
Produce a heap copy of this packet.
virtual void PrintExtra(std::ostream &stream) const
Write the word as a number, a space, and the string to a diagnostic stream.
virtual const char * GetName() const
Report this packet's class name.
ToSingleNetManagerPacket()
Route the packet with the pair 1 and 0.
Definition tosinglenetmanagerpacket.h:21
int g_nSPJoinDenyPacketType
Identity that SPJoinDenyPacket::Type() reports.