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();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~FilePathManager() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI explicit FilePathManager(::Core::FilePathManagerPaths&& paths);
54
55#ifdef LL_PLAT_C
56 MCAPI void setRootPath(::Core::PathView path);
57#endif
58 // NOLINTEND
59
60public:
61 // static variables
62 // NOLINTBEGIN
63 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& ARCHIVE_DIR();
64
65 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& HOME_DIR();
66
67 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& PERSONA_TEST_DIR();
68
69 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& REALM_WORLDS_DIR();
70
71 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& RESOURCE_PACKS_DIR();
72
73 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& WORLDS_DIR();
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(::Core::FilePathManagerPaths&& paths);
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
94
95} // namespace Core
Definition EnableNonOwnerReferences.h:7
static MCAPI void ** $vftable()
Definition PathView.h:19
Definition FilePathManagerPaths.h:7