Skip to main content

engage/generated/app/
refineshopgodsymbol.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-refineshopgodsymbol-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopgodsymbol/RefineShopGodSymbol.md"))]
19    #[::unity::class(namespace = "App", name = "RefineShopGodSymbol")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct RefineShopGodSymbol {
22        #[offset(24)]
23        #[rename(name = "m_GodSymbol0Object")]
24        pub m_god_symbol0_object: crate::unity_engine::gameobject::GameObject,
25        #[offset(32)]
26        #[rename(name = "m_GodSymbol0Image")]
27        pub m_god_symbol0_image: crate::unity_engine::ui::image::Image,
28        #[offset(40)]
29        #[rename(name = "m_GodSymbol0EffectObject")]
30        pub m_god_symbol0_effect_object: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
31        #[offset(48)]
32        #[rename(name = "m_GodSymbol1Object")]
33        pub m_god_symbol1_object: crate::unity_engine::gameobject::GameObject,
34        #[offset(56)]
35        #[rename(name = "m_GodSymbol1Image")]
36        pub m_god_symbol1_image: crate::unity_engine::ui::image::Image,
37        #[offset(64)]
38        #[rename(name = "m_GodSymbol1EffectObject")]
39        pub m_god_symbol1_effect_object: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
40        #[offset(72)]
41        #[rename(name = "m_CurrentGodSymbolObject")]
42        pub m_current_god_symbol_object: crate::unity_engine::gameobject::GameObject,
43    }
44}
45
46#[cfg(feature = "app-refineshopgodsymbol-types")]
47pub use __types::*;
48
49#[cfg(feature = "app-refineshopgodsymbol")]
50impl RefineShopGodSymbol {
51    #[doc = "`Create(crate::unity_engine::gameobject::GameObject)` overload"]
52    pub fn create(
53        game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
54    ) -> crate::app::refineshopgodsymbol::RefineShopGodSymbol {
55        unsafe {
56            ::unity::il2cpp_call!((::unity::module_base()+0x2965fd0usize)as*mut u8,crate::app::refineshopgodsymbol::RefineShopGodSymbol;
57(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
58        }
59    }
60}
61
62#[cfg(feature = "app-refineshopgodsymbol")]
63pub trait IRefineShopGodSymbolMethods: IRefineShopGodSymbol {
64    #[doc = "`Open(crate::app::goddata::GodData)` overload"]
65    fn open(self, god_data: impl ::core::convert::Into<crate::app::goddata::GodData>) -> () {
66        unsafe {
67            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68            ::unity::il2cpp_call!((::unity::module_base()+0x2966080usize)as*mut u8,();
69(RefineShopGodSymbol)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god_data))
70        }
71    }
72    #[doc = "`Close()` overload"]
73    fn close(self) -> () {
74        unsafe {
75            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76            ::unity::il2cpp_call!((::unity::module_base()+0x29668c0usize)as*mut u8,();
77(RefineShopGodSymbol)__receiver)
78        }
79    }
80    #[doc = "`SetData(crate::app::goddata::GodData)` overload"]
81    fn set_data(self, god_data: impl ::core::convert::Into<crate::app::goddata::GodData>) -> () {
82        unsafe {
83            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84            ::unity::il2cpp_call!((::unity::module_base()+0x2966970usize)as*mut u8,();
85(RefineShopGodSymbol)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god_data))
86        }
87    }
88    #[doc = "`Open(crate::unity_engine::gameobject::GameObject, crate::app::goddata::GodData)` overload"]
89    fn open_2(
90        self,
91        god_symbol_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
92        god_data: impl ::core::convert::Into<crate::app::goddata::GodData>,
93    ) -> () {
94        unsafe {
95            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x2966280usize)as*mut u8,();
97(RefineShopGodSymbol)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(god_symbol_object),(crate::app::goddata::GodData)::core::convert::Into::into(god_data))
98        }
99    }
100    #[doc = "`Close(crate::unity_engine::gameobject::GameObject)` overload"]
101    fn close_2(self, god_symbol_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
102        unsafe {
103            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x2966ad0usize)as*mut u8,();
105(RefineShopGodSymbol)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(god_symbol_object))
106        }
107    }
108    #[doc = "`SetClose(crate::unity_engine::gameobject::GameObject)` overload"]
109    fn set_close(self, god_symbol_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
110        unsafe {
111            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x2966710usize)as*mut u8,();
113(RefineShopGodSymbol)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(god_symbol_object))
114        }
115    }
116    #[doc = "`GetHiddenObject()` overload"]
117    fn get_hidden_object(self) -> crate::unity_engine::gameobject::GameObject {
118        unsafe {
119            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x2966830usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
121(RefineShopGodSymbol)__receiver)
122        }
123    }
124    #[doc = "`.ctor()` overload"]
125    fn ctor(self) -> () {
126        unsafe {
127            let __receiver = <RefineShopGodSymbol as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2966c10usize)as*mut u8,();
129(RefineShopGodSymbol)__receiver)
130        }
131    }
132}
133
134#[cfg(feature = "app-refineshopgodsymbol")]
135impl<__T: IRefineShopGodSymbol> IRefineShopGodSymbolMethods for __T {}
136
137#[cfg(feature = "app-refineshopgodsymbol")]
138impl RefineShopGodSymbol {
139    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
141    }
142
143    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
145    }
146
147    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
149    }
150
151    pub fn set_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
153    }
154
155    pub fn open_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
157    }
158
159    pub fn close_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
161    }
162
163    pub fn set_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
165    }
166
167    pub fn get_hidden_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
169    }
170
171    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
173    }
174}
175
176#[cfg(feature = "app-refineshopgodsymbol")]
177impl RefineShopGodSymbol {
178    #[doc = "`.ctor()` — no args"]
179    pub fn new() -> Self {
180        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
181            panic!(
182                "{}
183::{}
184 failed to instantiate",
185                ::core::stringify!(RefineShopGodSymbol),
186                ::core::stringify!(new),
187            )
188        });
189        <Self as IRefineShopGodSymbolMethods>::ctor(this);
190        this
191    }
192}
193
194#[cfg(feature = "app-refineshopgodsymbol")]
195#[doc(hidden)]
196pub mod prelude {
197    pub use super::{IRefineShopGodSymbol, IRefineShopGodSymbolMethods, RefineShopGodSymbol};
198    #[cfg(feature = "system-object")]
199    pub use crate::system::object::IObjectMethods;
200    #[cfg(feature = "unity_engine-behaviour")]
201    pub use crate::unity_engine::behaviour::IBehaviourMethods;
202    #[cfg(feature = "unity_engine-component")]
203    pub use crate::unity_engine::component::IComponentMethods;
204    #[cfg(feature = "unity_engine-monobehaviour")]
205    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
206    #[cfg(feature = "unity_engine-object_2")]
207    pub use crate::unity_engine::object_2::IObject_2Methods;
208    pub use crate::{
209        system::object::IObject,
210        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
211    };
212}