CommonLibVR
ExtraRoom.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 BSMultiBoundRoom;
10 
11  class ExtraRoom : public BSExtraData
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_ExtraRoom;
15  inline static constexpr auto VTABLE = VTABLE_ExtraRoom;
16  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kRoom;
17 
18  ~ExtraRoom() override; // 00
19 
20  // override (BSExtraData)
21  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kRoom; }
22 
23  // members
25  private:
26  KEEP_FOR_RE()
27  };
28  static_assert(sizeof(ExtraRoom) == 0x18);
29 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraRoom.h:12
static constexpr auto EXTRADATATYPE
Definition: ExtraRoom.h:16
static constexpr auto VTABLE
Definition: ExtraRoom.h:15
static constexpr auto RTTI
Definition: ExtraRoom.h:14
ExtraDataType GetType() const override
NiPointer< BSMultiBoundRoom > room
Definition: ExtraRoom.h:24
~ExtraRoom() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraRoom(static_cast< std::uint64_t >(684735))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraRoom
Definition: Offsets_VTABLE.h:11608
ExtraDataType
Definition: ExtraDataTypes.h:173