![]() |
TrinityCore
|
#include <SpellDefines.h>
Public Member Functions | |
| SpellDestination () | |
| SpellDestination (float x, float y, float z, float orientation=0.0f, uint32 mapId=MAPID_INVALID) | |
| SpellDestination (Position const &pos) | |
| SpellDestination (WorldLocation const &loc) | |
| SpellDestination (WorldObject const &wObj) | |
| void | Relocate (Position const &pos) |
| void | RelocateOffset (Position const &offset) |
Public Attributes | |
| WorldLocation | _position |
| ObjectGuid | _transportGUID |
| Position | _transportOffset |
Definition at line 355 of file SpellDefines.h.
|
inline |
Definition at line 357 of file SpellDefines.h.
|
inline |
Definition at line 358 of file SpellDefines.h.
|
inline |
Definition at line 359 of file SpellDefines.h.
|
inline |
Definition at line 360 of file SpellDefines.h.
| SpellDestination::SpellDestination | ( | WorldObject const & | wObj | ) |
| void SpellDestination::Relocate | ( | Position const & | pos | ) |
Definition at line 82 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, Position::GetPositionOffsetTo(), ObjectGuid::IsEmpty(), Position::Relocate(), and Position::RelocateOffset().
Referenced by spell_mimiron_magnetic_core_summon::ModDest(), spell_grizzly_hills_escape_from_silverbrook_summon_worgen::ModDest(), spell_stalactite_mod_dest_height::spell_stalactite_mod_dest_height_SpellScript::ModDestHeight(), SpellCastTargets::ModDst(), SpellCastTargets::ModSrc(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), spell_headless_horseman_wisp_teleport::SetDest(), Scripts::Kalimdor::Durotar::spell_durotar_summon_zuni::SetDest(), spell_ulgrax_the_devourer_swallowing_darkness_teleport::SetDest(), spell_aqusirr_requiem_of_the_abyss::SetDest(), spell_aqusirr_erupting_waters_split_1::SetDest(), spell_aqusirr_erupting_waters_split_2::SetDest(), spell_aqusirr_erupting_waters_split_3::SetDest(), spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest(), spell_illidan_akama_teleport::SetDest(), spell_mother_shahraz_fatal_attraction::SetDest(), spell_spawn_blood_pool::SetDest(), spell_dracthyr_summon_dervishian::SetDest(), Scripts::Pandaria::TheWanderingIsle::spell_fire_crash::SetDest(), spell_anduin_wrynn_fragment_of_hope::SetDest(), spell_edna_skarden_spawn_rp::SetDest(), spell_priestess_alun_za_ritual::SetDest(), spell_priestess_alun_za_spirit_of_gold::SetDest(), spell_sporecaller_zancha_boundless_rot::SetDest(), spell_vp_slipstream_shortcut::SetDestination(), and spell_hun_bleak_powder_areatrigger_summon::UpdateOrientation().
| void SpellDestination::RelocateOffset | ( | Position const & | offset | ) |
Definition at line 90 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, ObjectGuid::IsEmpty(), and Position::RelocateOffset().
Referenced by spell_nether_dragon_essence_2::spell_nether_dragon_essence_2_SpellScript::ModDestHeight(), spell_s81028_s80650_stalactite::spell_s81028_s80650_stalactite_SpellScript::ModDestHeight(), spell_random_lightning_visual_effect::ModDestHeight(), spell_algalon_cosmic_smash::ModDestHeight(), spell_lord_stormsong_release_void_missile::ModDestHeight(), spell_icc_soul_missile::RelocateDest(), spell_item_titanium_seal_of_dalaran_toss::RelocateHeight(), spell_ruby_life_pools_storm_infusion::SetDest(), spell_akilzon_teleport_self::SetDest(), spell_anraphet_omega_stance_summon::SetDest(), spell_waycrest_manor_organ_missiles::SetDest(), spell_prince_taldaram_flame_sphere_summon::SetDest(), spell_valanar_kinetic_bomb::SetDest(), spell_wyrmrest_skytalon_summon_red_dragon_buddy::SetDest(), spell_oculus_call_ruby_emerald_amber_drake::SetDest(), spell_ingvar_summon_banshee::SetDest(), spell_icecrown_summon_tualiq_proxy::SetDest(), spell_icecrown_summon_frost_wyrm::SetDest(), spell_icecrown_summon_soul_moveto_bunny::SetDest(), spell_zuldrak_summon_stefan::SetDest(), spell_illidan_cage_teleport::SetDest(), spell_kaelthas_summon_nether_vapor_effect::SetDest(), spell_terokkar_fumping::SetDest(), spell_terokkar_fumping_the_big_bone_worm::SetDest(), Scripts::QuelThalas::MurderRow::KystiaManaheart::spell_kystia_manaheart_mirror_image::SetDest(), spell_akilzon_summon_amani_kidnapper::SetDest(), spell_halion_summon_exit_portals::SetDest0(), spell_halion_summon_exit_portals::SetDest1(), and spell_pri_ultimate_penitence_jump::SetDestTarget().
| WorldLocation SpellDestination::_position |
Definition at line 366 of file SpellDefines.h.
Referenced by SpellCastTargets::GetDstPos(), SpellCastTargets::GetSrcPos(), GetTeleportOptions(), Spell::HandleEffects(), spell_skyguard_flare::ModDestHeight(), Relocate(), RelocateOffset(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetDestTargets(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), SpellCastTargets::SpellCastTargets(), SpellCastTargets::Update(), spell_hun_bleak_powder_areatrigger_summon::UpdateOrientation(), Spell::UpdatePointers(), and SpellCastTargets::Write().
| ObjectGuid SpellDestination::_transportGUID |
Definition at line 367 of file SpellDefines.h.
Referenced by Spell::EffectLeap(), Spell::EffectTeleportUnits(), Spell::EffectTeleportUnitsWithVisualLoadingScreen(), Spell::EffectTeleUnitsFaceCaster(), GetTeleportOptions(), Relocate(), RelocateOffset(), SpellCastTargets::SpellCastTargets(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().
| Position SpellDestination::_transportOffset |
Definition at line 368 of file SpellDefines.h.
Referenced by Spell::EffectLeap(), Spell::EffectTeleportUnits(), Spell::EffectTeleportUnitsWithVisualLoadingScreen(), Spell::EffectTeleUnitsFaceCaster(), Relocate(), RelocateOffset(), SpellCastTargets::SpellCastTargets(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().