CommonLibSSE NG
Loading...
Searching...
No Matches
GlobalPaths.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSTArray.h"
5#include "RE/B/BSTSingleton.h"
6#include "RE/L/Location.h"
7
8namespace RE
9{
10 namespace BSResource
11 {
13 public Location, // 00
14 public BSTSingletonSDM<GlobalPaths> // 10
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_BSResource____GlobalPaths;
18
19 ~GlobalPaths() override; // 00
20
21 // override (Location)
22 ErrorCode DoCreateStream(const char* a_path, BSTSmartPointer<Stream>& a_stream, Location*& a_location, bool a_readOnly) override; // 03
23 ErrorCode DoCreateAsyncStream(const char* a_path, BSTSmartPointer<AsyncStream>& a_out, Location*& a_location, bool a_readOnly) override; // 04
24 ErrorCode DoTraversePrefix(const char* a_path, LocationTraverser& a_traverser) override; // 05
25 ErrorCode DoGetInfo1(const char* a_path, Info& a_info, Location*& a_location) override; // 06
26 ErrorCode DoGetInfo2(const char* a_path, Info& a_info, LocationTraverser* a_traverser) override; // 07
27 ErrorCode DoDelete(const char* a_path) override; // 08
28
29 // members
30 std::uint8_t pad11; // 11
31 std::uint16_t pad12; // 12
32 std::uint32_t pad14; // 14
35 };
36 static_assert(sizeof(GlobalPaths) == 0x38);
37 }
38}
Definition GlobalPaths.h:15
ErrorCode DoTraversePrefix(const char *a_path, LocationTraverser &a_traverser) override
ErrorCode DoGetInfo2(const char *a_path, Info &a_info, LocationTraverser *a_traverser) override
ErrorCode DoCreateAsyncStream(const char *a_path, BSTSmartPointer< AsyncStream > &a_out, Location *&a_location, bool a_readOnly) override
ErrorCode DoGetInfo1(const char *a_path, Info &a_info, Location *&a_location) override
Location * rootLocation
Definition GlobalPaths.h:34
std::uint8_t pad11
Definition GlobalPaths.h:30
std::uint32_t pad14
Definition GlobalPaths.h:32
ErrorCode DoCreateStream(const char *a_path, BSTSmartPointer< Stream > &a_stream, Location *&a_location, bool a_readOnly) override
ErrorCode DoDelete(const char *a_path) override
std::uint16_t pad12
Definition GlobalPaths.h:31
BSTArray< BSFixedString > names
Definition GlobalPaths.h:33
static constexpr auto RTTI
Definition GlobalPaths.h:17
Definition Location.h:17
Definition LocationTraverser.h:10
Definition BSTArray.h:377
Definition BSTSmartPointer.h:36
ErrorCode
Definition ErrorCodes.h:8
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSResource____GlobalPaths(690359, 398214, 0x1f60818)
Definition Info.h:8
Definition BSTSingleton.h:50