engage/generated/unity_engine/scripting/api_updating/
movedfromattributedata.rs1#[cfg(feature = "unity_engine-scripting-api_updating-movedfromattributedata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 valuetype::{IValueType, ValueType},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/scripting/api_updating/movedfromattributedata/MovedFromAttributeData.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct MovedFromAttributeData {
17 pub class_name: ::unity::Il2CppString,
18 pub name_space: ::unity::Il2CppString,
19 pub assembly: ::unity::Il2CppString,
20 pub class_has_changed: bool,
21 pub name_space_has_changed: bool,
22 pub assembly_has_changed: bool,
23 pub auto_udpate_api: bool,
24 }
25 impl ::unity::ClassIdentity for MovedFromAttributeData {
26 const NAME: &'static str = "MovedFromAttributeData";
27 const NAMESPACE: &'static str = "UnityEngine.Scripting.APIUpdating";
28
29 fn class() -> ::unity::Class {
30 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
31 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
32 }
33 }
34 impl ::unity::IlType for MovedFromAttributeData {
35 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
36 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
37 }
38 }
39}
40
41#[cfg(feature = "unity_engine-scripting-api_updating-movedfromattributedata-types")]
42pub use __types::*;
43
44#[cfg(feature = "unity_engine-scripting-api_updating-movedfromattributedata")]
45impl MovedFromAttributeData {
46 #[doc = "`Set(bool, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
47 pub fn set(
48 &mut self,
49 auto_update_api: impl ::core::convert::Into<bool>,
50 source_namespace: impl ::core::convert::Into<::unity::Il2CppString>,
51 source_assembly: impl ::core::convert::Into<::unity::Il2CppString>,
52 source_class_name: impl ::core::convert::Into<::unity::Il2CppString>,
53 ) -> () {
54 unsafe {
55 ::unity::il2cpp_call!((::unity::module_base()+0x32edc20usize)as*mut u8,();
56(*mut MovedFromAttributeData)self as*mut MovedFromAttributeData,(bool)::core::convert::Into::into(auto_update_api),(::unity::Il2CppString)::core::convert::Into::into(source_namespace),(::unity::Il2CppString)::core::convert::Into::into(source_assembly),(::unity::Il2CppString)::core::convert::Into::into(source_class_name))
57 }
58 }
59}
60
61#[cfg(feature = "unity_engine-scripting-api_updating-movedfromattributedata")]
62impl MovedFromAttributeData {
63 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
64 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
65 }
66}
67
68#[cfg(feature = "unity_engine-scripting-api_updating-movedfromattributedata")]
69#[doc(hidden)]
70pub mod prelude {
71 pub use super::MovedFromAttributeData;
72 #[cfg(feature = "system-object")]
73 pub use crate::system::object::IObjectMethods;
74 #[cfg(feature = "system-valuetype")]
75 pub use crate::system::valuetype::IValueTypeMethods;
76 pub use crate::system::{object::IObject, valuetype::IValueType};
77}