CommonLibSSE (Parapets fork)
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/BSSimpleList.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 EXTRADATATYPE = ExtraDataType::kRoomRefData;
31 
32  ~ExtraRoomRefData() override; // 00
33 
34  // override (BSExtraData)
35  ExtraDataType GetType() const override; // 01 - { return kRoomRefData; }
36  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
37 
38  // members
39  RoomRefData* data; // 10
40  };
41  static_assert(sizeof(ExtraRoomRefData) == 0x18);
42 }
Definition: BGSLightingTemplate.h:11
Definition: BSExtraData.h:9
Definition: BSSimpleList.h:10
Definition: ExtraRoomRefData.h:27
~ExtraRoomRefData() override
ExtraDataType GetType() const override
RoomRefData * data
Definition: ExtraRoomRefData.h:39
static constexpr auto EXTRADATATYPE
Definition: ExtraRoomRefData.h:30
bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraRoomRefData.h:29
Definition: TESImageSpace.h:96
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraRoomRefData
Definition: Offsets_RTTI.h:4754
ExtraDataType
Definition: ExtraDataTypes.h:173
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