CommonLibSSE (Parapets fork)
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 EXTRADATATYPE = ExtraDataType::kPrimitive;
15 
16  virtual ~ExtraPrimitive(); // 00
17 
18  // override (BSExtraData)
19  virtual ExtraDataType GetType() const override; // 01 - { return kPrimitive; }
20  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return primitive != a_rhs->primitive; }
21 
22  // members
23  BGSPrimitive* primitive; // 10
24  };
25  static_assert(sizeof(ExtraPrimitive) == 0x18);
26 }
Definition: BSExtraData.h:9
Definition: ExtraPrimitive.h:11
BGSPrimitive * primitive
Definition: ExtraPrimitive.h:23
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraPrimitive.h:13
virtual ExtraDataType GetType() const override
static constexpr auto EXTRADATATYPE
Definition: ExtraPrimitive.h:14
virtual ~ExtraPrimitive()
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraPrimitive
Definition: Offsets_RTTI.h:4737
ExtraDataType
Definition: ExtraDataTypes.h:173