Skip to main content

engage/generated/app/
dragonrideinstructionsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-dragonrideinstructionsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::{
11            object::{IObject, Object},
12            r#enum::{Enum, IEnum},
13            valuetype::{IValueType, ValueType},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideinstructionsequence/DragonRideInstructionSequence_Label.md"))]
18    #[repr(C)]
19    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20    pub struct DragonRideInstructionSequence_Label {
21        pub value: i32,
22    }
23    impl ::unity::ClassIdentity for DragonRideInstructionSequence_Label {
24        const NAME: &'static str = "DragonRideInstructionSequence.Label";
25        const NAMESPACE: &'static str = "App";
26
27        fn class() -> ::unity::Class {
28            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30        }
31    }
32    impl ::unity::IlType for DragonRideInstructionSequence_Label {
33        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35        }
36    }
37    impl DragonRideInstructionSequence_Label {
38        pub fn load() -> Self {
39            Self { value: 0 }
40        }
41
42        pub fn tick_main() -> Self {
43            Self { value: 1 }
44        }
45
46        pub fn end() -> Self {
47            Self { value: 2 }
48        }
49    }
50
51    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideinstructionsequence/DragonRideInstructionSequence.md"))]
52    #[::unity::class(namespace = "App", name = "DragonRideInstructionSequence")]
53    #[parent(crate::app::procinst::ProcInst)]
54    pub struct DragonRideInstructionSequence {
55        #[static_field]
56        #[rename(name = "PrefabPath")]
57        pub prefab_path: ::unity::Il2CppString,
58        #[offset(112)]
59        #[rename(name = "m_InstractionObject")]
60        pub m_instraction_object: crate::unity_engine::gameobject::GameObject,
61    }
62}
63
64#[cfg(feature = "app-dragonrideinstructionsequence-types")]
65pub use __types::*;
66
67#[cfg(feature = "app-dragonrideinstructionsequence")]
68impl DragonRideInstructionSequence {
69    #[doc = "`ToggleOperation(crate::unity_engine::gameobject::GameObject)` overload"]
70    pub fn toggle_operation(obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
71        unsafe {
72            ::unity::il2cpp_call!((::unity::module_base()+0x2ad2640usize)as*mut u8,();
73(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj))
74        }
75    }
76
77    #[doc = "`UpdateOperationObject(crate::unity_engine::gameobject::GameObject)` overload"]
78    pub fn update_operation_object(obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
79        unsafe {
80            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1f00usize)as*mut u8,();
81(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj))
82        }
83    }
84
85    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
86    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
87        unsafe {
88            ::unity::il2cpp_call!((::unity::module_base()+0x2ac48f0usize)as*mut u8,();
89(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
90        }
91    }
92}
93
94#[cfg(feature = "app-dragonrideinstructionsequence")]
95pub trait IDragonRideInstructionSequenceMethods: IDragonRideInstructionSequence {
96    #[doc = "`.ctor()` overload"]
97    fn ctor(self) -> () {
98        unsafe {
99            let __receiver =
100                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1c40usize)as*mut u8,();
102(DragonRideInstructionSequence)__receiver)
103        }
104    }
105    #[doc = "`LoadResource()` overload"]
106    fn load_resource(self) -> () {
107        unsafe {
108            let __receiver =
109                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1c50usize)as*mut u8,();
111(DragonRideInstructionSequence)__receiver)
112        }
113    }
114    #[doc = "`UnloadResource()` overload"]
115    fn unload_resource(self) -> () {
116        unsafe {
117            let __receiver =
118                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1d00usize)as*mut u8,();
120(DragonRideInstructionSequence)__receiver)
121        }
122    }
123    #[doc = "`IsResourceLoading()` overload"]
124    fn is_resource_loading(self) -> bool {
125        unsafe {
126            let __receiver =
127                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1dd0usize)as*mut u8,bool;
129(DragonRideInstructionSequence)__receiver)
130        }
131    }
132    #[doc = "`Init()` overload"]
133    fn init(self) -> () {
134        unsafe {
135            let __receiver =
136                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x2ad1e50usize)as*mut u8,();
138(DragonRideInstructionSequence)__receiver)
139        }
140    }
141    #[doc = "`Exit()` overload"]
142    fn exit(self) -> () {
143        unsafe {
144            let __receiver =
145                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146            ::unity::il2cpp_call!((::unity::module_base()+0x2ad2250usize)as*mut u8,();
147(DragonRideInstructionSequence)__receiver)
148        }
149    }
150    #[doc = "`PlayOpenSE()` overload"]
151    fn play_open_se(self) -> () {
152        unsafe {
153            let __receiver =
154                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x2ad22c0usize)as*mut u8,();
156(DragonRideInstructionSequence)__receiver)
157        }
158    }
159    #[doc = "`PlayCloseSE()` overload"]
160    fn play_close_se(self) -> () {
161        unsafe {
162            let __receiver =
163                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164            ::unity::il2cpp_call!((::unity::module_base()+0x2ad2340usize)as*mut u8,();
165(DragonRideInstructionSequence)__receiver)
166        }
167    }
168    #[doc = "`TickInstruction()` overload"]
169    fn tick_instruction(self) -> () {
170        unsafe {
171            let __receiver =
172                <DragonRideInstructionSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x2ad23c0usize)as*mut u8,();
174(DragonRideInstructionSequence)__receiver)
175        }
176    }
177}
178
179#[cfg(feature = "app-dragonrideinstructionsequence")]
180impl<__T: IDragonRideInstructionSequence> IDragonRideInstructionSequenceMethods for __T {}
181
182#[cfg(feature = "app-dragonrideinstructionsequence")]
183impl DragonRideInstructionSequence {
184    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
186    }
187
188    pub fn load_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
190    }
191
192    pub fn unload_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
194    }
195
196    pub fn is_resource_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
198    }
199
200    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
202    }
203
204    pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
206    }
207
208    pub fn play_open_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
210    }
211
212    pub fn play_close_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
213        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
214    }
215
216    pub fn tick_instruction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
217        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
218    }
219
220    pub fn toggle_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
221        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
222    }
223
224    pub fn update_operation_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
225        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
226    }
227
228    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
229        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
230    }
231}
232
233#[cfg(feature = "app-dragonrideinstructionsequence")]
234impl DragonRideInstructionSequence {
235    #[doc = "`.ctor()` — no args"]
236    pub fn new() -> Self {
237        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
238            panic!(
239                "{}
240::{}
241 failed to instantiate",
242                ::core::stringify!(DragonRideInstructionSequence),
243                ::core::stringify!(new),
244            )
245        });
246        <Self as IDragonRideInstructionSequenceMethods>::ctor(this);
247        this
248    }
249}
250
251#[cfg(feature = "app-dragonrideinstructionsequence")]
252#[doc(hidden)]
253pub mod prelude {
254    pub use super::{
255        DragonRideInstructionSequence, DragonRideInstructionSequence_Label, IDragonRideInstructionSequence, IDragonRideInstructionSequenceMethods,
256    };
257    #[cfg(feature = "app-procinst")]
258    pub use crate::app::procinst::IProcInstMethods;
259    #[cfg(feature = "system-object")]
260    pub use crate::system::object::IObjectMethods;
261    #[cfg(feature = "system-enum")]
262    pub use crate::system::r#enum::IEnumMethods;
263    #[cfg(feature = "system-valuetype")]
264    pub use crate::system::valuetype::IValueTypeMethods;
265    pub use crate::{
266        app::procinst::IProcInst,
267        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
268    };
269}