Definition: ActiveEffect.h:27
Definition: BGSKeyword.h:10
Definition: BSTSmartPointer.h:36
Definition: EffectSetting.h:24
Definition: MagicItem.h:30
Definition: MagicTarget.h:34
virtual ~ForEachActiveEffectVisitor()
Definition: MagicTarget.h:39
virtual BSContainer::ForEachResult Accept(ActiveEffect *a_effect)=0
static constexpr auto VTABLE
Definition: MagicTarget.h:37
static constexpr auto RTTI
Definition: MagicTarget.h:36
Definition: MagicTarget.h:26
SpellDispelData * postUpdateDispelList
Definition: MagicTarget.h:99
Actor * GetTargetAsActor()
virtual bool CanAddActiveEffect()=0
virtual float CheckResistance(MagicItem *a_magicItem, Effect *a_effect, TESBoundObject *a_object)
bool HasMagicEffect(EffectSetting *a_effect)
std::uint16_t pad12
Definition: MagicTarget.h:102
virtual void InvalidateCommandedActorEffect(ActiveEffect *a_effect)
virtual BSSimpleList< ActiveEffect * > * GetActiveEffectList()=0
virtual TESObjectREFR * GetTargetStatsObject()
void VisitEffects(ForEachActiveEffectVisitor &visitor)
virtual bool CheckAbsorb(Actor *a_actor, MagicItem *a_magicItem, const Effect *a_effect)
std::uint8_t pad11
Definition: MagicTarget.h:101
bool DispelEffect(MagicItem *a_spell, BSPointerHandle< Actor > &a_caster, ActiveEffect *a_effect=nullptr)
virtual bool AddTarget(AddTargetData &a_targetData)
bool HasEffectWithArchetype(Archetype a_type)
virtual bool IsInvulnerable()
void DispelEffectsWithArchetype(Archetype a_type, bool a_force)
bool HasMagicEffectWithKeyword(BGSKeyword *a_keyword, std::uint64_t a_arg2)
virtual bool MagicTargetIsActor() const
std::uint32_t pad14
Definition: MagicTarget.h:103
std::uint8_t flags
Definition: MagicTarget.h:100
static constexpr auto VTABLE
Definition: MagicTarget.h:29
virtual void EffectRemoved(ActiveEffect *a_effect)
virtual void EffectAdded(ActiveEffect *a_effect)
static constexpr auto RTTI
Definition: MagicTarget.h:28
Definition: TESBoundObject.h:24
Definition: TESObjectREFR.h:113
ForEachResult
Definition: BSContainer.h:6
CastingSource
Definition: MagicSystem.h:24
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_MagicTarget(513884, 392304, 0x1ed8020)
constexpr std::array< REL::VariantID, 1 > VTABLE_MagicTarget
Definition: Offsets_VTABLE.h:66
constexpr std::array< REL::VariantID, 1 > VTABLE_MagicTarget__ForEachActiveEffectVisitor
Definition: Offsets_VTABLE.h:815
constexpr REL::VariantID RTTI_MagicTarget__ForEachActiveEffectVisitor(685330, 393107, 0x1ee3d58)
ArchetypeID
Definition: EffectArchetypes.h:8
Definition: MagicTarget.h:57
MagicSystem::CastingSource castingSource
Definition: MagicTarget.h:67
TESBoundObject * source
Definition: MagicTarget.h:61
MagicItem * magicItem
Definition: MagicTarget.h:59
std::uint16_t pad4A
Definition: MagicTarget.h:70
float magnitude
Definition: MagicTarget.h:65
Effect * effect
Definition: MagicTarget.h:60
std::uint8_t unk48
Definition: MagicTarget.h:68
TESObjectREFR * caster
Definition: MagicTarget.h:58
bool dualCasted
Definition: MagicTarget.h:69
std::uint64_t unk20
Definition: MagicTarget.h:62
NiPoint3 explosionPoint
Definition: MagicTarget.h:64
float unk40
Definition: MagicTarget.h:66
std::uint64_t unk28
Definition: MagicTarget.h:63
std::uint32_t pad4C
Definition: MagicTarget.h:71
Definition: MagicTarget.h:47
std::uint32_t pad0C
Definition: MagicTarget.h:50
SpellDispelData * next
Definition: MagicTarget.h:52
MagicItem * spell
Definition: MagicTarget.h:48
BSPointerHandle< Actor > caster
Definition: MagicTarget.h:49
BSTSmartPointer< ActiveEffect > activeEffect
Definition: MagicTarget.h:51