Skip to main content

engage/generated/root/
wdwtutoriallocatorroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-wdwtutoriallocatorroot-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/root/wdwtutoriallocatorroot/WdwTutorialLocatorRoot.md"))]
19    #[::unity::class(namespace = "", name = "WdwTutorialLocatorRoot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct WdwTutorialLocatorRoot {
22        #[offset(24)]
23        #[rename(name = "m_RightArrow")]
24        pub m_right_arrow: crate::unity_engine::gameobject::GameObject,
25        #[offset(32)]
26        #[rename(name = "m_LeftArrow")]
27        pub m_left_arrow: crate::unity_engine::gameobject::GameObject,
28        #[offset(40)]
29        #[rename(name = "m_TutorialTitleText")]
30        pub m_tutorial_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31        #[offset(48)]
32        #[rename(name = "m_MessageText")]
33        pub m_message_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
34        #[offset(56)]
35        #[rename(name = "m_Page0Text")]
36        pub m_page0_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37        #[offset(64)]
38        #[rename(name = "m_Page1Text")]
39        pub m_page1_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
40        #[offset(72)]
41        #[rename(name = "m_CaptureImage")]
42        pub m_capture_image: crate::unity_engine::ui::image::Image,
43        #[offset(80)]
44        #[rename(name = "m_WdwTutorialAnimator")]
45        pub m_wdw_tutorial_animator: crate::unity_engine::animator::Animator,
46        #[offset(88)]
47        #[rename(name = "m_Sprite")]
48        pub m_sprite: crate::unity_engine::sprite::Sprite,
49    }
50}
51
52#[cfg(feature = "root-wdwtutoriallocatorroot-types")]
53pub use __types::*;
54
55#[cfg(feature = "root-wdwtutoriallocatorroot")]
56pub trait IWdwTutorialLocatorRootMethods: IWdwTutorialLocatorRoot {
57    #[doc = "`OnDestroy()` overload"]
58    fn on_destroy(self) -> () {
59        unsafe {
60            let __receiver =
61                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x21c7900usize)as*mut u8,();
63(WdwTutorialLocatorRoot)__receiver)
64        }
65    }
66    #[doc = "`SetActiveRightArrow(bool)` overload"]
67    fn set_active_right_arrow(self, enable: impl ::core::convert::Into<bool>) -> () {
68        unsafe {
69            let __receiver =
70                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x21c7980usize)as*mut u8,();
72(WdwTutorialLocatorRoot)__receiver,(bool)::core::convert::Into::into(enable))
73        }
74    }
75    #[doc = "`SetActiveLeftArrow(bool)` overload"]
76    fn set_active_left_arrow(self, enable: impl ::core::convert::Into<bool>) -> () {
77        unsafe {
78            let __receiver =
79                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x21c79d0usize)as*mut u8,();
81(WdwTutorialLocatorRoot)__receiver,(bool)::core::convert::Into::into(enable))
82        }
83    }
84    #[doc = "`SetSprite(crate::unity_engine::sprite::Sprite)` overload"]
85    fn set_sprite(self, sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>) -> () {
86        unsafe {
87            let __receiver =
88                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            ::unity::il2cpp_call!((::unity::module_base()+0x21c7a20usize)as*mut u8,();
90(WdwTutorialLocatorRoot)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(sprite))
91        }
92    }
93    #[doc = "`SetTitle(::unity::Il2CppString)` overload"]
94    fn set_title(self, title: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
95        unsafe {
96            let __receiver =
97                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x21c7ac0usize)as*mut u8,();
99(WdwTutorialLocatorRoot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(title))
100        }
101    }
102    #[doc = "`SetText(::unity::Il2CppString)` overload"]
103    fn set_text(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
104        unsafe {
105            let __receiver =
106                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x21c7ae0usize)as*mut u8,();
108(WdwTutorialLocatorRoot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
109        }
110    }
111    #[doc = "`SetPage0(i32)` overload"]
112    fn set_page0(self, page: impl ::core::convert::Into<i32>) -> () {
113        unsafe {
114            let __receiver =
115                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116            ::unity::il2cpp_call!((::unity::module_base()+0x21c7b00usize)as*mut u8,();
117(WdwTutorialLocatorRoot)__receiver,(i32)::core::convert::Into::into(page))
118        }
119    }
120    #[doc = "`SetPage1(i32)` overload"]
121    fn set_page1(self, page: impl ::core::convert::Into<i32>) -> () {
122        unsafe {
123            let __receiver =
124                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125            ::unity::il2cpp_call!((::unity::module_base()+0x21c7b80usize)as*mut u8,();
126(WdwTutorialLocatorRoot)__receiver,(i32)::core::convert::Into::into(page))
127        }
128    }
129    #[doc = "`IsOpening()` overload"]
130    fn is_opening(self) -> bool {
131        unsafe {
132            let __receiver =
133                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x21c7c00usize)as*mut u8,bool;
135(WdwTutorialLocatorRoot)__receiver)
136        }
137    }
138    #[doc = "`IsClosing()` overload"]
139    fn is_closing(self) -> bool {
140        unsafe {
141            let __receiver =
142                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x21c7c60usize)as*mut u8,bool;
144(WdwTutorialLocatorRoot)__receiver)
145        }
146    }
147    #[doc = "`Open()` overload"]
148    fn open(self) -> () {
149        unsafe {
150            let __receiver =
151                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x21c7cc0usize)as*mut u8,();
153(WdwTutorialLocatorRoot)__receiver)
154        }
155    }
156    #[doc = "`Close()` overload"]
157    fn close(self) -> () {
158        unsafe {
159            let __receiver =
160                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            ::unity::il2cpp_call!((::unity::module_base()+0x21c7d20usize)as*mut u8,();
162(WdwTutorialLocatorRoot)__receiver)
163        }
164    }
165    #[doc = "`.ctor()` overload"]
166    fn ctor(self) -> () {
167        unsafe {
168            let __receiver =
169                <WdwTutorialLocatorRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x21c7d80usize)as*mut u8,();
171(WdwTutorialLocatorRoot)__receiver)
172        }
173    }
174}
175
176#[cfg(feature = "root-wdwtutoriallocatorroot")]
177impl<__T: IWdwTutorialLocatorRoot> IWdwTutorialLocatorRootMethods for __T {}
178
179#[cfg(feature = "root-wdwtutoriallocatorroot")]
180impl WdwTutorialLocatorRoot {
181    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
183    }
184
185    pub fn set_active_right_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
187    }
188
189    pub fn set_active_left_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
191    }
192
193    pub fn set_sprite_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
195    }
196
197    pub fn set_title_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
199    }
200
201    pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
203    }
204
205    pub fn set_page0_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
207    }
208
209    pub fn set_page1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
211    }
212
213    pub fn is_opening_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
215    }
216
217    pub fn is_closing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
219    }
220
221    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
223    }
224
225    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
227    }
228
229    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
231    }
232}
233
234#[cfg(feature = "root-wdwtutoriallocatorroot")]
235impl WdwTutorialLocatorRoot {
236    #[doc = "`.ctor()` — no args"]
237    pub fn new() -> Self {
238        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
239            panic!(
240                "{}
241::{}
242 failed to instantiate",
243                ::core::stringify!(WdwTutorialLocatorRoot),
244                ::core::stringify!(new),
245            )
246        });
247        <Self as IWdwTutorialLocatorRootMethods>::ctor(this);
248        this
249    }
250}
251
252#[cfg(feature = "root-wdwtutoriallocatorroot")]
253#[doc(hidden)]
254pub mod prelude {
255    pub use super::{IWdwTutorialLocatorRoot, IWdwTutorialLocatorRootMethods, WdwTutorialLocatorRoot};
256    #[cfg(feature = "system-object")]
257    pub use crate::system::object::IObjectMethods;
258    #[cfg(feature = "unity_engine-behaviour")]
259    pub use crate::unity_engine::behaviour::IBehaviourMethods;
260    #[cfg(feature = "unity_engine-component")]
261    pub use crate::unity_engine::component::IComponentMethods;
262    #[cfg(feature = "unity_engine-monobehaviour")]
263    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
264    #[cfg(feature = "unity_engine-object_2")]
265    pub use crate::unity_engine::object_2::IObject_2Methods;
266    pub use crate::{
267        system::object::IObject,
268        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
269    };
270}