Planeshift
Public Member Functions | Public Attributes

psMsgStringsMessage Class Reference

Message sent from server to client containing the message strings hash table. More...

#include <messages.h>

List of all members.

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psMsgStringsMessage ()
 Create psMessageBytes struct for outbound use.
 psMsgStringsMessage (uint32_t clientnum, csMD5::Digest &digest)
 Create psMessageBytes struct for outbound use.
 psMsgStringsMessage (MsgEntry *message)
 Crack incoming psMessageBytes struct for inbound use.
 psMsgStringsMessage (uint32_t clientnum, csMD5::Digest &digest, char *stringsdata, unsigned long size, uint32_t num_strings)
 Create psMessageBytes struct for outbound use.
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csMD5::Digest * digest
csStringHashReversible * msgstrings
 Message strings hash table pointer (null for outbound) This hash table will be allocated during message cracking, and must be deleted manually.
bool only_carrying_digest

Detailed Description

Message sent from server to client containing the message strings hash table.

Definition at line 2586 of file messages.h.


Constructor & Destructor Documentation

psMsgStringsMessage::psMsgStringsMessage ( )

Create psMessageBytes struct for outbound use.

psMsgStringsMessage::psMsgStringsMessage ( uint32_t  clientnum,
csMD5::Digest &  digest 
)

Create psMessageBytes struct for outbound use.

psMsgStringsMessage::psMsgStringsMessage ( uint32_t  clientnum,
csMD5::Digest &  digest,
char *  stringsdata,
unsigned long  size,
uint32_t  num_strings 
)

Create psMessageBytes struct for outbound use.

psMsgStringsMessage::psMsgStringsMessage ( MsgEntry message)

Crack incoming psMessageBytes struct for inbound use.


Member Function Documentation

psMsgStringsMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psMsgStringsMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Definition at line 2618 of file messages.h.

csStringHashReversible* psMsgStringsMessage::msgstrings

Message strings hash table pointer (null for outbound) This hash table will be allocated during message cracking, and must be deleted manually.

Definition at line 2593 of file messages.h.

Definition at line 2619 of file messages.h.


The documentation for this class was generated from the following file: