CommonLibVR
RE::NonActorMagicCaster Class Reference

#include <NonActorMagicCaster.h>

Inheritance diagram for RE::NonActorMagicCaster:
RE::ExtraMagicCaster RE::BSExtraData RE::MagicCaster

Public Member Functions

 ~NonActorMagicCaster () override
 
void CastSpellImmediate (MagicItem *a_spell, bool a_noHitEffectArt, TESObjectREFR *a_target, float a_effectiveness, bool a_hostileEffectivenessOnly, float a_magnitudeOverride, Actor *a_blameActor) override
 
void FinishCastImpl () override
 
TESObjectREFRGetCasterStatsObject () const override
 
ActorGetCasterAsActor () const override
 
TESObjectREFRGetCasterObjectReference (Actor **a_outCaster) const override
 
NiNodeGetMagicNode () override
 
void SaveGame (BGSSaveGameBuffer *a_buf) override
 
void LoadGame (BGSLoadGameBuffer *a_buf) override
 
- Public Member Functions inherited from RE::ExtraMagicCaster
 ~ExtraMagicCaster () override
 
ExtraDataType GetType () const override
 
- Public Member Functions inherited from RE::BSExtraData
 BSExtraData ()
 
virtual ~BSExtraData ()=default
 
virtual bool IsNotEqual (const BSExtraData *a_rhs) const
 
bool operator== (const BSExtraData &a_rhs) const
 
bool operator!= (const BSExtraData &a_rhs) const
 
 TES_HEAP_REDEFINE_NEW ()
 
- Public Member Functions inherited from RE::MagicCaster
virtual ~MagicCaster ()
 
virtual void FindTouchTarget ()
 
virtual void RequestCastImpl ()
 
virtual bool StartChargeImpl ()
 
virtual void StartReadyImpl ()
 
virtual void StartCastImpl ()
 
virtual void InterruptCastImpl (bool a_depleteEnergy)
 
virtual void SpellCast (bool a_doCast, std::uint32_t a_arg2, MagicItem *a_spell)
 
virtual bool CheckCast (MagicItem *a_spell, bool a_dualCast, float *a_effectStrength, MagicSystem::CannotCastReason *a_reason, bool a_useBaseValueForCost)
 
virtual void ClearMagicNode ()
 
virtual void SetCurrentSpellImpl (MagicItem *a_spell)
 
virtual void SelectSpellImpl ()
 
virtual void DeselectSpellImpl ()
 
virtual void SetSkipCheckCast ()
 
virtual void SetCastingTimerForCharge ()
 
virtual MagicSystem::CastingSource GetCastingSource () const
 
virtual bool GetIsDualCasting () const
 
virtual void SetDualCasting (bool a_set)
 
virtual void FinishLoadGame (BGSLoadGameBuffer *a_buf)
 
virtual void PrepareSound (MagicSystem::SoundID a_sound, MagicItem *a_spell)
 
virtual void AdjustActiveEffect (ActiveEffect *a_activeEffect, float a_power, bool a_arg3)
 
MagicTargetFindPickTarget (NiPoint3 &a_targetLocation, TESObjectCELL **a_targetCell, bhkPickData &a_pickData)
 
bool FindTargets (float a_effectivenessMult, std::uint32_t &a_targetCount, TESBoundObject *a_source, bool a_loadCast, bool a_adjustOnlyHostileEffectiveness)
 
void FinishCast ()
 
float GetCurrentSpellCost ()
 
void InterruptCast (bool a_refund)
 
void PlayReleaseSound (MagicItem *a_item)
 
void SetCurrentSpell (MagicItem *a_item)
 
bool TestProjectilePlacement (const Effect &a_effect, const bhkPickData &a_pickData)
 
void UpdateImpl (float a_delta)
 

Public Attributes

TESObjectREFRunk58
 
ActorHandle blameActor
 
std::uint32_t unk64
 
- Public Attributes inherited from RE::BSExtraData
BSExtraDatanext
 
- Public Attributes inherited from RE::MagicCaster
BSTArray< BSSoundHandlesounds
 
ObjectRefHandle desiredTarget
 
std::uint32_t pad24
 
MagicItemcurrentSpell
 
stl::enumeration< State, std::uint32_t > state
 
float castingTimer
 
float currentSpellCost
 
float magnitudeOverride
 
float nextTargetUpdate
 
float projectileTimer
 

Static Public Attributes

static constexpr auto RTTI = RTTI_NonActorMagicCaster
 
static constexpr auto VTABLE = VTABLE_NonActorMagicCaster
 
static constexpr auto EXTRADATATYPE = ExtraDataType::kMagicCaster
 
- Static Public Attributes inherited from RE::ExtraMagicCaster
static constexpr auto RTTI = RTTI_ExtraMagicCaster
 
static constexpr auto VTABLE = VTABLE_ExtraMagicCaster
 
static constexpr auto EXTRADATATYPE = ExtraDataType::kMagicCaster
 
- Static Public Attributes inherited from RE::BSExtraData
static constexpr auto RTTI = RTTI_BSExtraData
 
static constexpr auto VTABLE = VTABLE_BSExtraData
 
static constexpr auto EXTRADATATYPE = ExtraDataType::kNone
 
- Static Public Attributes inherited from RE::MagicCaster
static constexpr auto RTTI = RTTI_MagicCaster
 
static constexpr auto VTABLE = VTABLE_MagicCaster
 

Additional Inherited Members

- Public Types inherited from RE::MagicCaster
enum class  State {
  kNone = 0 , kUnk01 , kUnk02 , kReady ,
  kUnk04 , kCharging , kCasting , kUnk07 ,
  kUnk08 , kUnk09
}
 
- Static Public Member Functions inherited from RE::BSExtraData
static BSExtraDataCreate (std::size_t a_size, std::uintptr_t a_vtbl)
 
template<class T >
static T * Create ()
 

Constructor & Destructor Documentation

◆ ~NonActorMagicCaster()

RE::NonActorMagicCaster::~NonActorMagicCaster ( )
override

Member Function Documentation

◆ CastSpellImmediate()

void RE::NonActorMagicCaster::CastSpellImmediate ( MagicItem a_spell,
bool  a_noHitEffectArt,
TESObjectREFR a_target,
float  a_effectiveness,
bool  a_hostileEffectivenessOnly,
float  a_magnitudeOverride,
Actor a_blameActor 
)
overridevirtual

Reimplemented from RE::MagicCaster.

◆ FinishCastImpl()

void RE::NonActorMagicCaster::FinishCastImpl ( )
overridevirtual

Reimplemented from RE::MagicCaster.

◆ GetCasterAsActor()

Actor* RE::NonActorMagicCaster::GetCasterAsActor ( ) const
overridevirtual

Reimplemented from RE::MagicCaster.

◆ GetCasterObjectReference()

TESObjectREFR* RE::NonActorMagicCaster::GetCasterObjectReference ( Actor **  a_outCaster) const
overridevirtual

Reimplemented from RE::MagicCaster.

◆ GetCasterStatsObject()

TESObjectREFR* RE::NonActorMagicCaster::GetCasterStatsObject ( ) const
overridevirtual

Reimplemented from RE::MagicCaster.

◆ GetMagicNode()

NiNode* RE::NonActorMagicCaster::GetMagicNode ( )
overridevirtual

Reimplemented from RE::MagicCaster.

◆ LoadGame()

void RE::NonActorMagicCaster::LoadGame ( BGSLoadGameBuffer a_buf)
overridevirtual

Reimplemented from RE::MagicCaster.

◆ SaveGame()

void RE::NonActorMagicCaster::SaveGame ( BGSSaveGameBuffer a_buf)
overridevirtual

Reimplemented from RE::MagicCaster.

Member Data Documentation

◆ blameActor

ActorHandle RE::NonActorMagicCaster::blameActor

◆ EXTRADATATYPE

constexpr auto RE::NonActorMagicCaster::EXTRADATATYPE = ExtraDataType::kMagicCaster
inlinestaticconstexpr

◆ RTTI

constexpr auto RE::NonActorMagicCaster::RTTI = RTTI_NonActorMagicCaster
inlinestaticconstexpr

◆ unk58

TESObjectREFR* RE::NonActorMagicCaster::unk58

◆ unk64

std::uint32_t RE::NonActorMagicCaster::unk64

◆ VTABLE

constexpr auto RE::NonActorMagicCaster::VTABLE = VTABLE_NonActorMagicCaster
inlinestaticconstexpr

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