CommonLibSSE (powerof3)
|
#include <ActorMagicCaster.h>
Public Types | |
enum class | Flags { kNone = 0 , kDualCasting = 1 << 0 , kSkipCheckCast = 1 << 1 , kStartCloneTask = 1 << 2 , kCastingArtAttached = 1 << 3 , kCheckDeferredInterrupt = 1 << 4 , kDeferInterrupt = 1 << 5 } |
using | InterruptHandler_t = void(Actor *) |
Public Types inherited from RE::MagicCaster | |
enum class | State { kNone = 0 , kUnk01 , kUnk02 , kReady , kUnk04 , kCharging , kCasting , kUnk07 , kUnk08 , kUnk09 } |
Public Member Functions | |
~ActorMagicCaster () override | |
void | RequestCastImpl () override |
bool | StartChargeImpl () override |
void | StartReadyImpl () override |
void | StartCastImpl () override |
void | FinishCastImpl () override |
void | InterruptCastImpl (bool a_depleteEnergy) override |
void | SpellCast (bool a_doCast, std::uint32_t a_arg2, MagicItem *a_spell) override |
bool | CheckCast (MagicItem *a_spell, bool a_dualCast, float *a_effectStrength, MagicSystem::CannotCastReason *a_reason, bool a_useBaseValueForCost) override |
TESObjectREFR * | GetCasterStatsObject () const override |
Actor * | GetCasterAsActor () const override |
NiNode * | GetMagicNode () override |
void | ClearMagicNode () override |
void | SetCurrentSpellImpl (MagicItem *a_spell) override |
void | SelectSpellImpl () override |
void | DeselectSpellImpl () override |
void | SetSkipCheckCast () override |
void | SetCastingTimerForCharge () override |
MagicSystem::CastingSource | GetCastingSource () const override |
bool | GetIsDualCasting () const override |
void | SetDualCasting (bool a_set) override |
void | SaveGame (BGSSaveGameBuffer *a_buf) override |
void | LoadGame (BGSLoadGameBuffer *a_buf) override |
void | FinishLoadGame (BGSLoadGameBuffer *a_buf) override |
void | PrepareSound (MagicSystem::SoundID a_sound, MagicItem *a_spell) override |
void | AdjustActiveEffect (ActiveEffect *a_activeEffect, float a_power, bool a_arg3) override |
virtual void | Update (float a_delta) |
void | CheckAttachCastingArt () |
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 TESObjectREFR * | GetCasterObjectReference (Actor **a_outCaster) const |
MagicTarget * | FindPickTarget (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 Member Functions inherited from RE::SimpleAnimationGraphManagerHolder | |
bool | GetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_out) const override |
bool | SetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_in) override |
bool | ConstructAnimationGraph (BSTSmartPointer< BShkbAnimationGraph > &a_out) override |
virtual void | Unk_13 (void) |
Public Member Functions inherited from RE::IAnimationGraphManagerHolder | |
virtual | ~IAnimationGraphManagerHolder () |
virtual bool | NotifyAnimationGraph (const BSFixedString &a_eventName) |
virtual bool | PopulateGraphNodesToTarget (BSScrapArray< NiAVObject * > &a_nodes) |
virtual void | Unk_06 (void) |
virtual void | Unk_07 (void) |
virtual bool | SetupAnimEventSinks (const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph) |
virtual void | Unk_09 (void) |
virtual bool | CreateAnimationChannels (BSScrapArray< BSTSmartPointer< BSAnimationGraphChannel >> &animGraphChannels) |
virtual void | PostCreateAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_animGraphMgr) |
virtual void | Unk_0C (void) |
virtual void | PostChangeAnimationManager (const BSTSmartPointer< BShkbAnimationGraph > &a_arg1, const BSTSmartPointer< BShkbAnimationGraph > &a_arg2) |
virtual void | Unk_0E (void) |
virtual std::uint32_t | GetGraphVariableCacheSize () const |
virtual bool | GetGraphVariableImpl1 (const BSFixedString &a_variableName, float &a_out) const |
virtual bool | GetGraphVariableImpl2 (const BSFixedString &a_variableName, std::int32_t &a_out) const |
virtual bool | GetGraphVariableImpl3 (const BSFixedString &a_variableName, bool &a_out) const |
bool | GetAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_out) const |
bool | GetGraphVariableFloat (const BSFixedString &a_variableName, float &a_out) const |
bool | GetGraphVariableInt (const BSFixedString &a_variableName, std::int32_t &a_out) const |
bool | GetGraphVariableBool (const BSFixedString &a_variableName, bool &a_out) const |
bool | GetGraphVariableNiPoint3 (const BSFixedString &a_variableName, NiPoint3 &a_out) const |
bool | SetAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_in) |
bool | SetGraphVariableBool (const BSFixedString &a_variableName, bool a_in) |
bool | SetGraphVariableInt (const BSFixedString &a_variableName, std::int32_t a_in) |
bool | SetGraphVariableFloat (const BSFixedString &a_variableName, float a_in) |
bool | SetGraphVariableNiPoint3 (const BSFixedString &a_variableName, NiPoint3 &a_in) const |
bool | UpdateAnimationGraphManager (const BSAnimationUpdateData &a_updateData) |
Public Member Functions inherited from RE::BSTEventSink< BSAnimationGraphEvent > | |
virtual | ~BSTEventSink ()=default |
virtual BSEventNotifyControl | ProcessEvent (const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_eventSource)=0 |
Public Attributes | |
RefAttachTechniqueInput | castingArtData |
NiPointer< BGSArtObjectCloneTask > | cloneTask |
Actor * | actor |
NiNode * | magicNode |
NiPointer< BSLight > | light |
InterruptHandler_t * | interruptHandler |
BGSLoadGameSubBuffer | loadGameSubBuffer |
BGSArtObject * | castingArt |
ReferenceEffectController * | weaponEnchantmentController |
float | costCharged |
MagicSystem::CastingSource | castingSource |
REX::EnumSet< Flags, std::uint32_t > | flags |
Public Attributes inherited from RE::MagicCaster | |
BSTArray< BSSoundHandle > | sounds |
ObjectRefHandle | desiredTarget |
std::uint32_t | pad24 |
MagicItem * | currentSpell |
REX::EnumSet< State, std::uint32_t > | state |
float | castingTimer |
float | currentSpellCost |
float | magnitudeOverride |
float | nextTargetUpdate |
float | projectileTimer |
Public Attributes inherited from RE::SimpleAnimationGraphManagerHolder | |
BSTSmartPointer< BSAnimationGraphManager > | animationGraphManager |
NiPointer< SimpleAnimationGraphManagerLoadingTask > | loadingTask |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_ActorMagicCaster |
static constexpr auto | VTABLE = VTABLE_ActorMagicCaster |
Static Public Attributes inherited from RE::MagicCaster | |
static constexpr auto | RTTI = RTTI_MagicCaster |
static constexpr auto | VTABLE = VTABLE_MagicCaster |
Static Public Attributes inherited from RE::SimpleAnimationGraphManagerHolder | |
static constexpr auto | RTTI = RTTI_SimpleAnimationGraphManagerHolder |
static constexpr auto | VTABLE = VTABLE_SimpleAnimationGraphManagerHolder |
Static Public Attributes inherited from RE::IAnimationGraphManagerHolder | |
static constexpr auto | RTTI = RTTI_IAnimationGraphManagerHolder |
static constexpr auto | VTABLE = VTABLE_IAnimationGraphManagerHolder |
using RE::ActorMagicCaster::InterruptHandler_t = void(Actor*) |
|
strong |
|
override |
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
inline |
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
overridevirtual |
Reimplemented from RE::MagicCaster.
|
virtual |
Actor* RE::ActorMagicCaster::actor |
BGSArtObject* RE::ActorMagicCaster::castingArt |
RefAttachTechniqueInput RE::ActorMagicCaster::castingArtData |
MagicSystem::CastingSource RE::ActorMagicCaster::castingSource |
NiPointer<BGSArtObjectCloneTask> RE::ActorMagicCaster::cloneTask |
float RE::ActorMagicCaster::costCharged |
REX::EnumSet<Flags, std::uint32_t> RE::ActorMagicCaster::flags |
InterruptHandler_t* RE::ActorMagicCaster::interruptHandler |
BGSLoadGameSubBuffer RE::ActorMagicCaster::loadGameSubBuffer |
NiNode* RE::ActorMagicCaster::magicNode |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
ReferenceEffectController* RE::ActorMagicCaster::weaponEnchantmentController |