CommonLibSSE (powerof3)
ExtraPrimitive.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 BGSPrimitive;
9 
10  class ExtraPrimitive : public BSExtraData
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_ExtraPrimitive;
14  inline static constexpr auto VTABLE = VTABLE_ExtraPrimitive;
15  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kPrimitive;
16 
17  virtual ~ExtraPrimitive(); // 00
18 
19  // override (BSExtraData)
20  virtual ExtraDataType GetType() const override; // 01 - { return kPrimitive; }
21  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return primitive != a_rhs->primitive; }
22 
23  // members
24  BGSPrimitive* primitive; // 10
25  };
26  static_assert(sizeof(ExtraPrimitive) == 0x18);
27 }
Definition: BSExtraData.h:9
Definition: ExtraPrimitive.h:11
BGSPrimitive * primitive
Definition: ExtraPrimitive.h:24
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraPrimitive.h:13
static constexpr auto VTABLE
Definition: ExtraPrimitive.h:14
virtual ExtraDataType GetType() const override
static constexpr auto EXTRADATATYPE
Definition: ExtraPrimitive.h:15
virtual ~ExtraPrimitive()
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraPrimitive
Definition: Offsets_VTABLE.h:11592
constexpr REL::ID RTTI_ExtraPrimitive(static_cast< std::uint64_t >(684709))
ExtraDataType
Definition: ExtraDataTypes.h:173