Public Member Functions | Public Attributes

SpawnData Class Reference

List of all members.

Public Member Functions

 SpawnData ()
SpawnDataAdd (uint16 pid, uint chance)
SpawnDataSetDelay (uint time)
bool TryRespawn (Map& map, Item& marker, Item& item)
bool Respawn (Map& map, Item& marker, Item@ item)
private bool checkSpawned (Map& map, Item& marker, array< bool >& spawned)

Public Attributes

private array< uint16 > pids
private array< uint > chances
private uint totalChance
private uint delay

Constructor & Destructor Documentation

SpawnData (  ) 

Member Function Documentation

SpawnData@ Add ( uint16  pid,
uint  chance 
)
SpawnData@ SetDelay ( uint  time  ) 
bool TryRespawn ( Map map,
Item marker,
Item item 
)
bool Respawn ( Map map,
Item marker,
Item item 
)
private bool checkSpawned ( Map map,
Item marker,
array< bool >&  spawned 
)

Member Data Documentation

private array<uint16> pids
private array<uint> chances
private uint totalChance
private uint delay