CommonLibVR
ExtraRoomRefData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/B/BSPointerHandle.h"
5 #include "RE/B/BSTList.h"
6 #include "RE/E/ExtraDataTypes.h"
7 
8 namespace RE
9 {
10  class BGSLightingTemplate;
11  class TESImageSpace;
12 
13  struct RoomRefData
14  {
17  std::int8_t master; // 20
18  std::uint8_t pad21; // 21
19  std::uint16_t pad22; // 22
20  std::uint32_t pad24; // 24
23  };
24  static_assert(sizeof(RoomRefData) == 0x38);
25 
27  {
28  public:
29  inline static constexpr auto RTTI = RTTI_ExtraRoomRefData;
30  inline static constexpr auto VTABLE = VTABLE_ExtraRoomRefData;
31  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kRoomRefData;
32 
33  ~ExtraRoomRefData() override; // 00
34 
35  // override (BSExtraData)
36  ExtraDataType GetType() const override; // 01 - { return kRoomRefData; }
37  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
38 
39  // members
40  RoomRefData* data; // 10
41  private:
42  KEEP_FOR_RE()
43  };
44  static_assert(sizeof(ExtraRoomRefData) == 0x18);
45 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLightingTemplate.h:11
Definition: BSExtraData.h:9
Definition: BSTList.h:10
Definition: ExtraRoomRefData.h:27
~ExtraRoomRefData() override
ExtraDataType GetType() const override
RoomRefData * data
Definition: ExtraRoomRefData.h:40
static constexpr auto EXTRADATATYPE
Definition: ExtraRoomRefData.h:31
bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraRoomRefData.h:29
static constexpr auto VTABLE
Definition: ExtraRoomRefData.h:30
Definition: TESImageSpace.h:10
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraRoomRefData(static_cast< std::uint64_t >(684687))
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr std::array< REL::ID, 1 > VTABLE_ExtraRoomRefData
Definition: Offsets_VTABLE.h:11609
Definition: ExtraRoomRefData.h:14
BGSLightingTemplate * lightingTemplate
Definition: ExtraRoomRefData.h:21
std::int8_t master
Definition: ExtraRoomRefData.h:17
TESImageSpace * imageSpace
Definition: ExtraRoomRefData.h:22
BSSimpleList< ObjectRefHandle > roomList
Definition: ExtraRoomRefData.h:16
std::uint16_t pad22
Definition: ExtraRoomRefData.h:19
BSSimpleList< ObjectRefHandle > portalList
Definition: ExtraRoomRefData.h:15
std::uint32_t pad24
Definition: ExtraRoomRefData.h:20
std::uint8_t pad21
Definition: ExtraRoomRefData.h:18