CommonLibSSE NG
NonActorMagicCaster.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
6 
7 namespace RE
8 {
9  class TESObjectREFR;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_NonActorMagicCaster;
15  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kMagicCaster;
16 
17  ~NonActorMagicCaster() override; // 00
18 
19  // override (MagicCaster)
20  void CastSpellImmediate(MagicItem* a_spell, bool a_noHitEffectArt, TESObjectREFR* a_target, float a_effectiveness, bool a_hostileEffectivenessOnly, float a_magnitudeOverride, Actor* a_blameActor) override; // 01
21  void FinishCastImpl() override; // 07 - { return; }
22  TESObjectREFR* GetCasterStatsObject() const override; // 0B - { return 0; }
23  Actor* GetCasterAsActor() const override; // 0C - { return 0; }
24  TESObjectREFR* GetCasterObjectReference(Actor** a_outCaster) const override; // 0D
25  NiNode* GetMagicNode() override; // 0E - { return 0; }
26  void SaveGame(BGSSaveGameBuffer* a_buf) override; // 18
27  void LoadGame(BGSLoadGameBuffer* a_buf) override; // 19
28 
29  // members
32  std::uint32_t unk64; // 64
33  };
34  static_assert(sizeof(NonActorMagicCaster) == 0x68);
35 }
Definition: Actor.h:135
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: ExtraMagicCaster.h:12
Definition: MagicItem.h:30
Definition: NiNode.h:12
Definition: NonActorMagicCaster.h:12
TESObjectREFR * unk58
Definition: NonActorMagicCaster.h:30
void FinishCastImpl() override
static constexpr auto RTTI
Definition: NonActorMagicCaster.h:14
static constexpr auto EXTRADATATYPE
Definition: NonActorMagicCaster.h:15
std::uint32_t unk64
Definition: NonActorMagicCaster.h:32
~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
NiNode * GetMagicNode() override
ActorHandle blameActor
Definition: NonActorMagicCaster.h:31
TESObjectREFR * GetCasterObjectReference(Actor **a_outCaster) const override
TESObjectREFR * GetCasterStatsObject() const override
void SaveGame(BGSSaveGameBuffer *a_buf) override
void LoadGame(BGSLoadGameBuffer *a_buf) override
Actor * GetCasterAsActor() const override
Definition: TESObjectREFR.h:113
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NonActorMagicCaster(686540, 394375, 0x1f00b90)