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 VTABLE = VTABLE_ExtraNavMeshPortal;
31  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kNavMeshPortal;
32 
33  ~ExtraNavMeshPortal() override; // 00
34 
35  // override (BSExtraData)
36  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kNavMeshPortal; }
37 
38  // members
40  };
41  static_assert(sizeof(ExtraNavMeshPortal) == 0x20);
42 }
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:31
NAVMESH_PORTAL portal
Definition: ExtraNavMeshPortal.h:39
static constexpr auto VTABLE
Definition: ExtraNavMeshPortal.h:30
~ExtraNavMeshPortal() override
Definition: NavMesh.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraNavMeshPortal(static_cast< std::uint64_t >(684684))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraNavMeshPortal
Definition: Offsets_VTABLE.h:11573
std::uint32_t FormID
Definition: BSCoreTypes.h:5
ExtraDataType
Definition: ExtraDataTypes.h:173
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