AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Spell.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 |
SpellDestination::SpellDestination | ( | ) |
References _position, _transportOffset, and Position::Relocate().
SpellDestination::SpellDestination | ( | float | x, |
float | y, | ||
float | z, | ||
float | orientation = 0.0f , |
||
uint32 | mapId = MAPID_INVALID |
||
) |
References _position, _transportOffset, WorldLocation::m_mapId, and Position::Relocate().
SpellDestination::SpellDestination | ( | Position const & | pos | ) |
References _position, _transportOffset, and Position::Relocate().
SpellDestination::SpellDestination | ( | WorldObject const & | wObj | ) |
References _position, _transportGUID, _transportOffset, WorldObject::GetTransGUID(), WorldObject::GetTransOffsetO(), WorldObject::GetTransOffsetX(), WorldObject::GetTransOffsetY(), WorldObject::GetTransOffsetZ(), and Position::Relocate().
void SpellDestination::Relocate | ( | Position const & | pos | ) |
References _position, _transportGUID, _transportOffset, Position::GetPositionOffsetTo(), Position::Relocate(), and Position::RelocateOffset().
Referenced by spell_gen_random_target32::ModDest(), spell_q12308_escape_from_silverbrook_summon_worgen::ModDest(), SpellCastTargets::ModDst(), SpellCastTargets::ModSrc(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), Spell::SelectImplicitTrajTargets(), spell_mother_shahraz_fatal_attraction::SetDest(), spell_q10898_skywing::SetDest(), spell_spawn_blood_pool::SetDest(), spell_item_dragon_kite_summon_lightning_bunny::SetDest(), and spell_item_recall::SetDest().
void SpellDestination::RelocateOffset | ( | Position const & | offset | ) |
References _position, _transportGUID, _transportOffset, and Position::RelocateOffset().
Referenced by spell_random_lightning_visual_effect::ModDestHeight(), spell_midsummer_ribbon_pole_firework::PrepareSpellScript(), spell_kiljaeden_armageddon_missile::SetDest(), spell_oculus_call_ruby_emerald_amber_drake::SetDest(), spell_call_wintergarde_gryphon::SetDest(), spell_shade_of_akama_akama_soul_expel::SetDest(), spell_calling_korkron_or_wildhammer::SetDest(), spell_q10930_big_bone_worm::SetDest(), spell_q10929_fumping::SetDest(), spell_q10923_evil_draws_near_visual::SetDest(), spell_q10898_skywing::SetDest(), spell_item_dragon_kite_summon_lightning_bunny::SetDest(), spell_q12661_q12669_q12676_q12677_q12713_summon_stefan::SetDest(), and spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon::SetDest().
WorldLocation SpellDestination::_position |
Referenced by SpellCastTargets::GetDist2d(), SpellCastTargets::GetDstPos(), SpellCastTargets::GetSrcPos(), Spell::HandleEffects(), SpellCastTargets::HasDstChannel(), spell_gen_basic_campfire::ModDest(), SpellCastTargets::OutDebug(), SpellCastTargets::Read(), Relocate(), RelocateOffset(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), spell_prince_taldaram_flame_sphere_summon::SetDest(), spell_azjol_nerub_impale_summon::SetDest(), spell_blood_council_summon_shadow_resonance::SetDest(), spell_dk_summon_gargoyle::SetDest(), SpellDestination(), SpellCastTargets::Update(), Spell::UpdatePointers(), and SpellCastTargets::Write().
ObjectGuid SpellDestination::_transportGUID |
Position SpellDestination::_transportOffset |