Planeshift
Public Types | Public Member Functions | Public Attributes

psModeMessage Class Reference

Sends messages to the client indicating player combat stance. More...

#include <messages.h>

List of all members.

Public Types

enum  playerMode {
  PEACE = 1, COMBAT, SPELL_CASTING, WORK,
  DEAD, SIT, OVERWEIGHT, EXHAUSTED,
  DEFEATED, STATUE, PLAY, WALK,
  RUN
}

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psModeMessage (MsgEntry *message)
 psModeMessage (uint32_t clientnum, EID actorID, uint8_t mode, uint32_t value)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

EID actorID
uint8_t mode
uint32_t value
 stance if COMBAT, duration if SPELL_CASTING, ...

Detailed Description

Sends messages to the client indicating player combat stance.

Definition at line 1528 of file messages.h.


Member Enumeration Documentation

Enumerator:
PEACE 
COMBAT 
SPELL_CASTING 
WORK 
DEAD 
SIT 
OVERWEIGHT 
EXHAUSTED 
DEFEATED 
STATUE 
PLAY 
WALK 
RUN 

Definition at line 1544 of file messages.h.


Constructor & Destructor Documentation

psModeMessage::psModeMessage ( uint32_t  clientnum,
EID  actorID,
uint8_t  mode,
uint32_t  value 
)
psModeMessage::psModeMessage ( MsgEntry message)

Member Function Documentation

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

Definition at line 1563 of file messages.h.

stance if COMBAT, duration if SPELL_CASTING, ...

Definition at line 1564 of file messages.h.


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