AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "PoolMgr.h"
Private Types | |
typedef std::vector< PoolObject > | PoolObjectList |
Private Attributes | |
uint32 | poolId |
PoolObjectList | ExplicitlyChanced |
PoolObjectList | EqualChanced |
|
private |
|
inlineexplicit |
void PoolGroup< T >::AddEntry | ( | PoolObject & | poolitem, |
uint32 | maxentries | ||
) |
References PoolObject::chance.
Referenced by PoolMgr::LoadFromDB().
bool PoolGroup< T >::CheckPool |
void PoolGroup< Creature >::Despawn1Object | ( | ObjectGuid::LowType | guid | ) |
References WorldObject::AddObjectToRemoveList(), Map::GetCreatureBySpawnIdStore(), Map::Instanceable(), sMapMgr, and sObjectMgr.
void PoolGroup< GameObject >::Despawn1Object | ( | ObjectGuid::LowType | guid | ) |
References WorldObject::AddObjectToRemoveList(), Map::GetGameObjectBySpawnIdStore(), Map::Instanceable(), sMapMgr, and sObjectMgr.
void PoolGroup< T >::Despawn1Object | ( | ObjectGuid::LowType | guid | ) |
References sObjectMgr, and sPoolMgr.
void PoolGroup< T >::DespawnObject | ( | ActivePoolData & | spawns, |
ObjectGuid::LowType | guid = 0 |
||
) |
References ActivePoolData::IsActiveObject(), and ActivePoolData::RemoveObject().
References PoolGroup< T >::EqualChanced.
References PoolGroup< T >::poolId.
|
inline |
References PoolGroup< T >::EqualChanced, and PoolGroup< T >::ExplicitlyChanced.
void PoolGroup< Pool >::ReSpawn1Object | ( | PoolObject * | ) |
void PoolGroup< Quest >::ReSpawn1Object | ( | PoolObject * | ) |
void PoolGroup< Creature >::ReSpawn1Object | ( | PoolObject * | obj | ) |
References PoolObject::guid.
void PoolGroup< GameObject >::ReSpawn1Object | ( | PoolObject * | obj | ) |
References PoolObject::guid.
void PoolGroup< T >::ReSpawn1Object | ( | PoolObject * | obj | ) |
void PoolGroup< Creature >::Spawn1Object | ( | PoolObject * | obj | ) |
References PoolObject::guid, Map::Instanceable(), Map::IsGridLoaded(), Creature::LoadCreatureFromDB(), sMapMgr, and sObjectMgr.
void PoolGroup< GameObject >::Spawn1Object | ( | PoolObject * | obj | ) |
References Map::AddToMap(), PoolObject::guid, Map::Instanceable(), Map::IsGridLoaded(), GameObject::isSpawnedByDefault(), GameObject::LoadGameObjectFromDB(), sMapMgr, and sObjectMgr.
void PoolGroup< Pool >::Spawn1Object | ( | PoolObject * | obj | ) |
References PoolObject::guid, and sPoolMgr.
void PoolGroup< Quest >::Spawn1Object | ( | PoolObject * | obj | ) |
References PoolObject::guid, LOG_DEBUG, sObjectMgr, and sPoolMgr.
void PoolGroup< T >::Spawn1Object | ( | PoolObject * | obj | ) |
void PoolGroup< Quest >::SpawnObject | ( | ActivePoolData & | spawns, |
uint32 | limit, | ||
uint32 | triggerFrom | ||
) |
References ActivePoolData::ActivateObject(), CHAR_SEL_POOL_QUEST_SAVE, CharacterDatabase, ActivePoolData::GetActiveQuests(), ActivePoolData::IsActiveObject(), LOG_DEBUG, Acore::Containers::SelectRandomContainerElement(), PreparedStatementBase::SetData(), and sPoolMgr.
void PoolGroup< T >::SpawnObject | ( | ActivePoolData & | spawns, |
uint32 | limit, | ||
uint32 | triggerFrom | ||
) |
References ActivePoolData::ActivateObject(), ActivePoolData::GetActiveObjectCount(), ActivePoolData::IsActiveObject(), rand_chance(), and Acore::Containers::RandomResize().
|
private |
Referenced by PoolGroup< T >::GetFirstEqualChancedObjectId(), and PoolGroup< T >::IsEmpty().
|
private |
Referenced by PoolGroup< T >::IsEmpty().
Referenced by PoolGroup< T >::GetPoolId(), and PoolGroup< T >::SetPoolId().