CommonLibSSE NG
Loading...
Searching...
No Matches
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"
6#include "RE/M/MagicTarget.h"
7
8namespace 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 bool AddTarget(AddTargetData& a_targetData) 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:26
Definition NonActorMagicTarget.h:16
BSSimpleList< ActiveEffect * > activeEffects
Definition NonActorMagicTarget.h:34
bool AddTarget(AddTargetData &a_targetData) override
static constexpr auto EXTRADATATYPE
Definition NonActorMagicTarget.h:19
TESObjectREFR * GetTargetStatsObject() override
TESObjectREFR * targetObject
Definition NonActorMagicTarget.h:33
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition NonActorMagicTarget.h:18
BSSimpleList< ActiveEffect * > * GetActiveEffectList() override
bool CanAddActiveEffect() override
~NonActorMagicTarget() override
Definition TESObjectREFR.h:112
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NonActorMagicTarget(684763, 392453, 0x1ed9958)
ExtraDataType
Definition ExtraDataTypes.h:173
Definition MagicTarget.h:57