engage/generated/app/
refineringresult1window.rs1#[cfg(feature = "app-refineringresult1window-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/refineringresult1window/RefineRingResult1Window_RingParam.md"))]
19 #[::unity::class(namespace = "App", name = "RefineRingResult1Window.RingParam")]
20 #[parent(crate::system::object::Object)]
21 pub struct RefineRingResult1Window_RingParam {
22 #[offset(16)]
23 #[rename(name = "m_TitleText")]
24 pub m_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
25 #[offset(24)]
26 #[rename(name = "m_ValueText")]
27 pub m_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28 }
29
30 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineringresult1window/RefineRingResult1Window.md"))]
31 #[::unity::class(namespace = "App", name = "RefineRingResult1Window")]
32 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
33 pub struct RefineRingResult1Window {
34 #[static_field]
35 #[rename(name = "PrefabPath")]
36 pub prefab_path: ::unity::Il2CppString,
37 #[offset(24)]
38 #[rename(name = "m_CharacterImageRootAnimator")]
39 pub m_character_image_root_animator: crate::unity_engine::animator::Animator,
40 #[offset(32)]
41 #[rename(name = "m_RingParamRootAnimator")]
42 pub m_ring_param_root_animator: crate::unity_engine::animator::Animator,
43 #[offset(40)]
44 #[rename(name = "m_NewAnimator")]
45 pub m_new_animator: crate::unity_engine::animator::Animator,
46 #[offset(48)]
47 #[rename(name = "m_CharacterImage")]
48 pub m_character_image: crate::unity_engine::ui::image::Image,
49 #[offset(56)]
50 #[rename(name = "m_FrameImage")]
51 pub m_frame_image: crate::unity_engine::ui::image::Image,
52 #[offset(64)]
53 #[rename(name = "m_NewObject")]
54 pub m_new_object: crate::unity_engine::gameobject::GameObject,
55 #[offset(72)]
56 #[rename(name = "m_NewText")]
57 pub m_new_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
58 #[offset(80)]
59 #[rename(name = "m_RingIconImage")]
60 pub m_ring_icon_image: crate::unity_engine::ui::image::Image,
61 #[offset(88)]
62 #[rename(name = "m_CharacterNameText")]
63 pub m_character_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
64 #[offset(96)]
65 #[rename(name = "m_RingParams")]
66 pub m_ring_params: ::unity::Array<crate::app::refineringresult1window::RefineRingResult1Window_RingParam>,
67 #[offset(104)]
68 #[rename(name = "m_SkillRootObject")]
69 pub m_skill_root_object: crate::unity_engine::gameobject::GameObject,
70 #[offset(112)]
71 #[rename(name = "m_SkillIconImage")]
72 pub m_skill_icon_image: crate::unity_engine::ui::image::Image,
73 #[offset(120)]
74 #[rename(name = "m_SkillNameText")]
75 pub m_skill_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
76 #[offset(128)]
77 #[rename(name = "m_SkillHelpText")]
78 pub m_skill_help_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
79 }
80}
81
82#[cfg(feature = "app-refineringresult1window-types")]
83pub use __types::*;
84
85#[cfg(feature = "app-refineringresult1window")]
86pub trait IRefineRingResult1Window_RingParamMethods: IRefineRingResult1Window_RingParam {
87 #[doc = "`.ctor()` overload"]
88 fn ctor(self) -> () {
89 unsafe {
90 let __receiver =
91 <RefineRingResult1Window_RingParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92 ::unity::il2cpp_call!((::unity::module_base()+0x1af8880usize)as*mut u8,();
93(RefineRingResult1Window_RingParam)__receiver)
94 }
95 }
96}
97
98#[cfg(feature = "app-refineringresult1window")]
99impl<__T: IRefineRingResult1Window_RingParam> IRefineRingResult1Window_RingParamMethods for __T {}
100
101#[cfg(feature = "app-refineringresult1window")]
102impl RefineRingResult1Window_RingParam {
103 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
105 }
106}
107
108#[cfg(feature = "app-refineringresult1window")]
109impl RefineRingResult1Window_RingParam {
110 #[doc = "`.ctor()` — no args"]
111 pub fn new() -> Self {
112 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
113 panic!(
114 "{}
115::{}
116 failed to instantiate",
117 ::core::stringify!(RefineRingResult1Window_RingParam),
118 ::core::stringify!(new),
119 )
120 });
121 <Self as IRefineRingResult1Window_RingParamMethods>::ctor(this);
122 this
123 }
124}
125
126#[cfg(feature = "app-refineringresult1window")]
127impl RefineRingResult1Window {
128 #[doc = "`LoadPrefabAsync()` overload"]
129 pub fn load_prefab_async() -> () {
130 unsafe {
131 ::unity::il2cpp_call!((::unity::module_base()+0x2955aa0usize)as*mut u8,();
132 )
133 }
134 }
135
136 #[doc = "`IsLoadingPrefab()` overload"]
137 pub fn is_loading_prefab() -> bool {
138 unsafe {
139 ::unity::il2cpp_call!((::unity::module_base()+0x2955b60usize)as*mut u8,bool;
140 )
141 }
142 }
143
144 #[doc = "`UnloadPrefab()` overload"]
145 pub fn unload_prefab() -> () {
146 unsafe {
147 ::unity::il2cpp_call!((::unity::module_base()+0x2955c00usize)as*mut u8,();
148 )
149 }
150 }
151
152 #[doc = "`Create()` overload"]
153 pub fn create() -> crate::app::refineringresult1window::RefineRingResult1Window {
154 unsafe {
155 ::unity::il2cpp_call!((::unity::module_base()+0x2955ca0usize)as*mut u8,crate::app::refineringresult1window::RefineRingResult1Window;
156 )
157 }
158 }
159
160 #[doc = "`.cctor()` overload"]
161 pub fn cctor() -> () {
162 unsafe {
163 ::unity::il2cpp_call!((::unity::module_base()+0x2956c90usize)as*mut u8,();
164 )
165 }
166 }
167}
168
169#[cfg(feature = "app-refineringresult1window")]
170pub trait IRefineRingResult1WindowMethods: IRefineRingResult1Window {
171 #[doc = "`Destroy()` overload"]
172 fn destroy(self) -> () {
173 unsafe {
174 let __receiver =
175 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176 ::unity::il2cpp_call!((::unity::module_base()+0x2955e20usize)as*mut u8,();
177(RefineRingResult1Window)__receiver)
178 }
179 }
180 #[doc = "`.ctor()` overload"]
181 fn ctor(self) -> () {
182 unsafe {
183 let __receiver =
184 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x2955ea0usize)as*mut u8,();
186(RefineRingResult1Window)__receiver)
187 }
188 }
189 #[doc = "`IsOpening()` overload"]
190 fn is_opening(self) -> bool {
191 unsafe {
192 let __receiver =
193 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x2955eb0usize)as*mut u8,bool;
195(RefineRingResult1Window)__receiver)
196 }
197 }
198 #[doc = "`Close()` overload"]
199 fn close(self) -> () {
200 unsafe {
201 let __receiver =
202 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x2956030usize)as*mut u8,();
204(RefineRingResult1Window)__receiver)
205 }
206 }
207 #[doc = "`IsClosing()` overload"]
208 fn is_closing(self) -> bool {
209 unsafe {
210 let __receiver =
211 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 ::unity::il2cpp_call!((::unity::module_base()+0x2956180usize)as*mut u8,bool;
213(RefineRingResult1Window)__receiver)
214 }
215 }
216 #[doc = "`SetData(crate::app::ringdata::RingData, bool)` overload"]
217 fn set_data(self, ring_data: impl ::core::convert::Into<crate::app::ringdata::RingData>, is_new: impl ::core::convert::Into<bool>) -> () {
218 unsafe {
219 let __receiver =
220 <RefineRingResult1Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221 ::unity::il2cpp_call!((::unity::module_base()+0x2956300usize)as*mut u8,();
222(RefineRingResult1Window)__receiver,(crate::app::ringdata::RingData)::core::convert::Into::into(ring_data),(bool)::core::convert::Into::into(is_new))
223 }
224 }
225}
226
227#[cfg(feature = "app-refineringresult1window")]
228impl<__T: IRefineRingResult1Window> IRefineRingResult1WindowMethods for __T {}
229
230#[cfg(feature = "app-refineringresult1window")]
231impl RefineRingResult1Window {
232 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
234 }
235
236 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
238 }
239
240 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
242 }
243
244 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
246 }
247
248 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
250 }
251
252 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
254 }
255
256 pub fn is_opening_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
258 }
259
260 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
262 }
263
264 pub fn is_closing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
266 }
267
268 pub fn set_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
270 }
271
272 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
274 }
275}
276
277#[cfg(feature = "app-refineringresult1window")]
278impl RefineRingResult1Window {
279 #[doc = "`.ctor()` — no args"]
280 pub fn new() -> Self {
281 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
282 panic!(
283 "{}
284::{}
285 failed to instantiate",
286 ::core::stringify!(RefineRingResult1Window),
287 ::core::stringify!(new),
288 )
289 });
290 <Self as IRefineRingResult1WindowMethods>::ctor(this);
291 this
292 }
293}
294
295#[cfg(feature = "app-refineringresult1window")]
296#[doc(hidden)]
297pub mod prelude {
298 pub use super::{
299 IRefineRingResult1Window, IRefineRingResult1WindowMethods, IRefineRingResult1Window_RingParam, IRefineRingResult1Window_RingParamMethods,
300 RefineRingResult1Window, RefineRingResult1Window_RingParam,
301 };
302 #[cfg(feature = "system-object")]
303 pub use crate::system::object::IObjectMethods;
304 #[cfg(feature = "unity_engine-behaviour")]
305 pub use crate::unity_engine::behaviour::IBehaviourMethods;
306 #[cfg(feature = "unity_engine-component")]
307 pub use crate::unity_engine::component::IComponentMethods;
308 #[cfg(feature = "unity_engine-monobehaviour")]
309 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
310 #[cfg(feature = "unity_engine-object_2")]
311 pub use crate::unity_engine::object_2::IObject_2Methods;
312 pub use crate::{
313 system::object::IObject,
314 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
315 };
316}