engage/generated/app/
talk.rs1#[cfg(feature = "app-talk-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/talk/Talk.md"))]
11 #[::unity::class(namespace = "App", name = "Talk")]
12 #[parent(crate::system::object::Object)]
13 pub struct Talk {}
14}
15
16#[cfg(feature = "app-talk-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-talk")]
20impl Talk {
21 #[doc = "`StartBind(crate::app::procinst::ProcInst, ::unity::Il2CppString, bool)` overload"]
22 pub fn start_bind(
23 parent: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
24 mid: impl ::core::convert::Into<::unity::Il2CppString>,
25 is_continuous_number: impl ::core::convert::Into<bool>,
26 ) -> () {
27 unsafe {
28 ::unity::il2cpp_call!((::unity::module_base()+0x20b81f0usize)as*mut u8,();
29(crate::app::procinst::ProcInst)::core::convert::Into::into(parent),(::unity::Il2CppString)::core::convert::Into::into(mid),(bool)::core::convert::Into::into(is_continuous_number))
30 }
31 }
32
33 #[doc = "`BeginContinue()` overload"]
34 pub fn begin_continue() -> () {
35 unsafe {
36 ::unity::il2cpp_call!((::unity::module_base()+0x20b8530usize)as*mut u8,();
37 )
38 }
39 }
40
41 #[doc = "`EndContinue()` overload"]
42 pub fn end_continue() -> () {
43 unsafe {
44 ::unity::il2cpp_call!((::unity::module_base()+0x20b8650usize)as*mut u8,();
45 )
46 }
47 }
48
49 #[doc = "`IsFastForward()` overload"]
50 pub fn is_fast_forward() -> bool {
51 unsafe {
52 ::unity::il2cpp_call!((::unity::module_base()+0x20b8770usize)as*mut u8,bool;
53 )
54 }
55 }
56
57 #[doc = "`IsPageTrigger()` overload"]
58 pub fn is_page_trigger() -> bool {
59 unsafe {
60 ::unity::il2cpp_call!((::unity::module_base()+0x20b8990usize)as*mut u8,bool;
61 )
62 }
63 }
64
65 #[doc = "`IsAutoPlayMode()` overload"]
66 pub fn is_auto_play_mode() -> bool {
67 unsafe {
68 ::unity::il2cpp_call!((::unity::module_base()+0x20b8bd0usize)as*mut u8,bool;
69 )
70 }
71 }
72
73 #[doc = "`SetPlayMode(crate::app::talk3_d::talksequence::TalkSequence_PlayMode)` overload"]
74 pub fn set_play_mode(talk_play_mode: impl ::core::convert::Into<crate::app::talk3_d::talksequence::TalkSequence_PlayMode>) -> () {
75 unsafe {
76 ::unity::il2cpp_call!((::unity::module_base()+0x20b8c50usize)as*mut u8,();
77(crate::app::talk3_d::talksequence::TalkSequence_PlayMode)::core::convert::Into::into(talk_play_mode))
78 }
79 }
80
81 #[doc = "`GetPlayingMid()` overload"]
82 pub fn get_playing_mid() -> ::unity::Il2CppString {
83 unsafe {
84 ::unity::il2cpp_call!((::unity::module_base()+0x20b8e10usize)as*mut u8, ::unity::Il2CppString;
85 )
86 }
87 }
88}
89
90#[cfg(feature = "app-talk")]
91pub trait ITalkMethods: ITalk {
92 #[doc = "`.ctor()` overload"]
93 fn ctor(self) -> () {
94 unsafe {
95 let __receiver = <Talk as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96 ::unity::il2cpp_call!((::unity::module_base()+0x20b8ee0usize)as*mut u8,();
97(Talk)__receiver)
98 }
99 }
100}
101
102#[cfg(feature = "app-talk")]
103impl<__T: ITalk> ITalkMethods for __T {}
104
105#[cfg(feature = "app-talk")]
106impl Talk {
107 pub fn start_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
109 }
110
111 pub fn begin_continue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
113 }
114
115 pub fn end_continue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
117 }
118
119 pub fn is_fast_forward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
121 }
122
123 pub fn is_page_trigger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
125 }
126
127 pub fn is_auto_play_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
129 }
130
131 pub fn set_play_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
133 }
134
135 pub fn get_playing_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
137 }
138
139 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
141 }
142}
143
144#[cfg(feature = "app-talk")]
145impl Talk {
146 #[doc = "`.ctor()` — no args"]
147 pub fn new() -> Self {
148 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
149 panic!(
150 "{}
151::{}
152 failed to instantiate",
153 ::core::stringify!(Talk),
154 ::core::stringify!(new),
155 )
156 });
157 <Self as ITalkMethods>::ctor(this);
158 this
159 }
160}
161
162#[cfg(feature = "app-talk")]
163#[doc(hidden)]
164pub mod prelude {
165 pub use super::{ITalk, ITalkMethods, Talk};
166 pub use crate::system::object::IObject;
167 #[cfg(feature = "system-object")]
168 pub use crate::system::object::IObjectMethods;
169}