Skip to main content

engage/generated/app/
aideploy.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-aideploy-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            mapdeploytemplate_1::{IMapDeployTemplate_1, MapDeployTemplate_1},
11            singletonclass_1::{ISingletonClass_1, SingletonClass_1},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/aideploy/AIDeploy.md"))]
17    #[::unity::class(namespace = "App", name = "AIDeploy")]
18    #[parent(crate::app::mapdeploytemplate_1::MapDeployTemplate_1<crate::app::aideploy::AIDeploy>)]
19    pub struct AIDeploy {}
20}
21
22#[cfg(feature = "app-aideploy-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-aideploy")]
26pub trait IAIDeployMethods: IAIDeploy {
27    #[doc = "`.ctor()` overload"]
28    fn ctor(self) -> () {
29        unsafe {
30            let __receiver = <AIDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31            ::unity::il2cpp_call!((::unity::module_base()+0x192fee0usize)as*mut u8,();
32(AIDeploy)__receiver)
33        }
34    }
35}
36
37#[cfg(feature = "app-aideploy")]
38impl<__T: IAIDeploy> IAIDeployMethods for __T {}
39
40#[cfg(feature = "app-aideploy")]
41impl AIDeploy {
42    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
43        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
44    }
45}
46
47#[cfg(feature = "app-aideploy")]
48impl AIDeploy {
49    #[doc = "`.ctor()` — no args"]
50    pub fn new() -> Self {
51        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
52            panic!(
53                "{}
54::{}
55 failed to instantiate",
56                ::core::stringify!(AIDeploy),
57                ::core::stringify!(new),
58            )
59        });
60        <Self as IAIDeployMethods>::ctor(this);
61        this
62    }
63}
64
65#[cfg(feature = "app-aideploy")]
66#[doc(hidden)]
67pub mod prelude {
68    pub use super::{AIDeploy, IAIDeploy, IAIDeployMethods};
69    #[cfg(feature = "app-mapdeploytemplate_1")]
70    pub use crate::app::mapdeploytemplate_1::IMapDeployTemplate_1Methods;
71    #[cfg(feature = "app-singletonclass_1")]
72    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
73    #[cfg(feature = "system-object")]
74    pub use crate::system::object::IObjectMethods;
75    pub use crate::{
76        app::{mapdeploytemplate_1::IMapDeployTemplate_1, singletonclass_1::ISingletonClass_1},
77        system::object::IObject,
78    };
79}