engage/generated/unity_engine/scripting/api_updating/
apiupdaterruntimehelpers.rs1#[cfg(feature = "unity_engine-scripting-api_updating-apiupdaterruntimehelpers-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/scripting/api_updating/apiupdaterruntimehelpers/APIUpdaterRuntimeHelpers.md"))]
11 #[::unity::class(namespace = "UnityEngine._Scripting.APIUpdating", name = "APIUpdaterRuntimeHelpers")]
12 #[parent(crate::system::object::Object)]
13 pub struct APIUpdaterRuntimeHelpers {}
14}
15
16#[cfg(feature = "unity_engine-scripting-api_updating-apiupdaterruntimehelpers-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-scripting-api_updating-apiupdaterruntimehelpers")]
20impl APIUpdaterRuntimeHelpers {
21 #[doc = "`GetMovedFromAttributeDataForType(::unity::SystemType, *mut::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString)` overload"]
22 pub fn get_moved_from_attribute_data_for_type(
23 source_type: impl ::core::convert::Into<::unity::SystemType>,
24 ) -> (bool, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) {
25 unsafe {
26 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
27 let mut __out_1 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
28 let mut __out_2 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
29 let __ret = {
30 ::unity::il2cpp_call!((::unity::module_base()+0x2c343d0usize)as*mut u8,bool;
31(::unity::SystemType)::core::convert::Into::into(source_type),(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(*mut::unity::Il2CppString)__out_1.as_mut_ptr(),(*mut::unity::Il2CppString)__out_2.as_mut_ptr())
32 };
33 (__ret, __out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
34 }
35 }
36
37 #[doc = "`GetObsoleteTypeRedirection(::unity::SystemType, *mut::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString)` overload"]
38 pub fn get_obsolete_type_redirection(
39 source_type: impl ::core::convert::Into<::unity::SystemType>,
40 ) -> (bool, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) {
41 unsafe {
42 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
43 let mut __out_1 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
44 let mut __out_2 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
45 let __ret = {
46 ::unity::il2cpp_call!((::unity::module_base()+0x2c34560usize)as*mut u8,bool;
47(::unity::SystemType)::core::convert::Into::into(source_type),(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(*mut::unity::Il2CppString)__out_1.as_mut_ptr(),(*mut::unity::Il2CppString)__out_2.as_mut_ptr())
48 };
49 (__ret, __out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
50 }
51 }
52}
53
54#[cfg(feature = "unity_engine-scripting-api_updating-apiupdaterruntimehelpers")]
55impl APIUpdaterRuntimeHelpers {
56 pub fn get_moved_from_attribute_data_for_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
58 }
59
60 pub fn get_obsolete_type_redirection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
61 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
62 }
63}
64
65#[cfg(feature = "unity_engine-scripting-api_updating-apiupdaterruntimehelpers")]
66#[doc(hidden)]
67pub mod prelude {
68 pub use super::{APIUpdaterRuntimeHelpers, IAPIUpdaterRuntimeHelpers};
69 pub use crate::system::object::IObject;
70 #[cfg(feature = "system-object")]
71 pub use crate::system::object::IObjectMethods;
72}