Skip to main content

engage/generated/app/
capetowertopmenuroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-capetowertopmenuroot-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            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/capetowertopmenuroot/CapeTowerTopMenuRoot.md"))]
19    #[::unity::class(namespace = "App", name = "CapeTowerTopMenuRoot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct CapeTowerTopMenuRoot {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[offset(24)]
26        #[rename(name = "m_CapeTowerTopMenuContent")]
27        pub m_cape_tower_top_menu_content: crate::app::capetowertopmenucontent::CapeTowerTopMenuContent,
28        #[offset(32)]
29        #[rename(name = "m_InfoWindow")]
30        pub m_info_window: crate::unity_engine::gameobject::GameObject,
31        #[offset(40)]
32        #[rename(name = "m_InfoWindowAnimator")]
33        pub m_info_window_animator: crate::unity_engine::animator::Animator,
34        #[offset(48)]
35        #[rename(name = "m_InfoWindowCaptionText")]
36        pub m_info_window_caption_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37        #[offset(56)]
38        #[rename(name = "m_InfoWindowDescriptionText")]
39        pub m_info_window_description_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
40    }
41}
42
43#[cfg(feature = "app-capetowertopmenuroot-types")]
44pub use __types::*;
45
46#[cfg(feature = "app-capetowertopmenuroot")]
47impl CapeTowerTopMenuRoot {
48    #[doc = "`LoadPrefabAsync()` overload"]
49    pub fn load_prefab_async() -> () {
50        unsafe {
51            ::unity::il2cpp_call!((::unity::module_base()+0x25bf450usize)as*mut u8,();
52            )
53        }
54    }
55
56    #[doc = "`IsLoadingPrefab()` overload"]
57    pub fn is_loading_prefab() -> bool {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x25bf590usize)as*mut u8,bool;
60            )
61        }
62    }
63
64    #[doc = "`UnloadPrefab()` overload"]
65    pub fn unload_prefab() -> () {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x25c0280usize)as*mut u8,();
68            )
69        }
70    }
71
72    #[doc = "`CreateRoot()` overload"]
73    pub fn create_root() -> crate::app::capetowertopmenuroot::CapeTowerTopMenuRoot {
74        unsafe {
75            ::unity::il2cpp_call!((::unity::module_base()+0x25c0310usize)as*mut u8,crate::app::capetowertopmenuroot::CapeTowerTopMenuRoot;
76            )
77        }
78    }
79}
80
81#[cfg(feature = "app-capetowertopmenuroot")]
82pub trait ICapeTowerTopMenuRootMethods: ICapeTowerTopMenuRoot {
83    #[doc = "`Create()` overload"]
84    fn create(self) -> () {
85        unsafe {
86            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x25c0d20usize)as*mut u8,();
88(CapeTowerTopMenuRoot)__receiver)
89        }
90    }
91    #[doc = "`.ctor()` overload"]
92    fn ctor(self) -> () {
93        unsafe {
94            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x25c0d30usize)as*mut u8,();
96(CapeTowerTopMenuRoot)__receiver)
97        }
98    }
99    #[doc = "`GetCapeTowerTopMenuContent()` overload"]
100    fn get_cape_tower_top_menu_content(self) -> crate::app::capetowertopmenucontent::CapeTowerTopMenuContent {
101        unsafe {
102            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x25c0d40usize)as*mut u8,crate::app::capetowertopmenucontent::CapeTowerTopMenuContent;
104(CapeTowerTopMenuRoot)__receiver)
105        }
106    }
107    #[doc = "`UpdateInfoWindow(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
108    fn update_info_window(
109        self,
110        caption_mid: impl ::core::convert::Into<::unity::Il2CppString>,
111        description_mid: impl ::core::convert::Into<::unity::Il2CppString>,
112    ) -> () {
113        unsafe {
114            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115            ::unity::il2cpp_call!((::unity::module_base()+0x25c0620usize)as*mut u8,();
116(CapeTowerTopMenuRoot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(caption_mid),(::unity::Il2CppString)::core::convert::Into::into(description_mid))
117        }
118    }
119    #[doc = "`Close()` overload"]
120    fn close(self) -> () {
121        unsafe {
122            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123            ::unity::il2cpp_call!((::unity::module_base()+0x25c07d0usize)as*mut u8,();
124(CapeTowerTopMenuRoot)__receiver)
125        }
126    }
127    #[doc = "`Destroy()` overload"]
128    fn destroy(self) -> () {
129        unsafe {
130            let __receiver = <CapeTowerTopMenuRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131            ::unity::il2cpp_call!((::unity::module_base()+0x25c09f0usize)as*mut u8,();
132(CapeTowerTopMenuRoot)__receiver)
133        }
134    }
135}
136
137#[cfg(feature = "app-capetowertopmenuroot")]
138impl<__T: ICapeTowerTopMenuRoot> ICapeTowerTopMenuRootMethods for __T {}
139
140#[cfg(feature = "app-capetowertopmenuroot")]
141impl CapeTowerTopMenuRoot {
142    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
144    }
145
146    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
148    }
149
150    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
152    }
153
154    pub fn create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
156    }
157
158    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
160    }
161
162    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
164    }
165
166    pub fn get_cape_tower_top_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
168    }
169
170    pub fn update_info_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
172    }
173
174    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
176    }
177
178    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
180    }
181}
182
183#[cfg(feature = "app-capetowertopmenuroot")]
184impl CapeTowerTopMenuRoot {
185    #[doc = "`.ctor()` — no args"]
186    pub fn new() -> Self {
187        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
188            panic!(
189                "{}
190::{}
191 failed to instantiate",
192                ::core::stringify!(CapeTowerTopMenuRoot),
193                ::core::stringify!(new),
194            )
195        });
196        <Self as ICapeTowerTopMenuRootMethods>::ctor(this);
197        this
198    }
199}
200
201#[cfg(feature = "app-capetowertopmenuroot")]
202#[doc(hidden)]
203pub mod prelude {
204    pub use super::{CapeTowerTopMenuRoot, ICapeTowerTopMenuRoot, ICapeTowerTopMenuRootMethods};
205    #[cfg(feature = "system-object")]
206    pub use crate::system::object::IObjectMethods;
207    #[cfg(feature = "unity_engine-behaviour")]
208    pub use crate::unity_engine::behaviour::IBehaviourMethods;
209    #[cfg(feature = "unity_engine-component")]
210    pub use crate::unity_engine::component::IComponentMethods;
211    #[cfg(feature = "unity_engine-monobehaviour")]
212    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
213    #[cfg(feature = "unity_engine-object_2")]
214    pub use crate::unity_engine::object_2::IObject_2Methods;
215    pub use crate::{
216        system::object::IObject,
217        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
218    };
219}