![]() |
TrinityCore
|
#include <Position.h>
Inheritance diagram for Position:Classes | |
| struct | ConstStreamer |
| struct | Streamer |
Public Member Functions | |
| constexpr | Position () |
| constexpr | Position (float x, float y) |
| constexpr | Position (float x, float y, float z) |
| constexpr | Position (float x, float y, float z, float o) |
| bool | operator== (Position const &a) const |
| constexpr void | Relocate (float x, float y) |
| constexpr void | Relocate (float x, float y, float z) |
| constexpr void | Relocate (float x, float y, float z, float o) |
| constexpr void | Relocate (Position const &pos) |
| constexpr void | Relocate (Position const *pos) |
| void | RelocateOffset (Position const &offset) |
| constexpr void | SetOrientation (float orientation) |
| constexpr float | GetPositionX () const |
| constexpr float | GetPositionY () const |
| constexpr float | GetPositionZ () const |
| constexpr float | GetOrientation () const |
| constexpr void | GetPosition (float &x, float &y) const |
| constexpr void | GetPosition (float &x, float &y, float &z) const |
| constexpr void | GetPosition (float &x, float &y, float &z, float &o) const |
| constexpr 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 |
| constexpr float | GetExactDist2dSq (const float x, const float y) const |
| constexpr float | GetExactDist2dSq (Position const &pos) const |
| constexpr 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 |
| constexpr float | GetExactDistSq (float x, float y, float z) const |
| constexpr float | GetExactDistSq (Position const &pos) const |
| constexpr 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 |
| Position | GetPositionOffsetTo (Position const &endPos) 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 |
| constexpr bool | IsInDist2d (float x, float y, float dist) const |
| constexpr bool | IsInDist2d (Position const &pos, float dist) const |
| constexpr bool | IsInDist2d (Position const *pos, float dist) const |
| constexpr bool | IsInDist (float x, float y, float z, float dist) const |
| constexpr bool | IsInDist (Position const &pos, float dist) const |
| constexpr bool | IsInDist (Position const *pos, float dist) const |
| bool | IsWithinBox (Position const &boxOrigin, float length, float width, float height) const |
| bool | IsWithinVerticalCylinder (Position const &cylinderOrigin, float radius, float height, bool isDoubleVertical=false) const |
| bool | IsInPolygon2D (Position const &polygonOrigin, std::span< Position const > vertices) 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 |
Static Private Member Functions | |
| static constexpr float | NormalizeOrientationConstexprWrapper (float o) |
Private Attributes | |
| float | m_orientation |
Definition at line 29 of file Position.h.
|
inlineconstexpr |
Definition at line 31 of file Position.h.
Referenced by AreaTrigger::CalculateWorldPositionAndRotation(), WorldObject::GetHitSpherePointFor(), WorldObject::GetRandomPoint(), AreaTrigger::InitOrbit(), Unit::SendMoveKnockBack(), WorldObject::SendPlayOrphanSpellVisual(), and WorldObject::SendPlayOrphanSpellVisual().
|
inlineconstexpr |
Definition at line 34 of file Position.h.
|
inlineconstexpr |
Definition at line 37 of file Position.h.
|
inlineconstexpr |
Definition at line 40 of file Position.h.
|
inline |
Definition at line 136 of file Position.h.
Referenced by npc_argent_captainAI::DoAction(), Spell::EffectDistract(), Spell::EffectTeleUnitsFaceCaster(), spell_varos_energize_core_area_enemy::FilterTargets(), spell_varos_energize_core_area_entry::FilterTargets(), WorldObject::GetContactPoint(), WorldObject::GetHitSpherePointFor(), spell_rokmora_razor_shards::GetRandomRazorShardPosition(), misc_commandscript::HandleAppearCommand(), boss_felmyst::HandleFlightSequence(), spell_give_me_sight_beyond_sight_periodic::HandlePeriodic(), spell_mandokir_devastating_slam::HandleScript(), spell_aqusirr_surging_rush_selector::HandleScript(), spell_janalai_flame_breath::InitOrientation(), WorldObject::IsInBetween(), npc_coldflame::IsSummonedBy(), npc_meteor_strike_initial::IsSummonedBy(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro_hawk::IsSummonedBy(), boss_general_husam::JustSummoned(), boss_prince_keleseth_icc::JustSummoned(), boss_anduin_wrynn::JustSummoned(), Unit::KnockbackFrom(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), boss_shade_of_aran::boss_aranAI::MoveInLineOfSight(), go_ethereum_prison::go_ethereum_prisonAI::OnGossipHello(), go_ethereum_stasis::go_ethereum_stasisAI::OnGossipHello(), at_ymiron_the_fallen_king_bane::OnInitialize(), spell_anduin_wrynn_wicked_star_selector_AuraScript::OnRemove(), npc_dancing_flames::ReceiveEmote(), Spell::SelectImplicitDestDestTargets(), spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest(), spell_anduin_wrynn_fragment_of_hope::SetDest(), Movement::MoveSplineInit::SetFacing(), Unit::SetInFront(), boss_vazruden_the_herald::SpellHit(), Spell::SummonGuardian(), CreatureAI::TriggerAlert(), ChaseMovementGenerator::Update(), SimpleCharmedPlayerAI::UpdateAI(), boss_lockmaw::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), npc_prince_taldaram_flame_sphere::UpdateAI(), npc_frostbrood_skytalon::UpdateAI(), boss_illidan_stormrage::UpdateAI(), boss_kaelthas::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), hyjalAI::WaypointReached(), and Trinity::WorldObjectSpellLineTargetCheck::WorldObjectSpellLineTargetCheck().
|
inline |
Definition at line 142 of file Position.h.
References GetAbsoluteAngle(), m_positionX, and m_positionY.
Referenced by GetAbsoluteAngle().
|
inline |
Definition at line 143 of file Position.h.
References GetAbsoluteAngle().
Referenced by GetAbsoluteAngle().
|
inline |
Definition at line 129 of file Position.h.
Referenced by npc_arthas_stratholme::npc_arthas_stratholmeAI::AdvanceToState(), Spell::CalculateDelayMomentForDst(), WorldObject::CanDetectStealthOf(), Scripts::Pandaria::TheWanderingIsle::npc_tushui_huojin_trainee::DamageTaken(), boss_sindragosa::DoAction(), npc_spinestalker::DoAction(), npc_rimefang_icc::DoAction(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Scripts::EasternKingdoms::TwilightHighlands::JulakDoom::spell_julak_doom_black_breath::FilterTargets(), spell_pri_purge_the_wicked_dummy::FilterTargets(), WorldObject::GetDistance(), WorldObject::GetDistance(), WorldObject::GetDistance(), WorldObject::GetHitSpherePointFor(), GetUnitConditionVariable(), spell_dru_twin_moonfire::HandleEffectHit(), misc_commandscript::HandleGetDistanceCommand(), PointMovementGenerator::Initialize(), GameObject::IsAtInteractDistance(), FormationMovementGenerator::LaunchMovement(), MotionMaster::MoveJump(), at_ymiron_the_fallen_king_bane::OnInitialize(), npc_rimefang_icc::UpdateAI(), and npc_strangulate_vehicle::UpdateAI().
|
inline |
Definition at line 130 of file Position.h.
References GetExactDist(), m_positionX, m_positionY, and m_positionZ.
Referenced by GetExactDist().
|
inline |
|
inline |
Definition at line 117 of file Position.h.
Referenced by npc_arthas_stratholme::npc_arthas_stratholmeAI::CanAIAttack(), spell_marrowgar_coldflame_damage::CanBeAppliedOn(), spell_bronjahm_soulstorm_targeting::FilterTargets(), spell_omor_the_unscarred_orbital_strike_target::FilterTargets(), npc_arthas_teleport_visual::GetAI(), WorldObject::GetDistance2d(), WorldObject::GetDistance2d(), AreaTriggerShapeInfo::Polygon::GetMaxSearchRadius(), spell_midsummer_juggle_torch::HandleDummy(), spell_buru_egg_explosion::HandleDummy(), misc_commandscript::HandleGetDistanceCommand(), WorldSession::HandleMovementOpcode(), npc_commandscript::HandleNpcAddFormationCommand(), HasInLine(), WorldObject::IsInBetween(), MotionMaster::MoveCloserAndStop(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), Trinity::WorldObjectSpellTrajTargetCheck::operator()(), ExactDistanceCheck::operator()(), ExactDistanceCheck::operator()(), Spell::SelectImplicitTrajTargets(), npc_malformed_ooze::SpellHitTarget(), boss_gluth::UpdateAI(), npc_zombie_chow::UpdateAI(), and boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI().
|
inline |
Definition at line 118 of file Position.h.
References GetExactDist2d(), m_positionX, and m_positionY.
Referenced by GetExactDist2d().
|
inline |
Definition at line 119 of file Position.h.
References GetExactDist2d().
Referenced by GetExactDist2d().
|
inlineconstexpr |
Definition at line 108 of file Position.h.
Referenced by ObjectMgr::GetClosestGraveyardInZone(), boss_thorim::boss_thorimAI::GetTrashSpawnTriggers(), WorldObject::IsInBetween(), WorldObject::IsInRange2d(), ThunderingStormCheck::operator()(), npc_crate_helper::npc_crate_helperAI::ReplaceIfCloser(), boss_thorim::boss_thorimAI::UpdateAI(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), Trinity::MessageDistDelivererToHostile< PacketSender >::Visit(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), Trinity::MessageDistDelivererToHostile< PacketSender >::Visit(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), and Trinity::MessageDistDelivererToHostile< PacketSender >::Visit().
|
inlineconstexpr |
Definition at line 114 of file Position.h.
References GetExactDist2dSq(), m_positionX, and m_positionY.
Referenced by GetExactDist2dSq().
|
inlineconstexpr |
Definition at line 115 of file Position.h.
References GetExactDist2dSq().
Referenced by GetExactDist2dSq().
|
inlineconstexpr |
Definition at line 121 of file Position.h.
Referenced by Battleground::_CheckSafePositions(), Spell::CheckRange(), Player::ContinueTaxiFlight(), ObjectMgr::GetClosestGraveyardInZone(), GetUnitConditionVariable(), spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript::HandleScript(), WorldObject::IsInRange3d(), CircleBoundary::IsWithinBoundaryArea(), npc_hadronox_foeAI::UpdateAI(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), Trinity::MessageDistDeliverer< PacketSender >::Visit(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
|
inlineconstexpr |
Definition at line 126 of file Position.h.
References GetExactDistSq(), m_positionX, m_positionY, and m_positionZ.
Referenced by GetExactDistSq().
|
inlineconstexpr |
Definition at line 127 of file Position.h.
References GetExactDistSq().
Referenced by GetExactDistSq().
|
inlineconstexpr |
Definition at line 90 of file Position.h.
Referenced by Unit::_ExitVehicle(), Player::_LoadHomeBind(), Player::_SaveBGData(), Player::_SaveStoredAuraTeleportLocations(), Player::ActivateTaxiPathTo(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), BaseEntity::BuildMovementUpdate(), Map::ConvertCorpseToBones(), AreaTrigger::Create(), Creature::Create(), Corpse::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Garrison::Plot::CreateGameObject(), npc_argent_valiant::DamageTaken(), boss_deathbringer_saurfang::DoAction(), npc_argent_captainAI::DoAction(), npc_icc_nerubar_broodkeeper::DoAction(), boss_lord_stormsong::DoAction(), FlightPathMovementGenerator::DoFinalize(), FormationMovementGenerator::DoUpdate(), Spell::EffectBind(), Spell::EffectCreateTamedPet(), Spell::EffectDuel(), Spell::EffectJumpDest(), Spell::EffectResurrectPet(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectSummonPet(), Spell::EffectTeleportUnits(), Spell::EffectTeleportUnitsWithVisualLoadingScreen(), Spell::EffectTransmitted(), boss_gothik::EnterEvadeMode(), WorldObject::GetClosePoint(), GetPositionOffsetTo(), WorldObject::GetRandomPoint(), spell_rokmora_razor_shards::GetRandomRazorShardPosition(), GameObjectType::Transport::GetTransportOrientation(), Transport::GetTransportOrientation(), go_wg_vehicle_teleporter::GetValidVehicle(), misc_commandscript::HandleAppearCommand(), AuraEffect::HandleAuraActAsControlZone(), AuraEffect::HandleBattlegroundPlayerPosition(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), go_commandscript::HandleGoGridCommand(), go_commandscript::HandleGoZoneXYCommand(), group_commandscript::HandleGroupSummonCommand(), spell_creeping_rot_selector::HandleHit(), spell_sporecaller_zancha_volatile_pods_explosion::HandleHitTarget(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcTameCommand(), spell_give_me_sight_beyond_sight_periodic::HandlePeriodic(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), npc_crusade_recruit::Initialize(), DistractMovementGenerator::Initialize(), AreaTrigger::InitSplineOffsets(), AreaTrigger::InitSplines(), GameObject::IsInRange(), npc_coldflame::IsSummonedBy(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro_hawk::IsSummonedBy(), MapManager::IsValidMapCoord(), IsWithinBox(), npc_partygoer::JustAppeared(), npc_doomfire_spirit::JustAppeared(), npc_anduin_wrynn_anduin_hope::JustAppeared(), npc_priestess_alun_za_corrupted_gold::JustAppeared(), npc_blood_wave_stalker::JustAppeared(), boss_herod::JustDied(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_prince_keleseth_icc::JustSummoned(), boss_anduin_wrynn::JustSummoned(), Unit::KnockbackFrom(), Movement::MoveSplineInit::Launch(), Player::LoadFromDB(), ObjectMgr::LoadGameObjects(), lfg::LFGMgr::LoadLFGDungeons(), Pet::LoadPetFromDB(), npc_lockmaw_augh_boss::MovementInform(), boss_onyxia::MovementInform(), boss_slabhide::boss_slabhideAI::MovementInform(), npc_spinestalker::MovementInform(), npc_rimefang_icc::MovementInform(), npc_omen::MovementInform(), boss_lava_guard_gordoth::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(), WaypointMgr::MoveNode(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), MotionMaster::MoveSeekAssistanceDistract(), spell_the_lurker_below_spout_periodic::OnPeriodic(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), RelocateOffset(), Creature::RemoveCorpse(), boss_prince_taldaram::RemovePrison(), npc_feasting_valarjar::Reset(), npc_spectating_valarjar::Reset(), npc_firework::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), Player::SavePositionInDB(), Corpse::SaveToDB(), ComplaintTicket::SaveToDB(), SuggestionTicket::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::ScriptsProcess(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), WorldObject::SendPlayOrphanSpellVisual(), WorldObject::SendPlayOrphanSpellVisual(), Unit::SendTeleportPacket(), Player::SetBattlegroundEntryPoint(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), Player::SetHomebind(), Creature::SetSpellFocus(), HomeMovementGenerator< T >::SetTargetLocation(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), boss_ossirian::boss_ossirianAI::SpawnNextCrystal(), battleground_temple_of_kotmogu::SpawnOrb(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_volazj::SpellHitTarget(), boss_urom::StartAttack(), Movement::MoveSplineInit::Stop(), WorldObject::SummonCreature(), spell_janalai_flame_breath_aura::SummonFlamePatch(), WorldObject::SummonGameObject(), go_wind_stone::go_wind_stoneAI::SummonNPC(), lfg::LFGMgr::TeleportPlayer(), GameObjectType::Transport::Update(), FollowMovementGenerator::Update(), RotateMovementGenerator::Update(), SimpleCharmedPlayerAI::UpdateAI(), npc_frozen_mountaineer::npc_frozen_mountaineerAI::UpdateAI(), npc_redridge_huge_boulder::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::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(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), Scripts::Kalimdor::Durotar::npc_echo_isles_class_trainer< PitPos, QuestID >::UpdateAI(), boss_azhiccar::UpdateAI(), boss_devourer_of_souls::UpdateAI(), npc_coldflame::UpdateAI(), boss_varos::UpdateAI(), go_mammoth_trap::UpdateAI(), npc_minigob_manabonk::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), Unit::UpdateSplinePosition(), GameObject::Use(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue(), npc_bg_seething_shore_air_supplies_drop::WaypointPathEnded(), and npc_valkyr_of_odyn::WaypointPathEnded().
|
inlineconstexpr |
Definition at line 95 of file Position.h.
Referenced by Creature::AtEngage(), Creature::ExitVehicle(), WorldObject::GetFirstCollisionPosition(), WorldObject::GetHitSpherePointFor(), WorldObject::GetNearPosition(), WorldObject::GetRandomNearPosition(), GameObject::GetRespawnPosition(), WorldObject::IsWithinLOS(), WorldObject::IsWithinLOSInMap(), Unit::KnockbackFrom(), WorldObject::PlayObjectSound(), AreaTrigger::SearchUnitInBoundedPlane(), AreaTrigger::SearchUnitInBox(), AreaTrigger::SearchUnitInCylinder(), AreaTrigger::SearchUnitInDisk(), AreaTrigger::SearchUnitInPolygon(), Unit::SendPetDismissSound(), WorldObject::SendPlayOrphanSpellVisual(), WorldObject::SendPlayOrphanSpellVisual(), Creature::SummonGraveyardTeleporter(), Player::TeleportTo(), GameObject::UpdateCapturePoint(), AreaTrigger::UpdatePositionAndRotation(), and Player::UpdateQuestObjectiveProgress().
|
inlineconstexpr |
Definition at line 92 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(), Trinity::ChatPacketSender::ChatPacketSender(), Spell::CheckCast(), Vignettes::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), npc_felblood_kaelthas_phoenix::DamageTaken(), boss_high_inquisitor_whitemane::DamageTaken(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::npc_vereesa_windrunner_oztan_isle_private::DoAction(), npc_icc_nerubar_broodkeeper::DoAction(), npc_kelthuzad_guardian::DoAction(), boss_malygos::DoAction(), boss_anduin_wrynn::DoAction(), boss_edna::DoAction(), FormationMovementGenerator::DoUpdate(), Spell::EffectChangeRaidMarker(), Spell::EffectChargeDest(), Spell::EffectCreateAreaTrigger(), Spell::EffectCreateConversation(), Spell::EffectCreatePrivateConversation(), Spell::EffectCreatePrivateSceneObject(), Spell::EffectCreateSceneObject(), Spell::EffectKnockBack(), Spell::EffectLeapBack(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectSummonType(), Spell::EffectTransmitted(), CoolestFriendBaseAI::EnterEvadeMode(), YmironSoulSiphonVisual::Execute(), spell_the_candle_king_darkflame_pickaxe_cast::FilterTargets(), spell_edna_refracting_beam_instakill::FilterTargets(), ObjectMgr::GetClosestGraveyard(), HealingRain::GetHealingRainPosition(), WorldObject::GetRandomPoint(), spell_apothecary_lingering_fumes::HandleAfterCast(), AuraEffect::HandleAuraActAsControlZone(), AuraEffect::HandleBattlegroundPlayerPosition(), WorldSession::HandleBattlemasterHelloOpcode(), spell_elementium_spike_shield::spell_elementium_spike_shield_SpellScript::HandleBouncerSpikes(), spell_mana_devourer_energy_discharge::HandleCast(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), battleground_deephaul_ravine::HandleConsumeBuff(), debug_commandscript::HandleDebugBecomePersonalClone(), debug_commandscript::HandleDebugTransportCommand(), spell_warhead_detonate::HandleDummy(), spell_arena_dalaran_sewers_flush_knock_back_effect::HandleDummy(), spell_gen_spatial_rift::HandleDummy(), spell_pri_angelic_feather_trigger::HandleEffectDummy(), spell_pri_leap_of_faith_effect_trigger::HandleEffectDummy(), spell_pri_entropic_rift::HandleEffectHit(), spell_pal_light_hammer_periodic::HandleEffectPeriodic(), spell_pri_burning_vehemence::HandleEffectProc(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectMoveCommand(), go_commandscript::HandleGoOffsetCommand(), WorldSession::HandleGossipHelloOpcode(), spell_lord_stormsong_ancient_mindbender::HandleHit(), spell_freed_killcredit_set_them_free< CreatureId >::HandleHitTarget(), spell_lord_and_lady_waycrest_discordant_cadenza_selector::HandleHitTarget(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapPathCommand(), at_anduin_wrynn_empowered_wicked_star::HandleMovement(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcAddTempSpawnCommand(), spell_sapphiron_icebolt::HandlePeriodic(), WorldSession::HandlePlayerLogin(), spell_warl_cunning_cruelty::HandleProc(), spell_warl_shadow_invocation::HandleProc(), WorldSession::HandleQuestgiverHelloOpcode(), quest_scout_chopper::HandleQuestStatusChange(), spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript::HandleScript(), spell_validated_quest_accept_briarpatch_alliance::HandleScript(), spell_validated_quest_accept_briarpatch_horde::HandleScript(), spell_aqusirr_surging_rush_selector::HandleScript(), spell_rokmora_shatter::HandleShatter(), spell_halion_damage_aoe_summon::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_freya_iron_roots::spell_freya_iron_roots_SpellScript::HandleSummon(), spell_summon_battle_pet::HandleSummon(), spell_volkaal_rapid_decay::HandleToxicPool(), wp_commandscript::HandleWpModifyCommand(), WorldObject::IsInBetween(), npc_spirit_bomb::IsSummonedBy(), npc_akilzon_amani_kidnapper::IsSummonedBy(), npc_devout_follower::npc_devout_followerAI::IsSummonedBy(), npc_ruby_emerald_amber_drake::IsSummonedBy(), WorldObject::IsWithinLOSInMap(), npc_jayce_darkweaver_cryptic_hollow_private::JustAppeared(), npc_silverpine_skitterweb_matriarch::JustAppeared(), npc_doomfire_spirit::JustAppeared(), npc_husam_tolvir_land_mine::JustAppeared(), Scripts::Kalimdor::Durotar::npc_echo_isles_class_trainer< PitPos, QuestID >::JustAppeared(), npc_priestess_alun_za_corrupted_gold::JustAppeared(), boss_guarm::JustDied(), boss_headless_horseman::JustDied(), npc_frost_wyrm::npc_frost_wyrmAI::JustDied(), boss_flame_leviathan_safety_container::boss_flame_leviathan_safety_containerAI::JustDied(), npc_anduin_wrynn_lost_soul::JustDied(), npc_gargoyle::npc_gargoyleAI::JustDied(), npc_murloc_spearhunter_watershaper_higher_ground::JustEngagedWith(), npc_arthas_stratholme::npc_arthas_stratholmeAI::JustEngagedWith(), boss_anub_arak::JustEngagedWith(), boss_randolph_moloch::JustSummoned(), boss_general_husam::JustSummoned(), boss_prince_keleseth_icc::JustSummoned(), boss_prince_valanar_icc::JustSummoned(), FormationMovementGenerator::LaunchMovement(), spell_mimiron_magnetic_core_summon::ModDest(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), MotionMaster::MoveKnockbackFrom(), npc_seismic_shard::npc_seismic_shardAI::npc_seismic_shardAI(), spell_anduin_wrynn_lost_soul::OnApply(), spell_anduin_wrynn_severed_soul::OnApply(), spell_mage_alter_time_aura::OnApply(), SimpleCharmedPlayerAI::OnCharmed(), at_waycrest_manor_organ_missiles::OnCreate(), at_hun_binding_shot::OnCreate(), areatrigger_hun_tar_trap::OnCreate(), at_mage_flame_patch::OnCreate(), at_warl_bilescourge_bombers::OnCreate(), conversation_the_invasion_begins::OnCreate(), conversation_an_unlikely_informant::OnCreate(), conversation_the_new_classington_estate::OnCreate(), conversation_dawnspair_spire_to_ghostlands::OnCreate(), Scripts::EasternKingdoms::StormwindCity::conversation_start_council_tides_of_war::OnCreate(), Scripts::EasternKingdoms::StormwindCity::conversation_quest_ancient_curses_accept::OnCreate(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::conversation_vereesas_tale::OnCreate(), conversation_natalia_pearces_accept_precious_gems::OnCreate(), conversation_burden_of_proof_speak_with_constable::OnCreate(), conversation_cyrus_crestfall_shaking_hands::OnCreate(), Scripts::QuelThalas::Harandar::Chapter1::conversation_the_root_cause_open_portal::OnCreate(), Scripts::QuelThalas::Harandar::Chapter1::conversation_to_harathir_talk_to_kupaal::OnCreate(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnCreatureCreate(), battleground_deephaul_ravine::OnCreatureRemove(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::OnGameObjectCreate(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::npc_vereesa_windrunner_oztan_isle::OnGossipSelect(), npc_7th_legion_magus_sanctum_of_the_sages::OnGossipSelect(), at_orator_krix_vizk_doubt::OnInitialize(), at_anduin_wrynn_wicked_star::OnInitialize(), at_gen_spatial_rift::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), at_sporecaller_zancha_volatile_pod::OnInitialize(), spell_rokmora_razor_shards::OnPrecast(), npc_danica_the_reclaimer::OnQuestAccept(), npc_kayn_sunfury_ashtongue_intro::OnQuestAccept(), npc_jayce_darkweaver_cryptic_hollow::OnQuestAccept(), Scripts::EasternKingdoms::StormwindCity::npc_anduin_wrynn_nation_of_kultiras::OnQuestAccept(), npc_captain_garrick_beach::OnQuestAccept(), npc_warlord_grimaxe_beach::OnQuestAccept(), areatrigger_dh_generic_sigil< TriggerSpellId, TriggerSpellId2 >::OnRemove(), at_evo_emerald_blossom::OnRemove(), at_mage_meteor::OnRemove(), spell_cragmaw_larva_metamorphosis::OnRemove(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), scene_enter_the_illidari_ashtongue::OnSceneStart(), scene_enter_the_illidari_coilskar::OnSceneStart(), boss_flame_leviathan_overload_device::boss_flame_leviathan_overload_deviceAI::OnSpellClick(), at_hall_of_shadows_call_of_the_uncrowned_clone_milton::OnUnitEnter(), at_leymor_arcane_eruption::OnUnitEnter(), at_human_heritage_lions_pride_inn_basement_enter::OnUnitEnter(), Scripts::EasternKingdoms::StormwindCity::at_stormwind_keep_tides_of_war::OnUnitEnter(), at_azhiccar_devour_force::OnUnitEnter(), at_orator_conversation_intro< conversationEntry, data >::OnUnitEnter(), at_aqusirr_undertow::OnUnitEnter(), at_dh_shattered_souls< SpellId >::OnUnitEnter(), at_hun_binding_shot::OnUnitEnter(), areatrigger_hun_high_explosive_trap::OnUnitEnter(), areatrigger_hun_implosive_trap::OnUnitEnter(), areatrigger_hun_tar_trap_activate::OnUnitEnter(), at_rezan_pile_of_bones_spawn_raptor::OnUnitEnter(), at_kings_rest_trigger_intro_event_with_zul::OnUnitEnter(), at_hun_binding_shot::OnUnitExit(), areatrigger_mage_blizzard::OnUpdate(), areatrigger_pal_ashen_hallow::OnUpdate(), areatrigger_sha_earthquake::OnUpdate(), npc_wyrmrest_skytalon::PassengerBoarded(), npc_milos_gyro::npc_milos_gyro_AI::PassengerBoarded(), SmartAI::PausePath(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), spell_halion_twilight_phasing::Phase(), boss_anduin_wrynn::PhaseEvents(), SmartScript::ProcessAction(), 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(), areatrigger_pri_divine_star::ReturnToCaster(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), WorldSession::SendListInventory(), Unit::SendPlaySpellVisual(), spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest(), spell_spawn_blood_pool::SetDest(), spell_anduin_wrynn_fragment_of_hope::SetDest(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetGuidData(), FleeingMovementGenerator::SetTargetLocation(), BattlefieldWG::SetupBattlefield(), spell_sha_healing_rain_aura::SetVisualDummy(), npc_captain_garrick_q55879::SpellHit(), npc_warlord_grimaxe_q59942::SpellHit(), npc_azhiccar_intro_creature::SpellHit(), npc_sporecaller_zancha_musashitake::SpellHit(), boss_felmyst::SpellHit(), npc_malformed_ooze::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), spell_mardum_baleful_beaming_gaze_selector::SummonBeamingEye(), boss_victor_nefarius::SummonedCreatureDies(), boss_amanitar::SummonedCreatureDies(), spell_janalai_flame_breath_aura::SummonFlamePatch(), Spell::SummonGuardian(), boss_coren_direbrew::SummonSister(), BossAI::TeleportCheaters(), Player::TeleportTo(), ChaseMovementGenerator::Update(), FollowMovementGenerator::Update(), RotateMovementGenerator::Update(), npc_madrigosa::UpdateAI(), boss_felmyst::UpdateAI(), boss_kiljaeden::boss_kiljaedenAI::UpdateAI(), npc_silverpine_skitterweb_matriarch::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), npc_lockmaw_augh_add::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), boss_azhiccar::UpdateAI(), boss_high_priestess_azil::boss_high_priestess_azilAI::UpdateAI(), boss_slabhide::boss_slabhideAI::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(), TransportBase::UpdatePassengerPosition(), CreatureAI::VisualizeBoundary(), npc_bg_seething_shore_air_supplies_drop::WaypointPathEnded(), boss_headless_horseman::WaypointPathEnded(), and SmartAI::WaypointReached().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 47 of file Position.cpp.
References GetOrientation(), GetPositionX(), GetPositionY(), and GetPositionZ().
Referenced by AreaTrigger::CalculateLocalPositionAndRotation(), GameObjectType::Transport::GetPositionOffsetTo(), Transport::GetPositionOffsetTo(), Vehicle::GetPositionOffsetTo(), AreaTrigger::InitOrbit(), AreaTrigger::InitSplines(), and SpellDestination::Relocate().
Definition at line 61 of file Position.cpp.
References RelocateOffset().
Referenced by BuildingSpawnHelper(), AreaTrigger::CalculateWorldPositionAndRotation(), GameObjectType::Transport::GetPositionWithOffset(), Transport::GetPositionWithOffset(), Vehicle::GetPositionWithOffset(), AreaTrigger::InitSplines(), boss_mimiron::boss_mimironAI::JustDied(), MotionMaster::MoveKnockbackFrom(), npc_gunship_boarding_addAI::MovementInform(), SmartScript::ProcessAction(), Vehicle::RelocatePassengers(), Creature::RemoveCorpse(), battleground_strand_of_the_ancients::TeleportToEntrancePosition(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), npc_annhylde_the_caller::UpdateAI(), and GameObjectType::Transport::UpdatePassengerPositions().
|
inlineconstexpr |
Definition at line 87 of file Position.h.
Referenced by Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_LoadHomeBind(), Player::_SaveBGData(), Player::_SaveStoredAuraTeleportLocations(), Map::ActiveObjectsNearGrid(), Map::AddCorpse(), Spell::AddCorpseTarget(), instance_ulduar::instance_ulduar_InstanceMapScript::AddDoor(), Spell::AddGOTarget(), Map::AddPlayerToMap(), ObjectMgr::AddSpawnDataToGrid(), Map::AddToActive(), Map::AddToMap(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), spell_orator_krix_vizk_shadows_of_doubt_periodic::AfterRemove(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), BaseEntity::BuildMovementUpdate(), Player::CheckAreaExplore(), Spell::CheckCast(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), npc_bg_seething_shore_air_supply_ground_dummy::ConvertPosToPath(), AreaTrigger::Create(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Map::CreatureRespawnRelocation(), boss_temple_guardian_anhuur::DamageTaken(), 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(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), tele_commandscript::DoNameTeleport(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), go_commandscript::DoTeleport(), Spell::EffectBind(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), CometStormEvent::Execute(), YmironBanePrecastVisual::Execute(), npc_seismic_shard::npc_seismic_shardAI::FillPath(), Map::GameObjectRespawnRelocation(), OPvPCapturePointNA::GetAliveGuardsCount(), Map::GetAreaId(), TerrainMgr::GetAreaId(), TerrainInfo::GetAreaId(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetCreatureEntry(), BfGraveyard::GetDistance(), WorldObject::GetDistanceOrder(), WorldObject::GetFloorZ(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), Unit::GetMountCapability(), WorldObject::GetNearPoint2D(), GetPositionOffsetTo(), spell_waycrest_manor_wildfire::GetRandomPositionInRectangle(), Map::GetStaticHeight(), TerrainInfo::GetStaticHeight(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), TerrainMgr::GetZoneAndAreaId(), TerrainInfo::GetZoneAndAreaId(), Map::GetZoneId(), TerrainMgr::GetZoneId(), TerrainInfo::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), WorldSession::HandleActivateTaxiOpcode(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), AuraEffect::HandleCreateAreaTrigger(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_midsummer_juggle_torch::HandleDummy(), spell_sholazar_shoot_rjr::HandleDummy(), spell_garothi_cannon_chooser::HandleDummyEffect(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), go_commandscript::HandleGoGraveyardCommand(), misc_commandscript::HandleGPSCommand(), spell_creeping_rot_selector::HandleHit(), spell_azhiccar_devour_selector::HandleHitTarget(), spell_azhiccar_devour_intro_selector::HandleHitTarget(), spell_sporecaller_zancha_volatile_pods_explosion::HandleHitTarget(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapStatsCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleQueryCorpseLocation(), misc_commandscript::HandleRespawnCommand(), spell_bem_wicked_strong_fetish::HandleScript(), spell_priestess_alun_za_bubble::HandleScript(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), HasInLine(), npc_toc_enh_shaman::Initialize(), WorldPackets::Party::PartyMemberFullState::Initialize(), PointMovementGenerator::Initialize(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), AreaTrigger::InitSplineOffsets(), GameObject::IsAtInteractDistance(), boss_netherspite::boss_netherspiteAI::IsBetween(), Map::IsGridLoaded(), WorldObject::IsInBetween(), IsInPolygon2D(), GameObject::IsInRange(), WorldObject::IsInRange(), Map::IsRemovalGrid(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), RectangleBoundary::IsWithinBoundaryArea(), EllipseBoundary::IsWithinBoundaryArea(), TriangleBoundary::IsWithinBoundaryArea(), ParallelogramBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), Spell::IsWithinLOS(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), npc_amalgam_of_souls_restless_soul::JustAppeared(), npc_doomfire_spirit::JustAppeared(), npc_blood_wave_stalker::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_anubarak_trial::JustReachedHome(), boss_general_husam::JustSummoned(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::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(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), Player::LoadFromDB(), Creature::LoadFromDB(), ObjectMgr::LoadGameObjects(), lfg::LFGMgr::LoadLFGDungeons(), Pet::LoadPetFromDB(), ObjectMgr::LoadPointsOfInterest(), SpellMgr::LoadSpellTargetPositions(), LogCommandUsage(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), MotionMaster::MoveFall(), npc_ashtongue_sorcerer::MoveInLineOfSight(), npc_omen::MovementInform(), WaypointMgr::MoveNode(), WorldObject::MovePositionToFirstCollision(), MotionMaster::MoveTierTransition(), npc_unleashed_ballAI::MoveToNextPoint(), CinematicMgr::NextCinematicCamera(), 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(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_tunk_seismic_slam::OnInitialize(), at_orator_krix_vizk_doubt::OnInitialize(), at_dh_inner_demon::OnInitialize(), at_gen_spatial_rift::OnInitialize(), at_monk_song_of_chi_ji::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), at_sporecaller_zancha_volatile_pod::OnInitialize(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnPlayerEnter(), q56775_warming_up::OnQuestStatusChange(), spell_anduin_wrynn_wicked_star_selector_AuraScript::OnRemove(), 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(), Movement::MoveSplineInitFacingVisitor::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), operator<<(), operator<<(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), Map::PlayerRelocation(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), readCamera(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), Creature::RemoveCorpse(), Map::RemoveCorpse(), Map::RemoveFromActive(), boss_prince_taldaram::RemovePrison(), ObjectMgr::RemoveSpawnDataFromGrid(), Player::RepopAtGraveyard(), npc_twilight_flame_caller::npc_twilight_flame_callerAI::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(), Creature::SaveRespawnTime(), GameObject::SaveRespawnTime(), Corpse::SaveToDB(), BugTicket::SaveToDB(), ComplaintTicket::SaveToDB(), SuggestionTicket::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Spell::SearchTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), PassengerController::SelectSpawnPoint(), Spell::SelectSpellTargets(), Player::SendBindPointUpdate(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), 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(), Unit::SetFacingToPoint(), Player::SetHomebind(), Unit::SetHover(), boss_urom::SetPosition(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator::SetTargetLocation(), spell_ymiron_the_fallen_king_bane_periodic_AuraScript::SpawnBaneOrb(), 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(), boss_toc_champion_controller::SummonChampions(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Player::SummonPet(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Ticket::TeleportTo(), Transport::Update(), PointMovementGenerator::Update(), npc_av_marshal_or_warmaster::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_frozen_mountaineer::npc_frozen_mountaineerAI::UpdateAI(), npc_silverpine_fallen_human::UpdateAI(), npc_silverpine_orc_sea_dog_not_sick::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::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(), 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_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), boss_high_priestess_azil::boss_high_priestess_azilAI::UpdateAI(), boss_slabhide::boss_slabhideAI::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(), Creature::UpdateEntry(), Unit::UpdateHeight(), areatrigger_pri_entropic_rift::UpdateMovement(), Map::UpdatePersonalPhasesForPlayer(), AreaTrigger::UpdatePolygonVertices(), Unit::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), Cell::Visit(), Trinity::DelayedUnitRelocation::Visit(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), Map::VisitNearbyCellsOf(), Cell::VisitWorldObjects(), CreatureAI::VisualizeBoundary(), npc_emily::WaypointReached(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
|
inlineconstexpr |
Definition at line 88 of file Position.h.
Referenced by Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_LoadHomeBind(), Player::_SaveBGData(), Player::_SaveStoredAuraTeleportLocations(), Map::ActiveObjectsNearGrid(), Map::AddCorpse(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Map::AddPlayerToMap(), ObjectMgr::AddSpawnDataToGrid(), Map::AddToActive(), Map::AddToMap(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), spell_orator_krix_vizk_shadows_of_doubt_periodic::AfterRemove(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), BaseEntity::BuildMovementUpdate(), npc_crok_scourgebane::CanAIAttack(), npc_argent_captainAI::CanAIAttack(), Player::CheckAreaExplore(), Spell::CheckCast(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), npc_bg_seething_shore_air_supply_ground_dummy::ConvertPosToPath(), AreaTrigger::Create(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Map::CreatureRespawnRelocation(), 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(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), tele_commandscript::DoNameTeleport(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), go_commandscript::DoTeleport(), Spell::EffectBind(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), CometStormEvent::Execute(), YmironBanePrecastVisual::Execute(), npc_seismic_shard::npc_seismic_shardAI::FillPath(), spell_freezing_cloud_area_right::FilterTargets(), spell_freezing_cloud_area_left::FilterTargets(), Map::GameObjectRespawnRelocation(), OPvPCapturePointNA::GetAliveGuardsCount(), Map::GetAreaId(), TerrainMgr::GetAreaId(), TerrainInfo::GetAreaId(), BfGraveyard::GetDistance(), WorldObject::GetDistanceOrder(), WorldObject::GetFloorZ(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), Unit::GetMountCapability(), WorldObject::GetNearPoint2D(), GetPositionOffsetTo(), spell_waycrest_manor_wildfire::GetRandomPositionInRectangle(), Map::GetStaticHeight(), TerrainInfo::GetStaticHeight(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), TerrainMgr::GetZoneAndAreaId(), TerrainInfo::GetZoneAndAreaId(), Map::GetZoneId(), TerrainMgr::GetZoneId(), TerrainInfo::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), WorldSession::HandleActivateTaxiOpcode(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), AuraEffect::HandleCreateAreaTrigger(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_midsummer_juggle_torch::HandleDummy(), spell_sholazar_shoot_rjr::HandleDummy(), spell_garothi_cannon_chooser::HandleDummyEffect(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), go_commandscript::HandleGoGraveyardCommand(), misc_commandscript::HandleGPSCommand(), spell_creeping_rot_selector::HandleHit(), spell_azhiccar_devour_selector::HandleHitTarget(), spell_azhiccar_devour_intro_selector::HandleHitTarget(), spell_sporecaller_zancha_volatile_pods_explosion::HandleHitTarget(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapStatsCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), WorldSession::HandleQueryCorpseLocation(), misc_commandscript::HandleRespawnCommand(), spell_bem_wicked_strong_fetish::HandleScript(), spell_priestess_alun_za_bubble::HandleScript(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), HasInLine(), npc_toc_enh_shaman::Initialize(), WorldPackets::Party::PartyMemberFullState::Initialize(), PointMovementGenerator::Initialize(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeTrollgoreInvaderSummoner(), AreaTrigger::InitSplineOffsets(), GameObject::IsAtInteractDistance(), boss_netherspite::boss_netherspiteAI::IsBetween(), Map::IsGridLoaded(), WorldObject::IsInBetween(), IsInPolygon2D(), GameObject::IsInRange(), WorldObject::IsInRange(), Map::IsRemovalGrid(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), RectangleBoundary::IsWithinBoundaryArea(), EllipseBoundary::IsWithinBoundaryArea(), TriangleBoundary::IsWithinBoundaryArea(), ParallelogramBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), Spell::IsWithinLOS(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), npc_amalgam_of_souls_restless_soul::JustAppeared(), npc_doomfire_spirit::JustAppeared(), npc_blood_wave_stalker::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_general_husam::JustSummoned(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::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(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), Player::LoadFromDB(), Creature::LoadFromDB(), ObjectMgr::LoadGameObjects(), lfg::LFGMgr::LoadLFGDungeons(), Pet::LoadPetFromDB(), ObjectMgr::LoadPointsOfInterest(), SpellMgr::LoadSpellTargetPositions(), LogCommandUsage(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), MotionMaster::MoveFall(), boss_novos::MoveInLineOfSight(), npc_ashtongue_sorcerer::MoveInLineOfSight(), npc_omen::MovementInform(), WaypointMgr::MoveNode(), WorldObject::MovePositionToFirstCollision(), MotionMaster::MoveTierTransition(), npc_onyx_flamecaller::MoveToGeneral(), npc_unleashed_ballAI::MoveToNextPoint(), CinematicMgr::NextCinematicCamera(), 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(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_tunk_seismic_slam::OnInitialize(), at_orator_krix_vizk_doubt::OnInitialize(), at_dh_inner_demon::OnInitialize(), at_gen_spatial_rift::OnInitialize(), at_monk_song_of_chi_ji::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), at_sporecaller_zancha_volatile_pod::OnInitialize(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnPlayerEnter(), q56775_warming_up::OnQuestStatusChange(), spell_anduin_wrynn_wicked_star_selector_AuraScript::OnRemove(), 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(), Movement::MoveSplineInitFacingVisitor::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), operator<<(), operator<<(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), Map::PlayerRelocation(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), readCamera(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), Creature::RemoveCorpse(), Map::RemoveCorpse(), Map::RemoveFromActive(), boss_prince_taldaram::RemovePrison(), ObjectMgr::RemoveSpawnDataFromGrid(), Player::RepopAtGraveyard(), npc_twilight_flame_caller::npc_twilight_flame_callerAI::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(), BugTicket::SaveToDB(), ComplaintTicket::SaveToDB(), SuggestionTicket::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Spell::SearchTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), PassengerController::SelectSpawnPoint(), Spell::SelectSpellTargets(), Player::SendBindPointUpdate(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), 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(), Unit::SetFacingToPoint(), Player::SetHomebind(), Unit::SetHover(), boss_urom::SetPosition(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator::SetTargetLocation(), spell_ymiron_the_fallen_king_bane_periodic_AuraScript::SpawnBaneOrb(), 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(), boss_toc_champion_controller::SummonChampions(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Player::SummonPet(), Map::SwitchGridContainers(), lfg::LFGMgr::TeleportPlayer(), Ticket::TeleportTo(), Transport::Update(), PointMovementGenerator::Update(), npc_av_marshal_or_warmaster::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_frozen_mountaineer::npc_frozen_mountaineerAI::UpdateAI(), npc_silverpine_fallen_human::UpdateAI(), npc_silverpine_orc_sea_dog_not_sick::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::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(), 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_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), boss_high_priestess_azil::boss_high_priestess_azilAI::UpdateAI(), boss_slabhide::boss_slabhideAI::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(), Creature::UpdateEntry(), Unit::UpdateHeight(), areatrigger_pri_entropic_rift::UpdateMovement(), Map::UpdatePersonalPhasesForPlayer(), AreaTrigger::UpdatePolygonVertices(), Unit::UpdatePosition(), Transport::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), Cell::Visit(), Trinity::DelayedUnitRelocation::Visit(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), Map::VisitNearbyCellsOf(), Cell::VisitWorldObjects(), CreatureAI::VisualizeBoundary(), npc_emily::WaypointReached(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
|
inlineconstexpr |
Definition at line 89 of file Position.h.
Referenced by Unit::_ExitVehicle(), GameObject::_IsWithinDist(), Player::_LoadHomeBind(), Player::_SaveBGData(), Player::_SaveStoredAuraTeleportLocations(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), WorldObject::AddToWorld(), Spell::AddUnitTarget(), spell_orator_krix_vizk_shadows_of_doubt_periodic::AfterRemove(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), boss_urom::AttackStart(), BaseEntity::BuildMovementUpdate(), Player::CheckAreaExplore(), Spell::CheckCast(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), Map::ConvertCorpseToBones(), npc_bg_seething_shore_air_supply_ground_dummy::ConvertPosToPath(), Creature::Create(), Corpse::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), 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(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), Creature::DoFleeToGetAssistance(), FlightPathMovementGenerator::DoReset(), ScriptedAI::DoSpawnCreature(), Spell::EffectBind(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectDuel(), Spell::EffectLeapBack(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectStuck(), Spell::EffectTeleUnitsFaceCaster(), boss_gothik::EnterEvadeMode(), CometStormEvent::Execute(), YmironBanePrecastVisual::Execute(), npc_seismic_shard::npc_seismic_shardAI::FillPath(), Map::GetAreaId(), TerrainMgr::GetAreaId(), TerrainInfo::GetAreaId(), WorldObject::GetDistanceOrder(), WorldObject::GetDistanceZ(), WorldObject::GetFloorZ(), Map::GetHeight(), WorldObject::GetHitSpherePointFor(), WorldObject::GetHitSpherePointFor(), Unit::GetMountCapability(), WorldObject::GetNearPoint(), GetPositionOffsetTo(), spell_waycrest_manor_wildfire::GetRandomPositionInRectangle(), Map::GetStaticHeight(), TerrainInfo::GetStaticHeight(), go_wg_vehicle_teleporter::GetValidVehicle(), Map::GetZoneAndAreaId(), TerrainMgr::GetZoneAndAreaId(), TerrainInfo::GetZoneAndAreaId(), Map::GetZoneId(), TerrainMgr::GetZoneId(), TerrainInfo::GetZoneId(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), WorldSession::HandleActivateTaxiOpcode(), spell_item_nitro_boosts_backfire::HandleApply(), AuraEffect::HandleAuraFeatherFall(), WorldSession::HandleCharRaceOrFactionChangeCallback(), misc_commandscript::HandleComeToMeCommand(), AuraEffect::HandleCreateAreaTrigger(), debug_commandscript::HandleDebugNearGraveyard(), debug_commandscript::HandleDebugSendOpcodeCommand(), spell_sholazar_shoot_rjr::HandleDummy(), spell_garothi_cannon_chooser::HandleDummyEffect(), 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(), spell_creeping_rot_selector::HandleHit(), spell_azhiccar_devour_selector::HandleHitTarget(), spell_azhiccar_devour_intro_selector::HandleHitTarget(), spell_sporecaller_zancha_volatile_pods_explosion::HandleHitTarget(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListSpawnPointsCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), spell_hadronox_periodic_summon_template_AuraScript::HandlePeriodic(), spell_item_nitro_boosts_backfire::HandlePeriodicDummy(), spell_bg_seething_shore_rocket_parachute_ground_check::HandlePeriodicTrigger(), WorldSession::HandleQueryCorpseLocation(), spell_bem_wicked_strong_fetish::HandleScript(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleAddCommand(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), WorldPackets::Party::PartyMemberFullState::Initialize(), PointMovementGenerator::Initialize(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeNovosSummoner(), instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript::InitializeTrollgoreInvaderSummoner(), AreaTrigger::InitSplineOffsets(), GameObject::IsAtInteractDistance(), Player::IsInAreaTrigger(), GameObject::IsInRange(), WorldObject::IsInRange(), PathGenerator::IsInvalidDestinationZ(), npc_coldflame::IsSummonedBy(), npc_frostbrood_skytalon::IsSummonedBy(), MapManager::IsValidMapCoord(), ZRangeBoundary::IsWithinBoundaryArea(), IsWithinBox(), Unit::IsWithinCombatRange(), Spell::IsWithinLOS(), WorldObject::IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), IsWithinVerticalCylinder(), npc_amalgam_of_souls_restless_soul::JustAppeared(), npc_doomfire_spirit::JustAppeared(), npc_blood_wave_stalker::JustAppeared(), npc_restless_soul::npc_restless_soulAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_general_husam::JustSummoned(), boss_slad_ran::JustSummoned(), boss_prince_keleseth_icc::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(), lfg::LFGMgr::LoadLFGDungeons(), ObjectMgr::LoadPointsOfInterest(), SpellMgr::LoadSpellTargetPositions(), LogCommandUsage(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), CriteriaHandler::ModifierSatisfied(), MotionMaster::MoveCirclePath(), MotionMaster::MoveCloserAndStop(), MotionMaster::MoveFall(), npc_ashtongue_sorcerer::MoveInLineOfSight(), npc_omen::MovementInform(), WaypointMgr::MoveNode(), WorldObject::MovePositionToFirstCollision(), MotionMaster::MoveTierTransition(), 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(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_tunk_seismic_slam::OnInitialize(), at_orator_krix_vizk_doubt::OnInitialize(), at_dh_inner_demon::OnInitialize(), at_gen_spatial_rift::OnInitialize(), at_monk_song_of_chi_ji::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), at_sporecaller_zancha_volatile_pod::OnInitialize(), spell_kaelthas_gravity_lapse_periodic::OnPeriodic(), q56775_warming_up::OnQuestStatusChange(), spell_anduin_wrynn_wicked_star_selector_AuraScript::OnRemove(), at_malfurion_stormrage::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), RotfaceHeightCheck::operator()(), Movement::MoveSplineInitFacingVisitor::operator()(), HeightPositionCheck::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), Trinity::HeightDifferenceCheck::operator()(), operator<<(), operator<<(), operator<<(), operator<<(), npc_melee_hover_disk::PassengerBoarded(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), npc_dancing_flames::ReceiveEmote(), RelocateOffset(), Creature::RemoveCorpse(), Player::RepopAtGraveyard(), npc_valkyr_of_odyn::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(), ComplaintTicket::SaveToDB(), SuggestionTicket::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), AreaTrigger::SearchUnitInPolygon(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), PassengerController::SelectSpawnPoint(), Spell::SelectSpellTargets(), Player::SendBindPointUpdate(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendTaxiMenu(), WorldSession::SendTaxiStatus(), 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(), Unit::SetFacingToPoint(), Player::SetHomebind(), Unit::SetHover(), RandomMovementGenerator< T >::SetRandomLocation(), ConfusedMovementGenerator< T >::SetTargetLocation(), FleeingMovementGenerator::SetTargetLocation(), spell_ymiron_the_fallen_king_bane_periodic_AuraScript::SpawnBaneOrb(), 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(), Ticket::TeleportTo(), Player::TeleportTo(), PointMovementGenerator::Update(), 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(), npc_frozen_mountaineer::npc_frozen_mountaineerAI::UpdateAI(), npc_silverpine_fallen_human::UpdateAI(), npc_silverpine_orc_sea_dog_not_sick::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_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_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), boss_high_priestess_azil::boss_high_priestess_azilAI::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(), Creature::UpdateEntry(), Player::UpdateFallInformationIfNeed(), areatrigger_pri_entropic_rift::UpdateMovement(), Creature::UpdateMovementCapabilities(), TransportBase::UpdatePassengerPosition(), Unit::UpdatePosition(), Unit::UpdatePosition(), Player::UpdatePosition(), WorldObject::UpdatePositionData(), GameObject::Use(), CreatureAI::VisualizeBoundary(), hyjalAI::WaypointReached(), npc_emily::WaypointReached(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
|
inline |
Definition at line 147 of file Position.h.
Referenced by boss_high_inquisitor_whitemane::DamageTaken(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), npc_commandscript::HandleNpcAddFormationCommand(), HasInArc(), HasInLine(), PointMovementGenerator::Initialize(), npc_malacrass_blood_worm::IsSummonedBy(), FormationMovementGenerator::LaunchMovement(), MotionMaster::MoveKnockbackFrom(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_dh_inner_demon::OnInitialize(), PositionOkay(), Spell::SelectImplicitTrajTargets(), and FollowMovementGenerator::Update().
|
inline |
Definition at line 148 of file Position.h.
|
inline |
Definition at line 149 of file Position.h.
| bool Position::HasInArc | ( | float | arcangle, |
| Position const * | pos, | ||
| float | border = 2.0f |
||
| ) | const |
Definition at line 173 of file Position.cpp.
References GetRelativeAngle(), M_PI, and NormalizeOrientation().
Referenced by WorldObject::CanDetectStealthOf(), Spell::CheckRange(), Unit::DealMeleeDamage(), Unit::DoMeleeAttackIfReady(), boss_nightbane::boss_nightbaneAI::ExecuteEvent(), HasInLine(), WorldObject::isInBack(), Unit::isInBackInMap(), WorldObject::isInFront(), Unit::isInFrontInMap(), WorldObject::MagicSpellHitResult(), Unit::MeleeSpellHitResult(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), Unit::RollMeleeOutcomeAgainst(), and Spell::SearchChainTargets().
| bool Position::HasInLine | ( | Position const * | pos, |
| float | objSize, | ||
| float | width | ||
| ) | const |
Definition at line 192 of file Position.cpp.
References GetExactDist2d(), GetPositionX(), GetPositionY(), GetRelativeAngle(), HasInArc(), and M_PI.
Referenced by Trinity::WorldObjectSpellConeTargetCheck::operator()(), Trinity::WorldObjectSpellTrajTargetCheck::operator()(), and Trinity::WorldObjectSpellLineTargetCheck::operator()().
|
inlineconstexpr |
Definition at line 155 of file Position.h.
Referenced by WorldObject::_IsWithinDist(), Creature::CanCreatureAttack(), list_commandscript::HandleListRespawnsCommand(), GameObject::IsAtInteractDistance(), Player::IsInAreaTrigger(), Unit::IsWithinBoundaryRadius(), WorldObject::IsWithinDist3d(), WorldObject::IsWithinDist3d(), SpellTargetSelector::operator()(), PositionOkay(), AreaTrigger::SearchUnitInBoundedPlane(), Spell::SelectImplicitNearbyTargets(), and ChaseMovementGenerator::Update().
|
inlineconstexpr |
Definition at line 156 of file Position.h.
|
inlineconstexpr |
Definition at line 157 of file Position.h.
|
inlineconstexpr |
Definition at line 151 of file Position.h.
Referenced by WorldObject::_IsWithinDist(), Creature::CanCreatureAttack(), Spell::EffectTeleportUnits(), list_commandscript::HandleListSpawnPointsCommand(), WorldObject::IsWithinDist2d(), WorldObject::IsWithinDist2d(), IsWithinVerticalCylinder(), spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest(), and areatrigger_pri_entropic_rift::UpdateMovement().
|
inlineconstexpr |
Definition at line 152 of file Position.h.
|
inlineconstexpr |
Definition at line 153 of file Position.h.
| bool Position::IsInPolygon2D | ( | Position const & | polygonOrigin, |
| std::span< Position const > | vertices | ||
| ) | const |
Definition at line 104 of file Position.cpp.
References GetPositionX(), and GetPositionY().
Referenced by Player::IsInAreaTrigger(), PolygonBoundary::IsWithinBoundaryArea(), and AreaTrigger::SearchUnitInPolygon().
| bool Position::IsPositionValid | ( | ) | const |
Definition at line 42 of file Position.cpp.
References Trinity::IsValidMapCoord(), m_orientation, m_positionX, m_positionY, and m_positionZ.
Referenced by AreaTrigger::Create(), Creature::Create(), Corpse::Create(), Transport::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Pet::LoadPetFromDB(), CinematicMgr::NextCinematicCamera(), Player::SummonPet(), CinematicMgr::UpdateCinematicLocation(), WorldSession::ValidateMovementInfo(), Trinity::DelayedUnitRelocation::Visit(), and Map::VisitNearbyCellsOf().
| bool Position::IsWithinBox | ( | Position const & | boxOrigin, |
| float | length, | ||
| float | width, | ||
| float | height | ||
| ) | const |
Definition at line 68 of file Position.cpp.
References GetOrientation(), GetPositionX(), GetPositionY(), GetPositionZ(), and M_PI.
Referenced by Player::IsInAreaTrigger().
| bool Position::IsWithinVerticalCylinder | ( | Position const & | cylinderOrigin, |
| float | radius, | ||
| float | height, | ||
| bool | isDoubleVertical = false |
||
| ) | const |
Definition at line 96 of file Position.cpp.
References GetPositionZ(), and IsInDist2d().
Referenced by Player::IsInAreaTrigger(), Trinity::AnyFriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyGroupedUnitInObjectRangeCheck::operator()(), and Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()().
|
static |
Definition at line 207 of file Position.cpp.
References M_PI.
Referenced by Movement::MoveSpline::computePosition(), spell_give_me_sight_beyond_sight_periodic::HandlePeriodic(), HasInArc(), npc_meteor_strike_initial::IsSummonedBy(), npc_doomfire_spirit::JustAppeared(), ChaseAngle::LowerBound(), spell_ymiron_the_fallen_king_bane_periodic_AuraScript::OnAfterApply(), Movement::MoveSplineInit::SetFacing(), FollowMovementGenerator::Update(), RotateMovementGenerator::Update(), boss_varos::UpdateAI(), and ChaseAngle::UpperBound().
|
inlinestaticconstexprprivate |
Definition at line 173 of file Position.h.
References M_PI.
| bool Position::operator== | ( | Position const & | a | ) | const |
Definition at line 26 of file Position.cpp.
References m_orientation, m_positionX, m_positionY, and m_positionZ.
|
inline |
Definition at line 103 of file Position.h.
|
inline |
Definition at line 104 of file Position.h.
|
inline |
Definition at line 97 of file Position.h.
|
inline |
Definition at line 98 of file Position.h.
|
inline |
Definition at line 101 of file Position.h.
Referenced by BaseEntity::BuildMovementUpdate(), operator<<(), operator>>(), and operator>>().
|
inline |
Definition at line 102 of file Position.h.
|
inline |
Definition at line 99 of file Position.h.
|
inline |
Definition at line 100 of file Position.h.
|
inlineconstexpr |
Definition at line 74 of file Position.h.
Referenced by Unit::_ExitVehicle(), Map::AreaTriggerRelocation(), boss_lord_marrowgar::boss_lord_marrowgar(), BuildingSpawnHelper(), Map::ConvertCorpseToBones(), AreaTrigger::Create(), Creature::Create(), Corpse::Create(), Transport::Create(), Player::Create(), SceneObject::Create(), Conversation::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Map::CreatureRelocation(), Map::CreatureRespawnRelocation(), ScriptedAI::DoTeleportTo(), Map::DynamicObjectRelocation(), Spell::EffectCreateTamedPet(), Spell::EffectLeap(), Spell::EffectResurrectPet(), Spell::EffectTeleUnitsFaceCaster(), VehicleJoinEvent::Execute(), GameObject::GameObject(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcTameCommand(), spell_dracthyr_login::HandleTeleport(), boss_ymiron_the_fallen_king::InitializeAI(), boss_felmyst::InitializeAI(), npc_lockmaw_augh_boss::InitializeAI(), boss_lava_guard_gordoth::InitializeAI(), boss_edna::InitializeAI(), boss_the_golden_serpent::InitializeAI(), npc_coldflame::IsSummonedBy(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), AreaTriggerDataStore::LoadAreaTriggerTemplates(), Corpse::LoadCorpseFromDB(), ObjectMgr::LoadCreatures(), Player::LoadFromDB(), Creature::LoadFromDB(), ObjectMgr::LoadGameObjects(), Pet::LoadPetFromDB(), GarrisonMgr::LoadPlotFinalizeGOInfo(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadTempSummons(), Map::MoveAllAreaTriggersInMoveList(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), 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>>(), Map::PlayerRelocation(), 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(), Unit::SendTeleportPacket(), MapObject::SetNewCellPosition(), AreaTrigger::SetOverrideCurve(), BattlefieldTB::SetupBattlefield(), BattlefieldWG::SetupBattlefield(), SpellCastTargets::SpellCastTargets(), boss_malchezaar::boss_malchezaarAI::SummonInfernal(), Transport::SummonPassenger(), Player::SummonPet(), battleground_strand_of_the_ancients::TeleportToEntrancePosition(), 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(), and Transport::UpdatePosition().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 77 of file Position.h.
|
inlineconstexpr |
Definition at line 78 of file Position.h.
| void Position::RelocateOffset | ( | Position const & | offset | ) |
Definition at line 34 of file Position.cpp.
References GetOrientation(), GetPositionX(), GetPositionY(), GetPositionZ(), m_positionX, m_positionY, m_positionZ, and SetOrientation().
Referenced by Unit::_ExitVehicle(), GetPositionWithOffset(), go_commandscript::HandleGoOffsetCommand(), spell_the_lich_king_summon_into_air::ModDestHeight(), SpellDestination::Relocate(), spell_igb_gunship_fall_teleport::RelocateDest(), SpellDestination::RelocateOffset(), spell_the_lich_king_harvest_souls_teleport::RelocateTransportOffset(), SpellCastTargets::Update(), npc_ruby_emerald_amber_drake::UpdateAI(), and Spell::UpdatePointers().
|
inlineconstexpr |
Definition at line 82 of file Position.h.
Referenced by Unit::_ExitVehicle(), boss_lord_stormsong::DoAction(), gobject_commandscript::HandleGameObjectMoveCommand(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), WorldSession::HandleMovementOpcode(), spell_mandokir_devastating_slam::HandleScript(), npc_coldflame::IsSummonedBy(), npc_meteor_strike_initial::IsSummonedBy(), boss_herod::JustDied(), spell_alysrazor_turn_monstrosity::spell_alysrazor_turn_monstrosity_SpellScript::KnockBarrage(), BugTicket::LoadFromDB(), ComplaintTicket::LoadFromDB(), SuggestionTicket::LoadFromDB(), SpellMgr::LoadSpellTargetPositions(), npc_image_of_medivh::npc_image_of_medivhAI::MovementInform(), WorldObject::MovePosition(), npc_giant_boar_vehicle_q55879::npc_giant_boar_vehicle_q55879(), at_anduin_wrynn_wicked_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), operator>>(), npc_wyrmrest_skytalon::PassengerBoarded(), readCamera(), RelocateOffset(), npc_firework::Reset(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetDestTargets(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::SetData(), Unit::SetInFront(), SpellCastTargets::SpellCastTargets(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro::SpellHitTarget(), npc_image_of_medivh::npc_image_of_medivhAI::StartEvent(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), boss_lockmaw::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), npc_ruby_emerald_amber_drake::UpdateAI(), boss_illidan_stormrage::UpdateAI(), Unit::UpdateOrientation(), spell_hun_bleak_powder_areatrigger_summon::UpdateOrientation(), Transport::UpdatePosition(), AreaTrigger::UpdatePositionAndRotation(), Unit::UpdateSplinePosition(), and Trinity::WorldObjectSpellLineTargetCheck::WorldObjectSpellLineTargetCheck().
|
inline |
Definition at line 144 of file Position.h.
Referenced by ChaseMovementGenerator::Update(), and FollowMovementGenerator::Update().
|
inline |
Definition at line 146 of file Position.h.
| std::string Position::ToString | ( | ) | const |
Definition at line 202 of file Position.cpp.
References Trinity::StringFormat().
Referenced by Player::_LoadActions(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadCUFProfiles(), Player::_LoadDailyQuestStatus(), Player::_LoadHomeBind(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMonthlyQuestStatus(), Player::_LoadQuestStatus(), Player::_LoadQuestStatusObjectives(), Player::_LoadQuestStatusObjectiveSpawnTrackings(), Player::_LoadSeasonalQuestStatus(), Player::_LoadSkills(), Player::_LoadStoredAuraTeleportLocations(), Player::_LoadWeeklyQuestStatus(), Player::_SaveInventory(), Player::_StoreItem(), Player::AddActionButton(), Player::AddItemToBuyBackSlot(), WorldObject::AddObjectToRemoveList(), Player::AddSpellMod(), Player::ApplyBaseModPctValue(), Player::ApplyEnchantment(), Player::ApplyEquipSpell(), Unit::AttackerStateUpdate(), Player::BuildPlayerRepop(), Player::BuyCurrencyFromVendorSlot(), Player::BuyItemFromVendorSlot(), Player::CanBankItem(), Player::CanEquipItem(), Player::CanStoreItems(), Player::CanUnequipItem(), Player::CanUseItem(), Player::CastItemCombatSpell(), 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::GetItemFromBuyBackSlot(), Player::GetQuestDialogStatus(), Player::GetQuestSlotObjectiveData(), Player::GetTotalBaseModValue(), Player::HandleBaseModFlatValue(), debug_commandscript::HandleDebugTransportCommand(), Player::InitDisplayIds(), Player::IsActionButtonDataValid(), Player::IsQuestObjectiveComplete(), Player::LearnCustomSpells(), Corpse::LoadCorpseFromDB(), Creature::LoadCreaturesAddon(), Player::LoadFromDB(), Pet::LoadPetFromDB(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), Player::OnGossipSelect(), Unit::OutDebugInfo(), Player::RemoveActionButton(), Unit::RemoveAllControlled(), Unit::RemoveCharmedBy(), GameObject::RemoveFromOwner(), Player::RemoveFromWorld(), Player::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), Player::RemovePet(), Creature::Respawn(), Player::SatisfyQuestBreadcrumbQuest(), Player::SatisfyQuestClass(), Player::SatisfyQuestConditions(), Player::SatisfyQuestDependentBreadcrumbQuests(), Player::SatisfyQuestDependentPreviousQuests(), Player::SatisfyQuestExclusiveGroup(), Player::SatisfyQuestExpansion(), Player::SatisfyQuestMaxLevel(), Player::SatisfyQuestMaxReputation(), Player::SatisfyQuestMinLevel(), Player::SatisfyQuestMinReputation(), Player::SatisfyQuestPreviousQuest(), Player::SatisfyQuestRace(), Player::SatisfyQuestSkill(), Player::SatisfyQuestStatus(), Player::SatisfyQuestTimed(), Creature::SelectNearestTargetInAttackDistance(), Player::SendLoot(), Unit::SendMeleeAttackStop(), Player::SendTalentsInfoData(), Unit::SetCharm(), Unit::SetCharmedBy(), Player::setDeathState(), Player::SetEquipmentSet(), Player::SetQuestObjectiveData(), Player::SetSkill(), Creature::SetTextRepeatId(), Player::SetViewpoint(), Player::SplitItem(), Player::StopCastingCharm(), Player::StoreNewItemInBestSlots(), Player::SwapItem(), Player::TeleportTo(), Creature::Update(), Player::Update(), 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().
|
private |
Definition at line 69 of file Position.h.
Referenced by IsPositionValid(), and operator==().
| float Position::m_positionX |
Definition at line 64 of file Position.h.
Referenced by spell_the_lich_king_valkyr_charge::ChargeDest(), npc_chained_spirit::DoAction(), boss_malygos::DoAction(), GetAbsoluteAngle(), GetExactDist(), GetExactDist2d(), GetExactDist2dSq(), GetExactDistSq(), spell_malygos_random_portal::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), IsPositionValid(), npc_coldflame::IsSummonedBy(), boss_general_husam::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), BugTicket::LoadFromDB(), ComplaintTicket::LoadFromDB(), SuggestionTicket::LoadFromDB(), Map::MoveAllAreaTriggersInMoveList(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), npc_gunship_boarding_addAI::MovementInform(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), CinematicMgr::NextCinematicCamera(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), operator>>(), operator>>(), operator>>(), npc_wyrmrest_skytalon::PassengerBoarded(), RelocateOffset(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), WorldObject::SendPlayOrphanSpellVisual(), WorldObject::SendPlayOrphanSpellVisual(), HomeMovementGenerator< T >::SetTargetLocation(), boss_malygos::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), npc_frostbrood_skytalon::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), AreaTrigger::UpdatePolygonVertices(), Unit::UpdateSplinePosition(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
| float Position::m_positionY |
Definition at line 65 of file Position.h.
Referenced by spell_the_lich_king_valkyr_charge::ChargeDest(), npc_chained_spirit::DoAction(), boss_malygos::DoAction(), GetAbsoluteAngle(), GetExactDist(), GetExactDist2d(), GetExactDist2dSq(), GetExactDistSq(), spell_malygos_random_portal::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), IsPositionValid(), npc_coldflame::IsSummonedBy(), boss_general_husam::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), BugTicket::LoadFromDB(), ComplaintTicket::LoadFromDB(), SuggestionTicket::LoadFromDB(), Map::MoveAllAreaTriggersInMoveList(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), npc_gunship_boarding_addAI::MovementInform(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), CinematicMgr::NextCinematicCamera(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), operator>>(), operator>>(), operator>>(), npc_wyrmrest_skytalon::PassengerBoarded(), RelocateOffset(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), WorldObject::SendPlayOrphanSpellVisual(), WorldObject::SendPlayOrphanSpellVisual(), HomeMovementGenerator< T >::SetTargetLocation(), boss_malygos::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), npc_frostbrood_skytalon::UpdateAI(), CinematicMgr::UpdateCinematicLocation(), AreaTrigger::UpdatePolygonVertices(), Unit::UpdateSplinePosition(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().
| float Position::m_positionZ |
Definition at line 66 of file Position.h.
Referenced by npc_chained_spirit::DoAction(), boss_malygos::DoAction(), CreatureAI::DoSummonFlyer(), GetExactDist(), GetExactDistSq(), spell_malygos_random_portal::HandleDummy(), Player::HandleFall(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), spell_priestess_alun_za_bubble::HandleScript(), IsPositionValid(), npc_hive_zara_swarmer::JustAppeared(), boss_sara::boss_saraAI::JustSummoned(), BugTicket::LoadFromDB(), ComplaintTicket::LoadFromDB(), SuggestionTicket::LoadFromDB(), spell_mimiron_magnetic_core_summon::ModDest(), spell_nether_dragon_essence_2::spell_nether_dragon_essence_2_SpellScript::ModDestHeight(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MovePoint(), WorldObject::MovePosition(), WorldObject::MovePositionToFirstCollision(), CinematicMgr::NextCinematicCamera(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle(), operator==(), operator>>(), operator>>(), npc_wyrmrest_skytalon::PassengerBoarded(), RelocateOffset(), Creature::RemoveCorpse(), npc_doom_blossom::Reset(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTrajTargets(), PassengerController::SelectSpawnPoint(), WorldObject::SendPlayOrphanSpellVisual(), WorldObject::SendPlayOrphanSpellVisual(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), spell_spawn_blood_pool::SetDest(), HomeMovementGenerator< T >::SetTargetLocation(), spell_mardum_baleful_beaming_gaze_selector::SummonBeamingEye(), boss_high_priestess_azil::boss_high_priestess_azilAI::UpdateAI(), boss_slabhide::boss_slabhideAI::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(), Unit::UpdateSplinePosition(), and WorldPackets::Movement::CommonMovement::WriteMovementForceWithDirection().