Skip to main content

engage/generated/unity_engine/addressable_assets/initialization/
addressablesruntimeproperties.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-addressable_assets-initialization-addressablesruntimeproperties-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/initialization/addressablesruntimeproperties/AddressablesRuntimeProperties.md"))]
11    #[::unity::class(namespace = "UnityEngine.AddressableAssets.Initialization", name = "AddressablesRuntimeProperties")]
12    #[parent(crate::system::object::Object)]
13    pub struct AddressablesRuntimeProperties {
14        #[static_field]
15        #[rename(name = "s_TokenStack")]
16        pub s_token_stack: crate::system::collections::generic::stack_1::Stack_1<::unity::Il2CppString>,
17        #[static_field]
18        #[rename(name = "s_TokenStartStack")]
19        pub s_token_start_stack: crate::system::collections::generic::stack_1::Stack_1<i32>,
20        #[static_field]
21        #[rename(name = "s_CachedValues")]
22        pub s_cached_values: crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, ::unity::Il2CppString>,
23    }
24}
25
26#[cfg(feature = "unity_engine-addressable_assets-initialization-addressablesruntimeproperties-types")]
27pub use __types::*;
28
29#[cfg(feature = "unity_engine-addressable_assets-initialization-addressablesruntimeproperties")]
30impl AddressablesRuntimeProperties {
31    #[doc = "`GetAssemblies()` overload"]
32    pub fn get_assemblies() -> ::unity::Array<crate::system::reflection::assembly::Assembly> {
33        unsafe {
34            ::unity::il2cpp_call!((::unity::module_base()+0x2db1480usize)as*mut u8, ::unity::Array<crate::system::reflection::assembly::Assembly> ;
35            )
36        }
37    }
38
39    #[doc = "`GetCachedValueCount()` overload"]
40    pub fn get_cached_value_count() -> i32 {
41        unsafe {
42            ::unity::il2cpp_call!((::unity::module_base()+0x2db14a0usize)as*mut u8,i32;
43            )
44        }
45    }
46
47    #[doc = "`SetPropertyValue(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
48    pub fn set_property_value(name: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49        unsafe {
50            ::unity::il2cpp_call!((::unity::module_base()+0x2db1520usize)as*mut u8,();
51(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Il2CppString)::core::convert::Into::into(val))
52        }
53    }
54
55    #[doc = "`ClearCachedPropertyValues()` overload"]
56    pub fn clear_cached_property_values() -> () {
57        unsafe {
58            ::unity::il2cpp_call!((::unity::module_base()+0x2db15c0usize)as*mut u8,();
59            )
60        }
61    }
62
63    #[doc = "`EvaluateProperty(::unity::Il2CppString)` overload"]
64    pub fn evaluate_property(name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
65        unsafe {
66            ::unity::il2cpp_call!((::unity::module_base()+0x2db1640usize)as*mut u8, ::unity::Il2CppString;
67(::unity::Il2CppString)::core::convert::Into::into(name))
68        }
69    }
70
71    #[doc = "`EvaluateString(::unity::Il2CppString)` overload"]
72    pub fn evaluate_string(input: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
73        unsafe {
74            ::unity::il2cpp_call!((::unity::module_base()+0x2daaf20usize)as*mut u8, ::unity::Il2CppString;
75(::unity::Il2CppString)::core::convert::Into::into(input))
76        }
77    }
78
79    #[doc = "`EvaluateString(::unity::Il2CppString, u16, u16, crate::system::func_2::Func_2<::unity::Il2CppString,::unity::Il2CppString>)` overload"]
80    pub fn evaluate_string_2(
81        input_string: impl ::core::convert::Into<::unity::Il2CppString>,
82        start_delimiter: impl ::core::convert::Into<u16>,
83        end_delimiter: impl ::core::convert::Into<u16>,
84        var_func: impl ::core::convert::Into<crate::system::func_2::Func_2<::unity::Il2CppString, ::unity::Il2CppString>>,
85    ) -> ::unity::Il2CppString {
86        unsafe {
87            ::unity::il2cpp_call!((::unity::module_base()+0x2db1a90usize)as*mut u8, ::unity::Il2CppString;
88(::unity::Il2CppString)::core::convert::Into::into(input_string),(u16)::core::convert::Into::into(start_delimiter),(u16)::core::convert::Into::into(end_delimiter),(crate::system::func_2::Func_2< ::unity::Il2CppString, ::unity::Il2CppString>)::core::convert::Into::into(var_func))
89        }
90    }
91
92    #[doc = "`.cctor()` overload"]
93    pub fn cctor() -> () {
94        unsafe {
95            ::unity::il2cpp_call!((::unity::module_base()+0x2db2020usize)as*mut u8,();
96            )
97        }
98    }
99}
100
101#[cfg(feature = "unity_engine-addressable_assets-initialization-addressablesruntimeproperties")]
102impl AddressablesRuntimeProperties {
103    pub fn get_assemblies_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
105    }
106
107    pub fn get_cached_value_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
109    }
110
111    pub fn set_property_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
113    }
114
115    pub fn clear_cached_property_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
117    }
118
119    pub fn evaluate_property_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
121    }
122
123    pub fn evaluate_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
125    }
126
127    pub fn evaluate_string_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
129    }
130
131    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
133    }
134}
135
136#[cfg(feature = "unity_engine-addressable_assets-initialization-addressablesruntimeproperties")]
137#[doc(hidden)]
138pub mod prelude {
139    pub use super::{AddressablesRuntimeProperties, IAddressablesRuntimeProperties};
140    pub use crate::system::object::IObject;
141    #[cfg(feature = "system-object")]
142    pub use crate::system::object::IObjectMethods;
143}