engage/generated/unity_engine/
bootconfigdata.rs1#[cfg(feature = "unity_engine-bootconfigdata-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/bootconfigdata/BootConfigData.md"))]
11 #[::unity::class(namespace = "UnityEngine", name = "BootConfigData")]
12 #[parent(crate::system::object::Object)]
13 pub struct BootConfigData {
14 #[offset(16)]
15 #[rename(name = "m_Ptr")]
16 pub m_ptr: ::unity::IntPtr,
17 }
18}
19
20#[cfg(feature = "unity_engine-bootconfigdata-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-bootconfigdata")]
24impl BootConfigData {
25 #[doc = "`WrapBootConfigData(::unity::IntPtr)` overload"]
26 pub fn wrap_boot_config_data(native_handle: impl ::core::convert::Into<::unity::IntPtr>) -> crate::unity_engine::bootconfigdata::BootConfigData {
27 unsafe {
28 ::unity::il2cpp_call!((::unity::module_base()+0x2c38130usize)as*mut u8,crate::unity_engine::bootconfigdata::BootConfigData;
29(::unity::IntPtr)::core::convert::Into::into(native_handle))
30 }
31 }
32}
33
34#[cfg(feature = "unity_engine-bootconfigdata")]
35pub trait IBootConfigDataMethods: IBootConfigData {
36 #[doc = "`.ctor(::unity::IntPtr)` overload"]
37 fn ctor(self, native_handle: impl ::core::convert::Into<::unity::IntPtr>) -> () {
38 unsafe {
39 let __receiver = <BootConfigData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 ::unity::il2cpp_call!((::unity::module_base()+0x2c381a0usize)as*mut u8,();
41(BootConfigData)__receiver,(::unity::IntPtr)::core::convert::Into::into(native_handle))
42 }
43 }
44}
45
46#[cfg(feature = "unity_engine-bootconfigdata")]
47impl<__T: IBootConfigData> IBootConfigDataMethods for __T {}
48
49#[cfg(feature = "unity_engine-bootconfigdata")]
50impl BootConfigData {
51 pub fn wrap_boot_config_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
52 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
53 }
54
55 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
56 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
57 }
58}
59
60#[cfg(feature = "unity_engine-bootconfigdata")]
61impl BootConfigData {
62 #[doc = "`.ctor(::unity::IntPtr)` — overload selector"]
63 pub fn new(native_handle: ::unity::IntPtr) -> Self {
64 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
65 panic!(
66 "{}
67::{}
68 failed to instantiate",
69 ::core::stringify!(BootConfigData),
70 ::core::stringify!(new),
71 )
72 });
73 <Self as IBootConfigDataMethods>::ctor(this, native_handle);
74 this
75 }
76}
77
78#[cfg(feature = "unity_engine-bootconfigdata")]
79#[doc(hidden)]
80pub mod prelude {
81 pub use super::{BootConfigData, IBootConfigData, IBootConfigDataMethods};
82 pub use crate::system::object::IObject;
83 #[cfg(feature = "system-object")]
84 pub use crate::system::object::IObjectMethods;
85}