CommonLibSSE (powerof3)
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 EXTRADATATYPE = ExtraDataType::kForcedTarget;
17 
19  explicit ExtraForcedTarget(ObjectRefHandle a_target);
20  ~ExtraForcedTarget() override = default; // 00
21 
22  // override (BSExtraData)
23  ExtraDataType GetType() const override; // 01 - { return kForcedTarget; }
24  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return target != a_rhs->target; }
25 
27 
28  // members
30  std::uint32_t pad14; // 14
31  };
32  static_assert(sizeof(ExtraForcedTarget) == 0x18);
33 }
Definition: BSExtraData.h:9
Definition: ExtraForcedTarget.h:13
static constexpr auto EXTRADATATYPE
Definition: ExtraForcedTarget.h:16
std::uint32_t pad14
Definition: ExtraForcedTarget.h:30
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:29
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraForcedTarget
Definition: Offsets_RTTI.h:4675
ExtraDataType
Definition: ExtraDataTypes.h:173