Skip to main content

engage/generated/app/
refineringtimesselectroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-refineringtimesselectroot-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/refineringtimesselectroot/RefineRingTimesSelectRoot.md"))]
19    #[::unity::class(namespace = "App", name = "RefineRingTimesSelectRoot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct RefineRingTimesSelectRoot {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[offset(24)]
26        #[rename(name = "m_RefineRingTimesSelectMenuContentObject")]
27        pub m_refine_ring_times_select_menu_content_object: crate::unity_engine::gameobject::GameObject,
28    }
29}
30
31#[cfg(feature = "app-refineringtimesselectroot-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-refineringtimesselectroot")]
35impl RefineRingTimesSelectRoot {
36    #[doc = "`LoadPrefabAsync()` overload"]
37    pub fn load_prefab_async() -> () {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2957fa0usize)as*mut u8,();
40            )
41        }
42    }
43
44    #[doc = "`IsLoadingPrefab()` overload"]
45    pub fn is_loading_prefab() -> bool {
46        unsafe {
47            ::unity::il2cpp_call!((::unity::module_base()+0x2958040usize)as*mut u8,bool;
48            )
49        }
50    }
51
52    #[doc = "`UnloadPrefab()` overload"]
53    pub fn unload_prefab() -> () {
54        unsafe {
55            ::unity::il2cpp_call!((::unity::module_base()+0x29580c0usize)as*mut u8,();
56            )
57        }
58    }
59
60    #[doc = "`CreateRoot()` overload"]
61    pub fn create_root() -> crate::app::refineringtimesselectroot::RefineRingTimesSelectRoot {
62        unsafe {
63            ::unity::il2cpp_call!((::unity::module_base()+0x2956fa0usize)as*mut u8,crate::app::refineringtimesselectroot::RefineRingTimesSelectRoot;
64            )
65        }
66    }
67}
68
69#[cfg(feature = "app-refineringtimesselectroot")]
70pub trait IRefineRingTimesSelectRootMethods: IRefineRingTimesSelectRoot {
71    #[doc = "`Create()` overload"]
72    fn create(self) -> () {
73        unsafe {
74            let __receiver =
75                <RefineRingTimesSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76            ::unity::il2cpp_call!((::unity::module_base()+0x2958140usize)as*mut u8,();
77(RefineRingTimesSelectRoot)__receiver)
78        }
79    }
80    #[doc = "`Destroy()` overload"]
81    fn destroy(self) -> () {
82        unsafe {
83            let __receiver =
84                <RefineRingTimesSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85            ::unity::il2cpp_call!((::unity::module_base()+0x29573e0usize)as*mut u8,();
86(RefineRingTimesSelectRoot)__receiver)
87        }
88    }
89    #[doc = "`.ctor()` overload"]
90    fn ctor(self) -> () {
91        unsafe {
92            let __receiver =
93                <RefineRingTimesSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94            ::unity::il2cpp_call!((::unity::module_base()+0x2958150usize)as*mut u8,();
95(RefineRingTimesSelectRoot)__receiver)
96        }
97    }
98    #[doc = "`GetMenuContent()` overload"]
99    fn get_menu_content(self) -> crate::app::refineringtimesselectmenucontent::RefineRingTimesSelectMenuContent {
100        unsafe {
101            let __receiver =
102                <RefineRingTimesSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x2957200usize)as*mut u8,crate::app::refineringtimesselectmenucontent::RefineRingTimesSelectMenuContent;
104(RefineRingTimesSelectRoot)__receiver)
105        }
106    }
107}
108
109#[cfg(feature = "app-refineringtimesselectroot")]
110impl<__T: IRefineRingTimesSelectRoot> IRefineRingTimesSelectRootMethods for __T {}
111
112#[cfg(feature = "app-refineringtimesselectroot")]
113impl RefineRingTimesSelectRoot {
114    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
115        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
116    }
117
118    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
120    }
121
122    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
124    }
125
126    pub fn create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
128    }
129
130    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
131        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
132    }
133
134    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
136    }
137
138    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
140    }
141
142    pub fn get_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
144    }
145}
146
147#[cfg(feature = "app-refineringtimesselectroot")]
148impl RefineRingTimesSelectRoot {
149    #[doc = "`.ctor()` — no args"]
150    pub fn new() -> Self {
151        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
152            panic!(
153                "{}
154::{}
155 failed to instantiate",
156                ::core::stringify!(RefineRingTimesSelectRoot),
157                ::core::stringify!(new),
158            )
159        });
160        <Self as IRefineRingTimesSelectRootMethods>::ctor(this);
161        this
162    }
163}
164
165#[cfg(feature = "app-refineringtimesselectroot")]
166#[doc(hidden)]
167pub mod prelude {
168    pub use super::{IRefineRingTimesSelectRoot, IRefineRingTimesSelectRootMethods, RefineRingTimesSelectRoot};
169    #[cfg(feature = "system-object")]
170    pub use crate::system::object::IObjectMethods;
171    #[cfg(feature = "unity_engine-behaviour")]
172    pub use crate::unity_engine::behaviour::IBehaviourMethods;
173    #[cfg(feature = "unity_engine-component")]
174    pub use crate::unity_engine::component::IComponentMethods;
175    #[cfg(feature = "unity_engine-monobehaviour")]
176    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
177    #[cfg(feature = "unity_engine-object_2")]
178    pub use crate::unity_engine::object_2::IObject_2Methods;
179    pub use crate::{
180        system::object::IObject,
181        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
182    };
183}