1#[cfg(feature = "app-ringinfo-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ringinfo/RingInfo_RingPrefabObject.md"))]
17 #[::unity::class(namespace = "App", name = "RingInfo.RingPrefabObject")]
18 #[parent(crate::system::object::Object)]
19 pub struct RingInfo_RingPrefabObject {
20 #[static_field]
21 #[rename(name = "s_RingPrefabObjectDict")]
22 pub s_ring_prefab_object_dict:
23 crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, crate::app::ringinfo::RingInfo_RingPrefabObject>,
24 #[offset(16)]
25 #[rename(name = "m_RingInfoWindow")]
26 pub m_ring_info_window: crate::app::ringinfo::RingInfo_RingInfoWindowRingModel,
27 #[offset(32)]
28 #[rename(name = "m_ResourceHandle")]
29 pub m_resource_handle: crate::app::tresourcehandle_1::TResourceHandle_1<crate::unity_engine::gameobject::GameObject>,
30 #[offset(40)]
31 #[rename(name = "m_RingObject")]
32 pub m_ring_object: crate::unity_engine::gameobject::GameObject,
33 #[offset(48)]
34 #[rename(name = "m_God")]
35 pub m_god: crate::app::godunit::GodUnit,
36 #[offset(56)]
37 #[rename(name = "m_Materials")]
38 pub m_materials: ::unity::Array<crate::unity_engine::material::Material>,
39 #[offset(64)]
40 #[rename(name = "m_RingData")]
41 pub m_ring_data: crate::app::ringdata::RingData,
42 }
43
44 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ringinfo/RingInfo_RingInfoWindowRingModel.md"))]
45 #[::unity::class(namespace = "App", name = "RingInfo.RingInfoWindowRingModel")]
46 #[parent(crate::system::object::Object)]
47 pub struct RingInfo_RingInfoWindowRingModel {
48 #[offset(16)]
49 #[rename(name = "m_Index")]
50 pub m_index: i32,
51 #[offset(24)]
52 #[rename(name = "PrefabPath")]
53 pub prefab_path: ::unity::Il2CppString,
54 #[offset(32)]
55 #[rename(name = "m_PrefabHandle")]
56 pub m_prefab_handle: crate::app::tresourcehandle_1::TResourceHandle_1<crate::unity_engine::gameobject::GameObject>,
57 #[offset(40)]
58 #[rename(name = "m_GameObject")]
59 pub m_game_object: crate::unity_engine::gameobject::GameObject,
60 #[offset(48)]
61 #[rename(name = "m_CameraObject")]
62 pub m_camera_object: crate::unity_engine::gameobject::GameObject,
63 #[offset(56)]
64 #[rename(name = "m_Camera")]
65 pub m_camera: crate::unity_engine::camera::Camera,
66 #[offset(64)]
67 #[rename(name = "m_Animator")]
68 pub m_animator: crate::unity_engine::animator::Animator,
69 }
70
71 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ringinfo/RingInfo.md"))]
72 #[::unity::class(namespace = "App", name = "RingInfo")]
73 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::ringinfo::RingInfo>)]
74 pub struct RingInfo {
75 #[offset(120)]
76 #[rename(name = "m_RingInfoWindows")]
77 pub m_ring_info_windows: ::unity::Array<crate::app::ringinfo::RingInfo_RingInfoWindowRingModel>,
78 #[static_field]
79 #[rename(name = "s_IsPlayAnimation")]
80 pub s_is_play_animation: bool,
81 #[static_field]
82 #[rename(name = "LoadStartWait")]
83 pub load_start_wait: i32,
84 #[static_field]
85 #[rename(name = "s_IsVisibleDirty")]
86 pub s_is_visible_dirty: bool,
87 }
88}
89
90#[cfg(feature = "app-ringinfo-types")]
91pub use __types::*;
92
93#[cfg(feature = "app-ringinfo")]
94impl RingInfo_RingPrefabObject {
95 #[doc = "`CreateObject(crate::app::ringinfo::RingInfo_RingInfoWindowRingModel, crate::app::godunit::GodUnit, crate::app::ringdata::RingData, bool, bool)` overload"]
96 pub fn create_object(
97 ring_info_window: impl ::core::convert::Into<crate::app::ringinfo::RingInfo_RingInfoWindowRingModel>,
98 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
99 ring: impl ::core::convert::Into<crate::app::ringdata::RingData>,
100 is_play_animation: impl ::core::convert::Into<bool>,
101 is_visible_dirty: impl ::core::convert::Into<bool>,
102 ) -> crate::app::ringinfo::RingInfo_RingPrefabObject {
103 unsafe {
104 ::unity::il2cpp_call!((::unity::module_base()+0x1b13a90usize)as*mut u8,crate::app::ringinfo::RingInfo_RingPrefabObject;
105(crate::app::ringinfo::RingInfo_RingInfoWindowRingModel)::core::convert::Into::into(ring_info_window),(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringdata::RingData)::core::convert::Into::into(ring),(bool)::core::convert::Into::into(is_play_animation),(bool)::core::convert::Into::into(is_visible_dirty))
106 }
107 }
108
109 #[doc = "`CreateObjectImpl(crate::app::godunit::GodUnit, crate::app::ringinfo::RingInfo_RingInfoWindowRingModel, bool)` overload"]
110 pub fn create_object_impl(
111 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
112 ring_info_window: impl ::core::convert::Into<crate::app::ringinfo::RingInfo_RingInfoWindowRingModel>,
113 is_visible_dirty: impl ::core::convert::Into<bool>,
114 ) -> crate::app::ringinfo::RingInfo_RingPrefabObject {
115 unsafe {
116 ::unity::il2cpp_call!((::unity::module_base()+0x1b13b80usize)as*mut u8,crate::app::ringinfo::RingInfo_RingPrefabObject;
117(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringinfo::RingInfo_RingInfoWindowRingModel)::core::convert::Into::into(ring_info_window),(bool)::core::convert::Into::into(is_visible_dirty))
118 }
119 }
120
121 #[doc = "`CreateObjectImpl(crate::app::ringdata::RingData, crate::app::ringinfo::RingInfo_RingInfoWindowRingModel, bool, bool)` overload"]
122 pub fn create_object_impl_2(
123 ring_data: impl ::core::convert::Into<crate::app::ringdata::RingData>,
124 ring_info_window: impl ::core::convert::Into<crate::app::ringinfo::RingInfo_RingInfoWindowRingModel>,
125 is_play_animation: impl ::core::convert::Into<bool>,
126 is_visible_dirty: impl ::core::convert::Into<bool>,
127 ) -> crate::app::ringinfo::RingInfo_RingPrefabObject {
128 unsafe {
129 ::unity::il2cpp_call!((::unity::module_base()+0x1b13ec0usize)as*mut u8,crate::app::ringinfo::RingInfo_RingPrefabObject;
130(crate::app::ringdata::RingData)::core::convert::Into::into(ring_data),(crate::app::ringinfo::RingInfo_RingInfoWindowRingModel)::core::convert::Into::into(ring_info_window),(bool)::core::convert::Into::into(is_play_animation),(bool)::core::convert::Into::into(is_visible_dirty))
131 }
132 }
133
134 #[doc = "`GetRingPrefabPath(crate::app::godunit::GodUnit)` overload"]
135 pub fn get_ring_prefab_path(god: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> ::unity::Il2CppString {
136 unsafe {
137 ::unity::il2cpp_call!((::unity::module_base()+0x1b14230usize)as*mut u8, ::unity::Il2CppString;
138(crate::app::godunit::GodUnit)::core::convert::Into::into(god))
139 }
140 }
141
142 #[doc = "`DeleteAll()` overload"]
143 pub fn delete_all() -> () {
144 unsafe {
145 ::unity::il2cpp_call!((::unity::module_base()+0x1b14310usize)as*mut u8,();
146 )
147 }
148 }
149
150 #[doc = "`UpdateDirtyAll()` overload"]
151 pub fn update_dirty_all() -> () {
152 unsafe {
153 ::unity::il2cpp_call!((::unity::module_base()+0x1b14620usize)as*mut u8,();
154 )
155 }
156 }
157
158 #[doc = "`GetGodAsciiName(crate::unity_engine::gameobject::GameObject)` overload"]
159 pub fn get_god_ascii_name(ring_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> ::unity::Il2CppString {
160 unsafe {
161 ::unity::il2cpp_call!((::unity::module_base()+0x1b14f60usize)as*mut u8, ::unity::Il2CppString;
162(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(ring_object))
163 }
164 }
165
166 #[doc = "`.cctor()` overload"]
167 pub fn cctor() -> () {
168 unsafe {
169 ::unity::il2cpp_call!((::unity::module_base()+0x1b15190usize)as*mut u8,();
170 )
171 }
172 }
173}
174
175#[cfg(feature = "app-ringinfo")]
176pub trait IRingInfo_RingPrefabObjectMethods: IRingInfo_RingPrefabObject {
177 #[doc = "`get_m_IsVisibleDirty()` overload"]
178 fn get_m_is_visible_dirty(self) -> bool {
179 unsafe {
180 let __receiver =
181 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182 ::unity::il2cpp_call!((::unity::module_base()+0x1b13a50usize)as*mut u8,bool;
183(RingInfo_RingPrefabObject)__receiver)
184 }
185 }
186 #[doc = "`set_m_IsVisibleDirty(bool)` overload"]
187 fn set_m_is_visible_dirty(self, value: impl ::core::convert::Into<bool>) -> () {
188 unsafe {
189 let __receiver =
190 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191 ::unity::il2cpp_call!((::unity::module_base()+0x1b13a60usize)as*mut u8,();
192(RingInfo_RingPrefabObject)__receiver,(bool)::core::convert::Into::into(value))
193 }
194 }
195 #[doc = "`get_IsDelete()` overload"]
196 fn get_is_delete(self) -> bool {
197 unsafe {
198 let __receiver =
199 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200 ::unity::il2cpp_call!((::unity::module_base()+0x1b13a70usize)as*mut u8,bool;
201(RingInfo_RingPrefabObject)__receiver)
202 }
203 }
204 #[doc = "`set_IsDelete(bool)` overload"]
205 fn set_is_delete(self, value: impl ::core::convert::Into<bool>) -> () {
206 unsafe {
207 let __receiver =
208 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x1b13a80usize)as*mut u8,();
210(RingInfo_RingPrefabObject)__receiver,(bool)::core::convert::Into::into(value))
211 }
212 }
213 #[doc = "`.ctor(::unity::Il2CppString, crate::app::ringinfo::RingInfo_RingInfoWindowRingModel, crate::app::godunit::GodUnit, crate::app::ringdata::RingData, bool)` overload"]
214 fn ctor(
215 self,
216 prefab_path: impl ::core::convert::Into<::unity::Il2CppString>,
217 ring_info_window: impl ::core::convert::Into<crate::app::ringinfo::RingInfo_RingInfoWindowRingModel>,
218 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
219 ring: impl ::core::convert::Into<crate::app::ringdata::RingData>,
220 is_visible_dirty: impl ::core::convert::Into<bool>,
221 ) -> () {
222 unsafe {
223 let __receiver =
224 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x1b140b0usize)as*mut u8,();
226(RingInfo_RingPrefabObject)__receiver,(::unity::Il2CppString)::core::convert::Into::into(prefab_path),(crate::app::ringinfo::RingInfo_RingInfoWindowRingModel)::core::convert::Into::into(ring_info_window),(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringdata::RingData)::core::convert::Into::into(ring),(bool)::core::convert::Into::into(is_visible_dirty))
227 }
228 }
229 #[doc = "`Delete()` overload"]
230 fn delete(self) -> () {
231 unsafe {
232 let __receiver =
233 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234 ::unity::il2cpp_call!((::unity::module_base()+0x1b14500usize)as*mut u8,();
235(RingInfo_RingPrefabObject)__receiver)
236 }
237 }
238 #[doc = "`UpdateDirty()` overload"]
239 fn update_dirty(self) -> () {
240 unsafe {
241 let __receiver =
242 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243 ::unity::il2cpp_call!((::unity::module_base()+0x1b147e0usize)as*mut u8,();
244(RingInfo_RingPrefabObject)__receiver)
245 }
246 }
247 #[doc = "`CreateImpl()` overload"]
248 fn create_impl(self) -> () {
249 unsafe {
250 let __receiver =
251 <RingInfo_RingPrefabObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252 ::unity::il2cpp_call!((::unity::module_base()+0x1b14900usize)as*mut u8,();
253(RingInfo_RingPrefabObject)__receiver)
254 }
255 }
256}
257
258#[cfg(feature = "app-ringinfo")]
259impl<__T: IRingInfo_RingPrefabObject> IRingInfo_RingPrefabObjectMethods for __T {}
260
261#[cfg(feature = "app-ringinfo")]
262impl RingInfo_RingPrefabObject {
263 pub fn get_m_is_visible_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
265 }
266
267 pub fn set_m_is_visible_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
269 }
270
271 pub fn get_is_delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
273 }
274
275 pub fn set_is_delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
277 }
278
279 pub fn create_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
281 }
282
283 pub fn create_object_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
285 }
286
287 pub fn create_object_impl_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
289 }
290
291 pub fn get_ring_prefab_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
293 }
294
295 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
297 }
298
299 pub fn delete_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
301 }
302
303 pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
305 }
306
307 pub fn update_dirty_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
309 }
310
311 pub fn update_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
313 }
314
315 pub fn create_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
317 }
318
319 pub fn get_god_ascii_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
321 }
322
323 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
325 }
326}
327
328#[cfg(feature = "app-ringinfo")]
329impl RingInfo_RingPrefabObject {
330 #[doc = "`.ctor(::unity::Il2CppString, crate::app::ringinfo::RingInfo_RingInfoWindowRingModel, crate::app::godunit::GodUnit, crate::app::ringdata::RingData, bool)` — overload selector"]
331 pub fn new(
332 prefab_path: ::unity::Il2CppString,
333 ring_info_window: crate::app::ringinfo::RingInfo_RingInfoWindowRingModel,
334 god: crate::app::godunit::GodUnit,
335 ring: crate::app::ringdata::RingData,
336 is_visible_dirty: bool,
337 ) -> Self {
338 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
339 panic!(
340 "{}
341::{}
342 failed to instantiate",
343 ::core::stringify!(RingInfo_RingPrefabObject),
344 ::core::stringify!(new),
345 )
346 });
347 <Self as IRingInfo_RingPrefabObjectMethods>::ctor(this, prefab_path, ring_info_window, god, ring, is_visible_dirty);
348 this
349 }
350}
351
352#[cfg(feature = "app-ringinfo")]
353pub trait IRingInfo_RingInfoWindowRingModelMethods: IRingInfo_RingInfoWindowRingModel {
354 #[doc = "`.ctor(i32)` overload"]
355 fn ctor(self, index: impl ::core::convert::Into<i32>) -> () {
356 unsafe {
357 let __receiver =
358 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359 ::unity::il2cpp_call!((::unity::module_base()+0x1b13110usize)as*mut u8,();
360(RingInfo_RingInfoWindowRingModel)__receiver,(i32)::core::convert::Into::into(index))
361 }
362 }
363 #[doc = "`CreateAsync()` overload"]
364 fn create_async(self) -> () {
365 unsafe {
366 let __receiver =
367 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x1b13190usize)as*mut u8,();
369(RingInfo_RingInfoWindowRingModel)__receiver)
370 }
371 }
372 #[doc = "`IsCreating()` overload"]
373 fn is_creating(self) -> bool {
374 unsafe {
375 let __receiver =
376 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377 ::unity::il2cpp_call!((::unity::module_base()+0x1b132b0usize)as*mut u8,bool;
378(RingInfo_RingInfoWindowRingModel)__receiver)
379 }
380 }
381 #[doc = "`Destroy()` overload"]
382 fn destroy(self) -> () {
383 unsafe {
384 let __receiver =
385 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386 ::unity::il2cpp_call!((::unity::module_base()+0x1b132e0usize)as*mut u8,();
387(RingInfo_RingInfoWindowRingModel)__receiver)
388 }
389 }
390 #[doc = "`CreateImpl()` overload"]
391 fn create_impl(self) -> () {
392 unsafe {
393 let __receiver =
394 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 ::unity::il2cpp_call!((::unity::module_base()+0x1b133b0usize)as*mut u8,();
396(RingInfo_RingInfoWindowRingModel)__receiver)
397 }
398 }
399 #[doc = "`Setup()` overload"]
400 fn setup(self) -> bool {
401 unsafe {
402 let __receiver =
403 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x1b134f0usize)as*mut u8,bool;
405(RingInfo_RingInfoWindowRingModel)__receiver)
406 }
407 }
408 #[doc = "`GetRenderTexture()` overload"]
409 fn get_render_texture(self) -> crate::unity_engine::rendertexture::RenderTexture {
410 unsafe {
411 let __receiver =
412 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
413 ::unity::il2cpp_call!((::unity::module_base()+0x1b137c0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
414(RingInfo_RingInfoWindowRingModel)__receiver)
415 }
416 }
417 #[doc = "`get_PrefabObject()` overload"]
418 fn get_prefab_object(self) -> crate::unity_engine::gameobject::GameObject {
419 unsafe {
420 let __receiver =
421 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x1b13850usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
423(RingInfo_RingInfoWindowRingModel)__receiver)
424 }
425 }
426 #[doc = "`get_RingModelRoot()` overload"]
427 fn get_ring_model_root(self) -> crate::unity_engine::gameobject::GameObject {
428 unsafe {
429 let __receiver =
430 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 ::unity::il2cpp_call!((::unity::module_base()+0x1b13860usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
432(RingInfo_RingInfoWindowRingModel)__receiver)
433 }
434 }
435 #[doc = "`SetAnimatorEnable(bool)` overload"]
436 fn set_animator_enable(self, value: impl ::core::convert::Into<bool>) -> () {
437 unsafe {
438 let __receiver =
439 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x1b138d0usize)as*mut u8,();
441(RingInfo_RingInfoWindowRingModel)__receiver,(bool)::core::convert::Into::into(value))
442 }
443 }
444 #[doc = "`GetDirtyTextureValue(i32)` overload"]
445 fn get_dirty_texture_value(self, dirty: impl ::core::convert::Into<i32>) -> f32 {
446 unsafe {
447 let __receiver =
448 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
449 ::unity::il2cpp_call!((::unity::module_base()+0x1b13960usize)as*mut u8,f32;
450(RingInfo_RingInfoWindowRingModel)__receiver,(i32)::core::convert::Into::into(dirty))
451 }
452 }
453 #[doc = "`PlayDecisionAnim()` overload"]
454 fn play_decision_anim(self) -> () {
455 unsafe {
456 let __receiver =
457 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x1b139e0usize)as*mut u8,();
459(RingInfo_RingInfoWindowRingModel)__receiver)
460 }
461 }
462 #[doc = "`GetModelPosition()` overload"]
463 fn get_model_position(self) -> crate::unity_engine::vector3::Vector3 {
464 unsafe {
465 let __receiver =
466 <RingInfo_RingInfoWindowRingModel as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
467 ::unity::il2cpp_call!((::unity::module_base()+0x1b13770usize)as*mut u8,crate::unity_engine::vector3::Vector3;
468(RingInfo_RingInfoWindowRingModel)__receiver)
469 }
470 }
471}
472
473#[cfg(feature = "app-ringinfo")]
474impl<__T: IRingInfo_RingInfoWindowRingModel> IRingInfo_RingInfoWindowRingModelMethods for __T {}
475
476#[cfg(feature = "app-ringinfo")]
477impl RingInfo_RingInfoWindowRingModel {
478 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
480 }
481
482 pub fn create_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
484 }
485
486 pub fn is_creating_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
488 }
489
490 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
492 }
493
494 pub fn create_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
496 }
497
498 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
500 }
501
502 pub fn get_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
504 }
505
506 pub fn get_prefab_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
508 }
509
510 pub fn get_ring_model_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
512 }
513
514 pub fn set_animator_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
516 }
517
518 pub fn get_dirty_texture_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
520 }
521
522 pub fn play_decision_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
524 }
525
526 pub fn get_model_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
528 }
529}
530
531#[cfg(feature = "app-ringinfo")]
532impl RingInfo_RingInfoWindowRingModel {
533 #[doc = "`.ctor(i32)` — overload selector"]
534 pub fn new(index: i32) -> Self {
535 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
536 panic!(
537 "{}
538::{}
539 failed to instantiate",
540 ::core::stringify!(RingInfo_RingInfoWindowRingModel),
541 ::core::stringify!(new),
542 )
543 });
544 <Self as IRingInfo_RingInfoWindowRingModelMethods>::ctor(this, index);
545 this
546 }
547}
548
549#[cfg(feature = "app-ringinfo")]
550impl RingInfo {
551 #[doc = "`get_God()` overload"]
552 pub fn get_god() -> crate::app::godunit::GodUnit {
553 unsafe {
554 ::unity::il2cpp_call!((::unity::module_base()+0x242a5d0usize)as*mut u8,crate::app::godunit::GodUnit;
555 )
556 }
557 }
558
559 #[doc = "`set_God(crate::app::godunit::GodUnit)` overload"]
560 pub fn set_god(value: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> () {
561 unsafe {
562 ::unity::il2cpp_call!((::unity::module_base()+0x242a640usize)as*mut u8,();
563(crate::app::godunit::GodUnit)::core::convert::Into::into(value))
564 }
565 }
566
567 #[doc = "`get_GodData()` overload"]
568 pub fn get_god_data() -> crate::app::goddata::GodData {
569 unsafe {
570 ::unity::il2cpp_call!((::unity::module_base()+0x242a6c0usize)as*mut u8,crate::app::goddata::GodData;
571 )
572 }
573 }
574
575 #[doc = "`set_GodData(crate::app::goddata::GodData)` overload"]
576 pub fn set_god_data(value: impl ::core::convert::Into<crate::app::goddata::GodData>) -> () {
577 unsafe {
578 ::unity::il2cpp_call!((::unity::module_base()+0x242a730usize)as*mut u8,();
579(crate::app::goddata::GodData)::core::convert::Into::into(value))
580 }
581 }
582
583 #[doc = "`get_Ring()` overload"]
584 pub fn get_ring() -> crate::app::ringdata::RingData {
585 unsafe {
586 ::unity::il2cpp_call!((::unity::module_base()+0x242a7b0usize)as*mut u8,crate::app::ringdata::RingData;
587 )
588 }
589 }
590
591 #[doc = "`set_Ring(crate::app::ringdata::RingData)` overload"]
592 pub fn set_ring(value: impl ::core::convert::Into<crate::app::ringdata::RingData>) -> () {
593 unsafe {
594 ::unity::il2cpp_call!((::unity::module_base()+0x242a820usize)as*mut u8,();
595(crate::app::ringdata::RingData)::core::convert::Into::into(value))
596 }
597 }
598
599 #[doc = "`get_Ring2()` overload"]
600 pub fn get_ring2() -> crate::app::ringdata::RingData {
601 unsafe {
602 ::unity::il2cpp_call!((::unity::module_base()+0x242a8a0usize)as*mut u8,crate::app::ringdata::RingData;
603 )
604 }
605 }
606
607 #[doc = "`set_Ring2(crate::app::ringdata::RingData)` overload"]
608 pub fn set_ring2(value: impl ::core::convert::Into<crate::app::ringdata::RingData>) -> () {
609 unsafe {
610 ::unity::il2cpp_call!((::unity::module_base()+0x242a910usize)as*mut u8,();
611(crate::app::ringdata::RingData)::core::convert::Into::into(value))
612 }
613 }
614
615 #[doc = "`get_s_LoadStartCount()` overload"]
616 pub fn get_s_load_start_count() -> i32 {
617 unsafe {
618 ::unity::il2cpp_call!((::unity::module_base()+0x242a990usize)as*mut u8,i32;
619 )
620 }
621 }
622
623 #[doc = "`set_s_LoadStartCount(i32)` overload"]
624 pub fn set_s_load_start_count(value: impl ::core::convert::Into<i32>) -> () {
625 unsafe {
626 ::unity::il2cpp_call!((::unity::module_base()+0x242aa00usize)as*mut u8,();
627(i32)::core::convert::Into::into(value))
628 }
629 }
630
631 #[doc = "`get_s_IsLoadStart()` overload"]
632 pub fn get_s_is_load_start() -> bool {
633 unsafe {
634 ::unity::il2cpp_call!((::unity::module_base()+0x242aa70usize)as*mut u8,bool;
635 )
636 }
637 }
638
639 #[doc = "`set_s_IsLoadStart(bool)` overload"]
640 pub fn set_s_is_load_start(value: impl ::core::convert::Into<bool>) -> () {
641 unsafe {
642 ::unity::il2cpp_call!((::unity::module_base()+0x242aae0usize)as*mut u8,();
643(bool)::core::convert::Into::into(value))
644 }
645 }
646
647 #[doc = "`CreateAsync(crate::app::procinst::ProcInst)` overload"]
648 pub fn create_async(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
649 unsafe {
650 ::unity::il2cpp_call!((::unity::module_base()+0x242ab60usize)as*mut u8,();
651(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
652 }
653 }
654
655 #[doc = "`SetVisible(bool, i32, bool)` overload"]
656 pub fn set_visible(
657 value: impl ::core::convert::Into<bool>,
658 index: impl ::core::convert::Into<i32>,
659 is_visible_dirty: impl ::core::convert::Into<bool>,
660 ) -> () {
661 unsafe {
662 ::unity::il2cpp_call!((::unity::module_base()+0x241a2a0usize)as*mut u8,();
663(bool)::core::convert::Into::into(value),(i32)::core::convert::Into::into(index),(bool)::core::convert::Into::into(is_visible_dirty))
664 }
665 }
666
667 #[doc = "`SetRing(crate::app::godunit::GodUnit)` overload"]
668 pub fn set_ring_2(god_unit: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> () {
669 unsafe {
670 ::unity::il2cpp_call!((::unity::module_base()+0x242af90usize)as*mut u8,();
671(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit))
672 }
673 }
674
675 #[doc = "`SetRingCommon(crate::app::ringdata::RingData, crate::app::ringdata::RingData, bool)` overload"]
676 pub fn set_ring_common(
677 data: impl ::core::convert::Into<crate::app::ringdata::RingData>,
678 data2: impl ::core::convert::Into<crate::app::ringdata::RingData>,
679 is_play_animation: impl ::core::convert::Into<bool>,
680 ) -> () {
681 unsafe {
682 ::unity::il2cpp_call!((::unity::module_base()+0x242bf00usize)as*mut u8,();
683(crate::app::ringdata::RingData)::core::convert::Into::into(data),(crate::app::ringdata::RingData)::core::convert::Into::into(data2),(bool)::core::convert::Into::into(is_play_animation))
684 }
685 }
686
687 #[doc = "`ResetCounter()` overload"]
688 pub fn reset_counter() -> () {
689 unsafe {
690 ::unity::il2cpp_call!((::unity::module_base()+0x242bd30usize)as*mut u8,();
691 )
692 }
693 }
694
695 #[doc = "`UpdateDirty()` overload"]
696 pub fn update_dirty() -> () {
697 unsafe {
698 ::unity::il2cpp_call!((::unity::module_base()+0x241c0a0usize)as*mut u8,();
699 )
700 }
701 }
702
703 #[doc = "`GetRenderTexture(i32)` overload"]
704 pub fn get_render_texture(index: impl ::core::convert::Into<i32>) -> crate::unity_engine::rendertexture::RenderTexture {
705 unsafe {
706 ::unity::il2cpp_call!((::unity::module_base()+0x242c1b0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
707(i32)::core::convert::Into::into(index))
708 }
709 }
710
711 #[doc = "`PlayDecisionAnim()` overload"]
712 pub fn play_decision_anim() -> () {
713 unsafe {
714 ::unity::il2cpp_call!((::unity::module_base()+0x242c2a0usize)as*mut u8,();
715 )
716 }
717 }
718
719 #[doc = "`SetAnimatorEnable(bool)` overload"]
720 pub fn set_animator_enable(value: impl ::core::convert::Into<bool>) -> () {
721 unsafe {
722 ::unity::il2cpp_call!((::unity::module_base()+0x242c340usize)as*mut u8,();
723(bool)::core::convert::Into::into(value))
724 }
725 }
726
727 #[doc = "`.cctor()` overload"]
728 pub fn cctor() -> () {
729 unsafe {
730 ::unity::il2cpp_call!((::unity::module_base()+0x242c3f0usize)as*mut u8,();
731 )
732 }
733 }
734}
735
736#[cfg(feature = "app-ringinfo")]
737pub trait IRingInfoMethods: IRingInfo {
738 #[doc = "`PrepareRingModel()` overload"]
739 fn prepare_ring_model(self) -> () {
740 unsafe {
741 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
742 ::unity::il2cpp_call!((::unity::module_base()+0x242b1d0usize)as*mut u8,();
743(RingInfo)__receiver)
744 }
745 }
746 #[doc = "`IsCreating()` overload"]
747 fn is_creating(self) -> bool {
748 unsafe {
749 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
750 ::unity::il2cpp_call!((::unity::module_base()+0x242b2d0usize)as*mut u8,bool;
751(RingInfo)__receiver)
752 }
753 }
754 #[doc = "`Start()` overload"]
755 fn start(self) -> () {
756 unsafe {
757 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
758 ::unity::il2cpp_call!((::unity::module_base()+0x242b360usize)as*mut u8,();
759(RingInfo)__receiver)
760 }
761 }
762 #[doc = "`Tick()` overload"]
763 fn tick(self) -> () {
764 unsafe {
765 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
766 ::unity::il2cpp_call!((::unity::module_base()+0x242b3e0usize)as*mut u8,();
767(RingInfo)__receiver)
768 }
769 }
770 #[doc = "`OnDispose()` overload"]
771 fn on_dispose(self) -> () {
772 unsafe {
773 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
774 {
775 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
776 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
777 panic!(
778 "unity: virtual slot {}
779 out of range (vtable len {}
780) on the runtime class behind {}
781 (method `{}
782`)",
783 10usize,
784 __vt.len(),
785 <RingInfo as ::unity::ClassIdentity>::NAME,
786 "OnDispose",
787 )
788 });
789 let __inner: extern "C" fn(RingInfo, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
790 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
791 __inner(__receiver, __mi)
792 }
793 }
794 }
795 #[doc = "`SetRingImpl(crate::app::godunit::GodUnit, crate::app::ringdata::RingData, bool, i32)` overload"]
796 fn set_ring_impl(
797 self,
798 god_unit: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
799 ring_data: impl ::core::convert::Into<crate::app::ringdata::RingData>,
800 is_play_animation: impl ::core::convert::Into<bool>,
801 index: impl ::core::convert::Into<i32>,
802 ) -> () {
803 unsafe {
804 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
805 ::unity::il2cpp_call!((::unity::module_base()+0x242ba00usize)as*mut u8,();
806(RingInfo)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit),(crate::app::ringdata::RingData)::core::convert::Into::into(ring_data),(bool)::core::convert::Into::into(is_play_animation),(i32)::core::convert::Into::into(index))
807 }
808 }
809 #[doc = "`DeleteRingModels()` overload"]
810 fn delete_ring_models(self) -> () {
811 unsafe {
812 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
813 ::unity::il2cpp_call!((::unity::module_base()+0x242c140usize)as*mut u8,();
814(RingInfo)__receiver)
815 }
816 }
817 #[doc = "`.ctor()` overload"]
818 fn ctor(self) -> () {
819 unsafe {
820 let __receiver = <RingInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
821 ::unity::il2cpp_call!((::unity::module_base()+0x242aee0usize)as*mut u8,();
822(RingInfo)__receiver)
823 }
824 }
825}
826
827#[cfg(feature = "app-ringinfo")]
828impl<__T: IRingInfo> IRingInfoMethods for __T {}
829
830#[cfg(feature = "app-ringinfo")]
831impl RingInfo {
832 pub fn get_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
834 }
835
836 pub fn set_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
838 }
839
840 pub fn get_god_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
842 }
843
844 pub fn set_god_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
846 }
847
848 pub fn get_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
850 }
851
852 pub fn set_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
854 }
855
856 pub fn get_ring2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
858 }
859
860 pub fn set_ring2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
862 }
863
864 pub fn get_s_load_start_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
866 }
867
868 pub fn set_s_load_start_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
870 }
871
872 pub fn get_s_is_load_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
874 }
875
876 pub fn set_s_is_load_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
878 }
879
880 pub fn create_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
882 }
883
884 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
886 }
887
888 pub fn prepare_ring_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
890 }
891
892 pub fn is_creating_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
894 }
895
896 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
898 }
899
900 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
901 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
902 }
903
904 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
905 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
906 }
907
908 pub fn set_ring_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
909 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
910 }
911
912 pub fn set_ring_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
913 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
914 }
915
916 pub fn reset_counter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
917 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
918 }
919
920 pub fn update_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
921 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
922 }
923
924 pub fn set_ring_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
925 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
926 }
927
928 pub fn delete_ring_models_method_info() -> &'static ::unity::il2cpp::MethodInfo {
929 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
930 }
931
932 pub fn get_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
933 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
934 }
935
936 pub fn play_decision_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
937 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
938 }
939
940 pub fn set_animator_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
941 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
942 }
943
944 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
945 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
946 }
947
948 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
949 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
950 }
951}
952
953#[cfg(feature = "app-ringinfo")]
954impl RingInfo {
955 #[doc = "Direct (non-virtual) call to `RingInfo`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
956 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
957 let __mi = Self::on_dispose_method_info();
958 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
959 __inner(this.into(), ::core::option::Option::None)
960 }
961}
962
963#[cfg(feature = "app-ringinfo")]
964impl RingInfo {
965 #[doc = "`.ctor()` — no args"]
966 pub fn new() -> Self {
967 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
968 panic!(
969 "{}
970::{}
971 failed to instantiate",
972 ::core::stringify!(RingInfo),
973 ::core::stringify!(new),
974 )
975 });
976 <Self as IRingInfoMethods>::ctor(this);
977 this
978 }
979}
980
981#[cfg(feature = "app-ringinfo")]
982#[doc(hidden)]
983pub mod prelude {
984 pub use super::{
985 IRingInfo, IRingInfoMethods, IRingInfo_RingInfoWindowRingModel, IRingInfo_RingInfoWindowRingModelMethods, IRingInfo_RingPrefabObject,
986 IRingInfo_RingPrefabObjectMethods, RingInfo, RingInfo_RingInfoWindowRingModel, RingInfo_RingPrefabObject,
987 };
988 #[cfg(feature = "app-procinst")]
989 pub use crate::app::procinst::IProcInstMethods;
990 #[cfg(feature = "app-singletonprocinst_1")]
991 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
992 #[cfg(feature = "system-object")]
993 pub use crate::system::object::IObjectMethods;
994 pub use crate::{
995 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
996 system::object::IObject,
997 };
998}