CommonLibSSE NG
ExtraForcedTarget.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/B/BSPointerHandle.h"
5 #include "RE/E/ExtraDataTypes.h"
6 #include "RE/N/NiSmartPointer.h"
7 
8 namespace RE
9 {
10  class TESObjectREFR;
11 
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_ExtraForcedTarget;
16  inline static constexpr auto VTABLE = VTABLE_ExtraForcedTarget;
18 
20  explicit ExtraForcedTarget(ObjectRefHandle a_target);
21  ~ExtraForcedTarget() override = default; // 00
22 
23  // override (BSExtraData)
24  ExtraDataType GetType() const override; // 01 - { return kForcedTarget; }
25  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return target != a_rhs->target; }
26 
28 
29  // members
31  std::uint32_t pad14; // 14
32  };
33  static_assert(sizeof(ExtraForcedTarget) == 0x18);
34 }
Definition: BSExtraData.h:9
Definition: ExtraForcedTarget.h:13
static constexpr auto VTABLE
Definition: ExtraForcedTarget.h:16
static auto EXTRADATATYPE
Definition: ExtraForcedTarget.h:17
std::uint32_t pad14
Definition: ExtraForcedTarget.h:31
ExtraDataType GetType() const override
bool IsNotEqual(const BSExtraData *a_rhs) const override
ExtraForcedTarget(ObjectRefHandle a_target)
~ExtraForcedTarget() override=default
NiPointer< TESObjectREFR > GetTarget()
static constexpr auto RTTI
Definition: ExtraForcedTarget.h:15
ObjectRefHandle target
Definition: ExtraForcedTarget.h:30
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_ExtraForcedTarget(684696, 392363, 0x1ed8a30)
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr std::array< REL::VariantID, 1 > VTABLE_ExtraForcedTarget
Definition: Offsets_VTABLE.h:171