LeviLamina
Loading...
Searching...
No Matches
LinkedAssetValidator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8class LinkedAssetValidator : public ::Bedrock::EnableNonOwnerReferences {
9public:
10 // LinkedAssetValidator inner types declare
11 // clang-format off
12 struct KnownObject;
13 struct KnownObjectHasher;
14 struct Reference;
15 struct AssetCollection;
16 // clang-format on
17
18 // LinkedAssetValidator inner types define
19 enum class ValidatorStatus : uchar {
20 New = 0,
21 Loaded = 1,
22 Validated = 2,
23 };
24
25 struct KnownObject {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 KnownObject& operator=(KnownObject const&);
36 KnownObject(KnownObject const&);
37 KnownObject();
38
39 public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI ~KnownObject();
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCNAPI void $dtor();
49 // NOLINTEND
50 };
51
53
54 struct Reference {
55 public:
56 // member variables
57 // NOLINTBEGIN
61 // NOLINTEND
62
63 public:
64 // prevent constructor by default
65 Reference& operator=(Reference const&);
66 Reference(Reference const&);
67 Reference();
68
69 public:
70 // member functions
71 // NOLINTBEGIN
72 MCNAPI ~Reference();
73 // NOLINTEND
74
75 public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCNAPI void $dtor();
79 // NOLINTEND
80 };
81
82 struct AssetCollection {
83 public:
84 // member variables
85 // NOLINTBEGIN
91 // NOLINTEND
92
93 public:
94 // prevent constructor by default
95 AssetCollection& operator=(AssetCollection const&);
96 AssetCollection(AssetCollection const&);
97 AssetCollection();
98
99 public:
100 // member functions
101 // NOLINTBEGIN
102 MCNAPI explicit AssetCollection(bool isClientCollection);
103
105 // NOLINTEND
106
107 public:
108 // constructor thunks
109 // NOLINTBEGIN
110 MCNAPI void* $ctor(bool isClientCollection);
111 // NOLINTEND
112
113 public:
114 // destructor thunk
115 // NOLINTBEGIN
116 MCNAPI void $dtor();
117 // NOLINTEND
118 };
119
120public:
121 // member variables
122 // NOLINTBEGIN
126 // NOLINTEND
127
128public:
129 // prevent constructor by default
130 LinkedAssetValidator& operator=(LinkedAssetValidator const&);
131 LinkedAssetValidator(LinkedAssetValidator const&);
132 LinkedAssetValidator();
133
134public:
135 // virtual functions
136 // NOLINTBEGIN
137 virtual ~LinkedAssetValidator() /*override*/;
138 // NOLINTEND
139
140public:
141 // member functions
142 // NOLINTBEGIN
143#ifdef LL_PLAT_S
144 MCNAPI explicit LinkedAssetValidator(bool isClient);
145#endif
146
148
149#ifdef LL_PLAT_C
150 MCNAPI void addFile(int assetType, ::std::string const& filepath);
151#endif
152
153 MCNAPI void addFileReference(int assetType, ::std::string const& filepath, ::std::string contextString);
154
155 MCNAPI void addIdentifier(int assetType, ::std::string const& identifier);
156
157 MCNAPI void addReference(int assetType, ::std::string const& identifier, ::std::string contextString);
158
159#ifdef LL_PLAT_C
160 MCNAPI void reset();
161#endif
162 // NOLINTEND
163
164public:
165 // static variables
166 // NOLINTBEGIN
167 MCNAPI static ::std::weak_ptr<::LinkedAssetValidator::AssetCollection>& mPerThreadAssetCollection();
168 // NOLINTEND
169
170public:
171 // constructor thunks
172 // NOLINTBEGIN
173#ifdef LL_PLAT_S
174 MCNAPI void* $ctor(bool isClient);
175#endif
176 // NOLINTEND
177
178public:
179 // destructor thunk
180 // NOLINTBEGIN
181 MCNAPI void $dtor();
182 // NOLINTEND
183
184public:
185 // vftables
186 // NOLINTBEGIN
187 MCNAPI static void** $vftable();
188 // NOLINTEND
189};
Definition EnableNonOwnerReferences.h:7
MCAPI void addReference(int assetType, ::std::string const &identifier, ::std::string contextString)
static MCAPI void ** $vftable()
MCAPI void _initThreadAssetCollection()
MCAPI void addFileReference(int assetType, ::std::string const &filepath, ::std::string contextString)
MCAPI void $dtor()
MCAPI void addIdentifier(int assetType, ::std::string const &identifier)
static MCAPI ::std::weak_ptr<::LinkedAssetValidator::AssetCollection > & mPerThreadAssetCollection()
Definition LinkedAssetValidator.h:82
MCAPI AssetCollection(bool isClientCollection)
MCAPI void * $ctor(bool isClientCollection)
Definition LinkedAssetValidator.h:52
Definition LinkedAssetValidator.h:25
Definition LinkedAssetValidator.h:54
Definition Alias.h:14