TrinityCore
Loading...
Searching...
No Matches
Position Struct Reference

#include <Position.h>

+ Inheritance diagram for Position:

Classes

struct  ConstStreamer
 
struct  Streamer
 

Public Member Functions

 Position ()
 
 Position (float x, float y, float z=0.0f, float o=0.0f)
 
bool operator== (Position const &a) const
 
void Relocate (float x, float y)
 
void Relocate (float x, float y, float z)
 
void Relocate (float x, float y, float z, float o)
 
void Relocate (Position const &pos)
 
void Relocate (Position const *pos)
 
void RelocateOffset (Position const &offset)
 
void SetOrientation (float orientation)
 
float GetPositionX () const
 
float GetPositionY () const
 
float GetPositionZ () 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
 
Position GetPosition () const
 
Streamer< XY > PositionXYStream ()
 
ConstStreamer< XY > PositionXYStream () const
 
Streamer< XYZ > PositionXYZStream ()
 
ConstStreamer< XYZ > PositionXYZStream () const
 
Streamer< XYZO > PositionXYZOStream ()
 
ConstStreamer< XYZO > PositionXYZOStream () const
 
Streamer< PackedXYZ > PositionPackedXYZStream ()
 
ConstStreamer< PackedXYZ > PositionPackedXYZStream () const
 
bool IsPositionValid () const
 
float GetExactDist2dSq (const float x, const float y) const
 
float GetExactDist2dSq (Position const &pos) const
 
float GetExactDist2dSq (Position const *pos) const
 
float GetExactDist2d (const float x, const float y) const
 
float GetExactDist2d (Position const &pos) const
 
float GetExactDist2d (Position const *pos) const
 
float GetExactDistSq (float x, float y, float z) const
 
float GetExactDistSq (Position const &pos) const
 
float GetExactDistSq (Position const *pos) const
 
float GetExactDist (float x, float y, float z) const
 
float GetExactDist (Position const &pos) const
 
float GetExactDist (Position const *pos) const
 
void GetPositionOffsetTo (Position const &endPos, Position &retOffset) const
 
Position GetPositionWithOffset (Position const &offset) const
 
float GetAbsoluteAngle (float x, float y) const
 
float GetAbsoluteAngle (Position const &pos) const
 
float GetAbsoluteAngle (Position const *pos) const
 
float ToAbsoluteAngle (float relAngle) const
 
float ToRelativeAngle (float absAngle) const
 
float GetRelativeAngle (float x, float y) const
 
float GetRelativeAngle (Position const &pos) const
 
float GetRelativeAngle (Position const *pos) const
 
void GetSinCos (float x, float y, float &vsin, float &vcos) const
 
bool IsInDist2d (float x, float y, float dist) const
 
bool IsInDist2d (Position const *pos, float dist) const
 
bool IsInDist (float x, float y, float z, float dist) const
 
bool IsInDist (Position const &pos, float dist) const
 
bool IsInDist (Position const *pos, float dist) const
 
bool IsWithinBox (Position const &center, float xradius, float yradius, float zradius) const
 
bool IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const
 
bool HasInArc (float arcangle, Position const *pos, float border=2.0f) const
 
bool HasInLine (Position const *pos, float objSize, float width) const
 
std::string ToString () const
 

Static Public Member Functions

static float NormalizeOrientation (float o)
 

Public Attributes

float m_positionX
 
float m_positionY
 
float m_positionZ
 

Private Attributes

float m_orientation
 

Detailed Description

Definition at line 27 of file Position.h.

Constructor & Destructor Documentation

◆ Position() [1/2]

Position::Position ( )
inline

Definition at line 29 of file Position.h.

Referenced by WorldObject::GetHitSpherePointFor(), and WorldObject::GetRandomPoint().

◆ Position() [2/2]

Position::Position ( float  x,
float  y,
float  z = 0.0f,
float  o = 0.0f 
)
inline

Definition at line 32 of file Position.h.

Member Function Documentation

◆ GetAbsoluteAngle() [1/3]

◆ GetAbsoluteAngle() [2/3]

float Position::GetAbsoluteAngle ( Position const &  pos) const
inline

Definition at line 134 of file Position.h.

References GetAbsoluteAngle(), m_positionX, and m_positionY.

Referenced by GetAbsoluteAngle().

◆ GetAbsoluteAngle() [3/3]

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

Definition at line 135 of file Position.h.

References GetAbsoluteAngle().

Referenced by GetAbsoluteAngle().

◆ GetExactDist() [1/3]

◆ GetExactDist() [2/3]

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

Definition at line 122 of file Position.h.

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

Referenced by GetExactDist().

◆ GetExactDist() [3/3]

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

Definition at line 123 of file Position.h.

References GetExactDist().

Referenced by GetExactDist().

◆ GetExactDist2d() [1/3]

◆ GetExactDist2d() [2/3]

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

Definition at line 110 of file Position.h.

References GetExactDist2d(), m_positionX, and m_positionY.

Referenced by GetExactDist2d().

◆ GetExactDist2d() [3/3]

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

Definition at line 111 of file Position.h.

References GetExactDist2d().

Referenced by GetExactDist2d().

◆ GetExactDist2dSq() [1/3]

◆ GetExactDist2dSq() [2/3]

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

Definition at line 106 of file Position.h.

References GetExactDist2dSq(), m_positionX, and m_positionY.

Referenced by GetExactDist2dSq().

◆ GetExactDist2dSq() [3/3]

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

Definition at line 107 of file Position.h.

References GetExactDist2dSq().

Referenced by GetExactDist2dSq().

◆ GetExactDistSq() [1/3]

◆ GetExactDistSq() [2/3]

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

Definition at line 118 of file Position.h.

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

Referenced by GetExactDistSq().

◆ GetExactDistSq() [3/3]

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

Definition at line 119 of file Position.h.

References GetExactDistSq().

Referenced by GetExactDistSq().

◆ GetOrientation()

float Position::GetOrientation ( ) const
inline

Definition at line 82 of file Position.h.

Referenced by Battleground::_CheckSafePositions(), Unit::_ExitVehicle(), Player::_SaveBGData(), Player::ActivateTaxiPathTo(), Battleground::AddCreature(), Battleground::AddObject(), Battleground::AddSpiritGuide(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), Object::BuildMovementUpdate(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Transport::CreateNPCPassenger(), npc_argent_valiant::DamageTaken(), boss_deathbringer_saurfang::DoAction(), npc_argent_captainAI::DoAction(), npc_icc_nerubar_broodkeeper::DoAction(), FlightPathMovementGenerator::DoFinalize(), FormationMovementGenerator::DoUpdate(), Spell::EffectCreateTamedPet(), Spell::EffectDuel(), Spell::EffectLeap(), Spell::EffectResurrectPet(), Spell::EffectStuck(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectTeleportUnits(), Spell::EffectTransmitted(), boss_gothik::EnterEvadeMode(), BattlegroundIC::EventPlayerClickedOnFlag(), WorldObject::GetClosePoint(), GameObjectModelOwnerImpl::GetOrientation(), GetPositionOffsetTo(), WorldObject::GetRandomPoint(), GameObject::GetStationaryO(), go_wg_vehicle_teleporter::GetValidVehicle(), misc_commandscript::HandleAppearCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), go_commandscript::HandleGoGraveyardCommand(), go_commandscript::HandleGoGridCommand(), go_commandscript::HandleGoZoneXYCommand(), group_commandscript::HandleGroupSummonCommand(), WorldSession::HandleHearthAndResurrect(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcTameCommand(), WorldSession::HandlePlayerLogin(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), misc_commandscript::HandleUnstuckCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), npc_crusade_recruit::Initialize(), DistractMovementGenerator::Initialize(), GameObject::IsInRange(), npc_coldflame::IsSummonedBy(), MapManager::IsValidMapCoord(), IsWithinBox(), Unit::JumpTo(), npc_partygoer::JustAppeared(), npc_doomfire_spirit::JustAppeared(), boss_herod::JustDied(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_mimiron::boss_mimironAI::JustDied(), boss_mandokir::JustEngagedWith(), boss_prince_keleseth_icc::JustSummoned(), Movement::MoveSplineInit::Launch(), Player::LoadFromDB(), ObjectMgr::LoadGameObjects(), Pet::LoadPetFromDB(), MotionMaster::MoveJump(), MotionMaster::MoveJumpTo(), boss_onyxia::MovementInform(), npc_spinestalker::MovementInform(), npc_rimefang_icc::MovementInform(), npc_omen::MovementInform(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::MovementInform(), gunship_npc_AI::MovementInform(), boss_razorscale::MovementInform(), boss_illidan_stormrage::MovementInform(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), MotionMaster::MoveSeekAssistanceDistract(), spell_the_lurker_below_spout_periodic::OnPeriodic(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), BattlegroundIC::PostUpdateImpl(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), BfGraveyard::RelocateDeadPlayers(), Battleground::RelocateDeadPlayers(), RelocateOffset(), Map::RemoveAllPlayers(), boss_prince_taldaram::RemovePrison(), Player::RepopAtGraveyard(), npc_firework::Reset(), npc_depth_charge::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), Player::SavePositionInDB(), Corpse::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::ScriptsProcess(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), WorldSession::SendSpiritResurrect(), BattlegroundMgr::SendToBattleground(), Player::SetBattlegroundEntryPoint(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), Creature::SetSpellFocus(), HomeMovementGenerator< T >::SetTargetLocation(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_volazj::SpellHitTarget(), boss_urom::StartAttack(), WaypointMovementGenerator< Creature >::StartMove(), Movement::MoveSplineInit::Stop(), WorldObject::SummonCreature(), WorldObject::SummonGameObject(), go_wind_stone::go_wind_stoneAI::SummonNPC(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), FollowMovementGenerator::Update(), RotateMovementGenerator::Update(), SimpleCharmedPlayerAI::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::UpdateAI(), boss_jindo::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), boss_viscidus::boss_viscidusAI::UpdateAI(), boss_devourer_of_souls::UpdateAI(), npc_coldflame::UpdateAI(), boss_varos::UpdateAI(), boss_thorim::boss_thorimAI::UpdateAI(), go_mammoth_trap::UpdateAI(), npc_minigob_manabonk::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), Unit::UpdateSplinePosition(), and GameObject::Use().

◆ GetPosition() [1/4]

◆ GetPosition() [2/4]

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

Definition at line 84 of file Position.h.

Referenced by Battleground::_CheckSafePositions(), Unit::_ExitVehicle(), PathGenerator::CalculatePath(), boss_ionar::CallBackSparks(), npc_arthas_stratholme::npc_arthas_stratholmeAI::CanAIAttack(), spell_the_lich_king_valkyr_charge::ChargeDest(), Spell::CheckCast(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), npc_felblood_kaelthas_phoenix::DamageTaken(), boss_high_inquisitor_whitemane::DamageTaken(), Transport::DelayedTeleportTransport(), npc_icc_nerubar_broodkeeper::DoAction(), npc_kelthuzad_guardian::DoAction(), boss_malygos::DoAction(), RandomMovementGenerator< T >::DoInitialize(), FormationMovementGenerator::DoUpdate(), WaypointMovementGenerator< Creature >::DoUpdate(), Spell::EffectChargeDest(), Spell::EffectKnockBack(), Spell::EffectLeap(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectTransmitted(), CoolestFriendBaseAI::EnterEvadeMode(), BattlegroundAV::GetClosestGraveyard(), BattlegroundSA::GetClosestGraveyard(), WorldObject::GetRandomPoint(), GameObject::GetRespawnPosition(), Creature::GetRespawnPosition(), spell_apothecary_lingering_fumes::HandleAfterCast(), WorldSession::HandleBattlemasterHelloOpcode(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), debug_commandscript::HandleDebugTransportCommand(), spell_midsummer_juggle_torch::HandleDummy(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectMoveCommand(), go_commandscript::HandleGoOffsetCommand(), WorldSession::HandleGossipHelloOpcode(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapPathCommand(), npc_commandscript::HandleNpcAddTempSpawnCommand(), spell_sapphiron_icebolt::HandlePeriodic(), WorldSession::HandlePlayerLogin(), WorldSession::HandleQuestgiverHelloOpcode(), spell_halion_damage_aoe_summon::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_freya_iron_roots::spell_freya_iron_roots_SpellScript::HandleSummon(), WorldObject::IsInBetween(), npc_spirit_bomb::IsSummonedBy(), npc_ruby_emerald_amber_drake::IsSummonedBy(), WorldObject::IsWithinLOSInMap(), npc_doomfire_spirit::JustAppeared(), boss_headless_horseman::JustDied(), npc_frost_wyrm::npc_frost_wyrmAI::JustDied(), boss_flame_leviathan_safety_container::boss_flame_leviathan_safety_containerAI::JustDied(), npc_gargoyle::npc_gargoyleAI::JustDied(), npc_arthas_stratholme::npc_arthas_stratholmeAI::JustEngagedWith(), boss_anub_arak::JustEngagedWith(), boss_prince_keleseth_icc::JustSummoned(), boss_prince_valanar_icc::JustSummoned(), FormationMovementGenerator::LaunchMovement(), spell_mimiron_magnetic_core_summon::ModDest(), MotionMaster::MoveKnockbackFrom(), boss_headless_horseman::MovementInform(), npc_gunship_boarding_addAI::MovementInform(), SimpleCharmedPlayerAI::OnCharmed(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnCreatureCreate(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::OnGameObjectCreate(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipSelect(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), npc_wyrmrest_skytalon::PassengerBoarded(), SmartAI::PausePath(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), spell_halion_twilight_phasing::Phase(), SmartScript::ProcessAction(), readCamera(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), npc_valkyr_battle_maiden::npc_valkyr_battle_maidenAI::Reset(), npc_firework::Reset(), npc_kinetic_bomb::Reset(), go_empowering_blood_orb::Reset(), go_vazruden_liquid_fire::Reset(), npc_dancing_flames::Reset(), WorldSession::SendListInventory(), Unit::SendTeleportPacket(), gunship_npc_AI::SetData(), spell_spawn_blood_pool::SetDest(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetGuidData(), Player::SetHomebind(), FleeingMovementGenerator< T >::SetTargetLocation(), BattlefieldWG::SetupBattlefield(), boss_felmyst::SpellHit(), npc_malformed_ooze::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), boss_victor_nefarius::SummonedCreatureDies(), boss_amanitar::SummonedCreatureDies(), Transport::SummonPassenger(), boss_coren_direbrew::SummonSister(), BossAI::TeleportCheaters(), Player::TeleportTo(), ChaseMovementGenerator::Update(), FollowMovementGenerator::Update(), npc_madrigosa::UpdateAI(), boss_felmyst::UpdateAI(), boss_kiljaeden::boss_kiljaedenAI::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), boss_halion::UpdateAI(), npc_ruby_emerald_amber_drake::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), boss_hodir::UpdateAI(), boss_razorscale::UpdateAI(), go_caribou_trap::UpdateAI(), npc_minigob_manabonk::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_spark_of_ionar::UpdateAI(), npc_millhouse_manastorm::UpdateIntroEvents(), Transport::UpdatePassengerPositions(), CreatureAI::VisualizeBoundary(), and SmartAI::WaypointReached().

◆ GetPosition() [3/4]

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

Definition at line 85 of file Position.h.

References GetPosition().

Referenced by GetPosition().

◆ GetPosition() [4/4]

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

Definition at line 86 of file Position.h.

References GetPosition().

Referenced by GetPosition().

◆ GetPositionOffsetTo()

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

◆ GetPositionWithOffset()

◆ GetPositionX()

float Position::GetPositionX ( ) const
inline

Definition at line 79 of file Position.h.

Referenced by Battleground::_CheckSafePositions(), Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_SaveBGData(), Map::ActiveObjectsNearGrid(), Spell::AddCorpseTarget(), Battleground::AddCreature(), ObjectMgr::AddCreatureToGrid(), instance_ulduar::instance_ulduar_InstanceMapScript::AddDoor(), ObjectMgr::AddGameobjectToGrid(), Spell::AddGOTarget(), Battleground::AddObject(), Map::AddPlayerToMap(), Battleground::AddSpiritGuide(), Map::AddToActive(), Map::AddToMap(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), TotemAI::AttackStart(), CinematicMgr::BeginCinematic(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Player::CheckAreaExplore(), Spell::CheckCast(), Spell::CheckEffectTarget(), Map::CheckGridIntegrity(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), npc_frost_sphere::DamageTaken(), boss_viscidus::boss_viscidusAI::DamageTaken(), npc_argent_valiant::DamageTaken(), npc_toc_enh_shaman::DeployTotem(), boss_deathbringer_saurfang::DoAction(), boss_algalon_the_observer::DoAction(), boss_flame_leviathan::boss_flame_leviathanAI::DoAction(), npc_ominous_cloud::npc_ominous_cloudAI::DoAction(), Creature::DoFleeToGetAssistance(), tele_commandscript::DoNameTeleport(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), go_commandscript::DoTeleport(), Map::DynamicObjectRelocation(), Spell::EffectBind(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectLeap(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), BattlegroundIC::EventPlayerClickedOnFlag(), Map::GameObjectRelocation(), Map::GetAreaId(), MapManager::GetAreaId(), Battleground::GetClosestGraveyard(), BattlegroundAB::GetClosestGraveyard(), BattlegroundEY::GetClosestGraveyard(), BattlegroundIC::GetClosestGraveyard(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetCreatureEntry(), WorldObject::GetDistanceOrder(), WorldObject::GetFloorZ(), Map::GetHeight(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), WorldObject::GetNearPoint2D(), GameObjectModelOwnerImpl::GetPosition(), GetPositionOffsetTo(), npc_anubarak_anub_ar_assassin::GetRandomPositionAround(), GetRandomPositionOnCircle(), GetSinCos(), GameObject::GetStationaryX(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), MapManager::GetZoneAndAreaId(), Map::GetZoneId(), MapManager::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), Battleground::HandleAreaTrigger(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_midsummer_juggle_torch::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_sholazar_shoot_rjr::HandleDummy(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), mmaps_commandscript::HandleMmapLocCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleQueryCorpseLocation(), WorldSession::HandleRequestPartyMemberStatsOpcode(), misc_commandscript::HandleRespawnCommand(), spell_bem_wicked_strong_fetish::HandleScript(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), HasInLine(), npc_toc_enh_shaman::Initialize(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), GameObject::IsAtInteractDistance(), boss_netherspite::boss_netherspiteAI::IsBetween(), Map::IsGridLoaded(), WorldObject::IsInBetween(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange2d(), WorldObject::IsInRange3d(), Map::IsRemovalGrid(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), RectangleBoundary::IsWithinBoundaryArea(), CircleBoundary::IsWithinBoundaryArea(), EllipseBoundary::IsWithinBoundaryArea(), TriangleBoundary::IsWithinBoundaryArea(), ParallelogramBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), npc_doomfire_spirit::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_mimiron::boss_mimironAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_mandokir::JustEngagedWith(), boss_anubarak_trial::JustReachedHome(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::JustSummoned(), boss_thorim::boss_thorimAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), npc_maghar_captive::npc_maghar_captiveAI::JustSummoned(), npc_kurenai_captive::npc_kurenai_captiveAI::JustSummoned(), Movement::MoveSplineInit::Launch(), npc_frogger_trigger_naxx::LaunchSpline(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Creature::LoadFromDB(), Pet::LoadPetFromDB(), LogCommandUsage(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), MotionMaster::MoveFall(), npc_ashtongue_sorcerer::MoveInLineOfSight(), MotionMaster::MoveJump(), MotionMaster::MoveKnockbackFrom(), MotionMaster::MoveLand(), npc_omen::MovementInform(), MotionMaster::MoveSmoothPath(), MotionMaster::MoveTakeoff(), npc_unleashed_ballAI::MoveToNextPoint(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), go_shallow_grave::go_shallow_graveAI::OnGossipHello(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flightAI::OnGossipHello(), go_ethereum_prison::go_ethereum_prisonAI::OnGossipHello(), go_ethereum_stasis::go_ethereum_stasisAI::OnGossipHello(), go_veil_skith_cage::go_veil_skith_cageAI::OnGossipHello(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnPlayerEnter(), boss_flame_leviathan_overload_device::boss_flame_leviathan_overload_deviceAI::OnSpellClick(), at_malfurion_stormrage::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_nethekurse_exit::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnUnitDeath(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), operator<<(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), Map::PlayerRelocation(), BattlegroundIC::PostUpdateImpl(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), readCamera(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::ReadSaveDataMore(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), ObjectMgr::RemoveCreatureFromGrid(), Map::RemoveFromActive(), ObjectMgr::RemoveGameobjectFromGrid(), boss_prince_taldaram::RemovePrison(), Player::RepopAtGraveyard(), npc_firework::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::Reset(), Player::SavePositionInDB(), Creature::SaveRespawnTime(), GameObject::SaveRespawnTime(), Corpse::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Spell::SearchTargets(), PassengerController::SelectSpawnPoint(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), BattlegroundMgr::SendToBattleground(), Player::SetBattlegroundEntryPoint(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), spell_spawn_blood_pool::SetDest(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetGuidData(), Unit::SetHover(), boss_urom::SetPosition(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator< T >::SetTargetLocation(), npc_troll_volunteer::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_volazj::SpellHitTarget(), Movement::MoveSplineInit::Stop(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Player::SummonPet(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), Transport::Update(), npc_av_marshal_or_warmaster::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::UpdateAI(), boss_jindo::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), boss_azuregos::UpdateAI(), hyjalAI::UpdateAI(), boss_onyxia::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), boss_viscidus::boss_viscidusAI::UpdateAI(), npc_prince_taldaram_flame_sphere::UpdateAI(), npc_quel_delar_sword::npc_quel_delar_swordAI::UpdateAI(), npc_high_overlord_saurfang_icc::UpdateAI(), npc_muradin_bronzebeard_icc::UpdateAI(), npc_coldflame::UpdateAI(), npc_chaotic_rift::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), boss_thorim::boss_thorimAI::UpdateAI(), npc_minigob_manabonk::UpdateAI(), npc_venture_co_straggler::UpdateAI(), npc_crusade_recruit::UpdateAI(), boss_the_black_stalker::UpdateAI(), boss_wrath_scryer_soccothrates::UpdateAI(), npc_nether_drake::npc_nether_drakeAI::UpdateAI(), npc_colonel_jules::npc_colonel_julesAI::UpdateAI(), instance_ulduar::instance_ulduar_InstanceMapScript::UpdateDoorState(), PathGenerator::UpdateFilter(), Unit::UpdateHeight(), Unit::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), Cell::Visit(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), Map::VisitNearbyCellsOf(), Cell::VisitWorldObjects(), CreatureAI::VisualizeBoundary(), and npc_emily::WaypointReached().

◆ GetPositionY()

float Position::GetPositionY ( ) const
inline

Definition at line 80 of file Position.h.

Referenced by Battleground::_CheckSafePositions(), Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_SaveBGData(), Map::ActiveObjectsNearGrid(), Spell::AddCorpseTarget(), Battleground::AddCreature(), ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), Spell::AddGOTarget(), Battleground::AddObject(), Map::AddPlayerToMap(), Battleground::AddSpiritGuide(), Map::AddToActive(), Map::AddToMap(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), TotemAI::AttackStart(), CinematicMgr::BeginCinematic(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), npc_crok_scourgebane::CanAIAttack(), npc_argent_captainAI::CanAIAttack(), Player::CheckAreaExplore(), Spell::CheckCast(), Spell::CheckEffectTarget(), Map::CheckGridIntegrity(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), npc_frost_sphere::DamageTaken(), boss_viscidus::boss_viscidusAI::DamageTaken(), npc_argent_valiant::DamageTaken(), npc_toc_enh_shaman::DeployTotem(), boss_deathbringer_saurfang::DoAction(), boss_algalon_the_observer::DoAction(), boss_flame_leviathan::boss_flame_leviathanAI::DoAction(), npc_ominous_cloud::npc_ominous_cloudAI::DoAction(), Creature::DoFleeToGetAssistance(), tele_commandscript::DoNameTeleport(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), go_commandscript::DoTeleport(), Map::DynamicObjectRelocation(), Spell::EffectBind(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectLeap(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), BattlegroundIC::EventPlayerClickedOnFlag(), spell_freezing_cloud_area_right::FilterTargets(), spell_freezing_cloud_area_left::FilterTargets(), Map::GameObjectRelocation(), Map::GetAreaId(), MapManager::GetAreaId(), Battleground::GetClosestGraveyard(), BattlegroundAB::GetClosestGraveyard(), BattlegroundEY::GetClosestGraveyard(), BattlegroundIC::GetClosestGraveyard(), WorldObject::GetDistanceOrder(), WorldObject::GetFloorZ(), Map::GetHeight(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), WorldObject::GetNearPoint2D(), GameObjectModelOwnerImpl::GetPosition(), GetPositionOffsetTo(), npc_anubarak_anub_ar_assassin::GetRandomPositionAround(), GetRandomPositionOnCircle(), GetSinCos(), GameObject::GetStationaryY(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), MapManager::GetZoneAndAreaId(), Map::GetZoneId(), MapManager::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), Battleground::HandleAreaTrigger(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_midsummer_juggle_torch::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_sholazar_shoot_rjr::HandleDummy(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), mmaps_commandscript::HandleMmapLocCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleQueryCorpseLocation(), WorldSession::HandleRequestPartyMemberStatsOpcode(), misc_commandscript::HandleRespawnCommand(), spell_bem_wicked_strong_fetish::HandleScript(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), HasInLine(), npc_toc_enh_shaman::Initialize(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeTrollgoreInvaderSummoner(), GameObject::IsAtInteractDistance(), boss_netherspite::boss_netherspiteAI::IsBetween(), Map::IsGridLoaded(), WorldObject::IsInBetween(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange2d(), WorldObject::IsInRange3d(), Map::IsRemovalGrid(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), RectangleBoundary::IsWithinBoundaryArea(), CircleBoundary::IsWithinBoundaryArea(), EllipseBoundary::IsWithinBoundaryArea(), TriangleBoundary::IsWithinBoundaryArea(), ParallelogramBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), npc_doomfire_spirit::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_mimiron::boss_mimironAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_mandokir::JustEngagedWith(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::JustSummoned(), boss_thorim::boss_thorimAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), npc_maghar_captive::npc_maghar_captiveAI::JustSummoned(), npc_kurenai_captive::npc_kurenai_captiveAI::JustSummoned(), Movement::MoveSplineInit::Launch(), npc_frogger_trigger_naxx::LaunchSpline(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Creature::LoadFromDB(), Pet::LoadPetFromDB(), LogCommandUsage(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), MotionMaster::MoveFall(), boss_novos::MoveInLineOfSight(), npc_ashtongue_sorcerer::MoveInLineOfSight(), MotionMaster::MoveJump(), MotionMaster::MoveKnockbackFrom(), MotionMaster::MoveLand(), npc_omen::MovementInform(), MotionMaster::MoveSmoothPath(), MotionMaster::MoveTakeoff(), npc_onyx_flamecaller::MoveToGeneral(), npc_unleashed_ballAI::MoveToNextPoint(), go_shallow_grave::go_shallow_graveAI::OnGossipHello(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flightAI::OnGossipHello(), go_ethereum_prison::go_ethereum_prisonAI::OnGossipHello(), go_ethereum_stasis::go_ethereum_stasisAI::OnGossipHello(), go_veil_skith_cage::go_veil_skith_cageAI::OnGossipHello(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnPlayerEnter(), boss_flame_leviathan_overload_device::boss_flame_leviathan_overload_deviceAI::OnSpellClick(), at_malfurion_stormrage::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_nethekurse_exit::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnUnitDeath(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), operator<<(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), Map::PlayerRelocation(), BattlegroundIC::PostUpdateImpl(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), readCamera(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::ReadSaveDataMore(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), ObjectMgr::RemoveCreatureFromGrid(), Map::RemoveFromActive(), ObjectMgr::RemoveGameobjectFromGrid(), boss_prince_taldaram::RemovePrison(), Player::RepopAtGraveyard(), npc_zulian_prowler::Reset(), npc_firework::Reset(), npc_creature_generator_akama::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::Reset(), Player::SavePositionInDB(), Creature::SaveRespawnTime(), GameObject::SaveRespawnTime(), Corpse::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Spell::SearchTargets(), PassengerController::SelectSpawnPoint(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), BattlegroundMgr::SendToBattleground(), Player::SetBattlegroundEntryPoint(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), spell_spawn_blood_pool::SetDest(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetGuidData(), Unit::SetHover(), boss_urom::SetPosition(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator< T >::SetTargetLocation(), npc_troll_volunteer::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_volazj::SpellHitTarget(), Movement::MoveSplineInit::Stop(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Player::SummonPet(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), Transport::Update(), npc_av_marshal_or_warmaster::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::UpdateAI(), boss_jindo::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), boss_azuregos::UpdateAI(), hyjalAI::UpdateAI(), boss_onyxia::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), boss_viscidus::boss_viscidusAI::UpdateAI(), npc_prince_taldaram_flame_sphere::UpdateAI(), npc_quel_delar_sword::npc_quel_delar_swordAI::UpdateAI(), npc_high_overlord_saurfang_icc::UpdateAI(), npc_muradin_bronzebeard_icc::UpdateAI(), npc_coldflame::UpdateAI(), npc_chaotic_rift::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), npc_minigob_manabonk::UpdateAI(), npc_venture_co_straggler::UpdateAI(), npc_crusade_recruit::UpdateAI(), boss_the_black_stalker::UpdateAI(), boss_wrath_scryer_soccothrates::UpdateAI(), npc_nether_drake::npc_nether_drakeAI::UpdateAI(), npc_colonel_jules::npc_colonel_julesAI::UpdateAI(), PathGenerator::UpdateFilter(), Unit::UpdateHeight(), Unit::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), Cell::Visit(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), Map::VisitNearbyCellsOf(), Cell::VisitWorldObjects(), CreatureAI::VisualizeBoundary(), and npc_emily::WaypointReached().

◆ GetPositionZ()

float Position::GetPositionZ ( ) const
inline

Definition at line 81 of file Position.h.

Referenced by Battleground::_CheckSafePositions(), Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_SaveBGData(), Spell::AddCorpseTarget(), Battleground::AddCreature(), Spell::AddGOTarget(), Battleground::AddObject(), Battleground::AddSpiritGuide(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), boss_urom::AttackStart(), Object::BuildMovementUpdate(), Transport::CalculatePassengerOffset(), Transport::CalculatePassengerPosition(), Player::CheckAreaExplore(), Spell::CheckCast(), Spell::CheckEffectTarget(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Transport::CreateNPCPassenger(), npc_frost_sphere::DamageTaken(), npc_argent_valiant::DamageTaken(), npc_kinetic_bomb::DoAction(), boss_deathbringer_saurfang::DoAction(), boss_malygos::DoAction(), boss_algalon_the_observer::DoAction(), boss_flame_leviathan::boss_flame_leviathanAI::DoAction(), npc_ominous_cloud::npc_ominous_cloudAI::DoAction(), Creature::DoFleeToGetAssistance(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), Spell::EffectBind(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectLeap(), Spell::EffectLeapBack(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), BattlegroundIC::EventPlayerClickedOnFlag(), Map::GetAreaId(), MapManager::GetAreaId(), Battleground::GetClosestGraveyard(), BattlegroundEY::GetClosestGraveyard(), WorldObject::GetDistanceOrder(), WorldObject::GetDistanceZ(), WorldObject::GetFloorZ(), Map::GetHeight(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), WorldObject::GetNearPoint(), GameObjectModelOwnerImpl::GetPosition(), GetPositionOffsetTo(), npc_anubarak_anub_ar_assassin::GetRandomPositionAround(), GetRandomPositionOnCircle(), GameObject::GetStationaryZ(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), MapManager::GetZoneAndAreaId(), Map::GetZoneId(), MapManager::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), spell_item_nitro_boosts_backfire::HandleApply(), Battleground::HandleAreaTrigger(), AuraEffect::HandleAuraFeatherFall(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_sholazar_shoot_rjr::HandleDummy(), spell_z_check::HandleEffectApply(), Player::HandleFall(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), misc_commandscript::HandleGPSCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), spell_hadronox_periodic_summon_template_AuraScript::HandlePeriodic(), spell_item_nitro_boosts_backfire::HandlePeriodicDummy(), WorldSession::HandleQueryCorpseLocation(), spell_bem_wicked_strong_fetish::HandleScript(), 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(), GameObject::IsAtInteractDistance(), GameObject::IsInRange(), WorldObject::IsInRange(), WorldObject::IsInRange3d(), PathGenerator::IsInvalidDestinationZ(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), ZRangeBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), IsWithinDoubleVerticalCylinder(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), npc_doomfire_spirit::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_mimiron::boss_mimironAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_mandokir::JustEngagedWith(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::JustSummoned(), boss_thorim::boss_thorimAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::JustSummoned(), npc_maghar_captive::npc_maghar_captiveAI::JustSummoned(), npc_kurenai_captive::npc_kurenai_captiveAI::JustSummoned(), Movement::MoveSplineInit::Launch(), npc_frogger_trigger_naxx::LaunchSpline(), Player::LoadFromDB(), Creature::LoadFromDB(), LogCommandUsage(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), instance_deadmines::instance_deadmines_InstanceMapScript::MoveCreatureInside(), MotionMaster::MoveFall(), npc_ashtongue_sorcerer::MoveInLineOfSight(), MotionMaster::MoveJump(), MotionMaster::MoveJumpTo(), MotionMaster::MoveKnockbackFrom(), MotionMaster::MoveLand(), npc_omen::MovementInform(), MotionMaster::MoveSmoothPath(), MotionMaster::MoveTakeoff(), npc_unleashed_ballAI::MoveToNextPoint(), go_shallow_grave::go_shallow_graveAI::OnGossipHello(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flightAI::OnGossipHello(), go_ethereum_prison::go_ethereum_prisonAI::OnGossipHello(), go_ethereum_stasis::go_ethereum_stasisAI::OnGossipHello(), go_veil_skith_cage::go_veil_skith_cageAI::OnGossipHello(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), spell_kaelthas_gravity_lapse_periodic::OnPeriodic(), at_malfurion_stormrage::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), RotfaceHeightCheck::operator()(), HeightPositionCheck::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), Trinity::HeightDifferenceCheck::operator()(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), BattlegroundIC::PostUpdateImpl(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), Player::RepopAtGraveyard(), boss_mandokir::Reset(), npc_firework::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::Reset(), Player::SavePositionInDB(), Corpse::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), PassengerController::SelectSpawnPoint(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendSpiritResurrect(), WorldSession::SendTaxiMenu(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), BattlegroundMgr::SendToBattleground(), Player::SetBattlegroundEntryPoint(), Unit::SetCanFly(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_illidan_cage_teleport::SetDest(), spell_vazruden_summon_vazruden::SetDest(), spell_spawn_blood_pool::SetDest(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetGuidData(), Unit::SetHover(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator< T >::SetTargetLocation(), npc_troll_volunteer::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_volazj::SpellHitTarget(), boss_urom::StartAttack(), Movement::MoveSplineInit::Stop(), go_wind_stone::go_wind_stoneAI::SummonNPC(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Player::TeleportTo(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), boss_priestess_delrissa::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), boss_arlokk::UpdateAI(), boss_jindo::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), boss_azuregos::UpdateAI(), boss_onyxia::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), boss_viscidus::boss_viscidusAI::UpdateAI(), npc_prince_taldaram_flame_sphere::UpdateAI(), npc_hadronox_foeAI::UpdateAI(), npc_high_overlord_saurfang_icc::UpdateAI(), npc_muradin_bronzebeard_icc::UpdateAI(), npc_coldflame::UpdateAI(), npc_chaotic_rift::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), npc_minigob_manabonk::UpdateAI(), npc_venture_co_straggler::UpdateAI(), npc_frostbrood_skytalon::UpdateAI(), npc_crusade_recruit::UpdateAI(), boss_illidan_stormrage::UpdateAI(), boss_wrath_scryer_soccothrates::UpdateAI(), npc_nether_drake::npc_nether_drakeAI::UpdateAI(), npc_colonel_jules::npc_colonel_julesAI::UpdateAI(), Player::UpdateFallInformationIfNeed(), PathGenerator::UpdateFilter(), Creature::UpdateMovementFlags(), Transport::UpdatePassengerPositions(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), CreatureAI::VisualizeBoundary(), hyjalAI::WaypointReached(), and npc_emily::WaypointReached().

◆ GetRelativeAngle() [1/3]

◆ GetRelativeAngle() [2/3]

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

Definition at line 140 of file Position.h.

◆ GetRelativeAngle() [3/3]

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

Definition at line 141 of file Position.h.

◆ GetSinCos()

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

Definition at line 67 of file Position.cpp.

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

Referenced by Unit::KnockbackFrom().

◆ HasInArc()

◆ HasInLine()

bool Position::HasInLine ( Position const *  pos,
float  objSize,
float  width 
) const

◆ IsInDist() [1/3]

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

◆ IsInDist() [2/3]

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

Definition at line 149 of file Position.h.

◆ IsInDist() [3/3]

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

Definition at line 150 of file Position.h.

◆ IsInDist2d() [1/2]

◆ IsInDist2d() [2/2]

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

Definition at line 146 of file Position.h.

◆ IsPositionValid()

◆ IsWithinBox()

bool Position::IsWithinBox ( Position const &  center,
float  xradius,
float  yradius,
float  zradius 
) const

Definition at line 86 of file Position.cpp.

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

Referenced by Player::IsInAreaTriggerRadius().

◆ IsWithinDoubleVerticalCylinder()

bool Position::IsWithinDoubleVerticalCylinder ( Position const *  center,
float  radius,
float  height 
) const

◆ NormalizeOrientation()

◆ operator==()

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

Definition at line 28 of file Position.cpp.

References m_orientation, m_positionX, m_positionY, and m_positionZ.

◆ PositionPackedXYZStream() [1/2]

Streamer< PackedXYZ > Position::PositionPackedXYZStream ( )
inline

Definition at line 95 of file Position.h.

◆ PositionPackedXYZStream() [2/2]

ConstStreamer< PackedXYZ > Position::PositionPackedXYZStream ( ) const
inline

Definition at line 96 of file Position.h.

◆ PositionXYStream() [1/2]

Streamer< XY > Position::PositionXYStream ( )
inline

Definition at line 89 of file Position.h.

◆ PositionXYStream() [2/2]

ConstStreamer< XY > Position::PositionXYStream ( ) const
inline

Definition at line 90 of file Position.h.

◆ PositionXYZOStream() [1/2]

Streamer< XYZO > Position::PositionXYZOStream ( )
inline

Definition at line 93 of file Position.h.

Referenced by operator<<(), operator>>(), and WorldPackets::Movement::NewWorld::Write().

◆ PositionXYZOStream() [2/2]

ConstStreamer< XYZO > Position::PositionXYZOStream ( ) const
inline

Definition at line 94 of file Position.h.

◆ PositionXYZStream() [1/2]

Streamer< XYZ > Position::PositionXYZStream ( )
inline

Definition at line 91 of file Position.h.

Referenced by SpellCastTargets::Read().

◆ PositionXYZStream() [2/2]

ConstStreamer< XYZ > Position::PositionXYZStream ( ) const
inline

Definition at line 92 of file Position.h.

◆ Relocate() [1/5]

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

Definition at line 66 of file Position.h.

Referenced by Unit::_ExitVehicle(), ObjectMgr::AddCreatureData(), ObjectMgr::AddGameObjectData(), boss_lord_marrowgar::boss_lord_marrowgar(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), Transport::Create(), GameObject::Create(), Player::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Map::CreatureRelocation(), Map::CreatureRespawnRelocation(), Transport::DelayedTeleportTransport(), ScriptedAI::DoTeleportTo(), Map::DynamicObjectRelocation(), Spell::EffectCreateTamedPet(), Spell::EffectResurrectPet(), VehicleJoinEvent::Execute(), GameObject::GameObject(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcTameCommand(), WorldSession::HandleUpdateProjectilePosition(), boss_felmyst::InitializeAI(), npc_coldflame::IsSummonedBy(), BattlegroundMgr::LoadBattlegroundTemplates(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatures(), Player::LoadFromDB(), Creature::LoadFromDB(), ObjectMgr::LoadGameObjects(), Pet::LoadPetFromDB(), ObjectMgr::LoadTempSummons(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), MovementInfo::MovementInfo(), npc_valkyr_shadowguard::MovementInform(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), instance_oculus::instance_oculus_InstanceMapScript::OnCreatureCreate(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), TaggedPosition< Tag >::operator=(), operator>>(), operator>>(), operator>>(), Map::PlayerRelocation(), SpellCastTargets::Read(), readCamera(), SpellDestination::Relocate(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), MovementInfo::TransportInfo::Reset(), npc_doom_blossom::Reset(), npc_dancing_flames::Reset(), Creature::SaveToDB(), GameObject::SaveToDB(), PlayerMenu::SendPointOfInterest(), Unit::SendTeleportPacket(), MapObject::SetNewCellPosition(), BattlefieldWG::SetupBattlefield(), SpellCastTargets::SpellCastTargets(), SpellDestination::SpellDestination(), SpellDestination::SpellDestination(), SpellDestination::SpellDestination(), SpellDestination::SpellDestination(), boss_malchezaar::boss_malchezaarAI::SummonInfernal(), Transport::SummonPassenger(), Player::SummonPet(), boss_twinemperorsAI::TeleportToMyBrother(), SpellCastTargets::Update(), boss_saviana_ragefire::UpdateAI(), boss_lord_marrowgar::UpdateAI(), boss_sindragosa::UpdateAI(), boss_illidan_stormrage::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), Unit::UpdateHeight(), Spell::UpdatePointers(), Transport::UpdatePosition(), WorldLocation::WorldRelocate(), WorldLocation::WorldRelocate(), WorldLocation::WorldRelocate(), and WorldLocation::WorldRelocate().

◆ Relocate() [2/5]

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

Definition at line 67 of file Position.h.

References Relocate().

Referenced by Relocate().

◆ Relocate() [3/5]

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

Definition at line 68 of file Position.h.

References Relocate().

Referenced by Relocate().

◆ Relocate() [4/5]

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

Definition at line 69 of file Position.h.

◆ Relocate() [5/5]

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

Definition at line 70 of file Position.h.

◆ RelocateOffset()

◆ SetOrientation()

◆ ToAbsoluteAngle()

float Position::ToAbsoluteAngle ( float  relAngle) const
inline

Definition at line 136 of file Position.h.

Referenced by ChaseMovementGenerator::Update(), and FollowMovementGenerator::Update().

◆ ToRelativeAngle()

float Position::ToRelativeAngle ( float  absAngle) const
inline

Definition at line 138 of file Position.h.

◆ ToString()

std::string Position::ToString ( ) const

Definition at line 149 of file Position.cpp.

References m_orientation, m_positionX, m_positionY, and m_positionZ.

Referenced by Player::_LoadActions(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBoundInstances(), Player::_LoadDailyQuestStatus(), Player::_LoadGlyphAuras(), Player::_LoadHomeBind(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMonthlyQuestStatus(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadSeasonalQuestStatus(), Player::_LoadSkills(), Player::_LoadWeeklyQuestStatus(), Player::_SaveInventory(), Player::_StoreItem(), Player::AddActionButton(), ObjectMgr::AddGameObjectData(), Player::AddItemToBuyBackSlot(), WorldObject::AddObjectToRemoveList(), Player::AddSpellMod(), Creature::AddToWorld(), Player::ApplyBaseModPctValue(), Player::ApplyEnchantment(), Player::ApplyEquipSpell(), Unit::AttackerStateUpdate(), Player::BindToInstance(), Player::BuildPlayerRepop(), Player::BuyItemFromVendorSlot(), Player::CanBankItem(), Player::CanEquipItem(), Player::CanStoreItems(), Player::CanUnequipItem(), Player::CanUseItem(), Player::CastItemCombatSpell(), WorldObject::CastSpell(), Player::CharmSpellInitialize(), Player::CheckAreaExplore(), Player::CleanupChannels(), Player::ContinueTaxiFlight(), Pet::CreateBaseAtCreature(), Player::DestroyConjuredItems(), Player::DestroyItem(), Player::DestroyItemCount(), Player::DestroyItemCount(), Player::DestroyZoneLimitedItem(), Player::DuelComplete(), Player::DurabilityRepair(), Player::EnvironmentalDamage(), Player::EquipItem(), Player::GetBaseModValue(), Player::GetCoordsMapAreaAndZoneString(), WorldLocation::GetDebugInfo(), Player::GetItemFromBuyBackSlot(), Player::GetTotalBaseModValue(), Player::GetXPRestBonus(), Player::HandleBaseModFlatValue(), debug_commandscript::HandleDebugTransportCommand(), WorldSession::HandleWorldTeleportOpcode(), Player::InitDisplayIds(), Player::IsActionButtonDataValid(), Player::LearnCustomSpells(), Corpse::LoadCorpseFromDB(), Creature::LoadCreaturesAddon(), Player::LoadFromDB(), Pet::LoadPetFromDB(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), Player::OnGossipSelect(), MovementInfo::OutDebug(), Unit::OutDebugInfo(), Player::PrepareGossipMenu(), Player::RemoveActionButton(), Unit::RemoveAllControlled(), Unit::RemoveCharmedBy(), GameObject::RemoveFromOwner(), Creature::RemoveFromWorld(), Player::RemoveFromWorld(), Player::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), Player::RemovePet(), Creature::Respawn(), Player::SatisfyQuestBreadcrumbQuest(), Player::SatisfyQuestClass(), Player::SatisfyQuestConditions(), Player::SatisfyQuestDependentBreadcrumbQuests(), Player::SatisfyQuestDependentPreviousQuests(), Player::SatisfyQuestExclusiveGroup(), Player::SatisfyQuestLevel(), Player::SatisfyQuestPreviousQuest(), Player::SatisfyQuestRace(), Player::SatisfyQuestReputation(), Player::SatisfyQuestSkill(), Player::SatisfyQuestStatus(), Player::SatisfyQuestTimed(), Creature::SelectNearestTargetInAttackDistance(), Player::SendLoot(), Unit::SendMeleeAttackStop(), BattlegroundMgr::SendToBattleground(), Unit::SetCharm(), Unit::SetCharmedBy(), Player::setDeathState(), Player::SetEquipmentSet(), Player::SetSkill(), Creature::SetTextRepeatId(), Player::SetViewpoint(), Player::SplitItem(), Player::StopCastingCharm(), Player::StoreNewItemInBestSlots(), WorldObject::SummonCreatureGroup(), Player::SwapItem(), Player::TeleportTo(), Creature::Update(), Player::Update(), EscortAI::UpdateAI(), Unit::UpdateCharmAI(), Player::UpdateCraftSkill(), Player::UpdateFishingSkill(), Player::UpdateGatherSkill(), Player::UpdateHomebindTime(), Player::UpdateItemDuration(), Player::UpdateSkillPro(), Player::UpdateVisibilityOf(), Player::UpdateVisibilityOf(), GameObject::Use(), Player::VehicleSpellInitialize(), Player::VisualizeItem(), and WorldObject::~WorldObject().

Member Data Documentation

◆ m_orientation

float Position::m_orientation
private

Definition at line 61 of file Position.h.

Referenced by IsPositionValid(), operator==(), and ToString().

◆ m_positionX

◆ m_positionY

◆ m_positionZ

float Position::m_positionZ

Definition at line 58 of file Position.h.

Referenced by CinematicMgr::BeginCinematic(), boss_malygos::DoAction(), CreatureAI::DoSummonFlyer(), Spell::EffectCharge(), Spell::EffectChargeDest(), GetExactDist(), GetExactDistSq(), GetPositionOffsetTo(), WorldObject::GetRandomPoint(), spell_malygos_random_portal::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), IsPositionValid(), npc_hive_zara_swarmer::JustAppeared(), boss_sara::boss_saraAI::JustSummoned(), spell_mimiron_magnetic_core_summon::ModDest(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), npc_wyrmrest_skytalon::PassengerBoarded(), SmartScript::ProcessAction(), RelocateOffset(), Creature::RemoveCorpse(), npc_doom_blossom::Reset(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), spell_spawn_blood_pool::SetDest(), HomeMovementGenerator< T >::SetTargetLocation(), ToString(), EscortAI::UpdateAI(), boss_saviana_ragefire::UpdateAI(), boss_sindragosa::UpdateAI(), npc_valkyr_shadowguard::UpdateAI(), boss_malygos::UpdateAI(), boss_razorscale::UpdateAI(), npc_frostbrood_skytalon::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), and Unit::UpdateSplinePosition().


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