LeviLamina
Loading...
Searching...
No Matches
FilePathManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/string/BasicStackString.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Core { class PathView; }
13namespace Core { struct FilePathManagerPaths; }
14// clang-format on
15
16namespace Core {
17
18class FilePathManager : public ::Bedrock::EnableNonOwnerReferences {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mRoot;
23 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mHome;
24 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mWorlds;
25 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mSharedWorlds;
26 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mLevelArchive;
27 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mUserData;
28 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mSharedData;
29 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mPersonaPiecePack;
30 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mPackagePath;
31 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mDataUrl;
32 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mExternalFilePath;
33 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mTemporaryFilePath;
34 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mCacheFilePath;
35 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mSettingsPath;
36 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string> const> mResourcePacks;
37 ::ll::TypedStorage<1, 1, bool const> mIsDedicatedServer;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 FilePathManager& operator=(FilePathManager const&);
43 FilePathManager();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~FilePathManager() /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI FilePathManager(::Core::FilePathManager const&);
55
56 MCAPI explicit FilePathManager(::Core::FilePathManagerPaths&& paths);
57
58 MCAPI_C ::Core::PathView getWorldsPath() const;
59
60 MCAPI void setRootPath(::Core::PathView path);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& ARCHIVE_DIR();
67
68 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& HOME_DIR();
69
70 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& PERSONA_TEST_DIR();
71
72 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& REALM_WORLDS_DIR();
73
74 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& RESOURCE_PACKS_DIR();
75
76 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& WORLDS_DIR();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(::Core::FilePathManager const&);
83
84 MCAPI void* $ctor(::Core::FilePathManagerPaths&& paths);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
99
100} // namespace Core
Definition EnableNonOwnerReferences.h:7
Definition FilePathManager.h:18
static MCAPI void ** $vftable()
Definition PathView.h:17
Definition FilePathManagerPaths.h:7