Skip to main content

engage/generated/app/
goldgainsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-goldgainsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/goldgainsequence/GoldGainSequence.md"))]
14    #[::unity::class(namespace = "App", name = "GoldGainSequence")]
15    #[parent(crate::app::procinst::ProcInst)]
16    pub struct GoldGainSequence {}
17}
18
19#[cfg(feature = "app-goldgainsequence-types")]
20pub use __types::*;
21
22#[cfg(feature = "app-goldgainsequence")]
23impl GoldGainSequence {
24    #[doc = "`CreateBind(crate::app::procinst::ProcInst, i32, ::unity::Il2CppString)` overload"]
25    pub fn create_bind(
26        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
27        gold: impl ::core::convert::Into<i32>,
28        label: impl ::core::convert::Into<::unity::Il2CppString>,
29    ) -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2349260usize)as*mut u8,();
32(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(gold),(::unity::Il2CppString)::core::convert::Into::into(label))
33        }
34    }
35}
36
37#[cfg(feature = "app-goldgainsequence")]
38pub trait IGoldGainSequenceMethods: IGoldGainSequence {
39    #[doc = "`.ctor()` overload"]
40    fn ctor(self) -> () {
41        unsafe {
42            let __receiver = <GoldGainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2349390usize)as*mut u8,();
44(GoldGainSequence)__receiver)
45        }
46    }
47}
48
49#[cfg(feature = "app-goldgainsequence")]
50impl<__T: IGoldGainSequence> IGoldGainSequenceMethods for __T {}
51
52#[cfg(feature = "app-goldgainsequence")]
53impl GoldGainSequence {
54    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
55        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
56    }
57
58    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
59        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
60    }
61}
62
63#[cfg(feature = "app-goldgainsequence")]
64impl GoldGainSequence {
65    #[doc = "`.ctor()` — no args"]
66    pub fn new() -> Self {
67        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
68            panic!(
69                "{}
70::{}
71 failed to instantiate",
72                ::core::stringify!(GoldGainSequence),
73                ::core::stringify!(new),
74            )
75        });
76        <Self as IGoldGainSequenceMethods>::ctor(this);
77        this
78    }
79}
80
81#[cfg(feature = "app-goldgainsequence")]
82#[doc(hidden)]
83pub mod prelude {
84    pub use super::{GoldGainSequence, IGoldGainSequence, IGoldGainSequenceMethods};
85    #[cfg(feature = "app-procinst")]
86    pub use crate::app::procinst::IProcInstMethods;
87    #[cfg(feature = "system-object")]
88    pub use crate::system::object::IObjectMethods;
89    pub use crate::{app::procinst::IProcInst, system::object::IObject};
90}