Skip to main content

engage/generated/app/
gameclearrewardsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gameclearrewardsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            irewardsequence::{IIRewardSequence, IRewardSequence},
11            procinst::{IProcInst, ProcInst},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameclearrewardsequence/GameClearRewardSequence.md"))]
17    #[::unity::class(namespace = "App", name = "GameClearRewardSequence")]
18    #[parent(crate::app::irewardsequence::IRewardSequence)]
19    pub struct GameClearRewardSequence {}
20}
21
22#[cfg(feature = "app-gameclearrewardsequence-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-gameclearrewardsequence")]
26impl GameClearRewardSequence {
27    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
28    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
29        unsafe {
30            ::unity::il2cpp_call!((::unity::module_base()+0x2279350usize)as*mut u8,();
31(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
32        }
33    }
34}
35
36#[cfg(feature = "app-gameclearrewardsequence")]
37pub trait IGameClearRewardSequenceMethods: IGameClearRewardSequence {
38    #[doc = "`Reword()` overload"]
39    fn reword(self) -> () {
40        unsafe {
41            let __receiver =
42                <GameClearRewardSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2279510usize)as*mut u8,();
44(GameClearRewardSequence)__receiver)
45        }
46    }
47    #[doc = "`CallengeOpen()` overload"]
48    fn callenge_open(self) -> () {
49        unsafe {
50            let __receiver =
51                <GameClearRewardSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52            ::unity::il2cpp_call!((::unity::module_base()+0x2279690usize)as*mut u8,();
53(GameClearRewardSequence)__receiver)
54        }
55    }
56    #[doc = "`RelayOpen()` overload"]
57    fn relay_open(self) -> () {
58        unsafe {
59            let __receiver =
60                <GameClearRewardSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x2279730usize)as*mut u8,();
62(GameClearRewardSequence)__receiver)
63        }
64    }
65    #[doc = "`GetDesc()` overload"]
66    fn get_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
67        unsafe {
68            let __receiver =
69                <GameClearRewardSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70            {
71                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
72                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
73                    panic!(
74                        "unity: virtual slot {}
75 out of range (vtable len {}
76) on the runtime class behind {}
77 (method `{}
78`)",
79                        18usize,
80                        __vt.len(),
81                        <GameClearRewardSequence as ::unity::ClassIdentity>::NAME,
82                        "GetDesc",
83                    )
84                });
85                let __inner: extern "C" fn(GameClearRewardSequence, ::unity::OptionalMethod) -> ::unity::Array<crate::app::procdesc::ProcDesc> =
86                    ::core::mem::transmute(__vi.method_ptr);
87                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
88                __inner(__receiver, __mi)
89            }
90        }
91    }
92    #[doc = "`.ctor()` overload"]
93    fn ctor(self) -> () {
94        unsafe {
95            let __receiver =
96                <GameClearRewardSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97            ::unity::il2cpp_call!((::unity::module_base()+0x2279a30usize)as*mut u8,();
98(GameClearRewardSequence)__receiver)
99        }
100    }
101}
102
103#[cfg(feature = "app-gameclearrewardsequence")]
104impl<__T: IGameClearRewardSequence> IGameClearRewardSequenceMethods for __T {}
105
106#[cfg(feature = "app-gameclearrewardsequence")]
107impl GameClearRewardSequence {
108    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
109        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
110    }
111
112    pub fn reword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
113        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
114    }
115
116    pub fn callenge_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
117        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
118    }
119
120    pub fn relay_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
122    }
123
124    pub fn get_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
125        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
126    }
127
128    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
130    }
131}
132
133#[cfg(feature = "app-gameclearrewardsequence")]
134impl GameClearRewardSequence {
135    #[doc = "Direct (non-virtual) call to `GameClearRewardSequence`'s own `GetDesc`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
136    pub unsafe fn get_desc(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
137        let __mi = Self::get_desc_method_info();
138        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::app::procdesc::ProcDesc> =
139            ::core::mem::transmute(__mi.method_ptr);
140        __inner(this.into(), ::core::option::Option::None)
141    }
142}
143
144#[cfg(feature = "app-gameclearrewardsequence")]
145impl GameClearRewardSequence {
146    #[doc = "`.ctor()` — no args"]
147    pub fn new() -> Self {
148        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
149            panic!(
150                "{}
151::{}
152 failed to instantiate",
153                ::core::stringify!(GameClearRewardSequence),
154                ::core::stringify!(new),
155            )
156        });
157        <Self as IGameClearRewardSequenceMethods>::ctor(this);
158        this
159    }
160}
161
162#[cfg(feature = "app-gameclearrewardsequence")]
163#[doc(hidden)]
164pub mod prelude {
165    pub use super::{GameClearRewardSequence, IGameClearRewardSequence, IGameClearRewardSequenceMethods};
166    #[cfg(feature = "app-irewardsequence")]
167    pub use crate::app::irewardsequence::IIRewardSequenceMethods;
168    #[cfg(feature = "app-procinst")]
169    pub use crate::app::procinst::IProcInstMethods;
170    #[cfg(feature = "system-object")]
171    pub use crate::system::object::IObjectMethods;
172    pub use crate::{
173        app::{
174            irewardsequence::{IIRewardSequence, IRewardSequence},
175            procinst::IProcInst,
176        },
177        system::object::IObject,
178    };
179}