#include <PoolMgr.h>
uint32 poolId
Definition: PoolMgr.h:95
139 if (poolitem.
chance != 0 && maxentries == 1)
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
PoolObjectList ExplicitlyChanced
Definition: PoolMgr.h:96
float chance
Definition: PoolMgr.h:35
154 if (chance != 100 && chance != 0)
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
PoolObjectList ExplicitlyChanced
Definition: PoolMgr.h:96
uint32_t uint32
Definition: Define.h:150
bool IsActiveObject(uint64 db_guid_or_pool_id) const
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
PoolObjectList ExplicitlyChanced
Definition: PoolMgr.h:96
void Despawn1Object(uint64 guid)
void RemoveObject(uint64 db_guid_or_pool_id, uint32 pool_id)
uint32 poolId
Definition: PoolMgr.h:95
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
uint32 poolId
Definition: PoolMgr.h:95
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
PoolObjectList ExplicitlyChanced
Definition: PoolMgr.h:96
bool IsActiveObject(uint64 db_guid_or_pool_id) const
PoolObjectList EqualChanced
Definition: PoolMgr.h:97
PoolObjectList ExplicitlyChanced
Definition: PoolMgr.h:96
arena_t NULL
Definition: jemalloc_internal.h:624
double rand_chance()
Definition: Random.cpp:74
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
uint32_t uint32
Definition: Define.h:150
uint32 poolId
Definition: PoolMgr.h:95
350 for (
int i = 0; i < count; ++i)
355 if (obj->
guid == lastDespawned)
358 if (obj->
guid == triggerFrom)
371 lastDespawned = triggerFrom;
void ReSpawn1Object(PoolObject *obj)
void ActivateObject(uint64 db_guid_or_pool_id, uint32 pool_id)
void DespawnObject(ActivePoolData &spawns, uint64 guid=0)
Definition: PoolMgr.cpp:192
void Spawn1Object(PoolObject *obj)
uint32_t uint32
Definition: Define.h:150
PoolObject * RollOne(ActivePoolData &spawns, uint64 triggerFrom)
Definition: PoolMgr.cpp:161
uint32 GetActiveObjectCount(uint32 pool_id) const
Definition: PoolMgr.cpp:29
uint64 guid
Definition: PoolMgr.h:34
uint32 poolId
Definition: PoolMgr.h:95
The documentation for this class was generated from the following files: