Skip to main content

engage/generated/app/
talksound.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-talksound-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::{
11            object::{IObject, Object},
12            r#enum::{Enum, IEnum},
13            valuetype::{IValueType, ValueType},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talksound/TalkSound.md"))]
18    #[::unity::class(namespace = "App", name = "TalkSound")]
19    #[parent(crate::system::object::Object)]
20    pub struct TalkSound {
21        #[offset(16)]
22        #[rename(name = "m_Mid")]
23        pub m_mid: ::unity::Il2CppString,
24        #[offset(24)]
25        #[rename(name = "m_SoundCmdExecBefore")]
26        pub m_sound_cmd_exec_before: ::unity::Il2CppString,
27        #[offset(32)]
28        #[rename(name = "m_SoundCmdExecAfter")]
29        pub m_sound_cmd_exec_after: ::unity::Il2CppString,
30        #[offset(40)]
31        #[rename(name = "m_ReservedTalkVoice")]
32        pub m_reserved_talk_voice: ::unity::Il2CppString,
33        #[offset(48)]
34        #[rename(name = "m_ReservedPersonVoice")]
35        pub m_reserved_person_voice: ::unity::Il2CppString,
36        #[offset(56)]
37        #[rename(name = "m_ReservedPersonPid")]
38        pub m_reserved_person_pid: ::unity::Il2CppString,
39        #[offset(64)]
40        #[rename(name = "m_ReservedPersonSwitchName")]
41        pub m_reserved_person_switch_name: ::unity::Il2CppString,
42        #[offset(72)]
43        #[rename(name = "m_PersonVoice")]
44        pub m_person_voice: ::unity::Il2CppString,
45    }
46
47    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talksound/TalkSound_WaitSE.md"))]
48    #[::unity::class(namespace = "App", name = "TalkSound.WaitSE")]
49    #[parent(crate::app::procinst::ProcInst)]
50    pub struct TalkSound_WaitSE {
51        #[static_field]
52        #[rename(name = "MinimumWaitSec")]
53        pub minimum_wait_sec: f32,
54        #[offset(112)]
55        #[rename(name = "m_Sec")]
56        pub m_sec: f32,
57    }
58
59    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talksound/TalkSound_SoundType.md"))]
60    #[repr(C)]
61    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
62    pub struct TalkSound_SoundType {
63        pub value: i32,
64    }
65    impl ::unity::ClassIdentity for TalkSound_SoundType {
66        const NAME: &'static str = "TalkSound.SoundType";
67        const NAMESPACE: &'static str = "App";
68
69        fn class() -> ::unity::Class {
70            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
71            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
72        }
73    }
74    impl ::unity::IlType for TalkSound_SoundType {
75        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
76            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
77        }
78    }
79    impl TalkSound_SoundType {
80        pub fn se() -> Self {
81            Self { value: 0 }
82        }
83
84        pub fn voice() -> Self {
85            Self { value: 1 }
86        }
87
88        pub fn general() -> Self {
89            Self { value: 2 }
90        }
91
92        pub fn bgm() -> Self {
93            Self { value: 2 }
94        }
95
96        pub fn env() -> Self {
97            Self { value: 2 }
98        }
99    }
100}
101
102#[cfg(feature = "app-talksound-types")]
103pub use __types::*;
104
105#[cfg(feature = "app-talksound")]
106impl TalkSound {
107    #[doc = "`MessFileNameToSoundBankName(::unity::Il2CppString)` overload"]
108    pub fn mess_file_name_to_sound_bank_name(
109        mess_file_name: impl ::core::convert::Into<::unity::Il2CppString>,
110    ) -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
111        unsafe {
112            ::unity::il2cpp_call!((::unity::module_base()+0x20c1640usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
113(::unity::Il2CppString)::core::convert::Into::into(mess_file_name))
114        }
115    }
116
117    #[doc = "`GetRelianceSoundBankName(i32)` overload"]
118    pub fn get_reliance_sound_bank_name(patch_index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
119        unsafe {
120            ::unity::il2cpp_call!((::unity::module_base()+0x20ca6c0usize)as*mut u8, ::unity::Il2CppString;
121(i32)::core::convert::Into::into(patch_index))
122        }
123    }
124
125    #[doc = "`GetRelianceSoundBankNameAll()` overload"]
126    pub fn get_reliance_sound_bank_name_all() -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
127        unsafe {
128            ::unity::il2cpp_call!((::unity::module_base()+0x20c11c0usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
129            )
130        }
131    }
132
133    #[doc = "`GetGodRelianceSoundBankName(i32)` overload"]
134    pub fn get_god_reliance_sound_bank_name(patch_index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
135        unsafe {
136            ::unity::il2cpp_call!((::unity::module_base()+0x20ca770usize)as*mut u8, ::unity::Il2CppString;
137(i32)::core::convert::Into::into(patch_index))
138        }
139    }
140
141    #[doc = "`GetGodRelianceSoundBankNameAll()` overload"]
142    pub fn get_god_reliance_sound_bank_name_all() -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
143        unsafe {
144            ::unity::il2cpp_call!((::unity::module_base()+0x20c1340usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
145            )
146        }
147    }
148
149    #[doc = "`GetHubCommonSoundBankName(i32)` overload"]
150    pub fn get_hub_common_sound_bank_name(patch_index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
151        unsafe {
152            ::unity::il2cpp_call!((::unity::module_base()+0x20ca820usize)as*mut u8, ::unity::Il2CppString;
153(i32)::core::convert::Into::into(patch_index))
154        }
155    }
156
157    #[doc = "`GetHubCommonSoundBankNameAll()` overload"]
158    pub fn get_hub_common_sound_bank_name_all() -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
159        unsafe {
160            ::unity::il2cpp_call!((::unity::module_base()+0x20c14c0usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
161            )
162        }
163    }
164
165    #[doc = "`MidToSoundEvent(::unity::Il2CppString)` overload"]
166    pub fn mid_to_sound_event(mid: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
167        unsafe {
168            ::unity::il2cpp_call!((::unity::module_base()+0x20befa0usize)as*mut u8, ::unity::Il2CppString;
169(::unity::Il2CppString)::core::convert::Into::into(mid))
170        }
171    }
172
173    #[doc = "`GetInt(::unity::Il2CppString)` overload"]
174    pub fn get_int(str: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
175        unsafe {
176            ::unity::il2cpp_call!((::unity::module_base()+0x20ca8d0usize)as*mut u8,i32;
177(::unity::Il2CppString)::core::convert::Into::into(str))
178        }
179    }
180
181    #[doc = "`GetFloat(::unity::Il2CppString)` overload"]
182    pub fn get_float(str: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
183        unsafe {
184            ::unity::il2cpp_call!((::unity::module_base()+0x20ca970usize)as*mut u8,f32;
185(::unity::Il2CppString)::core::convert::Into::into(str))
186        }
187    }
188
189    #[doc = "`GetFadeSpeedMsec(::unity::Il2CppString)` overload"]
190    pub fn get_fade_speed_msec(str: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
191        unsafe {
192            ::unity::il2cpp_call!((::unity::module_base()+0x20caa10usize)as*mut u8,i32;
193(::unity::Il2CppString)::core::convert::Into::into(str))
194        }
195    }
196
197    #[doc = "`GetForceType(::unity::Il2CppString)` overload"]
198    pub fn get_force_type(str: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::force::Force_Type {
199        unsafe {
200            ::unity::il2cpp_call!((::unity::module_base()+0x20cac90usize)as*mut u8,crate::app::force::Force_Type;
201(::unity::Il2CppString)::core::convert::Into::into(str))
202        }
203    }
204}
205
206#[cfg(feature = "app-talksound")]
207pub trait ITalkSoundMethods: ITalkSound {
208    #[doc = "`GetPersonVoice()` overload"]
209    fn get_person_voice(self) -> ::unity::Il2CppString {
210        unsafe {
211            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212            ::unity::il2cpp_call!((::unity::module_base()+0x20c9690usize)as*mut u8, ::unity::Il2CppString;
213(TalkSound)__receiver)
214        }
215    }
216    #[doc = "`Init(::unity::Il2CppString)` overload"]
217    fn init(self, mid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
218        unsafe {
219            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220            ::unity::il2cpp_call!((::unity::module_base()+0x20c66c0usize)as*mut u8,();
221(TalkSound)__receiver,(::unity::Il2CppString)::core::convert::Into::into(mid))
222        }
223    }
224    #[doc = "`TickBefore(crate::app::procinst::ProcInst)` overload"]
225    fn tick_before(self, parent_proc: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> bool {
226        unsafe {
227            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228            ::unity::il2cpp_call!((::unity::module_base()+0x20c63e0usize)as*mut u8,bool;
229(TalkSound)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(parent_proc))
230        }
231    }
232    #[doc = "`TickAfter(crate::app::procinst::ProcInst)` overload"]
233    fn tick_after(self, parent_proc: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> bool {
234        unsafe {
235            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236            ::unity::il2cpp_call!((::unity::module_base()+0x20c6500usize)as*mut u8,bool;
237(TalkSound)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(parent_proc))
238        }
239    }
240    #[doc = "`PostTalkStartSoundEvent()` overload"]
241    fn post_talk_start_sound_event(self) -> () {
242        unsafe {
243            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244            ::unity::il2cpp_call!((::unity::module_base()+0x20c6590usize)as*mut u8,();
245(TalkSound)__receiver)
246        }
247    }
248    #[doc = "`PostTalkEndSoundEvent()` overload"]
249    fn post_talk_end_sound_event(self) -> () {
250        unsafe {
251            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252            ::unity::il2cpp_call!((::unity::module_base()+0x20c9530usize)as*mut u8,();
253(TalkSound)__receiver)
254        }
255    }
256    #[doc = "`GetArgs(::unity::Il2CppString)` overload"]
257    fn get_args(self, line: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<::unity::Il2CppString> {
258        unsafe {
259            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260            ::unity::il2cpp_call!((::unity::module_base()+0x20c9aa0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
261(TalkSound)__receiver,(::unity::Il2CppString)::core::convert::Into::into(line))
262        }
263    }
264    #[doc = "`GetSoundType(::unity::Array<::unity::Il2CppString>)` overload"]
265    fn get_sound_type(self, args: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> crate::app::talksound::TalkSound_SoundType {
266        unsafe {
267            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268            ::unity::il2cpp_call!((::unity::module_base()+0x20c9b30usize)as*mut u8,crate::app::talksound::TalkSound_SoundType;
269(TalkSound)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(args))
270        }
271    }
272    #[doc = "`ExecLine(::unity::Il2CppString, crate::app::procinst::ProcInst)` overload"]
273    fn exec_line(
274        self,
275        line: impl ::core::convert::Into<::unity::Il2CppString>,
276        parent_proc: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
277    ) -> bool {
278        unsafe {
279            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280            ::unity::il2cpp_call!((::unity::module_base()+0x20c9760usize)as*mut u8,bool;
281(TalkSound)__receiver,(::unity::Il2CppString)::core::convert::Into::into(line),(crate::app::procinst::ProcInst)::core::convert::Into::into(parent_proc))
282        }
283    }
284    #[doc = "`GetLine(::unity::Il2CppString, *mut::unity::Il2CppString)` overload"]
285    fn get_line(self, str: impl ::core::convert::Into<::unity::Il2CppString>) -> (::unity::Il2CppString, ::unity::Il2CppString) {
286        unsafe {
287            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
289            let __ret = {
290                ::unity::il2cpp_call!((::unity::module_base()+0x20c96a0usize)as*mut u8, ::unity::Il2CppString;
291(TalkSound)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str),(*mut::unity::Il2CppString)__out_0.as_mut_ptr())
292            };
293            (__ret, __out_0.assume_init())
294        }
295    }
296    #[doc = "`TryPlayReservedVoice(crate::combat::character::Character)` overload"]
297    fn try_play_reserved_voice(self, character: impl ::core::convert::Into<crate::combat::character::Character>) -> () {
298        unsafe {
299            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300            ::unity::il2cpp_call!((::unity::module_base()+0x20c7810usize)as*mut u8,();
301(TalkSound)__receiver,(crate::combat::character::Character)::core::convert::Into::into(character))
302        }
303    }
304    #[doc = "`TryPlayReservedTalkVoice(crate::combat::character::Character)` overload"]
305    fn try_play_reserved_talk_voice(self, character: impl ::core::convert::Into<crate::combat::character::Character>) -> bool {
306        unsafe {
307            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308            ::unity::il2cpp_call!((::unity::module_base()+0x20ca3b0usize)as*mut u8,bool;
309(TalkSound)__receiver,(crate::combat::character::Character)::core::convert::Into::into(character))
310        }
311    }
312    #[doc = "`TryPlayReservedPersonVoice(crate::combat::character::Character)` overload"]
313    fn try_play_reserved_person_voice(self, character: impl ::core::convert::Into<crate::combat::character::Character>) -> () {
314        unsafe {
315            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316            ::unity::il2cpp_call!((::unity::module_base()+0x20ca470usize)as*mut u8,();
317(TalkSound)__receiver,(crate::combat::character::Character)::core::convert::Into::into(character))
318        }
319    }
320    #[doc = "`StopAllVoice()` overload"]
321    fn stop_all_voice(self) -> () {
322        unsafe {
323            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324            ::unity::il2cpp_call!((::unity::module_base()+0x20c7790usize)as*mut u8,();
325(TalkSound)__receiver)
326        }
327    }
328    #[doc = "`OnDrawMonitor(crate::app::debugmonitor::DebugMonitor)` overload"]
329    fn on_draw_monitor(self, monitor: impl ::core::convert::Into<crate::app::debugmonitor::DebugMonitor>) -> () {
330        unsafe {
331            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332            ::unity::il2cpp_call!((::unity::module_base()+0x20ca6b0usize)as*mut u8,();
333(TalkSound)__receiver,(crate::app::debugmonitor::DebugMonitor)::core::convert::Into::into(monitor))
334        }
335    }
336    #[doc = "`TryExecAction(::unity::Array<::unity::Il2CppString>)` overload"]
337    fn try_exec_action(self, args: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> bool {
338        unsafe {
339            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340            ::unity::il2cpp_call!((::unity::module_base()+0x20c9be0usize)as*mut u8,bool;
341(TalkSound)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(args))
342        }
343    }
344    #[doc = "`.ctor()` overload"]
345    fn ctor(self) -> () {
346        unsafe {
347            let __receiver = <TalkSound as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348            ::unity::il2cpp_call!((::unity::module_base()+0x20c66b0usize)as*mut u8,();
349(TalkSound)__receiver)
350        }
351    }
352}
353
354#[cfg(feature = "app-talksound")]
355impl<__T: ITalkSound> ITalkSoundMethods for __T {}
356
357#[cfg(feature = "app-talksound")]
358impl TalkSound {
359    pub fn get_person_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
361    }
362
363    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
364        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
365    }
366
367    pub fn tick_before_method_info() -> &'static ::unity::il2cpp::MethodInfo {
368        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
369    }
370
371    pub fn tick_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
373    }
374
375    pub fn post_talk_start_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
376        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
377    }
378
379    pub fn post_talk_end_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
380        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
381    }
382
383    pub fn get_args_method_info() -> &'static ::unity::il2cpp::MethodInfo {
384        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
385    }
386
387    pub fn get_sound_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
388        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
389    }
390
391    pub fn exec_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
392        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
393    }
394
395    pub fn get_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
396        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
397    }
398
399    pub fn try_play_reserved_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
401    }
402
403    pub fn try_play_reserved_talk_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
404        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
405    }
406
407    pub fn try_play_reserved_person_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
409    }
410
411    pub fn stop_all_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
413    }
414
415    pub fn on_draw_monitor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
417    }
418
419    pub fn mess_file_name_to_sound_bank_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
421    }
422
423    pub fn get_reliance_sound_bank_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
425    }
426
427    pub fn get_reliance_sound_bank_name_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
429    }
430
431    pub fn get_god_reliance_sound_bank_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
433    }
434
435    pub fn get_god_reliance_sound_bank_name_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
437    }
438
439    pub fn get_hub_common_sound_bank_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
441    }
442
443    pub fn get_hub_common_sound_bank_name_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
445    }
446
447    pub fn mid_to_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
449    }
450
451    pub fn get_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
453    }
454
455    pub fn get_float_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
457    }
458
459    pub fn get_fade_speed_msec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
461    }
462
463    pub fn get_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
465    }
466
467    pub fn try_exec_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
469    }
470
471    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
473    }
474}
475
476#[cfg(feature = "app-talksound")]
477impl TalkSound {
478    #[doc = "`.ctor()` — no args"]
479    pub fn new() -> Self {
480        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
481            panic!(
482                "{}
483::{}
484 failed to instantiate",
485                ::core::stringify!(TalkSound),
486                ::core::stringify!(new),
487            )
488        });
489        <Self as ITalkSoundMethods>::ctor(this);
490        this
491    }
492}
493
494#[cfg(feature = "app-talksound")]
495pub trait ITalkSound_WaitSEMethods: ITalkSound_WaitSE {
496    #[doc = "`OnTick()` overload"]
497    fn on_tick(self) -> () {
498        unsafe {
499            let __receiver = <TalkSound_WaitSE as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500            {
501                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
502                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
503                    panic!(
504                        "unity: virtual slot {}
505 out of range (vtable len {}
506) on the runtime class behind {}
507 (method `{}
508`)",
509                        6usize,
510                        __vt.len(),
511                        <TalkSound_WaitSE as ::unity::ClassIdentity>::NAME,
512                        "OnTick",
513                    )
514                });
515                let __inner: extern "C" fn(TalkSound_WaitSE, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
516                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
517                __inner(__receiver, __mi)
518            }
519        }
520    }
521    #[doc = "`.ctor()` overload"]
522    fn ctor(self) -> () {
523        unsafe {
524            let __receiver = <TalkSound_WaitSE as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525            ::unity::il2cpp_call!((::unity::module_base()+0x21fc690usize)as*mut u8,();
526(TalkSound_WaitSE)__receiver)
527        }
528    }
529}
530
531#[cfg(feature = "app-talksound")]
532impl<__T: ITalkSound_WaitSE> ITalkSound_WaitSEMethods for __T {}
533
534#[cfg(feature = "app-talksound")]
535impl TalkSound_WaitSE {
536    pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
538    }
539
540    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
542    }
543}
544
545#[cfg(feature = "app-talksound")]
546impl TalkSound_WaitSE {
547    #[doc = "Direct (non-virtual) call to `TalkSound_WaitSE`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
548    pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
549        let __mi = Self::on_tick_method_info();
550        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
551        __inner(this.into(), ::core::option::Option::None)
552    }
553}
554
555#[cfg(feature = "app-talksound")]
556impl TalkSound_WaitSE {
557    #[doc = "`.ctor()` — no args"]
558    pub fn new() -> Self {
559        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
560            panic!(
561                "{}
562::{}
563 failed to instantiate",
564                ::core::stringify!(TalkSound_WaitSE),
565                ::core::stringify!(new),
566            )
567        });
568        <Self as ITalkSound_WaitSEMethods>::ctor(this);
569        this
570    }
571}
572
573#[cfg(feature = "app-talksound")]
574#[doc(hidden)]
575pub mod prelude {
576    pub use super::{ITalkSound, ITalkSoundMethods, ITalkSound_WaitSE, ITalkSound_WaitSEMethods, TalkSound, TalkSound_SoundType, TalkSound_WaitSE};
577    #[cfg(feature = "app-procinst")]
578    pub use crate::app::procinst::IProcInstMethods;
579    #[cfg(feature = "system-object")]
580    pub use crate::system::object::IObjectMethods;
581    #[cfg(feature = "system-enum")]
582    pub use crate::system::r#enum::IEnumMethods;
583    #[cfg(feature = "system-valuetype")]
584    pub use crate::system::valuetype::IValueTypeMethods;
585    pub use crate::{
586        app::procinst::IProcInst,
587        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
588    };
589}