Skip to main content

engage/generated/app/
synthesisringroot.rs

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