Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cSpawnDinamic Class Reference

#include <spawn.h>

List of all members.

Public Methods

 cSpawnDinamic (P_ITEM pi)
 ~cSpawnDinamic ()
void doSpawn ()
 spawn a npc/item from a dynamic spawner

bool needSpawn ()
void remove (SERIAL serial)
void addSpawned (P_OBJECT obj)
void clear ()
 delete all spawned items or npcs in the world

void doSpawn (SPAWNFLAG_ENUM spawnWhat, UI32 amount)
 spawn a npc/item from a dynamic spawner


Public Attributes

SERIAL item
 the spawner

SERIAL_SET items_spawned
 spawned items

SERIAL_SET npcs_spawned
 spawned npcs

UI32 current
TIMERVAL nextspawn
 next spawn


Constructor & Destructor Documentation

cSpawnDinamic::cSpawnDinamic P_ITEM    pi
 

cSpawnDinamic::~cSpawnDinamic  
 


Member Function Documentation

void cSpawnDinamic::addSpawned P_OBJECT    obj
 

void cSpawnDinamic::clear  
 

delete all spawned items or npcs in the world

Author:
Wintermute

void cSpawnDinamic::doSpawn SPAWNFLAG_ENUM    spawnWhat,
UI32    amount
 

spawn a npc/item from a dynamic spawner

Author:
Wintermute
Note:
spawn is the item of the spawn in the world
amount holds the maximum number of spawnables
morey the minimum delay, morez the maximum delay
morex is the xss number to be spawned

void cSpawnDinamic::doSpawn  
 

spawn a npc/item from a dynamic spawner

Author:
Endymion, modified by Wintermute
Note:
spawn is the item of the spawn in the world
amount holds the maximum number of spawnables
morey the minimum delay, morez the maximum delay
morex is the xss number to be spawned

bool cSpawnDinamic::needSpawn  
 

void cSpawnDinamic::remove SERIAL    serial
 


Member Data Documentation

UI32 cSpawnDinamic::current
 

SERIAL cSpawnDinamic::item
 

the spawner

SERIAL_SET cSpawnDinamic::items_spawned
 

spawned items

TIMERVAL cSpawnDinamic::nextspawn
 

next spawn

SERIAL_SET cSpawnDinamic::npcs_spawned
 

spawned npcs


The documentation for this class was generated from the following files: SourceForge.net Logo