Planeshift
Public Member Functions | Public Attributes

psRewardDataItem Class Reference

RewardDataItem holds item reward data. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

virtual bool IsZero ()
 checks if the reward is zero
 psRewardDataItem (csString pitemName, int pstackCount)

Public Attributes

csString itemName
 name of the item to award
unsigned short stackCount
 number of items to award

Detailed Description

RewardDataItem holds item reward data.

Definition at line 228 of file adminmanager.h.


Constructor & Destructor Documentation

psRewardDataItem::psRewardDataItem ( csString  pitemName,
int  pstackCount 
)

Member Function Documentation

virtual bool psRewardDataItem::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

name of the item to award

Definition at line 231 of file adminmanager.h.

number of items to award

Definition at line 232 of file adminmanager.h.


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