Planeshift
Public Member Functions | Public Attributes

psDamageEvent Class Reference

#include <events.h>

List of all members.

Public Member Functions

 psDamageEvent (gemActor *attack, gemActor *victim, float dmg)
 psDamageEvent (MsgEntry *event)
 PSF_DECLARE_MSG_FACTORY ()
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string.

Public Attributes

gemActorattacker
float damage
gemActortarget

Detailed Description

Definition at line 42 of file events.h.


Constructor & Destructor Documentation

psDamageEvent::psDamageEvent ( gemActor attack,
gemActor victim,
float  dmg 
)
psDamageEvent::psDamageEvent ( MsgEntry event)

Member Function Documentation

psDamageEvent::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psDamageEvent::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 45 of file events.h.

Definition at line 47 of file events.h.

Definition at line 46 of file events.h.


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