Planeshift
Public Member Functions | Public Attributes

psSimpleStringMessage Class Reference

Class to send a single arbitrary string to the client or server. More...

#include <messages.h>

List of all members.

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psSimpleStringMessage (MsgEntry *me)
 psSimpleStringMessage (uint32_t client, MSG_TYPES type, const char *string)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString str

Detailed Description

Class to send a single arbitrary string to the client or server.

Definition at line 6035 of file messages.h.


Constructor & Destructor Documentation

psSimpleStringMessage::psSimpleStringMessage ( uint32_t  client,
MSG_TYPES  type,
const char *  string 
)
psSimpleStringMessage::psSimpleStringMessage ( MsgEntry me)

Member Function Documentation

psSimpleStringMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psSimpleStringMessage::ToString ( NetBase::AccessPointers accessPointers) [inline, 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.

Definition at line 6052 of file messages.h.


Member Data Documentation

Definition at line 6039 of file messages.h.


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