Skip to main content

engage/generated/app/
hubminimapcaptureparam.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubminimapcaptureparam-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubminimapcaptureparam/HubMiniMapCaptureParam.md"))]
17    #[::unity::class(namespace = "App", name = "HubMiniMapCaptureParam")]
18    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
19    pub struct HubMiniMapCaptureParam {
20        #[offset(24)]
21        #[rename(name = "m_CaptureParamList")]
22        pub m_capture_param_list:
23            crate::system::collections::generic::list_1::List_1<crate::app::hubminimapcaptureparam::HubMiniMapCaptureParam_CaptureParam1>,
24    }
25
26    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubminimapcaptureparam/HubMiniMapCaptureParam_CaptureParam1.md"))]
27    #[::unity::class(namespace = "App", name = "HubMiniMapCaptureParam.CaptureParam1")]
28    #[parent(crate::system::object::Object)]
29    pub struct HubMiniMapCaptureParam_CaptureParam1 {
30        #[offset(16)]
31        #[rename(name = "name")]
32        pub name: ::unity::Il2CppString,
33        #[offset(24)]
34        #[rename(name = "center")]
35        pub center: crate::unity_engine::vector3::Vector3,
36        #[offset(36)]
37        #[rename(name = "size")]
38        pub size: crate::unity_engine::vector3::Vector3,
39    }
40}
41
42#[cfg(feature = "app-hubminimapcaptureparam-types")]
43pub use __types::*;
44
45#[cfg(feature = "app-hubminimapcaptureparam")]
46pub trait IHubMiniMapCaptureParamMethods: IHubMiniMapCaptureParam {
47    #[doc = "`.ctor()` overload"]
48    fn ctor(self) -> () {
49        unsafe {
50            let __receiver =
51                <HubMiniMapCaptureParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52            ::unity::il2cpp_call!((::unity::module_base()+0x28be6e0usize)as*mut u8,();
53(HubMiniMapCaptureParam)__receiver)
54        }
55    }
56}
57
58#[cfg(feature = "app-hubminimapcaptureparam")]
59impl<__T: IHubMiniMapCaptureParam> IHubMiniMapCaptureParamMethods for __T {}
60
61#[cfg(feature = "app-hubminimapcaptureparam")]
62impl HubMiniMapCaptureParam {
63    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
64        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
65    }
66}
67
68#[cfg(feature = "app-hubminimapcaptureparam")]
69impl HubMiniMapCaptureParam {
70    #[doc = "`.ctor()` — no args"]
71    pub fn new() -> Self {
72        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
73            panic!(
74                "{}
75::{}
76 failed to instantiate",
77                ::core::stringify!(HubMiniMapCaptureParam),
78                ::core::stringify!(new),
79            )
80        });
81        <Self as IHubMiniMapCaptureParamMethods>::ctor(this);
82        this
83    }
84}
85
86#[cfg(feature = "app-hubminimapcaptureparam")]
87pub trait IHubMiniMapCaptureParam_CaptureParam1Methods: IHubMiniMapCaptureParam_CaptureParam1 {
88    #[doc = "`.ctor()` overload"]
89    fn ctor(self) -> () {
90        unsafe {
91            let __receiver = <HubMiniMapCaptureParam_CaptureParam1 as ::unity::FromIlInstance>::from_il_instance(
92                <Self as ::unity::SystemObject>::as_instance(self),
93            );
94            ::unity::il2cpp_call!((::unity::module_base()+0x2ae1550usize)as*mut u8,();
95(HubMiniMapCaptureParam_CaptureParam1)__receiver)
96        }
97    }
98}
99
100#[cfg(feature = "app-hubminimapcaptureparam")]
101impl<__T: IHubMiniMapCaptureParam_CaptureParam1> IHubMiniMapCaptureParam_CaptureParam1Methods for __T {}
102
103#[cfg(feature = "app-hubminimapcaptureparam")]
104impl HubMiniMapCaptureParam_CaptureParam1 {
105    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
107    }
108}
109
110#[cfg(feature = "app-hubminimapcaptureparam")]
111impl HubMiniMapCaptureParam_CaptureParam1 {
112    #[doc = "`.ctor()` — no args"]
113    pub fn new() -> Self {
114        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
115            panic!(
116                "{}
117::{}
118 failed to instantiate",
119                ::core::stringify!(HubMiniMapCaptureParam_CaptureParam1),
120                ::core::stringify!(new),
121            )
122        });
123        <Self as IHubMiniMapCaptureParam_CaptureParam1Methods>::ctor(this);
124        this
125    }
126}
127
128#[cfg(feature = "app-hubminimapcaptureparam")]
129#[doc(hidden)]
130pub mod prelude {
131    pub use super::{
132        HubMiniMapCaptureParam, HubMiniMapCaptureParam_CaptureParam1, IHubMiniMapCaptureParam, IHubMiniMapCaptureParamMethods,
133        IHubMiniMapCaptureParam_CaptureParam1, IHubMiniMapCaptureParam_CaptureParam1Methods,
134    };
135    #[cfg(feature = "system-object")]
136    pub use crate::system::object::IObjectMethods;
137    #[cfg(feature = "unity_engine-object_2")]
138    pub use crate::unity_engine::object_2::IObject_2Methods;
139    #[cfg(feature = "unity_engine-scriptableobject")]
140    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
141    pub use crate::{
142        system::object::IObject,
143        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
144    };
145}