Public Member Functions | |
| SpawnData () | |
| 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) |
Public Attributes | |
| private array< uint16 > | pids |
| private array< uint > | chances |
| private uint | totalChance |
| private uint | delay |
| SpawnData | ( | ) |
| SpawnData@ Add | ( | uint16 | pid, | |
| uint | chance | |||
| ) |
| SpawnData@ SetDelay | ( | uint | time | ) |
| private array<uint16> pids |
| private array<uint> chances |
| private uint totalChance |
| private uint delay |
1.7.1