Skip to main content

engage/generated/app/
evilclearrewardsequence.rs

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