engage/generated/app/ring_cleaning/
ringcleaningvoice.rs1#[cfg(feature = "app-ring_cleaning-ringcleaningvoice-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/ring_cleaning/ringcleaningvoice/RingCleaningVoice.md"))]
11 #[::unity::class(namespace = "App.RingCleaning", name = "RingCleaningVoice")]
12 #[parent(crate::system::object::Object)]
13 pub struct RingCleaningVoice {
14 #[static_field]
15 #[rename(name = "SeEventNames")]
16 pub se_event_names: ::unity::Array<::unity::Il2CppString>,
17 #[static_field]
18 #[rename(name = "SeIndex")]
19 pub se_index: i32,
20 #[static_field]
21 #[rename(name = "SeStrongEventNames")]
22 pub se_strong_event_names: ::unity::Array<::unity::Il2CppString>,
23 #[static_field]
24 #[rename(name = "SeStrongIndex")]
25 pub se_strong_index: i32,
26 }
27}
28
29#[cfg(feature = "app-ring_cleaning-ringcleaningvoice-types")]
30pub use __types::*;
31
32#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
33impl RingCleaningVoice {
34 #[doc = "`get_IsPlayableFinishVoice()` overload"]
35 pub fn get_is_playable_finish_voice() -> bool {
36 unsafe {
37 ::unity::il2cpp_call!((::unity::module_base()+0x2422450usize)as*mut u8,bool;
38 )
39 }
40 }
41
42 #[doc = "`set_IsPlayableFinishVoice(bool)` overload"]
43 pub fn set_is_playable_finish_voice(value: impl ::core::convert::Into<bool>) -> () {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x24224c0usize)as*mut u8,();
46(bool)::core::convert::Into::into(value))
47 }
48 }
49
50 #[doc = "`get_GodUnit()` overload"]
51 pub fn get_god_unit() -> crate::app::godunit::GodUnit {
52 unsafe {
53 ::unity::il2cpp_call!((::unity::module_base()+0x2422540usize)as*mut u8,crate::app::godunit::GodUnit;
54 )
55 }
56 }
57
58 #[doc = "`set_GodUnit(crate::app::godunit::GodUnit)` overload"]
59 pub fn set_god_unit(value: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> () {
60 unsafe {
61 ::unity::il2cpp_call!((::unity::module_base()+0x24225b0usize)as*mut u8,();
62(crate::app::godunit::GodUnit)::core::convert::Into::into(value))
63 }
64 }
65
66 #[doc = "`get_GodSoundID()` overload"]
67 pub fn get_god_sound_id() -> ::unity::Il2CppString {
68 unsafe {
69 ::unity::il2cpp_call!((::unity::module_base()+0x2422630usize)as*mut u8, ::unity::Il2CppString;
70 )
71 }
72 }
73
74 #[doc = "`set_GodSoundID(::unity::Il2CppString)` overload"]
75 pub fn set_god_sound_id(value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
76 unsafe {
77 ::unity::il2cpp_call!((::unity::module_base()+0x24226a0usize)as*mut u8,();
78(::unity::Il2CppString)::core::convert::Into::into(value))
79 }
80 }
81
82 #[doc = "`get_GodChara()` overload"]
83 pub fn get_god_chara() -> crate::combat::character::Character {
84 unsafe {
85 ::unity::il2cpp_call!((::unity::module_base()+0x2422720usize)as*mut u8,crate::combat::character::Character;
86 )
87 }
88 }
89
90 #[doc = "`set_GodChara(crate::combat::character::Character)` overload"]
91 pub fn set_god_chara(value: impl ::core::convert::Into<crate::combat::character::Character>) -> () {
92 unsafe {
93 ::unity::il2cpp_call!((::unity::module_base()+0x2422790usize)as*mut u8,();
94(crate::combat::character::Character)::core::convert::Into::into(value))
95 }
96 }
97
98 #[doc = "`Setup(crate::app::godunit::GodUnit)` overload"]
99 pub fn setup(god: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> () {
100 unsafe {
101 ::unity::il2cpp_call!((::unity::module_base()+0x241cfe0usize)as*mut u8,();
102(crate::app::godunit::GodUnit)::core::convert::Into::into(god))
103 }
104 }
105
106 #[doc = "`Unload()` overload"]
107 pub fn unload() -> () {
108 unsafe {
109 ::unity::il2cpp_call!((::unity::module_base()+0x24207e0usize)as*mut u8,();
110 )
111 }
112 }
113
114 #[doc = "`IsFinish()` overload"]
115 pub fn is_finish() -> bool {
116 unsafe {
117 ::unity::il2cpp_call!((::unity::module_base()+0x24228c0usize)as*mut u8,bool;
118 )
119 }
120 }
121
122 #[doc = "`PlayVoice(crate::app::ringcleaningvoicedata::RingCleaningVoiceData_Situation)` overload"]
123 pub fn play_voice(
124 situation: impl ::core::convert::Into<crate::app::ringcleaningvoicedata::RingCleaningVoiceData_Situation>,
125 ) -> crate::app::ringcleaningvoicedata::RingCleaningVoiceData {
126 unsafe {
127 ::unity::il2cpp_call!((::unity::module_base()+0x2422990usize)as*mut u8,crate::app::ringcleaningvoicedata::RingCleaningVoiceData;
128(crate::app::ringcleaningvoicedata::RingCleaningVoiceData_Situation)::core::convert::Into::into(situation))
129 }
130 }
131
132 #[doc = "`PlayStartVoice()` overload"]
133 pub fn play_start_voice() -> crate::app::ringcleaningvoicedata::RingCleaningVoiceData {
134 unsafe {
135 ::unity::il2cpp_call!((::unity::module_base()+0x241e220usize)as*mut u8,crate::app::ringcleaningvoicedata::RingCleaningVoiceData;
136 )
137 }
138 }
139
140 #[doc = "`PlayCleaningCriticalPointVoice()` overload"]
141 pub fn play_cleaning_critical_point_voice() -> crate::app::ringcleaningvoicedata::RingCleaningVoiceData {
142 unsafe {
143 ::unity::il2cpp_call!((::unity::module_base()+0x241fa50usize)as*mut u8,crate::app::ringcleaningvoicedata::RingCleaningVoiceData;
144 )
145 }
146 }
147
148 #[doc = "`PlayStrongCleaningNotCriticalPointVoice()` overload"]
149 pub fn play_strong_cleaning_not_critical_point_voice() -> crate::app::ringcleaningvoicedata::RingCleaningVoiceData {
150 unsafe {
151 ::unity::il2cpp_call!((::unity::module_base()+0x241fda0usize)as*mut u8,crate::app::ringcleaningvoicedata::RingCleaningVoiceData;
152 )
153 }
154 }
155
156 #[doc = "`PlayStrongCleaningCriticalPointVoice()` overload"]
157 pub fn play_strong_cleaning_critical_point_voice() -> crate::app::ringcleaningvoicedata::RingCleaningVoiceData {
158 unsafe {
159 ::unity::il2cpp_call!((::unity::module_base()+0x241fce0usize)as*mut u8,crate::app::ringcleaningvoicedata::RingCleaningVoiceData;
160 )
161 }
162 }
163
164 #[doc = "`PlayFinishCleaningVoice()` overload"]
165 pub fn play_finish_cleaning_voice() -> () {
166 unsafe {
167 ::unity::il2cpp_call!((::unity::module_base()+0x2420040usize)as*mut u8,();
168 )
169 }
170 }
171
172 #[doc = "`get_NowSeEvent()` overload"]
173 pub fn get_now_se_event() -> ::unity::Il2CppString {
174 unsafe {
175 ::unity::il2cpp_call!((::unity::module_base()+0x2423020usize)as*mut u8, ::unity::Il2CppString;
176 )
177 }
178 }
179
180 #[doc = "`PlayCleaningSE()` overload"]
181 pub fn play_cleaning_se() -> () {
182 unsafe {
183 ::unity::il2cpp_call!((::unity::module_base()+0x241f1e0usize)as*mut u8,();
184 )
185 }
186 }
187
188 #[doc = "`PlayStartStrongSE()` overload"]
189 pub fn play_start_strong_se() -> () {
190 unsafe {
191 ::unity::il2cpp_call!((::unity::module_base()+0x24230b0usize)as*mut u8,();
192 )
193 }
194 }
195
196 #[doc = "`PlayStrongCleaningSE()` overload"]
197 pub fn play_strong_cleaning_se() -> () {
198 unsafe {
199 ::unity::il2cpp_call!((::unity::module_base()+0x241f6c0usize)as*mut u8,();
200 )
201 }
202 }
203
204 #[doc = "`.cctor()` overload"]
205 pub fn cctor() -> () {
206 unsafe {
207 ::unity::il2cpp_call!((::unity::module_base()+0x2423140usize)as*mut u8,();
208 )
209 }
210 }
211}
212
213#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
214pub trait IRingCleaningVoiceMethods: IRingCleaningVoice {
215 #[doc = "`.ctor()` overload"]
216 fn ctor(self) -> () {
217 unsafe {
218 let __receiver = <RingCleaningVoice as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x2423130usize)as*mut u8,();
220(RingCleaningVoice)__receiver)
221 }
222 }
223}
224
225#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
226impl<__T: IRingCleaningVoice> IRingCleaningVoiceMethods for __T {}
227
228#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
229impl RingCleaningVoice {
230 pub fn get_is_playable_finish_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
232 }
233
234 pub fn set_is_playable_finish_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
236 }
237
238 pub fn get_god_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
240 }
241
242 pub fn set_god_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
244 }
245
246 pub fn get_god_sound_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
248 }
249
250 pub fn set_god_sound_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
252 }
253
254 pub fn get_god_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
256 }
257
258 pub fn set_god_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
260 }
261
262 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
264 }
265
266 pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
268 }
269
270 pub fn is_finish_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
272 }
273
274 pub fn play_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
276 }
277
278 pub fn play_start_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
280 }
281
282 pub fn play_cleaning_critical_point_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
284 }
285
286 pub fn play_strong_cleaning_not_critical_point_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
288 }
289
290 pub fn play_strong_cleaning_critical_point_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
292 }
293
294 pub fn play_finish_cleaning_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
296 }
297
298 pub fn get_now_se_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
300 }
301
302 pub fn play_cleaning_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
304 }
305
306 pub fn play_start_strong_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
308 }
309
310 pub fn play_strong_cleaning_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
312 }
313
314 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
316 }
317
318 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
320 }
321}
322
323#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
324impl RingCleaningVoice {
325 #[doc = "`.ctor()` — no args"]
326 pub fn new() -> Self {
327 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
328 panic!(
329 "{}
330::{}
331 failed to instantiate",
332 ::core::stringify!(RingCleaningVoice),
333 ::core::stringify!(new),
334 )
335 });
336 <Self as IRingCleaningVoiceMethods>::ctor(this);
337 this
338 }
339}
340
341#[cfg(feature = "app-ring_cleaning-ringcleaningvoice")]
342#[doc(hidden)]
343pub mod prelude {
344 pub use super::{IRingCleaningVoice, IRingCleaningVoiceMethods, RingCleaningVoice};
345 pub use crate::system::object::IObject;
346 #[cfg(feature = "system-object")]
347 pub use crate::system::object::IObjectMethods;
348}