CommonLibSSE (Parapets fork)
RE::MagicCaster Class Reference

#include <MagicCaster.h>

Inheritance diagram for RE::MagicCaster:
RE::ActorMagicCaster RE::ExtraMagicCaster

Classes

class  PostCreationCallback
 

Public Types

enum class  State { kNone = 0 }
 

Public Member Functions

virtual ~MagicCaster ()
 
virtual void CastSpellImmediate (MagicItem *a_spell, bool a_arg2, TESObjectREFR *a_target, float a_power, bool a_arg6, float a_magnitudeOverride=0.0f, Actor *a_owner=nullptr)
 
virtual void Unk_02 (void)
 
virtual void Unk_03 (void)
 
virtual void Unk_04 (void)
 
virtual void Unk_05 (void)
 
virtual void Unk_06 (void)
 
virtual void Unk_07 (void)
 
virtual void Unk_08 (void)
 
virtual void SpellCast (bool a_arg1, std::uint32_t a_arg2, MagicItem *a_arg3)
 
virtual bool CheckCast (MagicItem *a_spell, bool a_arg2, float *a_arg3, MagicSystem::CannotCastReason *a_reasonOut, bool a_arg5)
 
virtual TESObjectREFRGetCasterStatsObject () const
 
virtual ActorGetCasterAsActor () const
 
virtual TESObjectREFRGetCasterObjectReference (Actor **a_casterOut) const
 
virtual NiNodeGetMagicNode ()
 
virtual void ClearMagicNode ()
 
virtual void SetCurrentSpellImpl (MagicItem *a_spell)
 
virtual void Unk_11 (void)
 
virtual void Unk_12 (void)
 
virtual void SetSkipCheckCast ()
 
virtual void SetCastingTimerForCharge ()
 
virtual MagicSystem::CastingSource GetCastingSource () const
 
virtual bool GetIsDualCasting () const
 
virtual void SetDualCasting (bool a_value)
 
virtual void SaveGame (BGSSaveFormBuffer *a_buffer)
 
virtual void LoadGame (BGSLoadFormBuffer *a_buffer)
 
virtual void Unk_1A (void)
 
virtual void Unk_1B (void)
 
virtual void AdjustActiveEffect (ActiveEffect *a_effect, float a_power, bool a_hostileOnly)
 

Public Attributes

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_MagicCaster
 

Member Enumeration Documentation

◆ State

Enumerator
kNone 

Constructor & Destructor Documentation

◆ ~MagicCaster()

virtual RE::MagicCaster::~MagicCaster ( )
virtual

Member Function Documentation

◆ AdjustActiveEffect()

virtual void RE::MagicCaster::AdjustActiveEffect ( ActiveEffect a_effect,
float  a_power,
bool  a_hostileOnly 
)
virtual

◆ CastSpellImmediate()

virtual void RE::MagicCaster::CastSpellImmediate ( MagicItem a_spell,
bool  a_arg2,
TESObjectREFR a_target,
float  a_power,
bool  a_arg6,
float  a_magnitudeOverride = 0.0f,
Actor a_owner = nullptr 
)
virtual

◆ CheckCast()

virtual bool RE::MagicCaster::CheckCast ( MagicItem a_spell,
bool  a_arg2,
float *  a_arg3,
MagicSystem::CannotCastReason a_reasonOut,
bool  a_arg5 
)
virtual

◆ ClearMagicNode()

virtual void RE::MagicCaster::ClearMagicNode ( )
virtual

◆ GetCasterAsActor()

virtual Actor* RE::MagicCaster::GetCasterAsActor ( ) const
virtual

◆ GetCasterObjectReference()

virtual TESObjectREFR* RE::MagicCaster::GetCasterObjectReference ( Actor **  a_casterOut) const
virtual

◆ GetCasterStatsObject()

virtual TESObjectREFR* RE::MagicCaster::GetCasterStatsObject ( ) const
virtual

◆ GetCastingSource()

virtual MagicSystem::CastingSource RE::MagicCaster::GetCastingSource ( ) const
virtual

◆ GetIsDualCasting()

virtual bool RE::MagicCaster::GetIsDualCasting ( ) const
virtual

◆ GetMagicNode()

virtual NiNode* RE::MagicCaster::GetMagicNode ( )
virtual

◆ LoadGame()

virtual void RE::MagicCaster::LoadGame ( BGSLoadFormBuffer *  a_buffer)
virtual

◆ SaveGame()

virtual void RE::MagicCaster::SaveGame ( BGSSaveFormBuffer *  a_buffer)
virtual

◆ SetCastingTimerForCharge()

virtual void RE::MagicCaster::SetCastingTimerForCharge ( )
virtual

◆ SetCurrentSpellImpl()

virtual void RE::MagicCaster::SetCurrentSpellImpl ( MagicItem a_spell)
virtual

◆ SetDualCasting()

virtual void RE::MagicCaster::SetDualCasting ( bool  a_value)
virtual

◆ SetSkipCheckCast()

virtual void RE::MagicCaster::SetSkipCheckCast ( )
virtual

◆ SpellCast()

virtual void RE::MagicCaster::SpellCast ( bool  a_arg1,
std::uint32_t  a_arg2,
MagicItem a_arg3 
)
virtual

◆ Unk_02()

virtual void RE::MagicCaster::Unk_02 ( void  )
virtual

◆ Unk_03()

virtual void RE::MagicCaster::Unk_03 ( void  )
virtual

◆ Unk_04()

virtual void RE::MagicCaster::Unk_04 ( void  )
virtual

◆ Unk_05()

virtual void RE::MagicCaster::Unk_05 ( void  )
virtual

◆ Unk_06()

virtual void RE::MagicCaster::Unk_06 ( void  )
virtual

◆ Unk_07()

virtual void RE::MagicCaster::Unk_07 ( void  )
virtual

◆ Unk_08()

virtual void RE::MagicCaster::Unk_08 ( void  )
virtual

◆ Unk_11()

virtual void RE::MagicCaster::Unk_11 ( void  )
virtual

◆ Unk_12()

virtual void RE::MagicCaster::Unk_12 ( void  )
virtual

◆ Unk_1A()

virtual void RE::MagicCaster::Unk_1A ( void  )
virtual

◆ Unk_1B()

virtual void RE::MagicCaster::Unk_1B ( void  )
virtual

Member Data Documentation

◆ castingTimer

float RE::MagicCaster::castingTimer

◆ currentSpell

MagicItem* RE::MagicCaster::currentSpell

◆ currentSpellCost

float RE::MagicCaster::currentSpellCost

◆ desiredTarget

ObjectRefHandle RE::MagicCaster::desiredTarget

◆ magnitudeOverride

float RE::MagicCaster::magnitudeOverride

◆ nextTargetUpdate

float RE::MagicCaster::nextTargetUpdate

◆ pad24

std::uint32_t RE::MagicCaster::pad24

◆ projectileTimer

float RE::MagicCaster::projectileTimer

◆ RTTI

constexpr auto RE::MagicCaster::RTTI = RTTI_MagicCaster
inlinestaticconstexpr

◆ sounds

BSTArray<BSSoundHandle> RE::MagicCaster::sounds

◆ state

stl::enumeration<State, std::uint32_t> RE::MagicCaster::state

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