Namespaces | |
Honor | |
XP | |
Functions | |
template<class SPECIFIC_TYPE > | |
size_t | Count (const ContainerMapList< SPECIFIC_TYPE > &elements, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE > | |
size_t | Count (const ContainerMapList< TypeNull > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
size_t | Count (const ContainerMapList< T > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
size_t | Count (const ContainerMapList< TypeList< SPECIFIC_TYPE, T > > &elements, SPECIFIC_TYPE *fake) |
template<class SPECIFIC_TYPE , class H , class T > | |
size_t | Count (const ContainerMapList< TypeList< H, T > > &elements, SPECIFIC_TYPE *fake) |
template<class SPECIFIC_TYPE > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< SPECIFIC_TYPE > &elements, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< TypeNull > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< T > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class H , class T > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< TypeList< H, T > > &elements, SPECIFIC_TYPE *obj) |
void | external_wrapper (void *p) |
void | at_exit (void(*func)()) |
void | Guard (void *) |
template<class RET_TYPE , int CENTER_VAL> | |
RET_TYPE | Compute (float x, float y, float center_offset, float size) |
GridCoord | ComputeGridCoord (float x, float y) |
CellCoord | ComputeCellCoord (float x, float y) |
CellCoord | ComputeCellCoord (float x, float y, float &x_off, float &y_off) |
void | NormalizeMapCoord (float &c) |
bool | IsValidMapCoord (float c) |
bool | IsValidMapCoord (float x, float y) |
bool | IsValidMapCoord (float x, float y, float z) |
bool | IsValidMapCoord (float x, float y, float z, float o) |
template<class T > | |
void | RandomResizeList (std::list< T > &_list, uint32 _size) |
void Oregon::at_exit | ( | void(*)() | func | ) |
Definition at line 28 of file ObjectLifeTime.cpp.
References external_wrapper().
Referenced by Oregon::ObjectLifeTime< T >::ScheduleCall().
|
inline |
Definition at line 151 of file GridDefines.h.
|
inline |
Definition at line 167 of file GridDefines.h.
References CENTER_GRID_CELL_OFFSET, and SIZE_OF_GRID_CELL.
Referenced by Map::_FindGameObject(), Map::ActiveObjectsNearGrid(), ObjectAccessor::AddCorpse(), ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), Map::AddPlayerToMap(), Map::AddToMap(), WorldObject::BuildUpdate(), Cell::CalculateCellArea(), Creature::CallAssistance(), Creature::CallForHelp(), Cell::Cell(), Spell::CheckCast(), Spell::CheckItems(), SmartScript::DoFindFriendlyCC(), CreatureEventAI::DoFindFriendlyCC(), SmartScript::DoFindFriendlyMissingBuff(), CreatureEventAI::DoFindFriendlyMissingBuff(), Creature::DoFleeToGetAssistance(), SmartScript::DoSelectLowestHpFriendly(), CreatureEventAI::DoSelectLowestHpFriendly(), SmartScript::FindCreatureNear(), SmartScript::FindGameObjectNear(), WorldObject::GetCreatureListWithEntryInGrid(), WorldObject::GetGameObjectListWithEntryInGrid(), ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(), ObjectAccessor::GetObjectInWorld(), ScriptedAI::GetPlayerAtMinimumRange(), ChatHandler::HandleGPSCommand(), ChatHandler::HandleRespawnCommand(), GameObject::LookupFishingHoleAround(), WorldObject::MonsterSay(), WorldObject::MonsterTextEmote(), WorldObject::MonsterYell(), Map::MoveAllCreaturesInMoveList(), ObjectAccessor::RemoveCorpse(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), Map::ScriptsProcess(), Unit::SelectNearestPlayer(), Creature::SelectNearestTarget(), Creature::SelectNearestTargetInAttackDistance(), Map::SwitchGridContainers(), GameObject::TriggeringLinkedGameObject(), ObjectGridEvacuator::Visit(), Oregon::DelayedUnitRelocation::Visit(), Map::VisitAll(), Map::VisitGrid(), and Map::VisitWorld().
|
inline |
Definition at line 172 of file GridDefines.h.
References CENTER_GRID_CELL_ID, CENTER_GRID_CELL_OFFSET, and SIZE_OF_GRID_CELL.
|
inline |
Definition at line 162 of file GridDefines.h.
References CENTER_GRID_OFFSET, and SIZE_OF_GRIDS.
Referenced by Map::AddToActive(), Corpse::Create(), MapManager::ExistMapAndVMap(), ChatHandler::HandleGPSCommand(), Map::IsGridLoaded(), Map::IsRemovalGrid(), Corpse::LoadCorpseFromDB(), and Map::RemoveFromActive().
size_t Oregon::Count | ( | const ContainerMapList< SPECIFIC_TYPE > & | elements, |
SPECIFIC_TYPE * | |||
) |
Definition at line 34 of file TypeContainerFunctions.h.
References ContainerMapList< OBJECT >::_element.
Referenced by Count(), TypeMapContainer< GRID_OBJECT_TYPES >::Count(), WheatyExceptionReport::DumpTypeIndex(), CreatureEventAIMgr::LoadCreatureEventAI_Scripts(), and CreatureEventAIMgr::LoadCreatureEventAI_Summons().
size_t Oregon::Count | ( | const ContainerMapList< TypeNull > & | , |
SPECIFIC_TYPE * | |||
) |
Definition at line 39 of file TypeContainerFunctions.h.
size_t Oregon::Count | ( | const ContainerMapList< T > & | , |
SPECIFIC_TYPE * | |||
) |
Definition at line 44 of file TypeContainerFunctions.h.
size_t Oregon::Count | ( | const ContainerMapList< TypeList< SPECIFIC_TYPE, T > > & | elements, |
SPECIFIC_TYPE * | fake | ||
) |
Definition at line 49 of file TypeContainerFunctions.h.
References Count().
size_t Oregon::Count | ( | const ContainerMapList< TypeList< H, T > > & | elements, |
SPECIFIC_TYPE * | fake | ||
) |
Definition at line 54 of file TypeContainerFunctions.h.
References Count().
void Oregon::external_wrapper | ( | void * | p | ) |
Definition at line 23 of file ObjectLifeTime.cpp.
Referenced by at_exit().
|
inline |
Definition at line 25 of file ThreadingModel.h.
Referenced by ReactorRunnable::AddNewSockets(), Referencer< T, THREADING_MODEL >::addReference(), ReactorRunnable::AddSocket(), WorldSocket::CloseSocket(), Referencer< T, THREADING_MODEL >::deReference(), WorldSocket::handle_close(), WorldSocket::handle_output(), WorldSocket::HandlePing(), WorldSocket::ProcessIncoming(), and WorldSocket::SendPacket().
SPECIFIC_TYPE* Oregon::Insert | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
SPECIFIC_TYPE * | obj | ||
) |
Definition at line 60 of file TypeContainerFunctions.h.
References ContainerMapList< OBJECT >::_element.
Referenced by TypeMapContainer< GRID_OBJECT_TYPES >::insert(), and Insert().
SPECIFIC_TYPE* Oregon::Insert | ( | ContainerMapList< TypeNull > & | , |
SPECIFIC_TYPE * | |||
) |
Definition at line 67 of file TypeContainerFunctions.h.
SPECIFIC_TYPE* Oregon::Insert | ( | ContainerMapList< T > & | , |
SPECIFIC_TYPE * | |||
) |
Definition at line 73 of file TypeContainerFunctions.h.
SPECIFIC_TYPE* Oregon::Insert | ( | ContainerMapList< TypeList< H, T > > & | elements, |
SPECIFIC_TYPE * | obj | ||
) |
Definition at line 79 of file TypeContainerFunctions.h.
References Insert().
|
inline |
Definition at line 192 of file GridDefines.h.
References finite, and MAP_HALFSIZE.
Referenced by WorldSession::HandleMovementOpcodes(), Position::IsPositionValid(), MapManager::IsValidMapCoord(), IsValidMapCoord(), CreatureEventAIMgr::LoadCreatureEventAI_Summons(), Player::LoadFromDB(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadScripts(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), Unit::SetPosition(), Player::SetPosition(), and PathInfo::Update().
|
inline |
Definition at line 197 of file GridDefines.h.
References IsValidMapCoord().
|
inline |
Definition at line 202 of file GridDefines.h.
References finite, and IsValidMapCoord().
|
inline |
Definition at line 207 of file GridDefines.h.
References finite, and IsValidMapCoord().
|
inline |
Definition at line 184 of file GridDefines.h.
References MAP_HALFSIZE.
Referenced by RandomMovementGenerator< T >::_setRandomLocation(), WorldObject::GetNearPoint2D(), WorldObject::GetRandomPoint(), CreatureGroup::LeaderMoveTo(), WaypointMgr::Load(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), and WaypointMgr::ReloadPath().
void Oregon::RandomResizeList | ( | std::list< T > & | _list, |
uint32 | _size | ||
) |