engage/generated/app/
triggeredskilllistsetter.rs1#[cfg(feature = "app-triggeredskilllistsetter-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/triggeredskilllistsetter/TriggeredSkillListSetter.md"))]
19 #[::unity::class(namespace = "App", name = "TriggeredSkillListSetter")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct TriggeredSkillListSetter {
22 #[offset(24)]
23 #[rename(name = "m_ShowSkillList")]
24 pub m_show_skill_list: ::unity::Array<crate::app::triggeredskilllistsetter::TriggeredSkillListSetter_ShowSkill>,
25 }
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/triggeredskilllistsetter/TriggeredSkillListSetter_ShowSkill.md"))]
28 #[::unity::class(namespace = "App", name = "TriggeredSkillListSetter.ShowSkill")]
29 #[parent(crate::system::object::Object)]
30 pub struct TriggeredSkillListSetter_ShowSkill {
31 #[offset(16)]
32 #[rename(name = "m_Object")]
33 pub m_object: crate::unity_engine::gameobject::GameObject,
34 #[offset(24)]
35 #[rename(name = "m_Data")]
36 pub m_data: crate::app::skilldata::SkillData,
37 #[offset(32)]
38 #[rename(name = "m_Time")]
39 pub m_time: f32,
40 #[offset(40)]
41 #[rename(name = "m_Ani")]
42 pub m_ani: crate::unity_engine::animator::Animator,
43 }
44}
45
46#[cfg(feature = "app-triggeredskilllistsetter-types")]
47pub use __types::*;
48
49#[cfg(feature = "app-triggeredskilllistsetter")]
50pub trait ITriggeredSkillListSetterMethods: ITriggeredSkillListSetter {
51 #[doc = "`Start()` overload"]
52 fn start(self) -> () {
53 unsafe {
54 let __receiver =
55 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56 ::unity::il2cpp_call!((::unity::module_base()+0x22a2fe0usize)as*mut u8,();
57(TriggeredSkillListSetter)__receiver)
58 }
59 }
60 #[doc = "`Update()` overload"]
61 fn update(self) -> () {
62 unsafe {
63 let __receiver =
64 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65 ::unity::il2cpp_call!((::unity::module_base()+0x22a3190usize)as*mut u8,();
66(TriggeredSkillListSetter)__receiver)
67 }
68 }
69 #[doc = "`AddShowSkill(crate::app::skilldata::SkillData, f32)` overload"]
70 fn add_show_skill(self, skill_data: impl ::core::convert::Into<crate::app::skilldata::SkillData>, time: impl ::core::convert::Into<f32>) -> () {
71 unsafe {
72 let __receiver =
73 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
74 ::unity::il2cpp_call!((::unity::module_base()+0x22a3200usize)as*mut u8,();
75(TriggeredSkillListSetter)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill_data),(f32)::core::convert::Into::into(time))
76 }
77 }
78 #[doc = "`AddShowSkill(crate::app::skilldata::SkillData)` overload"]
79 fn add_show_skill_2(self, skill_data: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
80 unsafe {
81 let __receiver =
82 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x22a32d0usize)as*mut u8,();
84(TriggeredSkillListSetter)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill_data))
85 }
86 }
87 #[doc = "`PushShowSkill(crate::app::skilldata::SkillData)` overload"]
88 fn push_show_skill(self, skill_data: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
89 unsafe {
90 let __receiver =
91 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92 ::unity::il2cpp_call!((::unity::module_base()+0x22a32e0usize)as*mut u8,();
93(TriggeredSkillListSetter)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill_data))
94 }
95 }
96 #[doc = "`PopShowSkill(crate::app::skilldata::SkillData)` overload"]
97 fn pop_show_skill(self, skill_data: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
98 unsafe {
99 let __receiver =
100 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101 ::unity::il2cpp_call!((::unity::module_base()+0x22a32f0usize)as*mut u8,();
102(TriggeredSkillListSetter)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill_data))
103 }
104 }
105 #[doc = "`HideSkillDisplay()` overload"]
106 fn hide_skill_display(self) -> () {
107 unsafe {
108 let __receiver =
109 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110 ::unity::il2cpp_call!((::unity::module_base()+0x22a3390usize)as*mut u8,();
111(TriggeredSkillListSetter)__receiver)
112 }
113 }
114 #[doc = "`TryCreateList()` overload"]
115 fn try_create_list(self) -> () {
116 unsafe {
117 let __receiver =
118 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119 ::unity::il2cpp_call!((::unity::module_base()+0x22a2ff0usize)as*mut u8,();
120(TriggeredSkillListSetter)__receiver)
121 }
122 }
123 #[doc = "`.ctor()` overload"]
124 fn ctor(self) -> () {
125 unsafe {
126 let __receiver =
127 <TriggeredSkillListSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x22a3410usize)as*mut u8,();
129(TriggeredSkillListSetter)__receiver)
130 }
131 }
132}
133
134#[cfg(feature = "app-triggeredskilllistsetter")]
135impl<__T: ITriggeredSkillListSetter> ITriggeredSkillListSetterMethods for __T {}
136
137#[cfg(feature = "app-triggeredskilllistsetter")]
138impl TriggeredSkillListSetter {
139 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
141 }
142
143 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
145 }
146
147 pub fn add_show_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
149 }
150
151 pub fn add_show_skill_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
153 }
154
155 pub fn push_show_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
157 }
158
159 pub fn pop_show_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
161 }
162
163 pub fn hide_skill_display_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
165 }
166
167 pub fn try_create_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
169 }
170
171 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
173 }
174}
175
176#[cfg(feature = "app-triggeredskilllistsetter")]
177impl TriggeredSkillListSetter {
178 #[doc = "`.ctor()` — no args"]
179 pub fn new() -> Self {
180 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
181 panic!(
182 "{}
183::{}
184 failed to instantiate",
185 ::core::stringify!(TriggeredSkillListSetter),
186 ::core::stringify!(new),
187 )
188 });
189 <Self as ITriggeredSkillListSetterMethods>::ctor(this);
190 this
191 }
192}
193
194#[cfg(feature = "app-triggeredskilllistsetter")]
195pub trait ITriggeredSkillListSetter_ShowSkillMethods: ITriggeredSkillListSetter_ShowSkill {
196 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
197 fn ctor(self, obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
198 unsafe {
199 let __receiver =
200 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x1b3f780usize)as*mut u8,();
202(TriggeredSkillListSetter_ShowSkill)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj))
203 }
204 }
205 #[doc = "`Show(crate::app::skilldata::SkillData, f32)` overload"]
206 fn show(self, data: impl ::core::convert::Into<crate::app::skilldata::SkillData>, time: impl ::core::convert::Into<f32>) -> () {
207 unsafe {
208 let __receiver =
209 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 ::unity::il2cpp_call!((::unity::module_base()+0x1b3f7c0usize)as*mut u8,();
211(TriggeredSkillListSetter_ShowSkill)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(data),(f32)::core::convert::Into::into(time))
212 }
213 }
214 #[doc = "`Hide()` overload"]
215 fn hide(self) -> () {
216 unsafe {
217 let __receiver =
218 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x1b3fa20usize)as*mut u8,();
220(TriggeredSkillListSetter_ShowSkill)__receiver)
221 }
222 }
223 #[doc = "`Update()` overload"]
224 fn update(self) -> () {
225 unsafe {
226 let __receiver =
227 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 ::unity::il2cpp_call!((::unity::module_base()+0x1b3fa60usize)as*mut u8,();
229(TriggeredSkillListSetter_ShowSkill)__receiver)
230 }
231 }
232 #[doc = "`Equals(crate::app::skilldata::SkillData)` overload"]
233 fn equals(self, data: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> bool {
234 unsafe {
235 let __receiver =
236 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237 ::unity::il2cpp_call!((::unity::module_base()+0x1b3fbc0usize)as*mut u8,bool;
238(TriggeredSkillListSetter_ShowSkill)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(data))
239 }
240 }
241 #[doc = "`IsEmpty()` overload"]
242 fn is_empty(self) -> bool {
243 unsafe {
244 let __receiver =
245 <TriggeredSkillListSetter_ShowSkill as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246 ::unity::il2cpp_call!((::unity::module_base()+0x1b3fbd0usize)as*mut u8,bool;
247(TriggeredSkillListSetter_ShowSkill)__receiver)
248 }
249 }
250}
251
252#[cfg(feature = "app-triggeredskilllistsetter")]
253impl<__T: ITriggeredSkillListSetter_ShowSkill> ITriggeredSkillListSetter_ShowSkillMethods for __T {}
254
255#[cfg(feature = "app-triggeredskilllistsetter")]
256impl TriggeredSkillListSetter_ShowSkill {
257 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
259 }
260
261 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
263 }
264
265 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
267 }
268
269 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
271 }
272
273 pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
275 }
276
277 pub fn is_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
279 }
280}
281
282#[cfg(feature = "app-triggeredskilllistsetter")]
283impl TriggeredSkillListSetter_ShowSkill {
284 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
285 pub fn new(obj: crate::unity_engine::gameobject::GameObject) -> Self {
286 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
287 panic!(
288 "{}
289::{}
290 failed to instantiate",
291 ::core::stringify!(TriggeredSkillListSetter_ShowSkill),
292 ::core::stringify!(new),
293 )
294 });
295 <Self as ITriggeredSkillListSetter_ShowSkillMethods>::ctor(this, obj);
296 this
297 }
298}
299
300#[cfg(feature = "app-triggeredskilllistsetter")]
301#[doc(hidden)]
302pub mod prelude {
303 pub use super::{
304 ITriggeredSkillListSetter, ITriggeredSkillListSetterMethods, ITriggeredSkillListSetter_ShowSkill, ITriggeredSkillListSetter_ShowSkillMethods,
305 TriggeredSkillListSetter, TriggeredSkillListSetter_ShowSkill,
306 };
307 #[cfg(feature = "system-object")]
308 pub use crate::system::object::IObjectMethods;
309 #[cfg(feature = "unity_engine-behaviour")]
310 pub use crate::unity_engine::behaviour::IBehaviourMethods;
311 #[cfg(feature = "unity_engine-component")]
312 pub use crate::unity_engine::component::IComponentMethods;
313 #[cfg(feature = "unity_engine-monobehaviour")]
314 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
315 #[cfg(feature = "unity_engine-object_2")]
316 pub use crate::unity_engine::object_2::IObject_2Methods;
317 pub use crate::{
318 system::object::IObject,
319 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
320 };
321}