LeviLamina
Loading...
Searching...
No Matches
ResourceLocation.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/resource/ResourceFileSystem.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12namespace Core { class PathView; }
13// clang-format on
14
15class ResourceLocation {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, ::ResourceFileSystem> mFileSystem;
20 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mPath;
21 ::ll::TypedStorage<8, 8, uint64> mPathHash;
22 ::ll::TypedStorage<8, 8, uint64> mFullHash;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ResourceLocation();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ResourceLocation(::Core::PathView path, ::ResourceFileSystem fileSystem);
33
34 MCAPI ::Core::PathBuffer<::std::string> getFullPath() const;
35
36 MCAPI_C ::HashedString getHashedPath() const;
37
38 MCAPI ~ResourceLocation();
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI_C static ::ResourceLocation const& getEmptyLocation();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI_C void* $ctor();
51
52 MCAPI_C void* $ctor(::ResourceLocation const&);
53
54 MCAPI_C void* $ctor(::Core::PathView path);
55
56 MCAPI void* $ctor(::Core::PathView path, ::ResourceFileSystem fileSystem);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCFOLD void $dtor();
63 // NOLINTEND
64};
Definition PathView.h:17
Definition HashedString.h:5