engage/generated/app/
refineringresult10window.rs1#[cfg(feature = "app-refineringresult10window-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/refineringresult10window/RefineRingResult10Window.md"))]
19 #[::unity::class(namespace = "App", name = "RefineRingResult10Window")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct RefineRingResult10Window {
22 #[static_field]
23 #[rename(name = "PrefabPath")]
24 pub prefab_path: ::unity::Il2CppString,
25 #[offset(24)]
26 #[rename(name = "m_Animator")]
27 pub m_animator: crate::unity_engine::animator::Animator,
28 #[offset(32)]
29 #[rename(name = "m_RingInfoContent")]
30 pub m_ring_info_content: ::unity::Array<crate::app::refineringresult10ringinfocontent::RefineRingResult10RingInfoContent>,
31 }
32}
33
34#[cfg(feature = "app-refineringresult10window-types")]
35pub use __types::*;
36
37#[cfg(feature = "app-refineringresult10window")]
38impl RefineRingResult10Window {
39 #[doc = "`LoadPrefabAsync()` overload"]
40 pub fn load_prefab_async() -> () {
41 unsafe {
42 ::unity::il2cpp_call!((::unity::module_base()+0x29552a0usize)as*mut u8,();
43 )
44 }
45 }
46
47 #[doc = "`IsLoadingPrefab()` overload"]
48 pub fn is_loading_prefab() -> bool {
49 unsafe {
50 ::unity::il2cpp_call!((::unity::module_base()+0x2955360usize)as*mut u8,bool;
51 )
52 }
53 }
54
55 #[doc = "`UnloadPrefab()` overload"]
56 pub fn unload_prefab() -> () {
57 unsafe {
58 ::unity::il2cpp_call!((::unity::module_base()+0x2955400usize)as*mut u8,();
59 )
60 }
61 }
62
63 #[doc = "`Create()` overload"]
64 pub fn create() -> crate::app::refineringresult10window::RefineRingResult10Window {
65 unsafe {
66 ::unity::il2cpp_call!((::unity::module_base()+0x29554a0usize)as*mut u8,crate::app::refineringresult10window::RefineRingResult10Window;
67 )
68 }
69 }
70
71 #[doc = "`.cctor()` overload"]
72 pub fn cctor() -> () {
73 unsafe {
74 ::unity::il2cpp_call!((::unity::module_base()+0x2955a30usize)as*mut u8,();
75 )
76 }
77 }
78}
79
80#[cfg(feature = "app-refineringresult10window")]
81pub trait IRefineRingResult10WindowMethods: IRefineRingResult10Window {
82 #[doc = "`Destroy()` overload"]
83 fn destroy(self) -> () {
84 unsafe {
85 let __receiver =
86 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87 ::unity::il2cpp_call!((::unity::module_base()+0x2955620usize)as*mut u8,();
88(RefineRingResult10Window)__receiver)
89 }
90 }
91 #[doc = "`.ctor()` overload"]
92 fn ctor(self) -> () {
93 unsafe {
94 let __receiver =
95 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96 ::unity::il2cpp_call!((::unity::module_base()+0x29556a0usize)as*mut u8,();
97(RefineRingResult10Window)__receiver)
98 }
99 }
100 #[doc = "`IsOpening()` overload"]
101 fn is_opening(self) -> bool {
102 unsafe {
103 let __receiver =
104 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x29556b0usize)as*mut u8,bool;
106(RefineRingResult10Window)__receiver)
107 }
108 }
109 #[doc = "`Close()` overload"]
110 fn close(self) -> () {
111 unsafe {
112 let __receiver =
113 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114 ::unity::il2cpp_call!((::unity::module_base()+0x2955780usize)as*mut u8,();
115(RefineRingResult10Window)__receiver)
116 }
117 }
118 #[doc = "`IsClosing()` overload"]
119 fn is_closing(self) -> bool {
120 unsafe {
121 let __receiver =
122 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x2955840usize)as*mut u8,bool;
124(RefineRingResult10Window)__receiver)
125 }
126 }
127 #[doc = "`SetData(crate::system::collections::generic::list_1::List_1<crate::app::ringdata::RingData>, crate::system::collections::generic::list_1::List_1<bool>)` overload"]
128 fn set_data(
129 self,
130 ring_data_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::ringdata::RingData>>,
131 is_new_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<bool>>,
132 ) -> () {
133 unsafe {
134 let __receiver =
135 <RefineRingResult10Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136 ::unity::il2cpp_call!((::unity::module_base()+0x2955910usize)as*mut u8,();
137(RefineRingResult10Window)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::ringdata::RingData>)::core::convert::Into::into(ring_data_list),(crate::system::collections::generic::list_1::List_1<bool>)::core::convert::Into::into(is_new_list))
138 }
139 }
140}
141
142#[cfg(feature = "app-refineringresult10window")]
143impl<__T: IRefineRingResult10Window> IRefineRingResult10WindowMethods for __T {}
144
145#[cfg(feature = "app-refineringresult10window")]
146impl RefineRingResult10Window {
147 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
149 }
150
151 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
153 }
154
155 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
157 }
158
159 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
161 }
162
163 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
165 }
166
167 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
169 }
170
171 pub fn is_opening_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
173 }
174
175 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
177 }
178
179 pub fn is_closing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
181 }
182
183 pub fn set_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
185 }
186
187 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
189 }
190}
191
192#[cfg(feature = "app-refineringresult10window")]
193impl RefineRingResult10Window {
194 #[doc = "`.ctor()` — no args"]
195 pub fn new() -> Self {
196 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
197 panic!(
198 "{}
199::{}
200 failed to instantiate",
201 ::core::stringify!(RefineRingResult10Window),
202 ::core::stringify!(new),
203 )
204 });
205 <Self as IRefineRingResult10WindowMethods>::ctor(this);
206 this
207 }
208}
209
210#[cfg(feature = "app-refineringresult10window")]
211#[doc(hidden)]
212pub mod prelude {
213 pub use super::{IRefineRingResult10Window, IRefineRingResult10WindowMethods, RefineRingResult10Window};
214 #[cfg(feature = "system-object")]
215 pub use crate::system::object::IObjectMethods;
216 #[cfg(feature = "unity_engine-behaviour")]
217 pub use crate::unity_engine::behaviour::IBehaviourMethods;
218 #[cfg(feature = "unity_engine-component")]
219 pub use crate::unity_engine::component::IComponentMethods;
220 #[cfg(feature = "unity_engine-monobehaviour")]
221 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
222 #[cfg(feature = "unity_engine-object_2")]
223 pub use crate::unity_engine::object_2::IObject_2Methods;
224 pub use crate::{
225 system::object::IObject,
226 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
227 };
228}