CommonLibSSE (Parapets fork)
ExtraReferenceHandle.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_ExtraReferenceHandle;
16  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kReferenceHandle;
17 
19  explicit ExtraReferenceHandle(ObjectRefHandle a_containerRef);
20  virtual ~ExtraReferenceHandle() = default; // 00
21 
22  // override (BSExtraData)
23  virtual ExtraDataType GetType() const override; // 01 - { return kReferenceHandle; }
24  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return containerRef != a_rhs->containerRef; }
25 
27 
28  // members
30  std::uint32_t pad14; // 14
31  };
32  static_assert(sizeof(ExtraReferenceHandle) == 0x18);
33 }
Definition: BSExtraData.h:9
Definition: ExtraReferenceHandle.h:13
static constexpr auto EXTRADATATYPE
Definition: ExtraReferenceHandle.h:16
virtual ~ExtraReferenceHandle()=default
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
ExtraReferenceHandle(ObjectRefHandle a_containerRef)
ObjectRefHandle containerRef
Definition: ExtraReferenceHandle.h:29
virtual ExtraDataType GetType() const override
std::uint32_t pad14
Definition: ExtraReferenceHandle.h:30
NiPointer< TESObjectREFR > GetOriginalReference()
static constexpr auto RTTI
Definition: ExtraReferenceHandle.h:15
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraReferenceHandle
Definition: Offsets_RTTI.h:4745
ExtraDataType
Definition: ExtraDataTypes.h:173