Planeshift
Public Member Functions | Public Attributes

psZPointsGainedEvent Class Reference

Event when a player gains some Z (Practice) points. More...

#include <events.h>

List of all members.

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psZPointsGainedEvent (MsgEntry *event)
 psZPointsGainedEvent (gemActor *actor, const char *name, int gained, bool rankup)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string.

Public Attributes

gemActoractor
int amountGained
 The player that gained the points.
bool rankUp
 The amount that was gained.
csString skillName
 True if the amount gained caused a rank up.

Detailed Description

Event when a player gains some Z (Practice) points.

Definition at line 108 of file events.h.


Constructor & Destructor Documentation

psZPointsGainedEvent::psZPointsGainedEvent ( gemActor actor,
const char *  name,
int  gained,
bool  rankup 
)
psZPointsGainedEvent::psZPointsGainedEvent ( MsgEntry event)

Member Function Documentation

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

The player that gained the points.

Definition at line 126 of file events.h.

The amount that was gained.

Definition at line 127 of file events.h.

True if the amount gained caused a rank up.

Definition at line 128 of file events.h.


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