CommonLibSSE (powerof3)
NonActorMagicTarget.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/B/BSTList.h"
5 #include "RE/E/ExtraDataTypes.h"
6 #include "RE/M/MagicTarget.h"
7 
8 namespace RE
9 {
10  class ActiveEffect;
11  class TESObjectREFR;
12 
14  public BSExtraData, // 00
15  public MagicTarget // 10
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_NonActorMagicTarget;
19  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kNonActorMagicTarget;
20 
21  ~NonActorMagicTarget() override; // 00
22 
23  // override (BSExtraData)
24  ExtraDataType GetType() const override; // 01 - { return kNonActorMagicTarget; }
25 
26  // override (MagicTarget)
27  void Unk_01(void) override; // 01
28  TESObjectREFR* GetTargetStatsObject() override; // 02 - { return targetObject; }
29  bool CanAddActiveEffect() override; // 06 - { return true; }
30  BSSimpleList<ActiveEffect*>* GetActiveEffectList() override; // 07 - { return &activeEffects; }
31 
32  // members
35  };
36  static_assert(sizeof(NonActorMagicTarget) == 0x40);
37 }
Definition: BSExtraData.h:9
Definition: BSTList.h:10
Definition: MagicTarget.h:19
Definition: NonActorMagicTarget.h:16
BSSimpleList< ActiveEffect * > activeEffects
Definition: NonActorMagicTarget.h:34
static constexpr auto EXTRADATATYPE
Definition: NonActorMagicTarget.h:19
BSSimpleList< ActiveEffect * > * GetActiveEffectList() override
TESObjectREFR * targetObject
Definition: NonActorMagicTarget.h:33
void Unk_01(void) override
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: NonActorMagicTarget.h:18
TESObjectREFR * GetTargetStatsObject() override
bool CanAddActiveEffect() override
~NonActorMagicTarget() override
Definition: TESObjectREFR.h:103
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_NonActorMagicTarget
Definition: Offsets_RTTI.h:5645
ExtraDataType
Definition: ExtraDataTypes.h:173