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
11namespace Core { class Path; }
12namespace Json { class Value; }
13// clang-format on
14
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 // member functions
27 // NOLINTBEGIN
28 MCAPI ResourceLocation();
29
30 MCAPI ResourceLocation(::Core::Path const& path, ::ResourceFileSystem fileSystem);
31
32 MCAPI ::Core::PathBuffer<::std::string> getFullPath() const;
33
34 MCAPI bool operator==(::ResourceLocation const& rhs) const;
35
36 MCAPI void serialize(::Json::Value& out) const;
37
38 MCAPI ~ResourceLocation();
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::ResourceLocation const& getEmptyLocation();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor();
51
52 MCAPI void* $ctor(::Core::Path const& path, ::ResourceFileSystem fileSystem);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCFOLD void $dtor();
59 // NOLINTEND
60};
Definition Path.h:15
Definition Value.h:16
Definition Path.h:16
Definition ResourceLocation.h:15
Definition serialize.h:11