Planeshift
Public Member Functions | Public Attributes

psRewardDataFaction Class Reference

RewardDataFaction holds faction reward data. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

virtual bool IsZero ()
 checks if the reward is zero
 psRewardDataFaction (csString pfactionName, int pfactionDelta)

Public Attributes

int factionDelta
 relative value to adjust faction by
csString factionName
 name of the faction to adjust

Detailed Description

RewardDataFaction holds faction reward data.

Definition at line 144 of file adminmanager.h.


Constructor & Destructor Documentation

psRewardDataFaction::psRewardDataFaction ( csString  pfactionName,
int  pfactionDelta 
)

Member Function Documentation

virtual bool psRewardDataFaction::IsZero ( ) [virtual]

checks if the reward is zero

Returns:
bool: true when reward is a zero gain, otherwise false checks if the reward is zero

Reimplemented from psRewardData.


Member Data Documentation

relative value to adjust faction by

Definition at line 148 of file adminmanager.h.

name of the faction to adjust

Definition at line 147 of file adminmanager.h.


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