Skip to main content

engage/generated/app/talk3_d/
talklogsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-talk3_d-talklogsequence-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/talk3_d/talklogsequence/TalkLogSequence.md"))]
21    #[::unity::class(namespace = "App.Talk3D", name = "TalkLogSequence")]
22    #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::talk3_d::talklogsequence::TalkLogSequence>)]
23    pub struct TalkLogSequence {
24        #[offset(114)]
25        #[rename(name = "m_IsPlayedVoice")]
26        pub m_is_played_voice: bool,
27    }
28
29    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talk3_d/talklogsequence/TalkLogSequence_Label.md"))]
30    #[repr(C)]
31    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32    pub struct TalkLogSequence_Label {
33        pub value: i32,
34    }
35    impl ::unity::ClassIdentity for TalkLogSequence_Label {
36        const NAME: &'static str = "TalkLogSequence.Label";
37        const NAMESPACE: &'static str = "App.Talk3D";
38
39        fn class() -> ::unity::Class {
40            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42        }
43    }
44    impl ::unity::IlType for TalkLogSequence_Label {
45        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47        }
48    }
49    impl TalkLogSequence_Label {
50        pub fn fade_in() -> Self {
51            Self { value: 0 }
52        }
53
54        pub fn tick() -> Self {
55            Self { value: 1 }
56        }
57
58        pub fn fade_out() -> Self {
59            Self { value: 2 }
60        }
61
62        pub fn end() -> Self {
63            Self { value: 3 }
64        }
65    }
66}
67
68#[cfg(feature = "app-talk3_d-talklogsequence-types")]
69pub use __types::*;
70
71#[cfg(feature = "app-talk3_d-talklogsequence")]
72impl TalkLogSequence {
73    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
74    pub fn create_bind(parent: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::talk3_d::talklogsequence::TalkLogSequence {
75        unsafe {
76            ::unity::il2cpp_call!((::unity::module_base()+0x20bff80usize)as*mut u8,crate::app::talk3_d::talklogsequence::TalkLogSequence;
77(crate::app::procinst::ProcInst)::core::convert::Into::into(parent))
78        }
79    }
80}
81
82#[cfg(feature = "app-talk3_d-talklogsequence")]
83pub trait ITalkLogSequenceMethods: ITalkLogSequence {
84    #[doc = "`OnCreate()` overload"]
85    fn on_create(self) -> () {
86        unsafe {
87            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            {
89                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
90                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
91                    panic!(
92                        "unity: virtual slot {}
93 out of range (vtable len {}
94) on the runtime class behind {}
95 (method `{}
96`)",
97                        9usize,
98                        __vt.len(),
99                        <TalkLogSequence as ::unity::ClassIdentity>::NAME,
100                        "OnCreate",
101                    )
102                });
103                let __inner: extern "C" fn(TalkLogSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
104                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
105                __inner(__receiver, __mi)
106            }
107        }
108    }
109    #[doc = "`OnDispose()` overload"]
110    fn on_dispose(self) -> () {
111        unsafe {
112            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113            {
114                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
115                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
116                    panic!(
117                        "unity: virtual slot {}
118 out of range (vtable len {}
119) on the runtime class behind {}
120 (method `{}
121`)",
122                        10usize,
123                        __vt.len(),
124                        <TalkLogSequence as ::unity::ClassIdentity>::NAME,
125                        "OnDispose",
126                    )
127                });
128                let __inner: extern "C" fn(TalkLogSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
129                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
130                __inner(__receiver, __mi)
131            }
132        }
133    }
134    #[doc = "`ShowTalkUI()` overload"]
135    fn show_talk_ui(self) -> () {
136        unsafe {
137            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138            ::unity::il2cpp_call!((::unity::module_base()+0x20c2eb0usize)as*mut u8,();
139(TalkLogSequence)__receiver)
140        }
141    }
142    #[doc = "`HideTalkUI()` overload"]
143    fn hide_talk_ui(self) -> () {
144        unsafe {
145            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146            ::unity::il2cpp_call!((::unity::module_base()+0x20c2fb0usize)as*mut u8,();
147(TalkLogSequence)__receiver)
148        }
149    }
150    #[doc = "`StartFadeIn()` overload"]
151    fn start_fade_in(self) -> () {
152        unsafe {
153            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x20c30b0usize)as*mut u8,();
155(TalkLogSequence)__receiver)
156        }
157    }
158    #[doc = "`WaitFadeIn()` overload"]
159    fn wait_fade_in(self) -> bool {
160        unsafe {
161            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162            ::unity::il2cpp_call!((::unity::module_base()+0x20c3130usize)as*mut u8,bool;
163(TalkLogSequence)__receiver)
164        }
165    }
166    #[doc = "`Tick()` overload"]
167    fn tick(self) -> () {
168        unsafe {
169            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x20c3140usize)as*mut u8,();
171(TalkLogSequence)__receiver)
172        }
173    }
174    #[doc = "`StopVoice()` overload"]
175    fn stop_voice(self) -> () {
176        unsafe {
177            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x20c3bb0usize)as*mut u8,();
179(TalkLogSequence)__receiver)
180        }
181    }
182    #[doc = "`StartFadeOut()` overload"]
183    fn start_fade_out(self) -> () {
184        unsafe {
185            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            ::unity::il2cpp_call!((::unity::module_base()+0x20c3c30usize)as*mut u8,();
187(TalkLogSequence)__receiver)
188        }
189    }
190    #[doc = "`WaitFadeOut()` overload"]
191    fn wait_fade_out(self) -> bool {
192        unsafe {
193            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194            ::unity::il2cpp_call!((::unity::module_base()+0x20c3cb0usize)as*mut u8,bool;
195(TalkLogSequence)__receiver)
196        }
197    }
198    #[doc = "`EndFadeOut()` overload"]
199    fn end_fade_out(self) -> () {
200        unsafe {
201            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202            ::unity::il2cpp_call!((::unity::module_base()+0x20c3d30usize)as*mut u8,();
203(TalkLogSequence)__receiver)
204        }
205    }
206    #[doc = "`GetDesc()` overload"]
207    fn get_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
208        unsafe {
209            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210            ::unity::il2cpp_call!((::unity::module_base()+0x20c3dc0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
211(TalkLogSequence)__receiver)
212        }
213    }
214    #[doc = "`.ctor()` overload"]
215    fn ctor(self) -> () {
216        unsafe {
217            let __receiver = <TalkLogSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218            ::unity::il2cpp_call!((::unity::module_base()+0x20c44b0usize)as*mut u8,();
219(TalkLogSequence)__receiver)
220        }
221    }
222}
223
224#[cfg(feature = "app-talk3_d-talklogsequence")]
225impl<__T: ITalkLogSequence> ITalkLogSequenceMethods for __T {}
226
227#[cfg(feature = "app-talk3_d-talklogsequence")]
228impl TalkLogSequence {
229    pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
231    }
232
233    pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
235    }
236
237    pub fn show_talk_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
239    }
240
241    pub fn hide_talk_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
243    }
244
245    pub fn start_fade_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
247    }
248
249    pub fn wait_fade_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
251    }
252
253    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
255    }
256
257    pub fn stop_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
259    }
260
261    pub fn start_fade_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
263    }
264
265    pub fn wait_fade_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
267    }
268
269    pub fn end_fade_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
271    }
272
273    pub fn get_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
275    }
276
277    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
279    }
280
281    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
283    }
284}
285
286#[cfg(feature = "app-talk3_d-talklogsequence")]
287impl TalkLogSequence {
288    #[doc = "Direct (non-virtual) call to `TalkLogSequence`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
289    pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
290        let __mi = Self::on_create_method_info();
291        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
292        __inner(this.into(), ::core::option::Option::None)
293    }
294
295    #[doc = "Direct (non-virtual) call to `TalkLogSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
296    pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
297        let __mi = Self::on_dispose_method_info();
298        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
299        __inner(this.into(), ::core::option::Option::None)
300    }
301}
302
303#[cfg(feature = "app-talk3_d-talklogsequence")]
304impl TalkLogSequence {
305    #[doc = "`.ctor()` — no args"]
306    pub fn new() -> Self {
307        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
308            panic!(
309                "{}
310::{}
311 failed to instantiate",
312                ::core::stringify!(TalkLogSequence),
313                ::core::stringify!(new),
314            )
315        });
316        <Self as ITalkLogSequenceMethods>::ctor(this);
317        this
318    }
319}
320
321#[cfg(feature = "app-talk3_d-talklogsequence")]
322#[doc(hidden)]
323pub mod prelude {
324    pub use super::{ITalkLogSequence, ITalkLogSequenceMethods, TalkLogSequence, TalkLogSequence_Label};
325    #[cfg(feature = "app-procinst")]
326    pub use crate::app::procinst::IProcInstMethods;
327    #[cfg(feature = "app-singletonprocinst_1")]
328    pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
329    #[cfg(feature = "system-object")]
330    pub use crate::system::object::IObjectMethods;
331    #[cfg(feature = "system-enum")]
332    pub use crate::system::r#enum::IEnumMethods;
333    #[cfg(feature = "system-valuetype")]
334    pub use crate::system::valuetype::IValueTypeMethods;
335    pub use crate::{
336        app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
337        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
338    };
339}