Skip to main content

engage/generated/app/
synthesisringinfowindow.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-synthesisringinfowindow-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/synthesisringinfowindow/SynthesisRingInfoWindow.md"))]
19    #[::unity::class(namespace = "App", name = "SynthesisRingInfoWindow")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct SynthesisRingInfoWindow {
22        #[offset(24)]
23        #[rename(name = "m_NeededTitleText")]
24        pub m_needed_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
25        #[offset(32)]
26        #[rename(name = "m_NeededRingIconImage")]
27        pub m_needed_ring_icon_image: crate::unity_engine::ui::image::Image,
28        #[offset(40)]
29        #[rename(name = "m_CharacterNameText")]
30        pub m_character_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31        #[offset(48)]
32        #[rename(name = "m_NeededValueText")]
33        pub m_needed_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
34        #[offset(56)]
35        #[rename(name = "m_PiecesOfBondText")]
36        pub m_pieces_of_bond_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37        #[offset(64)]
38        #[rename(name = "m_PiecesOfBondValueText")]
39        pub m_pieces_of_bond_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
40        #[offset(72)]
41        #[rename(name = "m_BasePhotos")]
42        pub m_base_photos: ::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_CharaPhoto>,
43        #[offset(80)]
44        #[rename(name = "m_BasePhotoIdx")]
45        pub m_base_photo_idx: i32,
46        #[offset(88)]
47        #[rename(name = "m_BaseRingImage")]
48        pub m_base_ring_image: crate::unity_engine::ui::image::Image,
49        #[offset(96)]
50        #[rename(name = "m_BaseRingNameText")]
51        pub m_base_ring_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
52        #[offset(104)]
53        #[rename(name = "m_BaseRingEnhances")]
54        pub m_base_ring_enhances: ::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_RingEnhance>,
55        #[offset(112)]
56        #[rename(name = "m_BaseRingCountCaptionText")]
57        pub m_base_ring_count_caption_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
58        #[offset(120)]
59        #[rename(name = "m_BaseRingCountBeforeText")]
60        pub m_base_ring_count_before_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
61        #[offset(128)]
62        #[rename(name = "m_BaseRingCountAfterText")]
63        pub m_base_ring_count_after_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
64        #[offset(136)]
65        #[rename(name = "m_SynthesisedPhotos")]
66        pub m_synthesised_photos: ::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_CharaPhoto>,
67        #[offset(144)]
68        #[rename(name = "m_SynthesisedPhotoIdx")]
69        pub m_synthesised_photo_idx: i32,
70        #[offset(152)]
71        #[rename(name = "m_SynthesisedRingImage")]
72        pub m_synthesised_ring_image: crate::unity_engine::ui::image::Image,
73        #[offset(160)]
74        #[rename(name = "m_SynthesisedRingNameText")]
75        pub m_synthesised_ring_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
76        #[offset(168)]
77        #[rename(name = "m_SynthesisedRingEnhances")]
78        pub m_synthesised_ring_enhances: ::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_RingEnhance>,
79        #[offset(176)]
80        #[rename(name = "m_SynthesisedRingCountCaptionText")]
81        pub m_synthesised_ring_count_caption_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
82        #[offset(184)]
83        #[rename(name = "m_SynthesisedRingCountBeforeText")]
84        pub m_synthesised_ring_count_before_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
85        #[offset(192)]
86        #[rename(name = "m_SynthesisedRingCountAfterText")]
87        pub m_synthesised_ring_count_after_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
88        #[offset(200)]
89        #[rename(name = "m_SkillParentObject")]
90        pub m_skill_parent_object: crate::unity_engine::gameobject::GameObject,
91        #[offset(208)]
92        #[rename(name = "m_SkillIconImage")]
93        pub m_skill_icon_image: crate::unity_engine::ui::image::Image,
94        #[offset(216)]
95        #[rename(name = "m_SkillNameText")]
96        pub m_skill_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
97        #[offset(224)]
98        #[rename(name = "m_SkillHelpText")]
99        pub m_skill_help_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
100        #[offset(232)]
101        #[rename(name = "m_Animator")]
102        pub m_animator: crate::unity_engine::animator::Animator,
103        #[offset(240)]
104        #[rename(name = "m_MaterialBefore")]
105        pub m_material_before: crate::unity_engine::material::Material,
106        #[offset(248)]
107        #[rename(name = "m_MaterialAfter")]
108        pub m_material_after: crate::unity_engine::material::Material,
109    }
110
111    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/synthesisringinfowindow/SynthesisRingInfoWindow_RingEnhance.md"))]
112    #[::unity::class(namespace = "App", name = "SynthesisRingInfoWindow.RingEnhance")]
113    #[parent(crate::system::object::Object)]
114    pub struct SynthesisRingInfoWindow_RingEnhance {
115        #[offset(16)]
116        #[rename(name = "m_ParentObject")]
117        pub m_parent_object: crate::unity_engine::gameobject::GameObject,
118        #[offset(24)]
119        #[rename(name = "m_TitleText")]
120        pub m_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
121        #[offset(32)]
122        #[rename(name = "m_ValueText")]
123        pub m_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
124        #[offset(40)]
125        #[rename(name = "m_ArrowImage")]
126        pub m_arrow_image: crate::unity_engine::ui::image::Image,
127    }
128
129    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/synthesisringinfowindow/SynthesisRingInfoWindow_CharaPhoto.md"))]
130    #[::unity::class(namespace = "App", name = "SynthesisRingInfoWindow.CharaPhoto")]
131    #[parent(crate::system::object::Object)]
132    pub struct SynthesisRingInfoWindow_CharaPhoto {
133        #[offset(16)]
134        #[rename(name = "m_RootObject")]
135        pub m_root_object: crate::unity_engine::gameobject::GameObject,
136        #[offset(24)]
137        #[rename(name = "m_RootAnimator")]
138        pub m_root_animator: crate::unity_engine::animator::Animator,
139        #[offset(32)]
140        #[rename(name = "m_CharaImage")]
141        pub m_chara_image: crate::unity_engine::ui::image::Image,
142        #[offset(40)]
143        #[rename(name = "m_FrameImage")]
144        pub m_frame_image: crate::unity_engine::ui::image::Image,
145        #[offset(48)]
146        #[rename(name = "m_IsSetup")]
147        pub m_is_setup: bool,
148    }
149}
150
151#[cfg(feature = "app-synthesisringinfowindow-types")]
152pub use __types::*;
153
154#[cfg(feature = "app-synthesisringinfowindow")]
155pub trait ISynthesisRingInfoWindowMethods: ISynthesisRingInfoWindow {
156    #[doc = "`Start()` overload"]
157    fn start(self) -> () {
158        unsafe {
159            let __receiver =
160                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            ::unity::il2cpp_call!((::unity::module_base()+0x20b2d20usize)as*mut u8,();
162(SynthesisRingInfoWindow)__receiver)
163        }
164    }
165    #[doc = "`OnDestroy()` overload"]
166    fn on_destroy(self) -> () {
167        unsafe {
168            let __receiver =
169                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x20b3170usize)as*mut u8,();
171(SynthesisRingInfoWindow)__receiver)
172        }
173    }
174    #[doc = "`Open()` overload"]
175    fn open(self) -> () {
176        unsafe {
177            let __receiver =
178                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x20b32c0usize)as*mut u8,();
180(SynthesisRingInfoWindow)__receiver)
181        }
182    }
183    #[doc = "`Close()` overload"]
184    fn close(self) -> () {
185        unsafe {
186            let __receiver =
187                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188            ::unity::il2cpp_call!((::unity::module_base()+0x20b3380usize)as*mut u8,();
189(SynthesisRingInfoWindow)__receiver)
190        }
191    }
192    #[doc = "`SetData(crate::app::ringdata::RingData)` overload"]
193    fn set_data(self, ring_data: impl ::core::convert::Into<crate::app::ringdata::RingData>) -> () {
194        unsafe {
195            let __receiver =
196                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x20b3440usize)as*mut u8,();
198(SynthesisRingInfoWindow)__receiver,(crate::app::ringdata::RingData)::core::convert::Into::into(ring_data))
199        }
200    }
201    #[doc = "`SetupCharaImage(::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_CharaPhoto>, *muti32, crate::app::ringdata::RingData)` overload"]
202    fn setup_chara_image(
203        self,
204        photo: impl ::core::convert::Into<::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_CharaPhoto>>,
205        data: impl ::core::convert::Into<crate::app::ringdata::RingData>,
206    ) -> i32 {
207        unsafe {
208            let __receiver =
209                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210            let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
211            ::unity::il2cpp_call!((::unity::module_base()+0x20b4800usize)as*mut u8,();
212(SynthesisRingInfoWindow)__receiver,(::unity::Array<crate::app::synthesisringinfowindow::SynthesisRingInfoWindow_CharaPhoto>)::core::convert::Into::into(photo),(*mut i32)__out_0.as_mut_ptr(),(crate::app::ringdata::RingData)::core::convert::Into::into(data));
213            __out_0.assume_init()
214        }
215    }
216    #[doc = "`.ctor()` overload"]
217    fn ctor(self) -> () {
218        unsafe {
219            let __receiver =
220                <SynthesisRingInfoWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x20b48c0usize)as*mut u8,();
222(SynthesisRingInfoWindow)__receiver)
223        }
224    }
225}
226
227#[cfg(feature = "app-synthesisringinfowindow")]
228impl<__T: ISynthesisRingInfoWindow> ISynthesisRingInfoWindowMethods for __T {}
229
230#[cfg(feature = "app-synthesisringinfowindow")]
231impl SynthesisRingInfoWindow {
232    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
234    }
235
236    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
238    }
239
240    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
242    }
243
244    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
246    }
247
248    pub fn set_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
250    }
251
252    pub fn setup_chara_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
254    }
255
256    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
258    }
259}
260
261#[cfg(feature = "app-synthesisringinfowindow")]
262impl SynthesisRingInfoWindow {
263    #[doc = "`.ctor()` — no args"]
264    pub fn new() -> Self {
265        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
266            panic!(
267                "{}
268::{}
269 failed to instantiate",
270                ::core::stringify!(SynthesisRingInfoWindow),
271                ::core::stringify!(new),
272            )
273        });
274        <Self as ISynthesisRingInfoWindowMethods>::ctor(this);
275        this
276    }
277}
278
279#[cfg(feature = "app-synthesisringinfowindow")]
280pub trait ISynthesisRingInfoWindow_RingEnhanceMethods: ISynthesisRingInfoWindow_RingEnhance {
281    #[doc = "`.ctor()` overload"]
282    fn ctor(self) -> () {
283        unsafe {
284            let __receiver = <SynthesisRingInfoWindow_RingEnhance as ::unity::FromIlInstance>::from_il_instance(
285                <Self as ::unity::SystemObject>::as_instance(self),
286            );
287            ::unity::il2cpp_call!((::unity::module_base()+0x21f79d0usize)as*mut u8,();
288(SynthesisRingInfoWindow_RingEnhance)__receiver)
289        }
290    }
291}
292
293#[cfg(feature = "app-synthesisringinfowindow")]
294impl<__T: ISynthesisRingInfoWindow_RingEnhance> ISynthesisRingInfoWindow_RingEnhanceMethods for __T {}
295
296#[cfg(feature = "app-synthesisringinfowindow")]
297impl SynthesisRingInfoWindow_RingEnhance {
298    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
300    }
301}
302
303#[cfg(feature = "app-synthesisringinfowindow")]
304impl SynthesisRingInfoWindow_RingEnhance {
305    #[doc = "`.ctor()` — no args"]
306    pub fn new() -> Self {
307        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
308            panic!(
309                "{}
310::{}
311 failed to instantiate",
312                ::core::stringify!(SynthesisRingInfoWindow_RingEnhance),
313                ::core::stringify!(new),
314            )
315        });
316        <Self as ISynthesisRingInfoWindow_RingEnhanceMethods>::ctor(this);
317        this
318    }
319}
320
321#[cfg(feature = "app-synthesisringinfowindow")]
322pub trait ISynthesisRingInfoWindow_CharaPhotoMethods: ISynthesisRingInfoWindow_CharaPhoto {
323    #[doc = "`.ctor()` overload"]
324    fn ctor(self) -> () {
325        unsafe {
326            let __receiver =
327                <SynthesisRingInfoWindow_CharaPhoto as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328            ::unity::il2cpp_call!((::unity::module_base()+0x21f7670usize)as*mut u8,();
329(SynthesisRingInfoWindow_CharaPhoto)__receiver)
330        }
331    }
332    #[doc = "`FadeIn()` overload"]
333    fn fade_in(self) -> () {
334        unsafe {
335            let __receiver =
336                <SynthesisRingInfoWindow_CharaPhoto as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337            ::unity::il2cpp_call!((::unity::module_base()+0x21f76f0usize)as*mut u8,();
338(SynthesisRingInfoWindow_CharaPhoto)__receiver)
339        }
340    }
341    #[doc = "`FadeOut()` overload"]
342    fn fade_out(self) -> () {
343        unsafe {
344            let __receiver =
345                <SynthesisRingInfoWindow_CharaPhoto as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346            ::unity::il2cpp_call!((::unity::module_base()+0x21f77d0usize)as*mut u8,();
347(SynthesisRingInfoWindow_CharaPhoto)__receiver)
348        }
349    }
350    #[doc = "`SetRingChara(crate::app::ringdata::RingData)` overload"]
351    fn set_ring_chara(self, ring_data: impl ::core::convert::Into<crate::app::ringdata::RingData>) -> () {
352        unsafe {
353            let __receiver =
354                <SynthesisRingInfoWindow_CharaPhoto as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355            ::unity::il2cpp_call!((::unity::module_base()+0x21f7860usize)as*mut u8,();
356(SynthesisRingInfoWindow_CharaPhoto)__receiver,(crate::app::ringdata::RingData)::core::convert::Into::into(ring_data))
357        }
358    }
359}
360
361#[cfg(feature = "app-synthesisringinfowindow")]
362impl<__T: ISynthesisRingInfoWindow_CharaPhoto> ISynthesisRingInfoWindow_CharaPhotoMethods for __T {}
363
364#[cfg(feature = "app-synthesisringinfowindow")]
365impl SynthesisRingInfoWindow_CharaPhoto {
366    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
368    }
369
370    pub fn fade_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
372    }
373
374    pub fn fade_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
376    }
377
378    pub fn set_ring_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
380    }
381}
382
383#[cfg(feature = "app-synthesisringinfowindow")]
384impl SynthesisRingInfoWindow_CharaPhoto {
385    #[doc = "`.ctor()` — no args"]
386    pub fn new() -> Self {
387        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
388            panic!(
389                "{}
390::{}
391 failed to instantiate",
392                ::core::stringify!(SynthesisRingInfoWindow_CharaPhoto),
393                ::core::stringify!(new),
394            )
395        });
396        <Self as ISynthesisRingInfoWindow_CharaPhotoMethods>::ctor(this);
397        this
398    }
399}
400
401#[cfg(feature = "app-synthesisringinfowindow")]
402#[doc(hidden)]
403pub mod prelude {
404    pub use super::{
405        ISynthesisRingInfoWindow, ISynthesisRingInfoWindowMethods, ISynthesisRingInfoWindow_CharaPhoto, ISynthesisRingInfoWindow_CharaPhotoMethods,
406        ISynthesisRingInfoWindow_RingEnhance, ISynthesisRingInfoWindow_RingEnhanceMethods, SynthesisRingInfoWindow,
407        SynthesisRingInfoWindow_CharaPhoto, SynthesisRingInfoWindow_RingEnhance,
408    };
409    #[cfg(feature = "system-object")]
410    pub use crate::system::object::IObjectMethods;
411    #[cfg(feature = "unity_engine-behaviour")]
412    pub use crate::unity_engine::behaviour::IBehaviourMethods;
413    #[cfg(feature = "unity_engine-component")]
414    pub use crate::unity_engine::component::IComponentMethods;
415    #[cfg(feature = "unity_engine-monobehaviour")]
416    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
417    #[cfg(feature = "unity_engine-object_2")]
418    pub use crate::unity_engine::object_2::IObject_2Methods;
419    pub use crate::{
420        system::object::IObject,
421        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
422    };
423}