engage/generated/unity_engine/asset_graph/
assetbundlebuildmap.rs1#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 valuetype::{IValueType, ValueType},
12 },
13 unity_engine::{
14 object_2::{IObject_2, Object_2},
15 scriptableobject::{IScriptableObject, ScriptableObject},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/asset_graph/assetbundlebuildmap/AssetBundleBuildMap.md"))]
20 #[::unity::class(namespace = "UnityEngine.AssetGraph", name = "AssetBundleBuildMap")]
21 #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
22 pub struct AssetBundleBuildMap {
23 #[offset(24)]
24 #[rename(name = "m_assetBundles")]
25 pub m_asset_bundles: crate::system::collections::generic::list_1::List_1<
26 crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry,
27 >,
28 #[static_field]
29 #[rename(name = "s_map")]
30 pub s_map: crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap,
31 }
32
33 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/asset_graph/assetbundlebuildmap/AssetBundleBuildMap_AssetBundleEntry_AssetPathString.md"))]
34 #[repr(C)]
35 #[derive(::core::clone::Clone, ::core::marker::Copy)]
36 pub struct AssetBundleBuildMap_AssetBundleEntry_AssetPathString {
37 pub original: ::unity::Il2CppString,
38 pub lower: ::unity::Il2CppString,
39 }
40 impl ::unity::ClassIdentity for AssetBundleBuildMap_AssetBundleEntry_AssetPathString {
41 const NAME: &'static str = "AssetBundleBuildMap.AssetBundleEntry.AssetPathString";
42 const NAMESPACE: &'static str = "UnityEngine.AssetGraph";
43
44 fn class() -> ::unity::Class {
45 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
46 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
47 }
48 }
49 impl ::unity::IlType for AssetBundleBuildMap_AssetBundleEntry_AssetPathString {
50 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
51 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
52 }
53 }
54
55 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/asset_graph/assetbundlebuildmap/AssetBundleBuildMap_AssetBundleEntry.md"))]
56 #[::unity::class(namespace = "UnityEngine.AssetGraph", name = "AssetBundleBuildMap.AssetBundleEntry")]
57 #[parent(crate::system::object::Object)]
58 pub struct AssetBundleBuildMap_AssetBundleEntry {
59 #[offset(16)]
60 #[rename(name = "m_assetBundleName")]
61 pub m_asset_bundle_name: ::unity::Il2CppString,
62 #[offset(24)]
63 #[rename(name = "m_assetBundleVariantName")]
64 pub m_asset_bundle_variant_name: ::unity::Il2CppString,
65 #[offset(32)]
66 #[rename(name = "m_fullName")]
67 pub m_full_name: ::unity::Il2CppString,
68 #[offset(40)]
69 #[rename(name = "m_assets")]
70 pub m_assets: crate::system::collections::generic::list_1::List_1<
71 crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry_AssetPathString,
72 >,
73 #[offset(48)]
74 #[rename(name = "m_registererId")]
75 pub m_registerer_id: ::unity::Il2CppString,
76 }
77}
78
79#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap-types")]
80pub use __types::*;
81
82#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
83impl AssetBundleBuildMap {
84 #[doc = "`GetBuildMap()` overload"]
85 pub fn get_build_map() -> crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap {
86 unsafe {
87 ::unity::il2cpp_call!((::unity::module_base()+0x2118a00usize)as*mut u8,crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap;
88 )
89 }
90 }
91
92 #[doc = "`Load()` overload"]
93 pub fn load() -> bool {
94 unsafe {
95 ::unity::il2cpp_call!((::unity::module_base()+0x2118b30usize)as*mut u8,bool;
96 )
97 }
98 }
99
100 #[doc = "`SetMapDirty()` overload"]
101 pub fn set_map_dirty() -> () {
102 unsafe {
103 ::unity::il2cpp_call!((::unity::module_base()+0x2118b40usize)as*mut u8,();
104 )
105 }
106 }
107
108 #[doc = "`MakeFullName(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
109 pub fn make_full_name(
110 asset_bundle_name: impl ::core::convert::Into<::unity::Il2CppString>,
111 variant_name: impl ::core::convert::Into<::unity::Il2CppString>,
112 ) -> ::unity::Il2CppString {
113 unsafe {
114 ::unity::il2cpp_call!((::unity::module_base()+0x2118b50usize)as*mut u8, ::unity::Il2CppString;
115(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_name),(::unity::Il2CppString)::core::convert::Into::into(variant_name))
116 }
117 }
118
119 #[doc = "`FullNameToNameAndVariant(::unity::Il2CppString)` overload"]
120 pub fn full_name_to_name_and_variant(
121 asset_bundle_full_name: impl ::core::convert::Into<::unity::Il2CppString>,
122 ) -> ::unity::Array<::unity::Il2CppString> {
123 unsafe {
124 ::unity::il2cpp_call!((::unity::module_base()+0x2118c20usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
125(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_full_name))
126 }
127 }
128}
129
130#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
131pub trait IAssetBundleBuildMapMethods: IAssetBundleBuildMap {
132 #[doc = "`GetAssetBundle(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
133 fn get_asset_bundle(
134 self,
135 registerer_id: impl ::core::convert::Into<::unity::Il2CppString>,
136 asset_bundle_full_name: impl ::core::convert::Into<::unity::Il2CppString>,
137 ) -> crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry {
138 unsafe {
139 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x2118e10usize)as*mut u8,crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry;
141(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(registerer_id),(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_full_name))
142 }
143 }
144 #[doc = "`Clear()` overload"]
145 fn clear(self) -> () {
146 unsafe {
147 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x2118fb0usize)as*mut u8,();
149(AssetBundleBuildMap)__receiver)
150 }
151 }
152 #[doc = "`ClearFromId(::unity::Il2CppString)` overload"]
153 fn clear_from_id(self, id: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
154 unsafe {
155 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
156 ::unity::il2cpp_call!((::unity::module_base()+0x2119010usize)as*mut u8,();
157(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(id))
158 }
159 }
160 #[doc = "`GetAssetBundleWithNameAndVariant(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
161 fn get_asset_bundle_with_name_and_variant(
162 self,
163 registerer_id: impl ::core::convert::Into<::unity::Il2CppString>,
164 asset_bundle_name: impl ::core::convert::Into<::unity::Il2CppString>,
165 variant_name: impl ::core::convert::Into<::unity::Il2CppString>,
166 ) -> crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry {
167 unsafe {
168 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x2119110usize)as*mut u8,crate::unity_engine::asset_graph::assetbundlebuildmap::AssetBundleBuildMap_AssetBundleEntry;
170(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(registerer_id),(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_name),(::unity::Il2CppString)::core::convert::Into::into(variant_name))
171 }
172 }
173 #[doc = "`GetAssetPathsFromAssetBundleAndAssetName(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
174 fn get_asset_paths_from_asset_bundle_and_asset_name(
175 self,
176 assetbundle_name: impl ::core::convert::Into<::unity::Il2CppString>,
177 asset_name: impl ::core::convert::Into<::unity::Il2CppString>,
178 ) -> ::unity::Array<::unity::Il2CppString> {
179 unsafe {
180 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181 ::unity::il2cpp_call!((::unity::module_base()+0x2119150usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
182(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(assetbundle_name),(::unity::Il2CppString)::core::convert::Into::into(asset_name))
183 }
184 }
185 #[doc = "`GetAssetPathsFromAssetBundle(::unity::Il2CppString)` overload"]
186 fn get_asset_paths_from_asset_bundle(
187 self,
188 asset_bundle_name: impl ::core::convert::Into<::unity::Il2CppString>,
189 ) -> ::unity::Array<::unity::Il2CppString> {
190 unsafe {
191 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192 ::unity::il2cpp_call!((::unity::module_base()+0x2119330usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
193(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_name))
194 }
195 }
196 #[doc = "`GetAssetBundleName(::unity::Il2CppString)` overload"]
197 fn get_asset_bundle_name(self, asset_path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
198 unsafe {
199 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200 ::unity::il2cpp_call!((::unity::module_base()+0x2119640usize)as*mut u8, ::unity::Il2CppString;
201(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(asset_path))
202 }
203 }
204 #[doc = "`GetImplicitAssetBundleName(::unity::Il2CppString)` overload"]
205 fn get_implicit_asset_bundle_name(self, asset_path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
206 unsafe {
207 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208 ::unity::il2cpp_call!((::unity::module_base()+0x2119770usize)as*mut u8, ::unity::Il2CppString;
209(AssetBundleBuildMap)__receiver,(::unity::Il2CppString)::core::convert::Into::into(asset_path))
210 }
211 }
212 #[doc = "`GetAllAssetBundleNames()` overload"]
213 fn get_all_asset_bundle_names(self) -> ::unity::Array<::unity::Il2CppString> {
214 unsafe {
215 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216 ::unity::il2cpp_call!((::unity::module_base()+0x2119780usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
217(AssetBundleBuildMap)__receiver)
218 }
219 }
220 #[doc = "`.ctor()` overload"]
221 fn ctor(self) -> () {
222 unsafe {
223 let __receiver = <AssetBundleBuildMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224 ::unity::il2cpp_call!((::unity::module_base()+0x21198d0usize)as*mut u8,();
225(AssetBundleBuildMap)__receiver)
226 }
227 }
228}
229
230#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
231impl<__T: IAssetBundleBuildMap> IAssetBundleBuildMapMethods for __T {}
232
233#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
234impl AssetBundleBuildMap {
235 pub fn get_build_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
237 }
238
239 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
241 }
242
243 pub fn set_map_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
245 }
246
247 pub fn make_full_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
249 }
250
251 pub fn full_name_to_name_and_variant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
253 }
254
255 pub fn get_asset_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
257 }
258
259 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
261 }
262
263 pub fn clear_from_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
265 }
266
267 pub fn get_asset_bundle_with_name_and_variant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
269 }
270
271 pub fn get_asset_paths_from_asset_bundle_and_asset_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
273 }
274
275 pub fn get_asset_paths_from_asset_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
277 }
278
279 pub fn get_asset_bundle_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
281 }
282
283 pub fn get_implicit_asset_bundle_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
285 }
286
287 pub fn get_all_asset_bundle_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
289 }
290
291 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
293 }
294}
295
296#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
297impl AssetBundleBuildMap {
298 #[doc = "`.ctor()` — no args"]
299 pub fn new() -> Self {
300 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
301 panic!(
302 "{}
303::{}
304 failed to instantiate",
305 ::core::stringify!(AssetBundleBuildMap),
306 ::core::stringify!(new),
307 )
308 });
309 <Self as IAssetBundleBuildMapMethods>::ctor(this);
310 this
311 }
312}
313
314#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
315impl AssetBundleBuildMap_AssetBundleEntry_AssetPathString {
316 #[doc = "`.ctor(::unity::Il2CppString)` overload"]
317 pub fn ctor(&mut self, s: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
318 unsafe {
319 ::unity::il2cpp_call!((::unity::module_base()+0x1b31fa0usize)as*mut u8,();
320(*mut AssetBundleBuildMap_AssetBundleEntry_AssetPathString)self as*mut AssetBundleBuildMap_AssetBundleEntry_AssetPathString,(::unity::Il2CppString)::core::convert::Into::into(s))
321 }
322 }
323}
324
325#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
326impl AssetBundleBuildMap_AssetBundleEntry_AssetPathString {
327 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
329 }
330}
331
332#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
333pub trait IAssetBundleBuildMap_AssetBundleEntryMethods: IAssetBundleBuildMap_AssetBundleEntry {
334 #[doc = "`get_Name()` overload"]
335 fn get_name(self) -> ::unity::Il2CppString {
336 unsafe {
337 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
338 <Self as ::unity::SystemObject>::as_instance(self),
339 );
340 ::unity::il2cpp_call!((::unity::module_base()+0x1baf0f0usize)as*mut u8, ::unity::Il2CppString;
341(AssetBundleBuildMap_AssetBundleEntry)__receiver)
342 }
343 }
344 #[doc = "`get_Variant()` overload"]
345 fn get_variant(self) -> ::unity::Il2CppString {
346 unsafe {
347 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
348 <Self as ::unity::SystemObject>::as_instance(self),
349 );
350 ::unity::il2cpp_call!((::unity::module_base()+0x1baf100usize)as*mut u8, ::unity::Il2CppString;
351(AssetBundleBuildMap_AssetBundleEntry)__receiver)
352 }
353 }
354 #[doc = "`get_FullName()` overload"]
355 fn get_full_name(self) -> ::unity::Il2CppString {
356 unsafe {
357 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
358 <Self as ::unity::SystemObject>::as_instance(self),
359 );
360 ::unity::il2cpp_call!((::unity::module_base()+0x1baf110usize)as*mut u8, ::unity::Il2CppString;
361(AssetBundleBuildMap_AssetBundleEntry)__receiver)
362 }
363 }
364 #[doc = "`.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
365 fn ctor(
366 self,
367 registerer_id: impl ::core::convert::Into<::unity::Il2CppString>,
368 asset_bundle_name: impl ::core::convert::Into<::unity::Il2CppString>,
369 variant_name: impl ::core::convert::Into<::unity::Il2CppString>,
370 ) -> () {
371 unsafe {
372 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
373 <Self as ::unity::SystemObject>::as_instance(self),
374 );
375 ::unity::il2cpp_call!((::unity::module_base()+0x1baf120usize)as*mut u8,();
376(AssetBundleBuildMap_AssetBundleEntry)__receiver,(::unity::Il2CppString)::core::convert::Into::into(registerer_id),(::unity::Il2CppString)::core::convert::Into::into(asset_bundle_name),(::unity::Il2CppString)::core::convert::Into::into(variant_name))
377 }
378 }
379 #[doc = "`Clear()` overload"]
380 fn clear(self) -> () {
381 unsafe {
382 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
383 <Self as ::unity::SystemObject>::as_instance(self),
384 );
385 ::unity::il2cpp_call!((::unity::module_base()+0x1baf230usize)as*mut u8,();
386(AssetBundleBuildMap_AssetBundleEntry)__receiver)
387 }
388 }
389 #[doc = "`AddAssets(::unity::Il2CppString, crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString>)` overload"]
390 fn add_assets(
391 self,
392 id: impl ::core::convert::Into<::unity::Il2CppString>,
393 assets: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString>>,
394 ) -> () {
395 unsafe {
396 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
397 <Self as ::unity::SystemObject>::as_instance(self),
398 );
399 ::unity::il2cpp_call!((::unity::module_base()+0x1baf290usize)as*mut u8,();
400(AssetBundleBuildMap_AssetBundleEntry)__receiver,(::unity::Il2CppString)::core::convert::Into::into(id),(crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::Il2CppString>)::core::convert::Into::into(assets))
401 }
402 }
403 #[doc = "`GetAssetFromAssetName(::unity::Il2CppString)` overload"]
404 fn get_asset_from_asset_name(
405 self,
406 asset_name: impl ::core::convert::Into<::unity::Il2CppString>,
407 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> {
408 unsafe {
409 let __receiver = <AssetBundleBuildMap_AssetBundleEntry as ::unity::FromIlInstance>::from_il_instance(
410 <Self as ::unity::SystemObject>::as_instance(self),
411 );
412 ::unity::il2cpp_call!((::unity::module_base()+0x1baedd0usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::Il2CppString> ;
413(AssetBundleBuildMap_AssetBundleEntry)__receiver,(::unity::Il2CppString)::core::convert::Into::into(asset_name))
414 }
415 }
416}
417
418#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
419impl<__T: IAssetBundleBuildMap_AssetBundleEntry> IAssetBundleBuildMap_AssetBundleEntryMethods for __T {}
420
421#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
422impl AssetBundleBuildMap_AssetBundleEntry {
423 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
425 }
426
427 pub fn get_variant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
429 }
430
431 pub fn get_full_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
433 }
434
435 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
437 }
438
439 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
441 }
442
443 pub fn add_assets_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
445 }
446
447 pub fn get_asset_from_asset_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
449 }
450}
451
452#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
453impl AssetBundleBuildMap_AssetBundleEntry {
454 #[doc = "`.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` — overload selector"]
455 pub fn new(registerer_id: ::unity::Il2CppString, asset_bundle_name: ::unity::Il2CppString, variant_name: ::unity::Il2CppString) -> Self {
456 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
457 panic!(
458 "{}
459::{}
460 failed to instantiate",
461 ::core::stringify!(AssetBundleBuildMap_AssetBundleEntry),
462 ::core::stringify!(new),
463 )
464 });
465 <Self as IAssetBundleBuildMap_AssetBundleEntryMethods>::ctor(this, registerer_id, asset_bundle_name, variant_name);
466 this
467 }
468}
469
470#[cfg(feature = "unity_engine-asset_graph-assetbundlebuildmap")]
471#[doc(hidden)]
472pub mod prelude {
473 pub use super::{
474 AssetBundleBuildMap, AssetBundleBuildMap_AssetBundleEntry, AssetBundleBuildMap_AssetBundleEntry_AssetPathString, IAssetBundleBuildMap,
475 IAssetBundleBuildMapMethods, IAssetBundleBuildMap_AssetBundleEntry, IAssetBundleBuildMap_AssetBundleEntryMethods,
476 };
477 #[cfg(feature = "system-object")]
478 pub use crate::system::object::IObjectMethods;
479 #[cfg(feature = "system-valuetype")]
480 pub use crate::system::valuetype::IValueTypeMethods;
481 #[cfg(feature = "unity_engine-object_2")]
482 pub use crate::unity_engine::object_2::IObject_2Methods;
483 #[cfg(feature = "unity_engine-scriptableobject")]
484 pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
485 pub use crate::{
486 system::{object::IObject, valuetype::IValueType},
487 unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
488 };
489}