LeviLamina
Loading...
Searching...
No Matches
FileReferenceLoader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class Path; }
8namespace Core { class Result; }
9// clang-format on
10
11namespace CerealHelpers {
12
13class FileReferenceLoader {
14public:
15 // member variables
16 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 FileReferenceLoader& operator=(FileReferenceLoader const&);
26 FileReferenceLoader(FileReferenceLoader const&);
27 FileReferenceLoader();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32#ifdef LL_PLAT_C
33 MCNAPI ::Core::Result _getFileDataFileSystem(::Core::Path const& path, ::std::string& outFileData);
34
35 MCNAPI ::Core::Result _getFileDataResourcePack(::Core::Path const& path, ::std::string& outFileData);
36
37 MCNAPI ::std::vector<::std::string> getErrors();
38
39 MCNAPI ::Core::Result getFileData(::Core::Path const& path, ::std::string& outFileData);
40
41 MCNAPI ::Core::Path getPath(::Core::Path const& relativePath);
42
43 MCNAPI bool isAllowedToUsePath(::Core::Path const& path);
44
45 MCNAPI ~FileReferenceLoader();
46#endif
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCNAPI void $dtor();
54#endif
55 // NOLINTEND
56};
57
58} // namespace CerealHelpers
Definition Path.h:17
Definition Result.h:11
Definition Alias.h:14