CommonLibVR
LocationTree.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/L/Location.h"
4 
5 namespace RE
6 {
7  namespace BSResource
8  {
9  class LocationTree : public Location
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BSResource____LocationTree;
13  inline static constexpr auto VTABLE = VTABLE_BSResource____LocationTree;
14 
15  ~LocationTree() override; // 00
16 
17  // override (Location)
18  ErrorCode DoCreateStream(const char* a_path, BSTSmartPointer<Stream>& a_stream, Location*& a_location, bool a_readOnly) override; // 03
19  ErrorCode DoCreateAsyncStream(const char* a_path, BSTSmartPointer<AsyncStream>& a_out, Location*& a_location, bool a_readOnly) override; // 04
20  ErrorCode DoTraversePrefix(const char* a_path, LocationTraverser& a_traverser) override; // 05
21  ErrorCode DoGetInfo1(const char* a_path, Info& a_info, Location*& a_location) override; // 06
22  ErrorCode DoGetInfo2(const char* a_path, Info& a_info, LocationTraverser* a_traverser) override; // 07
23  ErrorCode DoDelete(const char* a_path) override; // 08
24 
25  // members
26  Location* lhs; // 10
27  Location* rhs; // 18
28  };
29  static_assert(sizeof(LocationTree) == 0x20);
30  }
31 }
Definition: LocationTraverser.h:10
Definition: LocationTree.h:10
Location * lhs
Definition: LocationTree.h:26
ErrorCode DoGetInfo1(const char *a_path, Info &a_info, Location *&a_location) override
Location * rhs
Definition: LocationTree.h:27
ErrorCode DoCreateStream(const char *a_path, BSTSmartPointer< Stream > &a_stream, Location *&a_location, bool a_readOnly) override
ErrorCode DoDelete(const char *a_path) override
ErrorCode DoTraversePrefix(const char *a_path, LocationTraverser &a_traverser) override
ErrorCode DoCreateAsyncStream(const char *a_path, BSTSmartPointer< AsyncStream > &a_out, Location *&a_location, bool a_readOnly) override
ErrorCode DoGetInfo2(const char *a_path, Info &a_info, LocationTraverser *a_traverser) override
static constexpr auto VTABLE
Definition: LocationTree.h:13
static constexpr auto RTTI
Definition: LocationTree.h:12
Definition: Location.h:17
Definition: BSTSmartPointer.h:37
ErrorCode
Definition: ErrorCodes.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSResource____LocationTree
Definition: Offsets_VTABLE.h:9417
constexpr REL::ID RTTI_BSResource____LocationTree(static_cast< std::uint64_t >(690358))
Definition: Info.h:10