engage/generated/app/
talkcharactersignal.rs1#[cfg(feature = "app-talkcharactersignal-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/talkcharactersignal/TalkCharacterSignal.md"))]
19 #[::unity::class(namespace = "App", name = "TalkCharacterSignal")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct TalkCharacterSignal {
22 #[offset(24)]
23 #[rename(name = "_cp")]
24 pub cp: crate::combat::character::Character,
25 #[static_field]
26 #[rename(name = "FootStepLabel")]
27 pub foot_step_label: ::unity::Il2CppString,
28 #[static_field]
29 #[rename(name = "HubLabel")]
30 pub hub_label: ::unity::Il2CppString,
31 }
32}
33
34#[cfg(feature = "app-talkcharactersignal-types")]
35pub use __types::*;
36
37#[cfg(feature = "app-talkcharactersignal")]
38impl TalkCharacterSignal {
39 #[doc = "`SetEnable(crate::unity_engine::gameobject::GameObject, bool)` overload"]
40 pub fn set_enable(go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>, enabled: impl ::core::convert::Into<bool>) -> () {
41 unsafe {
42 ::unity::il2cpp_call!((::unity::module_base()+0x20be8b0usize)as*mut u8,();
43(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(bool)::core::convert::Into::into(enabled))
44 }
45 }
46
47 #[doc = "`.cctor()` overload"]
48 pub fn cctor() -> () {
49 unsafe {
50 ::unity::il2cpp_call!((::unity::module_base()+0x20be9b0usize)as*mut u8,();
51 )
52 }
53 }
54}
55
56#[cfg(feature = "app-talkcharactersignal")]
57pub trait ITalkCharacterSignalMethods: ITalkCharacterSignal {
58 #[doc = "`get_CP()` overload"]
59 fn get_cp(self) -> crate::combat::character::Character {
60 unsafe {
61 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62 ::unity::il2cpp_call!((::unity::module_base()+0x20be0e0usize)as*mut u8,crate::combat::character::Character;
63(TalkCharacterSignal)__receiver)
64 }
65 }
66 #[doc = "`get_IsPlayer()` overload"]
67 fn get_is_player(self) -> bool {
68 unsafe {
69 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70 ::unity::il2cpp_call!((::unity::module_base()+0x20be1a0usize)as*mut u8,bool;
71(TalkCharacterSignal)__receiver)
72 }
73 }
74 #[doc = "`set_IsPlayer(bool)` overload"]
75 fn set_is_player(self, value: impl ::core::convert::Into<bool>) -> () {
76 unsafe {
77 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78 ::unity::il2cpp_call!((::unity::module_base()+0x20be1b0usize)as*mut u8,();
79(TalkCharacterSignal)__receiver,(bool)::core::convert::Into::into(value))
80 }
81 }
82 #[doc = "`Start()` overload"]
83 fn start(self) -> () {
84 unsafe {
85 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86 ::unity::il2cpp_call!((::unity::module_base()+0x20be1c0usize)as*mut u8,();
87(TalkCharacterSignal)__receiver)
88 }
89 }
90 #[doc = "`左足接地()` overload"]
91 fn 左足接地(self) -> () {
92 unsafe {
93 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94 ::unity::il2cpp_call!((::unity::module_base()+0x20be4a0usize)as*mut u8,();
95(TalkCharacterSignal)__receiver)
96 }
97 }
98 #[doc = "`右足接地()` overload"]
99 fn 右足接地(self) -> () {
100 unsafe {
101 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102 ::unity::il2cpp_call!((::unity::module_base()+0x20be5f0usize)as*mut u8,();
103(TalkCharacterSignal)__receiver)
104 }
105 }
106 #[doc = "`羽ばたき()` overload"]
107 fn 羽ばたき(self) -> () {
108 unsafe {
109 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110 ::unity::il2cpp_call!((::unity::module_base()+0x20be740usize)as*mut u8,();
111(TalkCharacterSignal)__receiver)
112 }
113 }
114 #[doc = "`音汎用(::unity::Il2CppString)` overload"]
115 fn 音汎用(self, str_param: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
116 unsafe {
117 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118 ::unity::il2cpp_call!((::unity::module_base()+0x20be750usize)as*mut u8,();
119(TalkCharacterSignal)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str_param))
120 }
121 }
122 #[doc = "`音ボイス()` overload"]
123 fn 音ボイス(self) -> () {
124 unsafe {
125 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126 ::unity::il2cpp_call!((::unity::module_base()+0x20be830usize)as*mut u8,();
127(TalkCharacterSignal)__receiver)
128 }
129 }
130 #[doc = "`武器軌跡始()` overload"]
131 fn 武器軌跡始(self) -> () {
132 unsafe {
133 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134 ::unity::il2cpp_call!((::unity::module_base()+0x20be840usize)as*mut u8,();
135(TalkCharacterSignal)__receiver)
136 }
137 }
138 #[doc = "`武器軌跡終()` overload"]
139 fn 武器軌跡終(self) -> () {
140 unsafe {
141 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142 ::unity::il2cpp_call!((::unity::module_base()+0x20be850usize)as*mut u8,();
143(TalkCharacterSignal)__receiver)
144 }
145 }
146 #[doc = "`パーティクル(crate::unity_engine::animationevent::AnimationEvent)` overload"]
147 fn パーティクル(self, ev: impl ::core::convert::Into<crate::unity_engine::animationevent::AnimationEvent>) -> () {
148 unsafe {
149 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150 ::unity::il2cpp_call!((::unity::module_base()+0x20be860usize)as*mut u8,();
151(TalkCharacterSignal)__receiver,(crate::unity_engine::animationevent::AnimationEvent)::core::convert::Into::into(ev))
152 }
153 }
154 #[doc = "`.ctor()` overload"]
155 fn ctor(self) -> () {
156 unsafe {
157 let __receiver = <TalkCharacterSignal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158 ::unity::il2cpp_call!((::unity::module_base()+0x20be930usize)as*mut u8,();
159(TalkCharacterSignal)__receiver)
160 }
161 }
162}
163
164#[cfg(feature = "app-talkcharactersignal")]
165impl<__T: ITalkCharacterSignal> ITalkCharacterSignalMethods for __T {}
166
167#[cfg(feature = "app-talkcharactersignal")]
168impl TalkCharacterSignal {
169 pub fn get_cp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
171 }
172
173 pub fn get_is_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
175 }
176
177 pub fn set_is_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
179 }
180
181 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
183 }
184
185 pub fn 左足接地_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
187 }
188
189 pub fn 右足接地_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
191 }
192
193 pub fn 羽ばたき_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
195 }
196
197 pub fn 音汎用_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
199 }
200
201 pub fn 音ボイス_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
203 }
204
205 pub fn 武器軌跡始_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
207 }
208
209 pub fn 武器軌跡終_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
211 }
212
213 pub fn パーティクル_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
215 }
216
217 pub fn set_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
219 }
220
221 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
223 }
224
225 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
227 }
228}
229
230#[cfg(feature = "app-talkcharactersignal")]
231impl TalkCharacterSignal {
232 #[doc = "`.ctor()` — no args"]
233 pub fn new() -> Self {
234 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
235 panic!(
236 "{}
237::{}
238 failed to instantiate",
239 ::core::stringify!(TalkCharacterSignal),
240 ::core::stringify!(new),
241 )
242 });
243 <Self as ITalkCharacterSignalMethods>::ctor(this);
244 this
245 }
246}
247
248#[cfg(feature = "app-talkcharactersignal")]
249#[doc(hidden)]
250pub mod prelude {
251 pub use super::{ITalkCharacterSignal, ITalkCharacterSignalMethods, TalkCharacterSignal};
252 #[cfg(feature = "system-object")]
253 pub use crate::system::object::IObjectMethods;
254 #[cfg(feature = "unity_engine-behaviour")]
255 pub use crate::unity_engine::behaviour::IBehaviourMethods;
256 #[cfg(feature = "unity_engine-component")]
257 pub use crate::unity_engine::component::IComponentMethods;
258 #[cfg(feature = "unity_engine-monobehaviour")]
259 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
260 #[cfg(feature = "unity_engine-object_2")]
261 pub use crate::unity_engine::object_2::IObject_2Methods;
262 pub use crate::{
263 system::object::IObject,
264 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
265 };
266}