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 EXTRADATATYPE = ExtraDataType::kGlobal;
15 
16  ~ExtraGlobal() override; // 00
17 
18  // override (BSExtraData)
19  ExtraDataType GetType() const override; // 01 - { return kGlobal; }
20  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return global != a_rhs->global; }
21 
22  // members
23  TESGlobal* global; // 10
24  };
25  static_assert(sizeof(ExtraGlobal) == 0x18);
26 }
Definition: BSExtraData.h:9
Definition: ExtraGlobal.h:11
~ExtraGlobal() override
TESGlobal * global
Definition: ExtraGlobal.h:23
static constexpr auto EXTRADATATYPE
Definition: ExtraGlobal.h:14
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 REL::ID RTTI_ExtraGlobal
Definition: Offsets_RTTI.h:4680
ExtraDataType
Definition: ExtraDataTypes.h:173