Planeshift
|
Event when a player gains some Z (Practice) points. More...
#include <events.h>
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 | |
gemActor * | actor |
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. |
psZPointsGainedEvent::psZPointsGainedEvent | ( | gemActor * | actor, |
const char * | name, | ||
int | gained, | ||
bool | rankup | ||
) |
psZPointsGainedEvent::psZPointsGainedEvent | ( | MsgEntry * | event | ) |
psZPointsGainedEvent::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psZPointsGainedEvent::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Convert the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csString psZPointsGainedEvent::skillName |