CommonLibSSE (powerof3)
BSPortalGraph.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/N/NiRefObject.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class BSMultiBoundRoom;
10  class BSOcclusionShape;
11  class BSPortal;
12  class BSPortalSharedNode;
13  class NiAVObject;
14  class NiNode;
15 
16  class BSPortalGraph : public NiRefObject
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_BSPortalGraph;
20  inline static constexpr auto VTABLE = VTABLE_BSPortalGraph;
21 
22  template <typename T>
23  struct ListEntry
24  {
27  T* value; // 10
28  };
29  static_assert(sizeof(ListEntry<BSPortal>) == 0x18);
30 
31  template <typename T>
32  struct List
33  {
36  uint32_t count; // 10
37  };
38  static_assert(sizeof(List<BSPortal>) == 0x18);
39 
40  ~BSPortalGraph() override; // 00
41 
42  // members
51  FormID cellID; // C0
52  std::uint32_t padC4; // C4
53  };
54  static_assert(sizeof(BSPortalGraph) == 0xC8);
55 }
Definition: BSPortalGraph.h:17
static constexpr auto RTTI
Definition: BSPortalGraph.h:19
BSTArray< NiPointer< BSMultiBoundRoom > > rooms
Definition: BSPortalGraph.h:45
std::uint32_t padC4
Definition: BSPortalGraph.h:52
~BSPortalGraph() override
List< BSPortal > portals
Definition: BSPortalGraph.h:44
FormID cellID
Definition: BSPortalGraph.h:51
BSTArray< void * > unkA8
Definition: BSPortalGraph.h:50
BSTArray< NiPointer< NiAVObject > > unk58
Definition: BSPortalGraph.h:46
BSTArray< NiPointer< NiAVObject > > unk90
Definition: BSPortalGraph.h:49
static constexpr auto VTABLE
Definition: BSPortalGraph.h:20
NiPointer< BSPortalSharedNode > portalSharedNode
Definition: BSPortalGraph.h:47
List< BSOcclusionShape > occlusionShapes
Definition: BSPortalGraph.h:43
BSTArray< NiPointer< NiAVObject > > unk78
Definition: BSPortalGraph.h:48
Definition: BSTArray.h:378
Definition: NiSmartPointer.h:9
Definition: NiRefObject.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSPortalGraph
Definition: Offsets_VTABLE.h:9357
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr REL::ID RTTI_BSPortalGraph(static_cast< std::uint64_t >(690693))
Definition: BSPortalGraph.h:24
ListEntry< T > * prev
Definition: BSPortalGraph.h:26
ListEntry< T > * next
Definition: BSPortalGraph.h:25
T * value
Definition: BSPortalGraph.h:27
Definition: BSPortalGraph.h:33
uint32_t count
Definition: BSPortalGraph.h:36
ListEntry< T > * last
Definition: BSPortalGraph.h:35
ListEntry< T > * first
Definition: BSPortalGraph.h:34