CommonLibSSE (powerof3)
ExtraNavMeshPortal.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 
6 namespace RE
7 {
8  class NavMesh;
9 
11  {
12  union Nav
13  {
16  };
17  static_assert(sizeof(Nav) == 0x8);
18 
19  Nav nav; // 00
20  std::uint16_t triIndex; // 08
21  std::uint16_t pad0A; // 0A
22  std::uint32_t pad0C; // 0C
23  };
24  static_assert(sizeof(NAVMESH_PORTAL) == 0x10);
25 
27  {
28  public:
29  inline static constexpr auto RTTI = RTTI_ExtraNavMeshPortal;
30  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kNavMeshPortal;
31 
32  ~ExtraNavMeshPortal() override; // 00
33 
34  // override (BSExtraData)
35  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kNavMeshPortal; }
36 
37  // members
39  };
40  static_assert(sizeof(ExtraNavMeshPortal) == 0x20);
41 }
Definition: BSExtraData.h:9
Definition: ExtraNavMeshPortal.h:27
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraNavMeshPortal.h:29
static constexpr auto EXTRADATATYPE
Definition: ExtraNavMeshPortal.h:30
NAVMESH_PORTAL portal
Definition: ExtraNavMeshPortal.h:38
~ExtraNavMeshPortal() override
Definition: NavMesh.h:14
Definition: AbsorbEffect.h:6
std::uint32_t FormID
Definition: BSCoreTypes.h:5
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr REL::ID RTTI_ExtraNavMeshPortal
Definition: Offsets_RTTI.h:4718
Definition: ExtraNavMeshPortal.h:11
Nav nav
Definition: ExtraNavMeshPortal.h:17
std::uint16_t pad0A
Definition: ExtraNavMeshPortal.h:21
std::uint16_t triIndex
Definition: ExtraNavMeshPortal.h:20
std::uint32_t pad0C
Definition: ExtraNavMeshPortal.h:22
Definition: ExtraNavMeshPortal.h:13
NavMesh * navMesh
Definition: ExtraNavMeshPortal.h:15
FormID navMeshID
Definition: ExtraNavMeshPortal.h:14