Skip to main content

engage/generated/app/
refineringexecute.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-refineringexecute-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineringexecute/RefineRingExecute.md"))]
11    #[::unity::class(namespace = "App", name = "RefineRingExecute")]
12    #[parent(crate::system::object::Object)]
13    pub struct RefineRingExecute {
14        #[static_field]
15        #[rename(name = "m_RefineRingTimesMax")]
16        pub m_refine_ring_times_max: i32,
17    }
18}
19
20#[cfg(feature = "app-refineringexecute-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-refineringexecute")]
24impl RefineRingExecute {
25    #[doc = "`Do(crate::app::goddata::GodData, i32, *mutcrate::system::collections::generic::list_1::List_1<bool>)` overload"]
26    pub fn r#do(
27        god_data: impl ::core::convert::Into<crate::app::goddata::GodData>,
28        times: impl ::core::convert::Into<i32>,
29    ) -> (
30        crate::system::collections::generic::list_1::List_1<crate::app::unitring::UnitRing>,
31        crate::system::collections::generic::list_1::List_1<bool>,
32    ) {
33        unsafe {
34            let mut __out_0 = ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<bool>>::uninit();
35            let __ret = {
36                ::unity::il2cpp_call!((::unity::module_base()+0x2952990usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::unitring::UnitRing> ;
37(crate::app::goddata::GodData)::core::convert::Into::into(god_data),(i32)::core::convert::Into::into(times),(*mut crate::system::collections::generic::list_1::List_1<bool>)__out_0.as_mut_ptr())
38            };
39            (__ret, __out_0.assume_init())
40        }
41    }
42
43    #[doc = "`AddAchieve(crate::system::collections::generic::list_1::List_1<crate::app::unitring::UnitRing>)` overload"]
44    pub fn add_achieve(
45        unit_ring_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unitring::UnitRing>>,
46    ) -> () {
47        unsafe {
48            ::unity::il2cpp_call!((::unity::module_base()+0x29539d0usize)as*mut u8,();
49(crate::system::collections::generic::list_1::List_1<crate::app::unitring::UnitRing>)::core::convert::Into::into(unit_ring_list))
50        }
51    }
52
53    #[doc = "`.cctor()` overload"]
54    pub fn cctor() -> () {
55        unsafe {
56            ::unity::il2cpp_call!((::unity::module_base()+0x2953b80usize)as*mut u8,();
57            )
58        }
59    }
60}
61
62#[cfg(feature = "app-refineringexecute")]
63pub trait IRefineRingExecuteMethods: IRefineRingExecute {
64    #[doc = "`.ctor()` overload"]
65    fn ctor(self) -> () {
66        unsafe {
67            let __receiver = <RefineRingExecute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68            ::unity::il2cpp_call!((::unity::module_base()+0x2953b70usize)as*mut u8,();
69(RefineRingExecute)__receiver)
70        }
71    }
72}
73
74#[cfg(feature = "app-refineringexecute")]
75impl<__T: IRefineRingExecute> IRefineRingExecuteMethods for __T {}
76
77#[cfg(feature = "app-refineringexecute")]
78impl RefineRingExecute {
79    pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
80        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
81    }
82
83    pub fn add_achieve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
84        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
85    }
86
87    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
88        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
89    }
90
91    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
92        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
93    }
94}
95
96#[cfg(feature = "app-refineringexecute")]
97impl RefineRingExecute {
98    #[doc = "`.ctor()` — no args"]
99    pub fn new() -> Self {
100        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
101            panic!(
102                "{}
103::{}
104 failed to instantiate",
105                ::core::stringify!(RefineRingExecute),
106                ::core::stringify!(new),
107            )
108        });
109        <Self as IRefineRingExecuteMethods>::ctor(this);
110        this
111    }
112}
113
114#[cfg(feature = "app-refineringexecute")]
115#[doc(hidden)]
116pub mod prelude {
117    pub use super::{IRefineRingExecute, IRefineRingExecuteMethods, RefineRingExecute};
118    pub use crate::system::object::IObject;
119    #[cfg(feature = "system-object")]
120    pub use crate::system::object::IObjectMethods;
121}