CommonLibVR
RE::ExtraMagicCaster Class Reference

#include <ExtraMagicCaster.h>

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

Public Member Functions

 ~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 CastSpellImmediate (MagicItem *a_spell, bool a_noHitEffectArt, TESObjectREFR *a_target, float a_effectiveness, bool a_hostileEffectivenessOnly, float a_magnitudeOverride, Actor *a_blameActor)
 
virtual void FindTouchTarget ()
 
virtual void RequestCastImpl ()
 
virtual bool StartChargeImpl ()
 
virtual void StartReadyImpl ()
 
virtual void StartCastImpl ()
 
virtual void FinishCastImpl ()
 
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 TESObjectREFRGetCasterStatsObject () const
 
virtual ActorGetCasterAsActor () const
 
virtual TESObjectREFRGetCasterObjectReference (Actor **a_outCaster) const
 
virtual NiNodeGetMagicNode ()
 
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 SaveGame (BGSSaveGameBuffer *a_buf)
 
virtual void LoadGame (BGSLoadGameBuffer *a_buf)
 
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)
 

Static Public Attributes

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 ()
 
- 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
 

Constructor & Destructor Documentation

◆ ~ExtraMagicCaster()

RE::ExtraMagicCaster::~ExtraMagicCaster ( )
override

Member Function Documentation

◆ GetType()

ExtraDataType RE::ExtraMagicCaster::GetType ( ) const
overridevirtual

Implements RE::BSExtraData.

Member Data Documentation

◆ EXTRADATATYPE

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

◆ RTTI

constexpr auto RE::ExtraMagicCaster::RTTI = RTTI_ExtraMagicCaster
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::ExtraMagicCaster::VTABLE = VTABLE_ExtraMagicCaster
inlinestaticconstexpr

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