engage/generated/app/
sortiesequenceringselect.rs1#[cfg(feature = "app-sortiesequenceringselect-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::{
14 object::{IObject, Object},
15 r#enum::{Enum, IEnum},
16 valuetype::{IValueType, ValueType},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortiesequenceringselect/SortieSequenceRingSelect_Label.md"))]
21 #[repr(C)]
22 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
23 pub struct SortieSequenceRingSelect_Label {
24 pub value: i32,
25 }
26 impl ::unity::ClassIdentity for SortieSequenceRingSelect_Label {
27 const NAME: &'static str = "SortieSequenceRingSelect.Label";
28 const NAMESPACE: &'static str = "App";
29
30 fn class() -> ::unity::Class {
31 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
32 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
33 }
34 }
35 impl ::unity::IlType for SortieSequenceRingSelect_Label {
36 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38 }
39 }
40 impl SortieSequenceRingSelect_Label {
41 pub fn r#return() -> Self {
42 Self { value: 0 }
43 }
44
45 pub fn decide() -> Self {
46 Self { value: 1 }
47 }
48
49 pub fn end_wait() -> Self {
50 Self { value: 2 }
51 }
52
53 pub fn end() -> Self {
54 Self { value: 3 }
55 }
56 }
57
58 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortiesequenceringselect/SortieSequenceRingSelect.md"))]
59 #[::unity::class(namespace = "App", name = "SortieSequenceRingSelect")]
60 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::sortiesequenceringselect::SortieSequenceRingSelect>)]
61 pub struct SortieSequenceRingSelect {
62 #[static_field]
63 #[rename(name = "PrefabPath")]
64 pub prefab_path: ::unity::Il2CppString,
65 #[static_field]
66 #[rename(name = "HelpPrefabPath")]
67 pub help_prefab_path: ::unity::Il2CppString,
68 #[offset(120)]
69 #[rename(name = "m_GameObject")]
70 pub m_game_object: crate::unity_engine::gameobject::GameObject,
71 #[offset(128)]
72 #[rename(name = "m_Window")]
73 pub m_window: crate::app::ringselectroot::RingSelectRoot,
74 #[offset(136)]
75 #[rename(name = "m_RingMenu")]
76 pub m_ring_menu: crate::app::ringselectmenu::RingSelectMenu,
77 }
78}
79
80#[cfg(feature = "app-sortiesequenceringselect-types")]
81pub use __types::*;
82
83#[cfg(feature = "app-sortiesequenceringselect")]
84impl SortieSequenceRingSelect {
85 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
86 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
87 unsafe {
88 ::unity::il2cpp_call!((::unity::module_base()+0x1ff0ce0usize)as*mut u8,();
89(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
90 }
91 }
92}
93
94#[cfg(feature = "app-sortiesequenceringselect")]
95pub trait ISortieSequenceRingSelectMethods: ISortieSequenceRingSelect {
96 #[doc = "`get_RingMenu()` overload"]
97 fn get_ring_menu(self) -> crate::app::ringselectmenu::RingSelectMenu {
98 unsafe {
99 let __receiver =
100 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101 ::unity::il2cpp_call!((::unity::module_base()+0x1ff0cd0usize)as*mut u8,crate::app::ringselectmenu::RingSelectMenu;
102(SortieSequenceRingSelect)__receiver)
103 }
104 }
105 #[doc = "`LoadRes()` overload"]
106 fn load_res(self) -> () {
107 unsafe {
108 let __receiver =
109 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1540usize)as*mut u8,();
111(SortieSequenceRingSelect)__receiver)
112 }
113 }
114 #[doc = "`IsLoadingRes()` overload"]
115 fn is_loading_res(self) -> bool {
116 unsafe {
117 let __receiver =
118 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119 ::unity::il2cpp_call!((::unity::module_base()+0x1ff16b0usize)as*mut u8,bool;
120(SortieSequenceRingSelect)__receiver)
121 }
122 }
123 #[doc = "`Open()` overload"]
124 fn open(self) -> () {
125 unsafe {
126 let __receiver =
127 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1800usize)as*mut u8,();
129(SortieSequenceRingSelect)__receiver)
130 }
131 }
132 #[doc = "`MenuTick()` overload"]
133 fn menu_tick(self) -> () {
134 unsafe {
135 let __receiver =
136 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1c30usize)as*mut u8,();
138(SortieSequenceRingSelect)__receiver)
139 }
140 }
141 #[doc = "`Close()` overload"]
142 fn close(self) -> () {
143 unsafe {
144 let __receiver =
145 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1c40usize)as*mut u8,();
147(SortieSequenceRingSelect)__receiver)
148 }
149 }
150 #[doc = "`Decide()` overload"]
151 fn decide(self) -> () {
152 unsafe {
153 let __receiver =
154 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1e40usize)as*mut u8,();
156(SortieSequenceRingSelect)__receiver)
157 }
158 }
159 #[doc = "`IsPlayEngageDecide()` overload"]
160 fn is_play_engage_decide(self) -> bool {
161 unsafe {
162 let __receiver =
163 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1eb0usize)as*mut u8,bool;
165(SortieSequenceRingSelect)__receiver)
166 }
167 }
168 #[doc = "`GodRespondVoice()` overload"]
169 fn god_respond_voice(self) -> () {
170 unsafe {
171 let __receiver =
172 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173 ::unity::il2cpp_call!((::unity::module_base()+0x1ff1f30usize)as*mut u8,();
174(SortieSequenceRingSelect)__receiver)
175 }
176 }
177 #[doc = "`.ctor()` overload"]
178 fn ctor(self) -> () {
179 unsafe {
180 let __receiver =
181 <SortieSequenceRingSelect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182 ::unity::il2cpp_call!((::unity::module_base()+0x1ff14c0usize)as*mut u8,();
183(SortieSequenceRingSelect)__receiver)
184 }
185 }
186}
187
188#[cfg(feature = "app-sortiesequenceringselect")]
189impl<__T: ISortieSequenceRingSelect> ISortieSequenceRingSelectMethods for __T {}
190
191#[cfg(feature = "app-sortiesequenceringselect")]
192impl SortieSequenceRingSelect {
193 pub fn get_ring_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
195 }
196
197 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
199 }
200
201 pub fn load_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
203 }
204
205 pub fn is_loading_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
207 }
208
209 pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
211 }
212
213 pub fn menu_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
215 }
216
217 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
219 }
220
221 pub fn decide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
223 }
224
225 pub fn is_play_engage_decide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
227 }
228
229 pub fn god_respond_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
231 }
232
233 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
235 }
236}
237
238#[cfg(feature = "app-sortiesequenceringselect")]
239impl SortieSequenceRingSelect {
240 #[doc = "`.ctor()` — no args"]
241 pub fn new() -> Self {
242 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
243 panic!(
244 "{}
245::{}
246 failed to instantiate",
247 ::core::stringify!(SortieSequenceRingSelect),
248 ::core::stringify!(new),
249 )
250 });
251 <Self as ISortieSequenceRingSelectMethods>::ctor(this);
252 this
253 }
254}
255
256#[cfg(feature = "app-sortiesequenceringselect")]
257#[doc(hidden)]
258pub mod prelude {
259 pub use super::{ISortieSequenceRingSelect, ISortieSequenceRingSelectMethods, SortieSequenceRingSelect, SortieSequenceRingSelect_Label};
260 #[cfg(feature = "app-procinst")]
261 pub use crate::app::procinst::IProcInstMethods;
262 #[cfg(feature = "app-singletonprocinst_1")]
263 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
264 #[cfg(feature = "system-object")]
265 pub use crate::system::object::IObjectMethods;
266 #[cfg(feature = "system-enum")]
267 pub use crate::system::r#enum::IEnumMethods;
268 #[cfg(feature = "system-valuetype")]
269 pub use crate::system::valuetype::IValueTypeMethods;
270 pub use crate::{
271 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
272 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
273 };
274}