Planeshift
Public Types | Public Member Functions | Public Attributes

psGenericEvent Class Reference

This message broadcasts several different events to anyone who needs them, namely the TutorialManager. More...

#include <events.h>

List of all members.

Public Types

enum  Type { UNKNOWN = 0, QUEST_ASSIGN, SPAWN_MOVE }

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psGenericEvent (MsgEntry *event)
 psGenericEvent (int clientID, psGenericEvent::Type type)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string.

Public Attributes

int client_id
Type eventType

Detailed Description

This message broadcasts several different events to anyone who needs them, namely the TutorialManager.

Definition at line 297 of file events.h.


Member Enumeration Documentation

Enumerator:
UNKNOWN 
QUEST_ASSIGN 
SPAWN_MOVE 

Definition at line 300 of file events.h.


Constructor & Destructor Documentation

psGenericEvent::psGenericEvent ( int  clientID,
psGenericEvent::Type  type 
)
psGenericEvent::psGenericEvent ( MsgEntry event)

Member Function Documentation

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

Convert 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 308 of file events.h.

Definition at line 307 of file events.h.


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