CommonLibVR
ExtraPortal.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 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class BSPortal;
10 
11  class ExtraPortal : public BSExtraData
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_ExtraPortal;
15  inline static constexpr auto VTABLE = VTABLE_ExtraPortal;
16  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kPortal;
17 
18  ~ExtraPortal() override; // 00
19 
20  // override (BSExtraData)
21  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kPortal; }
22 
23  // members
25  private:
26  KEEP_FOR_RE()
27  };
28  static_assert(sizeof(ExtraPortal) == 0x18);
29 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraPortal.h:12
static constexpr auto VTABLE
Definition: ExtraPortal.h:15
ExtraDataType GetType() const override
static constexpr auto EXTRADATATYPE
Definition: ExtraPortal.h:16
NiPointer< BSPortal > portal
Definition: ExtraPortal.h:24
static constexpr auto RTTI
Definition: ExtraPortal.h:14
~ExtraPortal() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraPortal(static_cast< std::uint64_t >(684788))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraPortal
Definition: Offsets_VTABLE.h:11590
ExtraDataType
Definition: ExtraDataTypes.h:173