Skip to main content

engage/generated/unity_engine/addressable_assets/resource_locators/
contentcatalogdataentry.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/addressable_assets/resource_locators/contentcatalogdataentry/ContentCatalogDataEntry.md"))]
11    #[::unity::class(namespace = "UnityEngine.AddressableAssets.ResourceLocators", name = "ContentCatalogDataEntry")]
12    #[parent(crate::system::object::Object)]
13    pub struct ContentCatalogDataEntry {}
14}
15
16#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry")]
20pub trait IContentCatalogDataEntryMethods: IContentCatalogDataEntry {
21    #[doc = "`get_InternalId()` overload"]
22    fn get_internal_id(self) -> ::unity::Il2CppString {
23        unsafe {
24            let __receiver =
25                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
26            ::unity::il2cpp_call!((::unity::module_base()+0x2db5420usize)as*mut u8, ::unity::Il2CppString;
27(ContentCatalogDataEntry)__receiver)
28        }
29    }
30    #[doc = "`set_InternalId(::unity::Il2CppString)` overload"]
31    fn set_internal_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
32        unsafe {
33            let __receiver =
34                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
35            ::unity::il2cpp_call!((::unity::module_base()+0x2db5430usize)as*mut u8,();
36(ContentCatalogDataEntry)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
37        }
38    }
39    #[doc = "`get_Provider()` overload"]
40    fn get_provider(self) -> ::unity::Il2CppString {
41        unsafe {
42            let __receiver =
43                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44            ::unity::il2cpp_call!((::unity::module_base()+0x2db5440usize)as*mut u8, ::unity::Il2CppString;
45(ContentCatalogDataEntry)__receiver)
46        }
47    }
48    #[doc = "`set_Provider(::unity::Il2CppString)` overload"]
49    fn set_provider(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
50        unsafe {
51            let __receiver =
52                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x2db5450usize)as*mut u8,();
54(ContentCatalogDataEntry)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
55        }
56    }
57    #[doc = "`get_Keys()` overload"]
58    fn get_keys(self) -> crate::system::collections::generic::list_1::List_1<crate::system::object::Object> {
59        unsafe {
60            let __receiver =
61                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x2db5460usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::system::object::Object> ;
63(ContentCatalogDataEntry)__receiver)
64        }
65    }
66    #[doc = "`set_Keys(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>)` overload"]
67    fn set_keys(self, value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::system::object::Object>>) -> () {
68        unsafe {
69            let __receiver =
70                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x2db5470usize)as*mut u8,();
72(ContentCatalogDataEntry)__receiver,(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>)::core::convert::Into::into(value))
73        }
74    }
75    #[doc = "`get_Dependencies()` overload"]
76    fn get_dependencies(self) -> crate::system::collections::generic::list_1::List_1<crate::system::object::Object> {
77        unsafe {
78            let __receiver =
79                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x2db5480usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::system::object::Object> ;
81(ContentCatalogDataEntry)__receiver)
82        }
83    }
84    #[doc = "`set_Dependencies(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>)` overload"]
85    fn set_dependencies(
86        self,
87        value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::system::object::Object>>,
88    ) -> () {
89        unsafe {
90            let __receiver =
91                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92            ::unity::il2cpp_call!((::unity::module_base()+0x2db5490usize)as*mut u8,();
93(ContentCatalogDataEntry)__receiver,(crate::system::collections::generic::list_1::List_1<crate::system::object::Object>)::core::convert::Into::into(value))
94        }
95    }
96    #[doc = "`get_Data()` overload"]
97    fn get_data(self) -> crate::system::object::Object {
98        unsafe {
99            let __receiver =
100                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            ::unity::il2cpp_call!((::unity::module_base()+0x2db54a0usize)as*mut u8,crate::system::object::Object;
102(ContentCatalogDataEntry)__receiver)
103        }
104    }
105    #[doc = "`set_Data(crate::system::object::Object)` overload"]
106    fn set_data(self, value: impl ::core::convert::Into<crate::system::object::Object>) -> () {
107        unsafe {
108            let __receiver =
109                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            ::unity::il2cpp_call!((::unity::module_base()+0x2db54b0usize)as*mut u8,();
111(ContentCatalogDataEntry)__receiver,(crate::system::object::Object)::core::convert::Into::into(value))
112        }
113    }
114    #[doc = "`get_ResourceType()` overload"]
115    fn get_resource_type(self) -> ::unity::SystemType {
116        unsafe {
117            let __receiver =
118                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x2db54c0usize)as*mut u8, ::unity::SystemType;
120(ContentCatalogDataEntry)__receiver)
121        }
122    }
123    #[doc = "`set_ResourceType(::unity::SystemType)` overload"]
124    fn set_resource_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
125        unsafe {
126            let __receiver =
127                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2db54d0usize)as*mut u8,();
129(ContentCatalogDataEntry)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
130        }
131    }
132    #[doc = "`.ctor(::unity::SystemType, ::unity::Il2CppString, ::unity::Il2CppString, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>, ::unity::IlInstance)` overload"]
133    fn ctor(
134        self,
135        r#type: impl ::core::convert::Into<::unity::SystemType>,
136        internal_id: impl ::core::convert::Into<::unity::Il2CppString>,
137        provider: impl ::core::convert::Into<::unity::Il2CppString>,
138        keys: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>>,
139        dependencies: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>>,
140        extra_data: impl ::core::convert::Into<::unity::IlInstance>,
141    ) -> () {
142        unsafe {
143            let __receiver =
144                <ContentCatalogDataEntry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x2db54e0usize)as*mut u8,();
146(ContentCatalogDataEntry)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type),(::unity::Il2CppString)::core::convert::Into::into(internal_id),(::unity::Il2CppString)::core::convert::Into::into(provider),(crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>)::core::convert::Into::into(dependencies),(::unity::IlInstance)::core::convert::Into::into(extra_data))
147        }
148    }
149}
150
151#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry")]
152impl<__T: IContentCatalogDataEntry> IContentCatalogDataEntryMethods for __T {}
153
154#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry")]
155impl ContentCatalogDataEntry {
156    pub fn get_internal_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
158    }
159
160    pub fn set_internal_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
162    }
163
164    pub fn get_provider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
166    }
167
168    pub fn set_provider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
170    }
171
172    pub fn get_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
174    }
175
176    pub fn set_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
178    }
179
180    pub fn get_dependencies_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
182    }
183
184    pub fn set_dependencies_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
186    }
187
188    pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
190    }
191
192    pub fn set_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
194    }
195
196    pub fn get_resource_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
198    }
199
200    pub fn set_resource_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
202    }
203
204    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
206    }
207}
208
209#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry")]
210impl ContentCatalogDataEntry {
211    #[doc = "`.ctor(::unity::SystemType, ::unity::Il2CppString, ::unity::Il2CppString, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>, ::unity::IlInstance)` — overload selector"]
212    pub fn new(
213        r#type: ::unity::SystemType,
214        internal_id: ::unity::Il2CppString,
215        provider: ::unity::Il2CppString,
216        keys: crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>,
217        dependencies: crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::system::object::Object>,
218        extra_data: ::unity::IlInstance,
219    ) -> Self {
220        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
221            panic!(
222                "{}
223::{}
224 failed to instantiate",
225                ::core::stringify!(ContentCatalogDataEntry),
226                ::core::stringify!(new),
227            )
228        });
229        <Self as IContentCatalogDataEntryMethods>::ctor(this, r#type, internal_id, provider, keys, dependencies, extra_data);
230        this
231    }
232}
233
234#[cfg(feature = "unity_engine-addressable_assets-resource_locators-contentcatalogdataentry")]
235#[doc(hidden)]
236pub mod prelude {
237    pub use super::{ContentCatalogDataEntry, IContentCatalogDataEntry, IContentCatalogDataEntryMethods};
238    pub use crate::system::object::IObject;
239    #[cfg(feature = "system-object")]
240    pub use crate::system::object::IObjectMethods;
241}