Skip to main content

engage/generated/app/
solanelinfosequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-solanelinfosequence-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            delegate::{Delegate, IDelegate},
12            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
13            object::{IObject, Object},
14            r#enum::{Enum, IEnum},
15            valuetype::{IValueType, ValueType},
16        },
17    };
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfosequence/SolanelInfoSequence_Label2.md"))]
20    #[repr(C)]
21    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
22    pub struct SolanelInfoSequence_Label2 {
23        pub value: i32,
24    }
25    impl ::unity::ClassIdentity for SolanelInfoSequence_Label2 {
26        const NAME: &'static str = "SolanelInfoSequence.Label2";
27        const NAMESPACE: &'static str = "App";
28
29        fn class() -> ::unity::Class {
30            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
31            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
32        }
33    }
34    impl ::unity::IlType for SolanelInfoSequence_Label2 {
35        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
36            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
37        }
38    }
39    impl SolanelInfoSequence_Label2 {
40        pub fn entry() -> Self {
41            Self { value: 0 }
42        }
43
44        pub fn end() -> Self {
45            Self { value: 1 }
46        }
47    }
48
49    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfosequence/SolanelInfoSequence_DecideEventHandler.md"))]
50    #[::unity::class(namespace = "App", name = "SolanelInfoSequence.DecideEventHandler")]
51    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
52    pub struct SolanelInfoSequence_DecideEventHandler {}
53
54    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfosequence/SolanelInfoSequence.md"))]
55    #[::unity::class(namespace = "App", name = "SolanelInfoSequence")]
56    #[parent(crate::app::procinst::ProcInst)]
57    pub struct SolanelInfoSequence {
58        #[offset(120)]
59        #[rename(name = "m_InfoMenuResult")]
60        pub m_info_menu_result: crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult,
61    }
62}
63
64#[cfg(feature = "app-solanelinfosequence-types")]
65pub use __types::*;
66
67#[cfg(feature = "app-solanelinfosequence")]
68pub trait ISolanelInfoSequence_DecideEventHandlerMethods: ISolanelInfoSequence_DecideEventHandler {
69    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
70    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
71        unsafe {
72            let __receiver = <SolanelInfoSequence_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
73                <Self as ::unity::SystemObject>::as_instance(self),
74            );
75            ::unity::il2cpp_call!((::unity::module_base()+0x1d72490usize)as*mut u8,();
76(SolanelInfoSequence_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
77        }
78    }
79    #[doc = "`Invoke(crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult)` overload"]
80    fn invoke(self, result: impl ::core::convert::Into<crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult>) -> () {
81        unsafe {
82            let __receiver = <SolanelInfoSequence_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
83                <Self as ::unity::SystemObject>::as_instance(self),
84            );
85            {
86                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
87                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
88                    panic!(
89                        "unity: virtual slot {}
90 out of range (vtable len {}
91) on the runtime class behind {}
92 (method `{}
93`)",
94                        13usize,
95                        __vt.len(),
96                        <SolanelInfoSequence_DecideEventHandler as ::unity::ClassIdentity>::NAME,
97                        "Invoke",
98                    )
99                });
100                let __inner: extern "C" fn(
101                    SolanelInfoSequence_DecideEventHandler,
102                    crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult,
103                    ::unity::OptionalMethod,
104                ) -> () = ::core::mem::transmute(__vi.method_ptr);
105                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
106                __inner(__receiver, ::core::convert::Into::into(result), __mi)
107            }
108        }
109    }
110}
111
112#[cfg(feature = "app-solanelinfosequence")]
113impl<__T: ISolanelInfoSequence_DecideEventHandler> ISolanelInfoSequence_DecideEventHandlerMethods for __T {}
114
115#[cfg(feature = "app-solanelinfosequence")]
116impl SolanelInfoSequence_DecideEventHandler {
117    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
119    }
120
121    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
123    }
124}
125
126#[cfg(feature = "app-solanelinfosequence")]
127impl SolanelInfoSequence_DecideEventHandler {
128    #[doc = "Direct (non-virtual) call to `SolanelInfoSequence_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
129    pub unsafe fn invoke(
130        this: impl ::core::convert::Into<::unity::IlInstance>,
131        result: crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult,
132    ) -> () {
133        let __mi = Self::invoke_method_info();
134        let __inner: extern "C" fn(::unity::IlInstance, crate::app::solanelinfomenu::SolanelInfoMenu_InfoResult, ::unity::OptionalMethod) -> () =
135            ::core::mem::transmute(__mi.method_ptr);
136        __inner(this.into(), result, ::core::option::Option::None)
137    }
138}
139
140#[cfg(feature = "app-solanelinfosequence")]
141impl SolanelInfoSequence_DecideEventHandler {
142    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
143    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
144        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
145            panic!(
146                "{}
147::{}
148 failed to instantiate",
149                ::core::stringify!(SolanelInfoSequence_DecideEventHandler),
150                ::core::stringify!(new),
151            )
152        });
153        <Self as ISolanelInfoSequence_DecideEventHandlerMethods>::ctor(this, object, method);
154        this
155    }
156}
157
158#[cfg(feature = "app-solanelinfosequence")]
159impl SolanelInfoSequence {
160    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)` overload"]
161    pub fn create_bind(
162        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
163        event_handler: impl ::core::convert::Into<crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler>,
164    ) -> () {
165        unsafe {
166            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2760usize)as*mut u8,();
167(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)::core::convert::Into::into(event_handler))
168        }
169    }
170}
171
172#[cfg(feature = "app-solanelinfosequence")]
173pub trait ISolanelInfoSequenceMethods: ISolanelInfoSequence {
174    #[doc = "`get_m_DecideEventHandler()` overload"]
175    fn get_m_decide_event_handler(self) -> crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler {
176        unsafe {
177            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2740usize)as*mut u8,crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler;
179(SolanelInfoSequence)__receiver)
180        }
181    }
182    #[doc = "`set_m_DecideEventHandler(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)` overload"]
183    fn set_m_decide_event_handler(
184        self,
185        value: impl ::core::convert::Into<crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler>,
186    ) -> () {
187        unsafe {
188            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2750usize)as*mut u8,();
190(SolanelInfoSequence)__receiver,(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)::core::convert::Into::into(value))
191        }
192    }
193    #[doc = "`.ctor(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)` overload"]
194    fn ctor(self, event_handler: impl ::core::convert::Into<crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler>) -> () {
195        unsafe {
196            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2800usize)as*mut u8,();
198(SolanelInfoSequence)__receiver,(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)::core::convert::Into::into(event_handler))
199        }
200    }
201    #[doc = "`CreateDesc()` overload"]
202    fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
203        unsafe {
204            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2840usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
206(SolanelInfoSequence)__receiver)
207        }
208    }
209    #[doc = "`LoadRes()` overload"]
210    fn load_res(self) -> () {
211        unsafe {
212            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2cc0usize)as*mut u8,();
214(SolanelInfoSequence)__receiver)
215        }
216    }
217    #[doc = "`IsLoadingRes()` overload"]
218    fn is_loading_res(self) -> bool {
219        unsafe {
220            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2d30usize)as*mut u8,bool;
222(SolanelInfoSequence)__receiver)
223        }
224    }
225    #[doc = "`Open()` overload"]
226    fn open(self) -> () {
227        unsafe {
228            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2da0usize)as*mut u8,();
230(SolanelInfoSequence)__receiver)
231        }
232    }
233    #[doc = "`SetResult()` overload"]
234    fn set_result(self) -> () {
235        unsafe {
236            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2f40usize)as*mut u8,();
238(SolanelInfoSequence)__receiver)
239        }
240    }
241    #[doc = "`Close()` overload"]
242    fn close(self) -> () {
243        unsafe {
244            let __receiver = <SolanelInfoSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245            ::unity::il2cpp_call!((::unity::module_base()+0x1fe2f60usize)as*mut u8,();
246(SolanelInfoSequence)__receiver)
247        }
248    }
249}
250
251#[cfg(feature = "app-solanelinfosequence")]
252impl<__T: ISolanelInfoSequence> ISolanelInfoSequenceMethods for __T {}
253
254#[cfg(feature = "app-solanelinfosequence")]
255impl SolanelInfoSequence {
256    pub fn get_m_decide_event_handler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
258    }
259
260    pub fn set_m_decide_event_handler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
262    }
263
264    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
266    }
267
268    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
270    }
271
272    pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
274    }
275
276    pub fn load_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
278    }
279
280    pub fn is_loading_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
282    }
283
284    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
286    }
287
288    pub fn set_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
290    }
291
292    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
294    }
295}
296
297#[cfg(feature = "app-solanelinfosequence")]
298impl SolanelInfoSequence {
299    #[doc = "`.ctor(crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler)` — overload selector"]
300    pub fn new(event_handler: crate::app::solanelinfosequence::SolanelInfoSequence_DecideEventHandler) -> Self {
301        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
302            panic!(
303                "{}
304::{}
305 failed to instantiate",
306                ::core::stringify!(SolanelInfoSequence),
307                ::core::stringify!(new),
308            )
309        });
310        <Self as ISolanelInfoSequenceMethods>::ctor(this, event_handler);
311        this
312    }
313}
314
315#[cfg(feature = "app-solanelinfosequence")]
316#[doc(hidden)]
317pub mod prelude {
318    pub use super::{
319        ISolanelInfoSequence, ISolanelInfoSequenceMethods, ISolanelInfoSequence_DecideEventHandler, ISolanelInfoSequence_DecideEventHandlerMethods,
320        SolanelInfoSequence, SolanelInfoSequence_DecideEventHandler, SolanelInfoSequence_Label2,
321    };
322    #[cfg(feature = "app-procinst")]
323    pub use crate::app::procinst::IProcInstMethods;
324    #[cfg(feature = "system-delegate")]
325    pub use crate::system::delegate::IDelegateMethods;
326    #[cfg(feature = "system-multicastdelegate")]
327    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
328    #[cfg(feature = "system-object")]
329    pub use crate::system::object::IObjectMethods;
330    #[cfg(feature = "system-enum")]
331    pub use crate::system::r#enum::IEnumMethods;
332    #[cfg(feature = "system-valuetype")]
333    pub use crate::system::valuetype::IValueTypeMethods;
334    pub use crate::{
335        app::procinst::IProcInst,
336        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
337    };
338}