![]() |
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 (WorldObject const &wObj) | |
| void | Relocate (Position const &pos) |
| void | RelocateOffset (Position const &offset) |
Public Attributes | |
| WorldLocation | _position |
| ObjectGuid | _transportGUID |
| Position | _transportOffset |
Definition at line 211 of file SpellDefines.h.
| SpellDestination::SpellDestination | ( | ) |
Definition at line 70 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, ObjectGuid::Clear(), and Position::Relocate().
| SpellDestination::SpellDestination | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | orientation = 0.0f, |
||
| uint32 | mapId = MAPID_INVALID |
||
| ) |
Definition at line 77 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, ObjectGuid::Clear(), WorldLocation::m_mapId, and Position::Relocate().
| SpellDestination::SpellDestination | ( | Position const & | pos | ) |
Definition at line 85 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, ObjectGuid::Clear(), and Position::Relocate().
| SpellDestination::SpellDestination | ( | WorldObject const & | wObj | ) |
Definition at line 92 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, WorldObject::GetTransGUID(), WorldObject::GetTransOffsetO(), WorldObject::GetTransOffsetX(), WorldObject::GetTransOffsetY(), WorldObject::GetTransOffsetZ(), and Position::Relocate().
| void SpellDestination::Relocate | ( | Position const & | pos | ) |
Definition at line 99 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(), SpellCastTargets::ModDst(), SpellCastTargets::ModSrc(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), spell_headless_horseman_wisp_teleport::SetDest(), spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest(), spell_illidan_akama_teleport::SetDest(), spell_mother_shahraz_fatal_attraction::SetDest(), and spell_spawn_blood_pool::SetDest().
| void SpellDestination::RelocateOffset | ( | Position const & | offset | ) |
Definition at line 110 of file Spell.cpp.
References _position, _transportGUID, _transportOffset, ObjectGuid::IsEmpty(), and Position::RelocateOffset().
Referenced by spell_random_lightning_visual_effect::ModDestHeight(), spell_algalon_cosmic_smash::ModDestHeight(), spell_icc_soul_missile::RelocateDest(), spell_item_titanium_seal_of_dalaran_toss::RelocateHeight(), spell_akilzon_teleport_self::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(), spell_halion_summon_exit_portals::SetDest0(), and spell_halion_summon_exit_portals::SetDest1().
| WorldLocation SpellDestination::_position |
Definition at line 221 of file SpellDefines.h.
Referenced by SpellCastTargets::GetDstPos(), SpellCastTargets::GetSrcPos(), Spell::HandleEffects(), spell_skyguard_flare::ModDestHeight(), SpellCastTargets::Read(), Relocate(), RelocateOffset(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), SpellCastTargets::SpellCastTargets(), SpellDestination(), SpellDestination(), SpellDestination(), SpellDestination(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().
| ObjectGuid SpellDestination::_transportGUID |
Definition at line 222 of file SpellDefines.h.
Referenced by SpellCastTargets::Read(), Relocate(), RelocateOffset(), SpellCastTargets::SpellCastTargets(), SpellDestination(), SpellDestination(), SpellDestination(), SpellDestination(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().
| Position SpellDestination::_transportOffset |
Definition at line 223 of file SpellDefines.h.
Referenced by SpellCastTargets::Read(), Relocate(), RelocateOffset(), SpellCastTargets::SpellCastTargets(), SpellDestination(), SpellDestination(), SpellDestination(), SpellDestination(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().