CommonLibSSE (powerof3)
ExtraGlobal.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 
6 namespace RE
7 {
8  class TESGlobal;
9 
10  class ExtraGlobal : public BSExtraData
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_ExtraGlobal;
14  inline static constexpr auto VTABLE = VTABLE_ExtraGlobal;
15  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kGlobal;
16 
17  ~ExtraGlobal() override; // 00
18 
19  // override (BSExtraData)
20  ExtraDataType GetType() const override; // 01 - { return kGlobal; }
21  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return global != a_rhs->global; }
22 
23  // members
24  TESGlobal* global; // 10
25  };
26  static_assert(sizeof(ExtraGlobal) == 0x18);
27 }
Definition: BSExtraData.h:9
Definition: ExtraGlobal.h:11
~ExtraGlobal() override
static constexpr auto VTABLE
Definition: ExtraGlobal.h:14
TESGlobal * global
Definition: ExtraGlobal.h:24
static constexpr auto EXTRADATATYPE
Definition: ExtraGlobal.h:15
bool IsNotEqual(const BSExtraData *a_rhs) const override
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraGlobal.h:13
Definition: TESGlobal.h:10
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraGlobal
Definition: Offsets_VTABLE.h:11535
constexpr REL::ID RTTI_ExtraGlobal(static_cast< std::uint64_t >(684647))
ExtraDataType
Definition: ExtraDataTypes.h:173