Planeshift
Public Types | Public Member Functions | Public Attributes

psGMEventInfoMessage Class Reference

Sends messages to the client listing the assigned events for the player. More...

#include <messages.h>

List of all members.

Public Types

enum  { CMD_QUERY, CMD_INFO, CMD_DISCARD, CMD_EVAL }

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psGMEventInfoMessage (MsgEntry *message)
 psGMEventInfoMessage (int cnum, int cmd, int id, const char *name, const char *info, bool Evaluatable=false)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

int command
bool Evaluatable
 Stores if an event can be evaluated.
int id
csString xml
 Stores an xml string (various uses)

Detailed Description

Sends messages to the client listing the assigned events for the player.

Definition at line 5787 of file messages.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
CMD_QUERY 

command to request the list of events

CMD_INFO 

command to get informations on the specific event (description, evaluatable status)

CMD_DISCARD 

command to discard an event

CMD_EVAL 

command to send an evaluation of the event

Definition at line 5790 of file messages.h.


Constructor & Destructor Documentation

psGMEventInfoMessage::psGMEventInfoMessage ( int  cnum,
int  cmd,
int  id,
const char *  name,
const char *  info,
bool  Evaluatable = false 
)
psGMEventInfoMessage::psGMEventInfoMessage ( MsgEntry message)

Member Function Documentation

psGMEventInfoMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psGMEventInfoMessage::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 5810 of file messages.h.

Stores if an event can be evaluated.

Definition at line 5811 of file messages.h.

Definition at line 5810 of file messages.h.

Stores an xml string (various uses)

Definition at line 5812 of file messages.h.


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