CommonLibVR
BSNavmeshInfoMap.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTEvent.h"
4 #include "RE/B/BSTSingleton.h"
5 
6 namespace RE
7 {
8  struct BSNavmeshInfo;
9 
10  class BSNavmeshInfoMap : public BSTSingletonExplicit<BSNavmeshInfoMap>
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSNavmeshInfoMap;
14  inline static constexpr auto VTABLE = VTABLE_BSNavmeshInfoMap;
15 
16  struct IVisitor
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_BSNavmeshInfoMap__IVisitor;
20  inline static constexpr auto VTABLE = VTABLE_BSNavmeshInfoMap__IVisitor;
21 
22  virtual ~IVisitor(); // 00
23 
24  // add
25  virtual BSContainer::ForEachResult Visit(const BSNavmeshInfo* a_info) = 0;
26  };
27  static_assert(sizeof(IVisitor) == 0x8);
28 
29  virtual ~BSNavmeshInfoMap(); // 00
30 
31  // add
32  virtual BSNavmeshInfo* GetNavMeshInfoFixID(std::uint32_t a_id) = 0; // 01
33  virtual BSNavmeshInfo* GetNavmeshInfo(std::uint32_t a_id) = 0; // 02
34  virtual void GetAllNavMeshInfo(BSTArray<BSNavmeshInfo*>& a_results) = 0; // 03
35  virtual void BuildListOfConnectedInfos(const BSNavmeshInfo* a_info, BSTArray<BSNavmeshInfo*>& a_results) = 0; // 04
36  virtual void ForEach(IVisitor* a_visitor) = 0; // 05
37  private:
38  KEEP_FOR_RE()
39  };
40  static_assert(sizeof(BSNavmeshInfoMap) == 0x8);
41 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSNavmeshInfoMap.h:11
virtual BSNavmeshInfo * GetNavmeshInfo(std::uint32_t a_id)=0
virtual BSNavmeshInfo * GetNavMeshInfoFixID(std::uint32_t a_id)=0
virtual void BuildListOfConnectedInfos(const BSNavmeshInfo *a_info, BSTArray< BSNavmeshInfo * > &a_results)=0
static constexpr auto RTTI
Definition: BSNavmeshInfoMap.h:13
static constexpr auto VTABLE
Definition: BSNavmeshInfoMap.h:14
virtual ~BSNavmeshInfoMap()
virtual void ForEach(IVisitor *a_visitor)=0
virtual void GetAllNavMeshInfo(BSTArray< BSNavmeshInfo * > &a_results)=0
Definition: BSTArray.h:378
ForEachResult
Definition: BSContainer.h:6
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSNavmeshInfoMap__IVisitor
Definition: Offsets_VTABLE.h:9266
constexpr std::array< REL::ID, 1 > VTABLE_BSNavmeshInfoMap
Definition: Offsets_VTABLE.h:9264
constexpr REL::ID RTTI_BSNavmeshInfoMap(static_cast< std::uint64_t >(686070))
constexpr REL::ID RTTI_BSNavmeshInfoMap__IVisitor(static_cast< std::uint64_t >(686068))
Definition: BSNavmeshInfoMap.h:17
static constexpr auto VTABLE
Definition: BSNavmeshInfoMap.h:20
virtual BSContainer::ForEachResult Visit(const BSNavmeshInfo *a_info)=0
static constexpr auto RTTI
Definition: BSNavmeshInfoMap.h:19
Definition: BSTSingleton.h:11