Planeshift
Public Member Functions

psScheduledItem Class Reference

#include <psitem.h>

List of all members.

Public Member Functions

void ChangeAmount (int newAmount)
void ChangeIntervals (int newint, int newrand)
void ChangeRange (float newRange)
psItemCreateItem ()
csString GetFlags ()
 Gets the flags which will be associated to this item.
int GetInterval ()
uint32 GetItemID ()
int GetLockSkill ()
 Gets the lock skill which will be associated to this item.
int GetLockStrength ()
 Gets the lock strength which will be associated to this item.
int GetMaxModifier ()
csVector3 & GetPosition ()
psSectorInfoGetSector ()
int MakeInterval ()
 This will return a randomized interval.
 psScheduledItem (int spawnID, uint32 itemID, csVector3 &position, psSectorInfo *sector, InstanceID instance, int interval, int maxrnd, float range, int lock_str=0, int lock_skill=-1, csString flags="")
void Remove ()
 Deletes from the DB and everything.
void UpdatePosition (csVector3 &positon, const char *sector)
bool WantToDie ()

Detailed Description

Definition at line 1277 of file psitem.h.


Constructor & Destructor Documentation

psScheduledItem::psScheduledItem ( int  spawnID,
uint32  itemID,
csVector3 &  position,
psSectorInfo sector,
InstanceID  instance,
int  interval,
int  maxrnd,
float  range,
int  lock_str = 0,
int  lock_skill = -1,
csString  flags = "" 
)

Member Function Documentation

void psScheduledItem::ChangeAmount ( int  newAmount)
void psScheduledItem::ChangeIntervals ( int  newint,
int  newrand 
)
void psScheduledItem::ChangeRange ( float  newRange)
psItem* psScheduledItem::CreateItem ( )
csString psScheduledItem::GetFlags ( ) [inline]

Gets the flags which will be associated to this item.

Definition at line 1320 of file psitem.h.

int psScheduledItem::GetInterval ( ) [inline]

Definition at line 1298 of file psitem.h.

uint32 psScheduledItem::GetItemID ( ) [inline]

Definition at line 1284 of file psitem.h.

int psScheduledItem::GetLockSkill ( ) [inline]

Gets the lock skill which will be associated to this item.

Definition at line 1314 of file psitem.h.

int psScheduledItem::GetLockStrength ( ) [inline]

Gets the lock strength which will be associated to this item.

Definition at line 1308 of file psitem.h.

int psScheduledItem::GetMaxModifier ( ) [inline]

Definition at line 1302 of file psitem.h.

csVector3& psScheduledItem::GetPosition ( ) [inline]

Definition at line 1293 of file psitem.h.

psSectorInfo* psScheduledItem::GetSector ( ) [inline]

Definition at line 1289 of file psitem.h.

int psScheduledItem::MakeInterval ( )

This will return a randomized interval.

void psScheduledItem::Remove ( )

Deletes from the DB and everything.

void psScheduledItem::UpdatePosition ( csVector3 &  positon,
const char *  sector 
)
bool psScheduledItem::WantToDie ( ) [inline]

Definition at line 1331 of file psitem.h.


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