Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Position Struct Reference

#include <Object.h>

Inheritance diagram for Position:

Classes

struct  PositionXYZOStreamer
struct  PositionXYZStreamer

Public Member Functions

float GetAngle (float x, float y) const
float GetAngle (Position const *pos) const
float GetExactDist (float x, float y, float z) const
float GetExactDist (Position const *pos) const
float GetExactDist2d (const float x, const float y) const
float GetExactDist2d (Position const *pos) const
float GetExactDist2dSq (float x, float y) const
float GetExactDist2dSq (Position const *pos) const
float GetExactDistSq (float x, float y, float z) const
float GetExactDistSq (Position const *pos) const
float GetOrientation () const
void GetPosition (float &x, float &y) const
void GetPosition (float &x, float &y, float &z) const
void GetPosition (float &x, float &y, float &z, float &o) const
void GetPosition (Position *pos) const
void GetPositionOffsetTo (Position const &endPos, Position &retOffset) const
float GetPositionX () const
float GetPositionY () const
float GetPositionZ () const
float GetRelativeAngle (float x, float y) const
float GetRelativeAngle (Position const *pos) const
void GetSinCos (float x, float y, float &vsin, float &vcos) const
bool HasInArc (float arcangle, Position const *pos, float border=2.0f) const
bool HasInLine (WorldObject const *target, float width) const
bool IsInDist (float x, float y, float z, float dist) const
bool IsInDist (Position const *pos, float dist) const
bool IsInDist2d (float x, float y, float dist) const
bool IsInDist2d (Position const *pos, float dist) const
bool IsPositionValid () const
bool operator!= (Position const &a)
bool operator== (Position const &a)
Position::PositionXYZOStreamer PositionXYZOStream ()
Position::PositionXYZStreamer PositionXYZStream ()
void Relocate (float x, float y)
void Relocate (float x, float y, float z)
void Relocate (float x, float y, float z, float orientation)
void Relocate (Position const &pos)
void Relocate (Position const *pos)
void RelocateOffset (Position const &offset)
void SetOrientation (float orientation)
std::string ToString () const

Static Public Member Functions

static float NormalizeOrientation (float o)

Public Attributes

float m_orientation
float m_positionX
float m_positionY
float m_positionZ

Detailed Description

Definition at line 273 of file Object.h.

Member Function Documentation

◆ GetAngle() [1/2]

float Position::GetAngle ( float x,
float y ) const

Definition at line 1869 of file Object.cpp.

References GetPositionX(), GetPositionY(), and M_PI.

◆ GetAngle() [2/2]

◆ GetExactDist() [1/2]

◆ GetExactDist() [2/2]

float Position::GetExactDist ( Position const * pos) const
inline

Definition at line 390 of file Object.h.

References GetExactDistSq().

◆ GetExactDist2d() [1/2]

◆ GetExactDist2d() [2/2]

float Position::GetExactDist2d ( Position const * pos) const
inline

Definition at line 374 of file Object.h.

References GetExactDist2dSq().

◆ GetExactDist2dSq() [1/2]

◆ GetExactDist2dSq() [2/2]

float Position::GetExactDist2dSq ( Position const * pos) const
inline

Definition at line 370 of file Object.h.

References m_positionX, and m_positionY.

◆ GetExactDistSq() [1/2]

float Position::GetExactDistSq ( float x,
float y,
float z ) const
inline

◆ GetExactDistSq() [2/2]

float Position::GetExactDistSq ( Position const * pos) const
inline

Definition at line 386 of file Object.h.

References m_positionX, m_positionY, and m_positionZ.

◆ GetOrientation()

float Position::GetOrientation ( ) const
inline

Definition at line 331 of file Object.h.

References m_orientation.

Referenced by Unit::_ExitVehicle(), Player::ActivateTaxiPathTo(), Object::BuildMovementUpdate(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Unit::CastSpell(), ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), TransportMgr::CreateLocalTransport(), Transport::CreateNPCPassenger(), Spell::EffectLeap(), Spell::EffectSummonDeadPet(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), BattlegroundIC::EventPlayerClickedOnFlag(), WorldObject::GetClosePoint(), LuaWorldObject::GetLocation(), LuaWorldObject::GetO(), GetPositionOffsetTo(), WorldObject::GetRandomPoint(), LuaGameObject::GetRelativePoint(), LuaUnit::GetRelativePoint(), Creature::GetRespawnPosition(), GameObject::GetRespawnPosition(), GameObject::GetStationaryO(), WorldObject::GetStationaryO(), misc_commandscript::HandleAppearCommand(), debug_commandscript::HandleDebugRestCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), gm_commandscript::HandleGMNoteCommand(), go_commandscript::HandleGoGraveyardCommand(), go_commandscript::HandleGoGridCommand(), go_commandscript::HandleGoTaxinodeCommand(), go_commandscript::HandleGoTriggerCommand(), go_commandscript::HandleGoXYZCommand(), go_commandscript::HandleGoZoneXYCommand(), misc_commandscript::HandleGPSCommand(), group_commandscript::HandleGroupSummonCommand(), WorldSession::HandleMovementOpcodes(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcTameCommand(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), WorldSession::HandlePlayerLogin(), AuraEffect::HandlePlayScene(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), tele_commandscript::HandleTeleNameCommand(), misc_commandscript::HandleUnstuckCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), GameObject::IsInRange(), MapManager::IsValidMapCoord(), Unit::JumpTo(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustSummoned(), Player::LoadFromDB(), Pet::LoadPetFromDB(), ObjectMgr::MoveCreData(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), item_pile_fake_furs::OnUse(), BattlegroundIC::PostUpdateImpl(), Battleground::RelocateDeadPlayers(), BfGraveyard::RelocateDeadPlayers(), RelocateOffset(), Map::RemoveAllPlayers(), Skyfire::PetTransport::RemoveOwnerHunterPet(), Player::RepopAtGraveyard(), Player::SaveRecallPosition(), Corpse::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Player::SaveToDB(), Map::ScriptsProcess(), Player::SendCinematicStart(), Unit::SendTeleportPacket(), Player::SetBattlegroundEntryPoint(), Unit::SetInCombatState(), Creature::SetPosition(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), BattlePetWildZonePool::SpawnReplacement(), SpellDestination::SpellDestination(), WaypointMovementGenerator< Creature >::StartMove(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), Map::SummonCreature(), WorldObject::SummonCreature(), Player::SummonIfPossible(), go_wind_stone::SummonNPC(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), lfg::LFGMgr::TeleportPlayer(), boss_mother_shahraz::boss_shahrazAI::TeleportPlayers(), Player::TeleportTo(), Player::TeleportTo(), Transport::TeleportTransport(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), RotateMovementGenerator::Update(), boss_azuregos::boss_azuregosAI::UpdateAI(), boss_kaelthas::boss_kaelthasAI::UpdateAI(), boss_urom::boss_uromAI::UpdateAI(), Player::UpdatePosition(), Unit::UpdatePosition(), Unit::UpdatePosition(), GameObject::UpdateRotationFields(), Unit::UpdateSplinePosition(), GameObject::UpdateWorldRotationField(), GameObject::Use(), and Unit::WriteMovementInfo().

◆ GetPosition() [1/4]

void Position::GetPosition ( float & x,
float & y ) const
inline

Definition at line 333 of file Object.h.

References m_positionX, and m_positionY.

Referenced by Unit::_ExitVehicle(), npc_living_mojo::npc_living_mojoAI::AttackStart(), boss_maiev_shadowsong::boss_maievAI::BlinkToPlayer(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::boss_leotheras_the_blindAI(), spell_rotface_unstable_ooze_explosion::spell_rotface_unstable_ooze_explosion_SpellScript::CheckTarget(), boss_anub_arak::boss_anub_arakAI::DoSummonImpaleTarget(), Spell::EffectBind(), Spell::EffectSummonDeadPet(), BattlegroundAV::GetClosestGraveYard(), BattlegroundSA::GetClosestGraveYard(), WorldObject::GetFirstCollisionPosition(), WorldObject::GetNearPosition(), WorldObject::GetRandomNearPosition(), WorldObject::GetRandomPoint(), RandomMovementGenerator< T >::GetResetPos(), LuaSpell::GetTargetDest(), spell_rotface_unstable_ooze_explosion_init::spell_rotface_unstable_ooze_explosion_init_SpellScript::HandleCast(), spell_wintergrasp_defender_teleport_trigger::spell_wintergrasp_defender_teleport_trigger_SpellScript::HandleDummy(), spell_pri_leap_of_faith::spell_pri_leap_of_faith_SpellScript::HandleEffectDummy(), spell_mage_blast_wave::spell_mage_blast_wave_SpellScript::HandleImprovedFlamestrike(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapPathCommand(), spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript::HandleScript(), spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript::HandleScript(), spell_freya_iron_roots::spell_freya_iron_roots_SpellScript::HandleSummon(), spell_halion_damage_aoe_summon::spell_halion_damage_aoe_summon_SpellScript::HandleSummon(), spell_putricide_mutated_transformation::spell_putricide_mutated_transformation_SpellScript::HandleSummon(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI::IsSummonedBy(), WorldObject::IsWithinLOSInMap(), spell_svalna_revive_champion::spell_svalna_revive_champion_SpellScript::Land(), MotionMaster::MoveLand(), MotionMaster::MoveTakeoff(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator<<(), operator<<(), spell_varos_energize_core_area_enemy::spell_varos_energize_core_area_enemySpellScript::PrepareSpellScript(), spell_varos_energize_core_area_entry::spell_varos_energize_core_area_entrySpellScript::PrepareSpellScript(), Skyfire::PetTransport::RemoveOwnerHunterPet(), npc_pummeller::npc_pummellerAI::Reset(), instance_stratholme::instance_stratholme_InstanceMapScript::SetData(), Player::SetHomebind(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::SpellHitTarget(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), Player::TeleportTo(), Transport::TeleportTransport(), boss_kiljaeden::boss_kiljaedenAI::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_spark_of_ionar::npc_spark_of_ionarAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), and Transport::UpdatePassengerPositions().

◆ GetPosition() [2/4]

void Position::GetPosition ( float & x,
float & y,
float & z ) const
inline

Definition at line 337 of file Object.h.

References m_positionX, m_positionY, and m_positionZ.

◆ GetPosition() [3/4]

void Position::GetPosition ( float & x,
float & y,
float & z,
float & o ) const
inline

Definition at line 341 of file Object.h.

References m_orientation, m_positionX, m_positionY, and m_positionZ.

◆ GetPosition() [4/4]

void Position::GetPosition ( Position * pos) const
inline

Definition at line 345 of file Object.h.

References m_orientation, m_positionX, m_positionY, m_positionZ, and Relocate().

◆ GetPositionOffsetTo()

void Position::GetPositionOffsetTo ( Position const & endPos,
Position & retOffset ) const

◆ GetPositionX()

float Position::GetPositionX ( ) const
inline

Definition at line 328 of file Object.h.

References m_positionX.

Referenced by Unit::_ExitVehicle(), Map::_FindGameObject(), WorldObject::_IsWithinDist(), Player::ActivateTaxiPathTo(), Map::ActiveObjectsNearGrid(), ObjectAccessor::AddCorpse(), InstanceScript::AddDoor(), Spell::AddGOTarget(), Map::AddPlayerToMap(), Map::AddToActive(), Map::AddToMap(), Spell::AddUnitTarget(), npc_living_mojo::npc_living_mojoAI::AttackStart(), boss_warp_splinter::boss_warp_splinterAI::boss_warp_splinterAI(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), WorldObject::BuildUpdate(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Creature::CallAssistance(), Creature::CallForHelp(), boss_sapphiron::boss_sapphironAI::CastExplosion(), GameObject::CastSpell(), Player::CheckAreaExploreAndOutdoor(), BossAI::CheckBoundary(), Map::CheckGridIntegrity(), Player::ContinueTaxiFlight(), ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), AreaTrigger::CreateAreaTrigger(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), TransportMgr::CreateLocalTransport(), Transport::CreateNPCPassenger(), boss_temple_guardian_anhuur::boss_temple_guardian_anhuurAI::DamageTaken(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), Spell::EffectBind(), Spell::EffectChargeDest(), Spell::EffectLeap(), Spell::EffectPullTowards(), Spell::EffectStuck(), BattlegroundIC::EventPlayerClickedOnFlag(), ChatHandler::ExecuteCommandInTable(), SmartScript::FindCreatureNear(), SmartScript::FindGameObjectNear(), Map::GameObjectRelocation(), GetAngle(), GetAngle(), Unit::GetAttackableUnitListInRange(), Battleground::GetClosestGraveYard(), BattlegroundAB::GetClosestGraveYard(), BattlegroundBFG::GetClosestGraveYard(), BattlegroundEY::GetClosestGraveYard(), BattlegroundIC::GetClosestGraveYard(), WorldObject::GetCreatureListWithEntryInGrid(), WorldObject::GetDistanceOrder(), WorldObject::GetGameObjectListWithEntryInGrid(), LuaWorldObject::GetLocation(), WorldObject::GetNearPoint2D(), ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(), GetPositionOffsetTo(), GetPositionWithDistInOrientation(), LuaGameObject::GetRelativePoint(), LuaUnit::GetRelativePoint(), Creature::GetRespawnPosition(), GameObject::GetRespawnPosition(), GetSinCos(), GameObject::GetStationaryX(), WorldObject::GetStationaryX(), LuaWorldObject::GetX(), Battleground::HandleAreaTrigger(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), misc_commandscript::HandleComeToMeCommand(), WorldSession::HandleCorpseQueryOpcode(), debug_commandscript::HandleDebugRestCommand(), OutdoorPvPSI::HandleDropFlag(), spell_dk_death_grip::spell_dk_death_grip_SpellScript::HandleDummy(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), boss_felmyst::boss_felmystAI::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), gm_commandscript::HandleGMNoteCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapTestArea(), WorldSession::HandleMovementOpcodes(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), AuraEffect::HandlePeriodicDummyAuraTick(), WorldSession::HandlePlayerLogin(), AuraEffect::HandlePlayScene(), misc_commandscript::HandleRespawnCommand(), spell_razorscale_devouring_flame::spell_razorscale_devouring_flame_SpellScript::HandleSummon(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), HasInLine(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), boss_netherspite::boss_netherspiteAI::IsBetween(), WorldObject::IsInBetween(), Player::IsInCurrentInnArea(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange2d(), WorldObject::IsInRange3d(), Unit::IsInWater(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), Player::IsUnderWater(), Unit::IsUnderWater(), MapManager::IsValidMapCoord(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOS(), Unit::IsWithinMeleeRange(), Player::IsWithinResearchDigsite(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), spell_gen_launch::spell_gen_launch_SpellScript::Launch(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Pet::LoadPetFromDB(), GameObject::LookupFishingHoleAround(), boss_teron_gorefiend::boss_teron_gorefiendAI::MindControlGhost(), WorldObject::MonsterSay(), WorldObject::MonsterSay(), WorldObject::MonsterTextEmote(), WorldObject::MonsterYell(), WorldObject::MonsterYell(), ObjectMgr::MoveCreData(), go_demon_portal::OnGossipHello(), item_pile_fake_furs::OnUse(), spell_halion_twilight_phasing::spell_halion_twilight_phasing_SpellScript::Phase(), Map::PlayerRelocation(), BattlegroundIC::PostUpdateImpl(), SmartScript::ProcessAction(), instance_oculus::instance_oculus_InstanceMapScript::ProcessEvent(), RelocateOffset(), ObjectAccessor::RemoveCorpse(), Map::RemoveFromActive(), Player::RepopAtGraveyard(), Player::SaveRecallPosition(), Corpse::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Player::SaveToDB(), Map::ScriptsProcess(), Spell::SearchTargets(), Creature::SelectNearestTarget(), Creature::SelectNearestTargetInAttackDistance(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), Unit::SendTeleportPacket(), Player::SetBattlegroundEntryPoint(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), Unit::SetFacingTo(), Unit::SetFacingToObject(), Unit::SetHover(), Unit::SetInCombatState(), Creature::SetPosition(), boss_amanitar::boss_amanitarAI::SpawnAdds(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), BattlePetWildZonePool::SpawnReplacement(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::StorePrisoner(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), Map::SummonCreature(), boss_archimonde::boss_archimondeAI::SummonDoomfire(), go_wind_stone::SummonNPC(), Player::SummonPet(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), GameObject::TriggeringLinkedGameObject(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), boss_hoptallus::boss_hoptallusAI::UpdateAI(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::UpdateAI(), boss_najentus::boss_najentusAI::UpdateAI(), boss_ouro::boss_ouroAI::UpdateAI(), boss_shirrak_the_dead_watcher::boss_shirrak_the_dead_watcherAI::UpdateAI(), boss_supremus::boss_supremusAI::UpdateAI(), boss_urom::boss_uromAI::UpdateAI(), npc_av_marshal_or_warmaster::npc_av_marshal_or_warmasterAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_coldflame::npc_coldflameAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), Player::UpdateAreaDependentAuras(), Unit::UpdateHeight(), Creature::UpdateMovementFlags(), Player::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdateRestAreaState(), GameObject::Use(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue(), Cell::Visit(), Skyfire::DelayedUnitRelocation::Visit(), Map::VisitNearbyCellsOf(), WorldObject::VisitNearbyGridObject(), WorldObject::VisitNearbyObject(), WorldObject::VisitNearbyWorldObject(), and Unit::WriteMovementInfo().

◆ GetPositionY()

float Position::GetPositionY ( ) const
inline

Definition at line 329 of file Object.h.

References m_positionY.

Referenced by Unit::_ExitVehicle(), Map::_FindGameObject(), WorldObject::_IsWithinDist(), Player::ActivateTaxiPathTo(), Map::ActiveObjectsNearGrid(), ObjectAccessor::AddCorpse(), InstanceScript::AddDoor(), Spell::AddGOTarget(), Map::AddPlayerToMap(), Map::AddToActive(), Map::AddToMap(), Spell::AddUnitTarget(), npc_living_mojo::npc_living_mojoAI::AttackStart(), boss_warp_splinter::boss_warp_splinterAI::boss_warp_splinterAI(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), WorldObject::BuildUpdate(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Creature::CallAssistance(), Creature::CallForHelp(), boss_sapphiron::boss_sapphironAI::CastExplosion(), GameObject::CastSpell(), Player::CheckAreaExploreAndOutdoor(), BossAI::CheckBoundary(), Map::CheckGridIntegrity(), Player::ContinueTaxiFlight(), ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), AreaTrigger::CreateAreaTrigger(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), TransportMgr::CreateLocalTransport(), Transport::CreateNPCPassenger(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), Spell::EffectBind(), Spell::EffectChargeDest(), Spell::EffectLeap(), Spell::EffectPullTowards(), Spell::EffectStuck(), BattlegroundIC::EventPlayerClickedOnFlag(), ChatHandler::ExecuteCommandInTable(), SmartScript::FindCreatureNear(), SmartScript::FindGameObjectNear(), Map::GameObjectRelocation(), GetAngle(), GetAngle(), Unit::GetAttackableUnitListInRange(), Battleground::GetClosestGraveYard(), BattlegroundAB::GetClosestGraveYard(), BattlegroundBFG::GetClosestGraveYard(), BattlegroundEY::GetClosestGraveYard(), BattlegroundIC::GetClosestGraveYard(), WorldObject::GetCreatureListWithEntryInGrid(), WorldObject::GetDistanceOrder(), WorldObject::GetGameObjectListWithEntryInGrid(), LuaWorldObject::GetLocation(), WorldObject::GetNearPoint2D(), ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(), GetPositionOffsetTo(), GetPositionWithDistInOrientation(), LuaGameObject::GetRelativePoint(), LuaUnit::GetRelativePoint(), Creature::GetRespawnPosition(), GameObject::GetRespawnPosition(), GetSinCos(), GameObject::GetStationaryY(), WorldObject::GetStationaryY(), LuaWorldObject::GetY(), Battleground::HandleAreaTrigger(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), misc_commandscript::HandleComeToMeCommand(), WorldSession::HandleCorpseQueryOpcode(), debug_commandscript::HandleDebugRestCommand(), OutdoorPvPSI::HandleDropFlag(), spell_dk_death_grip::spell_dk_death_grip_SpellScript::HandleDummy(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), boss_felmyst::boss_felmystAI::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), gm_commandscript::HandleGMNoteCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapTestArea(), WorldSession::HandleMovementOpcodes(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), AuraEffect::HandlePeriodicDummyAuraTick(), WorldSession::HandlePlayerLogin(), AuraEffect::HandlePlayScene(), misc_commandscript::HandleRespawnCommand(), spell_razorscale_devouring_flame::spell_razorscale_devouring_flame_SpellScript::HandleSummon(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), HasInLine(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeTrollgoreInvaderSummoner(), boss_netherspite::boss_netherspiteAI::IsBetween(), WorldObject::IsInBetween(), Player::IsInCurrentInnArea(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange2d(), WorldObject::IsInRange3d(), Unit::IsInWater(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), Player::IsUnderWater(), Unit::IsUnderWater(), MapManager::IsValidMapCoord(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOS(), Unit::IsWithinMeleeRange(), Player::IsWithinResearchDigsite(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), spell_gen_launch::spell_gen_launch_SpellScript::Launch(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Pet::LoadPetFromDB(), GameObject::LookupFishingHoleAround(), boss_teron_gorefiend::boss_teron_gorefiendAI::MindControlGhost(), WorldObject::MonsterSay(), WorldObject::MonsterSay(), WorldObject::MonsterTextEmote(), WorldObject::MonsterYell(), WorldObject::MonsterYell(), ObjectMgr::MoveCreData(), go_demon_portal::OnGossipHello(), item_pile_fake_furs::OnUse(), spell_halion_twilight_phasing::spell_halion_twilight_phasing_SpellScript::Phase(), Map::PlayerRelocation(), BattlegroundIC::PostUpdateImpl(), SmartScript::ProcessAction(), instance_oculus::instance_oculus_InstanceMapScript::ProcessEvent(), RelocateOffset(), ObjectAccessor::RemoveCorpse(), Map::RemoveFromActive(), Player::RepopAtGraveyard(), Player::SaveRecallPosition(), Corpse::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Player::SaveToDB(), Map::ScriptsProcess(), Spell::SearchTargets(), Creature::SelectNearestTarget(), Creature::SelectNearestTargetInAttackDistance(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), Unit::SendTeleportPacket(), Player::SetBattlegroundEntryPoint(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), Unit::SetFacingTo(), Unit::SetFacingToObject(), Unit::SetHover(), Unit::SetInCombatState(), Creature::SetPosition(), boss_amanitar::boss_amanitarAI::SpawnAdds(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), BattlePetWildZonePool::SpawnReplacement(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::StorePrisoner(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), Map::SummonCreature(), boss_archimonde::boss_archimondeAI::SummonDoomfire(), go_wind_stone::SummonNPC(), Player::SummonPet(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), GameObject::TriggeringLinkedGameObject(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), boss_hoptallus::boss_hoptallusAI::UpdateAI(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::UpdateAI(), boss_najentus::boss_najentusAI::UpdateAI(), boss_ouro::boss_ouroAI::UpdateAI(), boss_shirrak_the_dead_watcher::boss_shirrak_the_dead_watcherAI::UpdateAI(), boss_supremus::boss_supremusAI::UpdateAI(), boss_urom::boss_uromAI::UpdateAI(), npc_av_marshal_or_warmaster::npc_av_marshal_or_warmasterAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_coldflame::npc_coldflameAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), Unit::UpdateHeight(), Creature::UpdateMovementFlags(), Player::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdateRestAreaState(), GameObject::Use(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue(), Cell::Visit(), Skyfire::DelayedUnitRelocation::Visit(), Map::VisitNearbyCellsOf(), WorldObject::VisitNearbyGridObject(), WorldObject::VisitNearbyObject(), WorldObject::VisitNearbyWorldObject(), and Unit::WriteMovementInfo().

◆ GetPositionZ()

float Position::GetPositionZ ( ) const
inline

Definition at line 330 of file Object.h.

References m_positionZ.

Referenced by Unit::_ExitVehicle(), WorldObject::_IsWithinDist(), Player::ActivateTaxiPathTo(), Spell::AddGOTarget(), Spell::AddUnitTarget(), npc_living_mojo::npc_living_mojoAI::AttackStart(), WorldSession::BuildPartyMemberStatsChangedPacket(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), GameObject::CastSpell(), Player::CheckAreaExploreAndOutdoor(), Player::ContinueTaxiFlight(), ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), TransportMgr::CreateLocalTransport(), Transport::CreateNPCPassenger(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), Spell::EffectBind(), Spell::EffectLeap(), Spell::EffectPullTowards(), Spell::EffectStuck(), BattlegroundIC::EventPlayerClickedOnFlag(), ChatHandler::ExecuteCommandInTable(), Battleground::GetClosestGraveYard(), BattlegroundEY::GetClosestGraveYard(), WorldObject::GetDistanceOrder(), WorldObject::GetDistanceZ(), LuaWorldObject::GetLocation(), WorldObject::GetNearPoint(), GetPositionOffsetTo(), Unit::GetPositionZMinusOffset(), Creature::GetRespawnPosition(), GameObject::GetRespawnPosition(), GameObject::GetStationaryZ(), WorldObject::GetStationaryZ(), LuaWorldObject::GetZ(), Battleground::HandleAreaTrigger(), WorldSession::HandleAreaTriggerOpcode(), AuraEffect::HandleAuraFeatherFall(), misc_commandscript::HandleComeToMeCommand(), WorldSession::HandleCorpseQueryOpcode(), debug_commandscript::HandleDebugRestCommand(), OutdoorPvPSI::HandleDropFlag(), spell_dk_death_grip::spell_dk_death_grip_SpellScript::HandleDummy(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), Player::HandleFall(), boss_felmyst::boss_felmystAI::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), gm_commandscript::HandleGMNoteCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), WorldSession::HandleMovementOpcodes(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandlePlayerLogin(), AuraEffect::HandlePlayScene(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeTrollgoreInvaderSummoner(), Player::IsInCurrentInnArea(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange3d(), Unit::IsInWater(), Player::IsUnderWater(), Unit::IsUnderWater(), MapManager::IsValidMapCoord(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOS(), Unit::IsWithinMeleeRange(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustSummoned(), spell_gen_launch::spell_gen_launch_SpellScript::Launch(), Player::LoadFromDB(), boss_teron_gorefiend::boss_teron_gorefiendAI::MindControlGhost(), instance_deadmines::instance_deadmines_InstanceMapScript::MoveCreatureInside(), ObjectMgr::MoveCreData(), go_demon_portal::OnGossipHello(), item_pile_fake_furs::OnUse(), RotfaceHeightCheck::operator()(), Skyfire::HeightDifferenceCheck::operator()(), spell_halion_twilight_phasing::spell_halion_twilight_phasing_SpellScript::Phase(), BattlegroundIC::PostUpdateImpl(), SmartScript::ProcessAction(), instance_oculus::instance_oculus_InstanceMapScript::ProcessEvent(), RelocateOffset(), Player::RepopAtGraveyard(), Player::SaveRecallPosition(), Corpse::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Player::SaveToDB(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), Player::SetBattlegroundEntryPoint(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), Unit::SetHover(), Unit::SetInCombatState(), Creature::SetPosition(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), BattlePetWildZonePool::SpawnReplacement(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), Map::SummonCreature(), SummonCroneIfReady(), boss_archimonde::boss_archimondeAI::SummonDoomfire(), go_wind_stone::SummonNPC(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), boss_hoptallus::boss_hoptallusAI::UpdateAI(), boss_kalecgos::boss_kalecgosAI::UpdateAI(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::UpdateAI(), boss_najentus::boss_najentusAI::UpdateAI(), boss_ouro::boss_ouroAI::UpdateAI(), boss_shirrak_the_dead_watcher::boss_shirrak_the_dead_watcherAI::UpdateAI(), boss_supremus::boss_supremusAI::UpdateAI(), boss_urom::boss_uromAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), Player::UpdateFallInformationIfNeed(), Player::UpdatePosition(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdateRestAreaState(), GameObject::Use(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue(), and Unit::WriteMovementInfo().

◆ GetRelativeAngle() [1/2]

float Position::GetRelativeAngle ( float x,
float y ) const
inline

Definition at line 403 of file Object.h.

References GetAngle(), and m_orientation.

◆ GetRelativeAngle() [2/2]

float Position::GetRelativeAngle ( Position const * pos) const
inline

Definition at line 399 of file Object.h.

References GetAngle(), and m_orientation.

Referenced by Spell::CheckCast(), and HasInLine().

◆ GetSinCos()

void Position::GetSinCos ( float x,
float y,
float & vsin,
float & vcos ) const

Definition at line 1879 of file Object.cpp.

References GetPositionX(), GetPositionY(), M_PI, and rand_norm().

Referenced by Unit::KnockbackFrom().

◆ HasInArc()

◆ HasInLine()

bool Position::HasInLine ( WorldObject const * target,
float width ) const

◆ IsInDist() [1/2]

bool Position::IsInDist ( float x,
float y,
float z,
float dist ) const
inline

◆ IsInDist() [2/2]

bool Position::IsInDist ( Position const * pos,
float dist ) const
inline

Definition at line 418 of file Object.h.

References GetExactDistSq().

◆ IsInDist2d() [1/2]

bool Position::IsInDist2d ( float x,
float y,
float dist ) const
inline

Definition at line 406 of file Object.h.

References GetExactDist2dSq().

Referenced by WorldObject::IsWithinDist2d(), and WorldObject::IsWithinDist2d().

◆ IsInDist2d() [2/2]

bool Position::IsInDist2d ( Position const * pos,
float dist ) const
inline

Definition at line 410 of file Object.h.

References GetExactDist2dSq().

◆ IsPositionValid()

◆ NormalizeOrientation()

◆ operator!=()

bool Position::operator!= ( Position const & a)
inline

Definition at line 297 of file Object.h.

References operator==().

◆ operator==()

bool Position::operator== ( Position const & a)

Definition at line 1424 of file Object.cpp.

References m_orientation, m_positionX, m_positionY, and m_positionZ.

Referenced by operator!=().

◆ PositionXYZOStream()

Position::PositionXYZOStreamer Position::PositionXYZOStream ( )
inline

Definition at line 355 of file Object.h.

◆ PositionXYZStream()

Position::PositionXYZStreamer Position::PositionXYZStream ( )
inline

Definition at line 351 of file Object.h.

◆ Relocate() [1/5]

void Position::Relocate ( float x,
float y )
inline

Definition at line 302 of file Object.h.

References m_positionX, and m_positionY.

Referenced by ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), Creature::Create(), GameObject::Create(), Player::Create(), Transport::Create(), AreaTrigger::CreateAreaTrigger(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateLocal(), Transport::CreateNPCPassenger(), Map::CreatureRelocation(), Map::CreatureRespawnRelocation(), ConfusedMovementGenerator< T >::DoUpdate(), Spell::EffectCreateTamedPet(), Spell::EffectPullTowards(), Creature::FarTeleportTo(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), GetPosition(), WorldObject::GetRandomPoint(), gobject_commandscript::HandleGameObjectMoveCommand(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveWorldportAckOpcode(), npc_commandscript::HandleNpcTameCommand(), WorldSession::HandleUpdateMissileTrajectory(), WorldSession::HandleUpdateProjectilePosition(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), Corpse::LoadCorpseFromDB(), Creature::LoadCreatureFromDB(), Player::LoadFromDB(), Pet::LoadPetFromDB(), ObjectMgr::LoadTempSummons(), spell_q12308_escape_from_silverbrook_summon_worgen::spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript::ModDest(), LuaGameObject::Move(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllGameObjectsInMoveList(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator>>(), operator>>(), Map::PlayerRelocation(), Spell::SelectImplicitTrajTargets(), Unit::SendTeleportPacket(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), WorldObject::SummonCreature(), LuaUnit::SummonGuardian(), boss_malchezaar::boss_malchezaarAI::SummonInfernal(), Player::SummonPet(), Player::TeleportTo(), boss_twinemperorsAI::TeleportToMyBrother(), Transport::TeleportTransport(), boss_saviana_ragefire::boss_saviana_ragefireAI::UpdateAI(), boss_sindragosa::boss_sindragosaAI::UpdateAI(), Unit::UpdateHeight(), Spell::UpdatePointers(), Transport::UpdatePosition(), WorldLocation::WorldLocation(), and WorldLocation::WorldRelocate().

◆ Relocate() [2/5]

void Position::Relocate ( float x,
float y,
float z )
inline

Definition at line 306 of file Object.h.

References m_positionX, m_positionY, and m_positionZ.

◆ Relocate() [3/5]

void Position::Relocate ( float x,
float y,
float z,
float orientation )
inline

Definition at line 310 of file Object.h.

References m_positionX, m_positionY, m_positionZ, and SetOrientation().

◆ Relocate() [4/5]

void Position::Relocate ( Position const & pos)
inline

Definition at line 314 of file Object.h.

References m_orientation, m_positionX, m_positionY, m_positionZ, and SetOrientation().

◆ Relocate() [5/5]

void Position::Relocate ( Position const * pos)
inline

Definition at line 318 of file Object.h.

References m_orientation, m_positionX, m_positionY, m_positionZ, and SetOrientation().

◆ RelocateOffset()

◆ SetOrientation()

◆ ToString()

std::string Position::ToString ( ) const

Definition at line 1441 of file Object.cpp.

References m_orientation, m_positionX, m_positionY, and m_positionZ.

Referenced by Player::GetCoordsMapAreaAndZoneString().

Member Data Documentation

◆ m_orientation

◆ m_positionX

float Position::m_positionX

Definition at line 287 of file Object.h.

Referenced by FleeingMovementGenerator< T >::_getPoint(), WorldObject::_IsWithinDist(), Spell::CheckCast(), spell_gen_cannibalize::spell_gen_cannibalize_SpellScript::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::spell_hun_pet_carrion_feeder_SpellScript::CheckIfCorpseNear(), BattlegroundIC::DoAction(), boss_malygos::boss_malygosAI::DoAction(), npc_time_rift::npc_time_riftAI::DoSummonAtRift(), ConfusedMovementGenerator< T >::DoUpdate(), Spell::EffectCharge(), Spell::EffectChargeDest(), WorldObject::GetAreaId(), GetExactDist2dSq(), GetExactDist2dSq(), GetExactDistSq(), GetPosition(), GetPosition(), GetPosition(), GetPosition(), GetPositionOffsetTo(), GetPositionX(), WorldObject::GetRandomPoint(), WorldObject::GetZoneAndAreaId(), WorldObject::GetZoneId(), spell_malygos_random_portal::spell_malygos_random_portal_SpellScript::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), WorldSession::HandleMovementOpcodes(), IsPositionValid(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), boss_sara::boss_saraAI::JustSummoned(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllGameObjectsInMoveList(), MotionMaster::MoveJump(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), npc_wyrmrest_skytalon::npc_wyrmrest_skytalonAI::PassengerBoarded(), Player::ReadMovementInfo(), Relocate(), Relocate(), Relocate(), Relocate(), Relocate(), RelocateOffset(), Player::SendCinematicStart(), Battlefield::SpawnCreature(), npc_agitated_earth_spirit::npc_agitated_earth_spiritAI::SpellHit(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss(), ToString(), boss_malygos::boss_malygosAI::UpdateAI(), npc_doomfire_targetting::npc_doomfire_targettingAI::UpdateAI(), npc_frostbrood_skytalon::npc_frostbrood_skytalonAI::UpdateAI(), npc_frozen_orb_stalker::npc_frozen_orb_stalkerAI::UpdateAI(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI::UpdateAI(), and Unit::UpdateSplinePosition().

◆ m_positionY

float Position::m_positionY

Definition at line 288 of file Object.h.

Referenced by FleeingMovementGenerator< T >::_getPoint(), WorldObject::_IsWithinDist(), Spell::CheckCast(), spell_gen_cannibalize::spell_gen_cannibalize_SpellScript::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::spell_hun_pet_carrion_feeder_SpellScript::CheckIfCorpseNear(), BattlegroundIC::DoAction(), boss_malygos::boss_malygosAI::DoAction(), npc_time_rift::npc_time_riftAI::DoSummonAtRift(), ConfusedMovementGenerator< T >::DoUpdate(), Spell::EffectCharge(), Spell::EffectChargeDest(), WorldObject::GetAreaId(), GetExactDist2dSq(), GetExactDist2dSq(), GetExactDistSq(), GetPosition(), GetPosition(), GetPosition(), GetPosition(), GetPositionOffsetTo(), GetPositionY(), WorldObject::GetRandomPoint(), WorldObject::GetZoneAndAreaId(), WorldObject::GetZoneId(), spell_malygos_random_portal::spell_malygos_random_portal_SpellScript::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), WorldSession::HandleMovementOpcodes(), IsPositionValid(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), boss_sara::boss_saraAI::JustSummoned(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllGameObjectsInMoveList(), MotionMaster::MoveJump(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), spell_halion_summon_exit_portals::spell_halion_summon_exit_portals_SpellScript::OnSummon(), operator==(), npc_wyrmrest_skytalon::npc_wyrmrest_skytalonAI::PassengerBoarded(), Player::ReadMovementInfo(), Relocate(), Relocate(), Relocate(), Relocate(), Relocate(), RelocateOffset(), boss_anubrekhan::boss_anubrekhanAI::Reset(), Player::SendCinematicStart(), Battlefield::SpawnCreature(), npc_agitated_earth_spirit::npc_agitated_earth_spiritAI::SpellHit(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss(), ToString(), boss_malygos::boss_malygosAI::UpdateAI(), npc_doomfire_targetting::npc_doomfire_targettingAI::UpdateAI(), npc_frostbrood_skytalon::npc_frostbrood_skytalonAI::UpdateAI(), npc_frozen_orb_stalker::npc_frozen_orb_stalkerAI::UpdateAI(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI::UpdateAI(), and Unit::UpdateSplinePosition().

◆ m_positionZ

float Position::m_positionZ

Definition at line 289 of file Object.h.

Referenced by FleeingMovementGenerator< T >::_getPoint(), WorldObject::_IsWithinDist(), Spell::CheckCast(), BattlegroundIC::DoAction(), boss_malygos::boss_malygosAI::DoAction(), npc_time_rift::npc_time_riftAI::DoSummonAtRift(), CreatureAI::DoSummonFlyer(), ConfusedMovementGenerator< T >::DoUpdate(), Spell::EffectCharge(), Spell::EffectChargeDest(), WorldObject::GetAreaId(), GetExactDistSq(), GetExactDistSq(), GetPosition(), GetPosition(), GetPosition(), GetPositionOffsetTo(), GetPositionZ(), WorldObject::GetRandomPoint(), WorldObject::GetZoneAndAreaId(), WorldObject::GetZoneId(), spell_malygos_random_portal::spell_malygos_random_portal_SpellScript::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), WorldSession::HandleMovementOpcodes(), IsPositionValid(), boss_sara::boss_saraAI::JustSummoned(), MotionMaster::MoveJump(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), npc_wyrmrest_skytalon::npc_wyrmrest_skytalonAI::PassengerBoarded(), Player::ReadMovementInfo(), Relocate(), Relocate(), Relocate(), Relocate(), RelocateOffset(), Player::SendCinematicStart(), boss_amanitar::boss_amanitarAI::SpawnAdds(), Battlefield::SpawnCreature(), npc_agitated_earth_spirit::npc_agitated_earth_spiritAI::SpellHit(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss(), ToString(), boss_malygos::boss_malygosAI::UpdateAI(), boss_saviana_ragefire::boss_saviana_ragefireAI::UpdateAI(), boss_sindragosa::boss_sindragosaAI::UpdateAI(), npc_doomfire_targetting::npc_doomfire_targettingAI::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_frostbrood_skytalon::npc_frostbrood_skytalonAI::UpdateAI(), npc_frozen_orb_stalker::npc_frozen_orb_stalkerAI::UpdateAI(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI::UpdateAI(), and Unit::UpdateSplinePosition().


The documentation for this struct was generated from the following files: