CommonLibSSE NG
Loading...
Searching...
No Matches
RE::MagicTarget Class Referenceabstract

#include <MagicTarget.h>

Inheritance diagram for RE::MagicTarget:
RE::Actor RE::NonActorMagicTarget RE::Character RE::PlayerCharacter

Classes

struct  AddTargetData
 
class  ForEachActiveEffectVisitor
 
struct  SpellDispelData
 

Public Types

using Archetype = EffectArchetypes::ArchetypeID
 

Public Member Functions

virtual ~MagicTarget ()
 
virtual bool AddTarget (AddTargetData &a_targetData)
 
virtual TESObjectREFRGetTargetStatsObject ()
 
virtual bool MagicTargetIsActor () const
 
virtual bool IsInvulnerable ()
 
virtual void InvalidateCommandedActorEffect (ActiveEffect *a_effect)
 
virtual bool CanAddActiveEffect ()=0
 
virtual BSSimpleList< ActiveEffect * > * GetActiveEffectList ()=0
 
virtual void EffectAdded (ActiveEffect *a_effect)
 
virtual void EffectRemoved (ActiveEffect *a_effect)
 
virtual float CheckResistance (MagicItem *a_magicItem, Effect *a_effect, TESBoundObject *a_object)
 
virtual bool CheckAbsorb (Actor *a_actor, MagicItem *a_magicItem, const Effect *a_effect)
 
bool DispelEffect (MagicItem *a_spell, BSPointerHandle< Actor > &a_caster, ActiveEffect *a_effect=nullptr)
 
void DispelEffectsWithArchetype (Archetype a_type, bool a_force)
 
bool HasEffectWithArchetype (Archetype a_type)
 
bool HasMagicEffect (EffectSetting *a_effect)
 
bool HasMagicEffectWithKeyword (BGSKeyword *a_keyword, std::uint64_t a_arg2)
 
void VisitEffects (ForEachActiveEffectVisitor &visitor)
 

Public Attributes

SpellDispelDatapostUpdateDispelList
 
std::uint8_t flags
 
std::uint8_t pad11
 
std::uint16_t pad12
 
std::uint32_t pad14
 

Static Public Attributes

static constexpr auto RTTI = RTTI_MagicTarget
 
static constexpr auto VTABLE = VTABLE_MagicTarget
 

Member Typedef Documentation

◆ Archetype

Constructor & Destructor Documentation

◆ ~MagicTarget()

virtual RE::MagicTarget::~MagicTarget ( )
virtual

Member Function Documentation

◆ AddTarget()

virtual bool RE::MagicTarget::AddTarget ( AddTargetData a_targetData)
virtual

Reimplemented in RE::NonActorMagicTarget.

◆ CanAddActiveEffect()

virtual bool RE::MagicTarget::CanAddActiveEffect ( )
pure virtual

Implemented in RE::NonActorMagicTarget.

◆ CheckAbsorb()

virtual bool RE::MagicTarget::CheckAbsorb ( Actor a_actor,
MagicItem a_magicItem,
const Effect a_effect 
)
virtual

◆ CheckResistance()

virtual float RE::MagicTarget::CheckResistance ( MagicItem a_magicItem,
Effect a_effect,
TESBoundObject a_object 
)
virtual

◆ DispelEffect()

bool RE::MagicTarget::DispelEffect ( MagicItem a_spell,
BSPointerHandle< Actor > &  a_caster,
ActiveEffect a_effect = nullptr 
)

◆ DispelEffectsWithArchetype()

void RE::MagicTarget::DispelEffectsWithArchetype ( Archetype  a_type,
bool  a_force 
)

◆ EffectAdded()

virtual void RE::MagicTarget::EffectAdded ( ActiveEffect a_effect)
virtual

◆ EffectRemoved()

virtual void RE::MagicTarget::EffectRemoved ( ActiveEffect a_effect)
virtual

◆ GetActiveEffectList()

virtual BSSimpleList< ActiveEffect * > * RE::MagicTarget::GetActiveEffectList ( )
pure virtual

Implemented in RE::Actor, and RE::NonActorMagicTarget.

◆ GetTargetStatsObject()

virtual TESObjectREFR * RE::MagicTarget::GetTargetStatsObject ( )
virtual

Reimplemented in RE::Actor, and RE::NonActorMagicTarget.

◆ HasEffectWithArchetype()

bool RE::MagicTarget::HasEffectWithArchetype ( Archetype  a_type)

◆ HasMagicEffect()

bool RE::MagicTarget::HasMagicEffect ( EffectSetting a_effect)

◆ HasMagicEffectWithKeyword()

bool RE::MagicTarget::HasMagicEffectWithKeyword ( BGSKeyword a_keyword,
std::uint64_t  a_arg2 
)

◆ InvalidateCommandedActorEffect()

virtual void RE::MagicTarget::InvalidateCommandedActorEffect ( ActiveEffect a_effect)
virtual

◆ IsInvulnerable()

virtual bool RE::MagicTarget::IsInvulnerable ( )
virtual

◆ MagicTargetIsActor()

virtual bool RE::MagicTarget::MagicTargetIsActor ( ) const
virtual

Reimplemented in RE::Actor.

◆ VisitEffects()

void RE::MagicTarget::VisitEffects ( ForEachActiveEffectVisitor visitor)

Member Data Documentation

◆ flags

std::uint8_t RE::MagicTarget::flags

◆ pad11

std::uint8_t RE::MagicTarget::pad11

◆ pad12

std::uint16_t RE::MagicTarget::pad12

◆ pad14

std::uint32_t RE::MagicTarget::pad14

◆ postUpdateDispelList

SpellDispelData* RE::MagicTarget::postUpdateDispelList

◆ RTTI

constexpr auto RE::MagicTarget::RTTI = RTTI_MagicTarget
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::MagicTarget::VTABLE = VTABLE_MagicTarget
inlinestaticconstexpr

The documentation for this class was generated from the following file: