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
90 // NOLINTEND
91
92 public:
93 // prevent constructor by default
94 AssetCollection& operator=(AssetCollection const&);
95 AssetCollection(AssetCollection const&);
96
97 public:
98 // member functions
99 // NOLINTBEGIN
101
103 // NOLINTEND
104
105 public:
106 // constructor thunks
107 // NOLINTBEGIN
108 MCNAPI void* $ctor();
109 // NOLINTEND
110
111 public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCNAPI void $dtor();
115 // NOLINTEND
116 };
117
118public:
119 // member variables
120 // NOLINTBEGIN
124 // NOLINTEND
125
126public:
127 // prevent constructor by default
128 LinkedAssetValidator& operator=(LinkedAssetValidator const&);
129 LinkedAssetValidator(LinkedAssetValidator const&);
130 LinkedAssetValidator();
131
132public:
133 // virtual functions
134 // NOLINTBEGIN
135 virtual ~LinkedAssetValidator() /*override*/;
136 // NOLINTEND
137
138public:
139 // member functions
140 // NOLINTBEGIN
141 MCNAPI_S explicit LinkedAssetValidator(bool isClient);
142
143 MCNAPI_C void addFile(int assetType, ::std::string const& filepath);
144
145 MCNAPI void addFileReference(int assetType, ::std::string const& filepath, ::std::string contextString);
146
147 MCNAPI void addIdentifier(int assetType, ::std::string const& identifier);
148
149 MCNAPI void addReference(int assetType, ::std::string const& identifier, ::std::string contextString);
150
151 MCNAPI_C void reset();
152 // NOLINTEND
153
154public:
155 // static variables
156 // NOLINTBEGIN
157 MCNAPI static ::std::weak_ptr<::LinkedAssetValidator::AssetCollection>& mPerThreadAssetCollection();
158 // NOLINTEND
159
160public:
161 // constructor thunks
162 // NOLINTBEGIN
163 MCNAPI_S void* $ctor(bool isClient);
164 // NOLINTEND
165
166public:
167 // destructor thunk
168 // NOLINTBEGIN
169 MCNAPI void $dtor();
170 // NOLINTEND
171
172public:
173 // vftables
174 // NOLINTBEGIN
175 MCNAPI static void** $vftable();
176 // NOLINTEND
177};
Definition EnableNonOwnerReferences.h:7
MCAPI void addReference(int assetType, ::std::string const &identifier, ::std::string contextString)
static MCAPI void ** $vftable()
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
Definition LinkedAssetValidator.h:52
Definition LinkedAssetValidator.h:25
Definition LinkedAssetValidator.h:54
Definition Alias.h:14