CommonLibVR
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;
17  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kForcedTarget;
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  private:
33  KEEP_FOR_RE()
34  };
35  static_assert(sizeof(ExtraForcedTarget) == 0x18);
36 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraForcedTarget.h:13
static constexpr auto EXTRADATATYPE
Definition: ExtraForcedTarget.h:17
static constexpr auto VTABLE
Definition: ExtraForcedTarget.h:16
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::ID RTTI_ExtraForcedTarget(static_cast< std::uint64_t >(684696))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraForcedTarget
Definition: Offsets_VTABLE.h:11530
ExtraDataType
Definition: ExtraDataTypes.h:173