1#[cfg(feature = "app-force-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/force/Force.md"))]
15 #[::unity::class(namespace = "App", name = "Force")]
16 #[parent(crate::system::object::Object)]
17 pub struct Force {
18 #[offset(16)]
19 #[rename(name = "m_Head")]
20 pub m_head: crate::app::unit::Unit,
21 #[offset(24)]
22 #[rename(name = "m_Tail")]
23 pub m_tail: crate::app::unit::Unit,
24 #[offset(32)]
25 #[rename(name = "m_Type")]
26 pub m_type: crate::app::force::Force_Type,
27 }
28
29 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/force/Force_Type.md"))]
30 #[repr(C)]
31 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32 pub struct Force_Type {
33 pub value: i32,
34 }
35 impl ::unity::ClassIdentity for Force_Type {
36 const NAME: &'static str = "Force.Type";
37 const NAMESPACE: &'static str = "App";
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 Force_Type {
45 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47 }
48 }
49 impl Force_Type {
50 pub fn player() -> Self {
51 Self { value: 0 }
52 }
53
54 pub fn enemy() -> Self {
55 Self { value: 1 }
56 }
57
58 pub fn ally() -> Self {
59 Self { value: 2 }
60 }
61
62 pub fn absent() -> Self {
63 Self { value: 3 }
64 }
65
66 pub fn dead() -> Self {
67 Self { value: 4 }
68 }
69
70 pub fn lost() -> Self {
71 Self { value: 5 }
72 }
73
74 pub fn temporary() -> Self {
75 Self { value: 6 }
76 }
77
78 pub fn empty() -> Self {
79 Self { value: 7 }
80 }
81
82 pub fn num() -> Self {
83 Self { value: 8 }
84 }
85
86 pub fn f1st() -> Self {
87 Self { value: 0 }
88 }
89
90 pub fn f2nd() -> Self {
91 Self { value: 1 }
92 }
93
94 pub fn f3rd() -> Self {
95 Self { value: 2 }
96 }
97
98 pub fn map_num() -> Self {
99 Self { value: 3 }
100 }
101
102 pub fn used_num() -> Self {
103 Self { value: 7 }
104 }
105 }
106}
107
108#[cfg(feature = "app-force-types")]
109pub use __types::*;
110
111#[cfg(feature = "app-force")]
112impl Force {
113 #[doc = "`Get(crate::app::force::Force_Type)` overload"]
114 pub fn get(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> crate::app::force::Force {
115 unsafe {
116 ::unity::il2cpp_call!((::unity::module_base()+0x2616200usize)as*mut u8,crate::app::force::Force;
117(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
118 }
119 }
120
121 #[doc = "`GetUnitFromEmpty()` overload"]
122 pub fn get_unit_from_empty() -> crate::app::unit::Unit {
123 unsafe {
124 ::unity::il2cpp_call!((::unity::module_base()+0x2616210usize)as*mut u8,crate::app::unit::Unit;
125 )
126 }
127 }
128
129 #[doc = "`GetColor(crate::app::force::Force_Type)` overload"]
130 pub fn get_color(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> crate::unity_engine::color::Color {
131 unsafe {
132 ::unity::il2cpp_call!((::unity::module_base()+0x2616230usize)as*mut u8,crate::unity_engine::color::Color;
133(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
134 }
135 }
136
137 #[doc = "`GetName(crate::app::force::Force_Type)` overload"]
138 pub fn get_name(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> ::unity::Il2CppString {
139 unsafe {
140 ::unity::il2cpp_call!((::unity::module_base()+0x26162e0usize)as*mut u8, ::unity::Il2CppString;
141(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
142 }
143 }
144
145 #[doc = "`GetMask(crate::app::force::Force_Type)` overload"]
146 pub fn get_mask(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> u32 {
147 unsafe {
148 ::unity::il2cpp_call!((::unity::module_base()+0x2616c30usize)as*mut u8,u32;
149(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
150 }
151 }
152
153 #[doc = "`GetMask(crate::app::force::Force_Type, crate::app::force::Force_Type)` overload"]
154 pub fn get_mask_2(
155 type1: impl ::core::convert::Into<crate::app::force::Force_Type>,
156 type2: impl ::core::convert::Into<crate::app::force::Force_Type>,
157 ) -> u32 {
158 unsafe {
159 ::unity::il2cpp_call!((::unity::module_base()+0x2616c40usize)as*mut u8,u32;
160(crate::app::force::Force_Type)::core::convert::Into::into(type1),(crate::app::force::Force_Type)::core::convert::Into::into(type2))
161 }
162 }
163
164 #[doc = "`GetMask(crate::app::force::Force_Type, crate::app::force::Force_Type, crate::app::force::Force_Type)` overload"]
165 pub fn get_mask_3(
166 type1: impl ::core::convert::Into<crate::app::force::Force_Type>,
167 type2: impl ::core::convert::Into<crate::app::force::Force_Type>,
168 type3: impl ::core::convert::Into<crate::app::force::Force_Type>,
169 ) -> u32 {
170 unsafe {
171 ::unity::il2cpp_call!((::unity::module_base()+0x2616c60usize)as*mut u8,u32;
172(crate::app::force::Force_Type)::core::convert::Into::into(type1),(crate::app::force::Force_Type)::core::convert::Into::into(type2),(crate::app::force::Force_Type)::core::convert::Into::into(type3))
173 }
174 }
175
176 #[doc = "`GetMask(crate::app::force::Force_Type, crate::app::force::Force_Type, crate::app::force::Force_Type, crate::app::force::Force_Type)` overload"]
177 pub fn get_mask_4(
178 type1: impl ::core::convert::Into<crate::app::force::Force_Type>,
179 type2: impl ::core::convert::Into<crate::app::force::Force_Type>,
180 type3: impl ::core::convert::Into<crate::app::force::Force_Type>,
181 type4: impl ::core::convert::Into<crate::app::force::Force_Type>,
182 ) -> u32 {
183 unsafe {
184 ::unity::il2cpp_call!((::unity::module_base()+0x2616c80usize)as*mut u8,u32;
185(crate::app::force::Force_Type)::core::convert::Into::into(type1),(crate::app::force::Force_Type)::core::convert::Into::into(type2),(crate::app::force::Force_Type)::core::convert::Into::into(type3),(crate::app::force::Force_Type)::core::convert::Into::into(type4))
186 }
187 }
188
189 #[doc = "`GetMaskOnUsed()` overload"]
190 pub fn get_mask_on_used() -> u32 {
191 unsafe {
192 ::unity::il2cpp_call!((::unity::module_base()+0x2616cb0usize)as*mut u8,u32;
193 )
194 }
195 }
196
197 #[doc = "`GetMaskOnMap()` overload"]
198 pub fn get_mask_on_map() -> u32 {
199 unsafe {
200 ::unity::il2cpp_call!((::unity::module_base()+0x2616cc0usize)as*mut u8,u32;
201 )
202 }
203 }
204
205 #[doc = "`GetMaskOnSortie()` overload"]
206 pub fn get_mask_on_sortie() -> u32 {
207 unsafe {
208 ::unity::il2cpp_call!((::unity::module_base()+0x2616cd0usize)as*mut u8,u32;
209 )
210 }
211 }
212
213 #[doc = "`GetMaskOnChapterSave()` overload"]
214 pub fn get_mask_on_chapter_save() -> u32 {
215 unsafe {
216 ::unity::il2cpp_call!((::unity::module_base()+0x2616ce0usize)as*mut u8,u32;
217 )
218 }
219 }
220
221 #[doc = "`GetMaskSameForce(crate::app::force::Force_Type)` overload"]
222 pub fn get_mask_same_force(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> u32 {
223 unsafe {
224 ::unity::il2cpp_call!((::unity::module_base()+0x2616cf0usize)as*mut u8,u32;
225(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
226 }
227 }
228
229 #[doc = "`IsPlayer(crate::app::force::Force_Type)` overload"]
230 pub fn is_player(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
231 unsafe {
232 ::unity::il2cpp_call!((::unity::module_base()+0x2616d10usize)as*mut u8,bool;
233(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
234 }
235 }
236
237 #[doc = "`IsOnMap(crate::app::force::Force_Type)` overload"]
238 pub fn is_on_map(r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
239 unsafe {
240 ::unity::il2cpp_call!((::unity::module_base()+0x2616d30usize)as*mut u8,bool;
241(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
242 }
243 }
244
245 #[doc = "`IsOnMap(crate::app::unit::Unit)` overload"]
246 pub fn is_on_map_2(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
247 unsafe {
248 ::unity::il2cpp_call!((::unity::module_base()+0x2616d40usize)as*mut u8,bool;
249(crate::app::unit::Unit)::core::convert::Into::into(unit))
250 }
251 }
252}
253
254#[cfg(feature = "app-force")]
255pub trait IForceMethods: IForce {
256 #[doc = "`Initialize(crate::app::force::Force_Type)` overload"]
257 fn initialize(self, r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
258 unsafe {
259 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260 ::unity::il2cpp_call!((::unity::module_base()+0x2616360usize)as*mut u8,();
261(Force)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
262 }
263 }
264 #[doc = "`JoinFirst(crate::app::unit::Unit)` overload"]
265 fn join_first(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
266 unsafe {
267 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268 ::unity::il2cpp_call!((::unity::module_base()+0x26163a0usize)as*mut u8,();
269(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
270 }
271 }
272 #[doc = "`JoinLast(crate::app::unit::Unit)` overload"]
273 fn join_last(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
274 unsafe {
275 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 ::unity::il2cpp_call!((::unity::module_base()+0x2616430usize)as*mut u8,();
277(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
278 }
279 }
280 #[doc = "`Insert(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
281 fn insert(
282 self,
283 ins_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
284 prev_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
285 ) -> () {
286 unsafe {
287 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288 ::unity::il2cpp_call!((::unity::module_base()+0x26164b0usize)as*mut u8,();
289(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(ins_unit),(crate::app::unit::Unit)::core::convert::Into::into(prev_unit))
290 }
291 }
292 #[doc = "`Remove(crate::app::unit::Unit)` overload"]
293 fn remove(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
294 unsafe {
295 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x26165e0usize)as*mut u8,();
297(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
298 }
299 }
300 #[doc = "`Transfer(crate::app::force::Force_Type, bool)` overload"]
301 fn transfer(self, r#type: impl ::core::convert::Into<crate::app::force::Force_Type>, is_last: impl ::core::convert::Into<bool>) -> () {
302 unsafe {
303 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304 ::unity::il2cpp_call!((::unity::module_base()+0x26166a0usize)as*mut u8,();
305(Force)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(r#type),(bool)::core::convert::Into::into(is_last))
306 }
307 }
308 #[doc = "`TransferForSortie(crate::app::force::Force_Type, bool)` overload"]
309 fn transfer_for_sortie(self, r#type: impl ::core::convert::Into<crate::app::force::Force_Type>, is_last: impl ::core::convert::Into<bool>) -> () {
310 unsafe {
311 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x26166f0usize)as*mut u8,();
313(Force)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(r#type),(bool)::core::convert::Into::into(is_last))
314 }
315 }
316 #[doc = "`IsAllied(crate::app::force::Force_Type)` overload"]
317 fn is_allied(self, r#type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
318 unsafe {
319 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x2616740usize)as*mut u8,bool;
321(Force)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(r#type))
322 }
323 }
324 #[doc = "`GetCount()` overload"]
325 fn get_count(self) -> i32 {
326 unsafe {
327 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 ::unity::il2cpp_call!((::unity::module_base()+0x26167f0usize)as*mut u8,i32;
329(Force)__receiver)
330 }
331 }
332 #[doc = "`GetIndex(crate::app::unit::Unit)` overload"]
333 fn get_index(self, target: impl ::core::convert::Into<crate::app::unit::Unit>) -> i32 {
334 unsafe {
335 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x2616820usize)as*mut u8,i32;
337(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(target))
338 }
339 }
340 #[doc = "`GetHeroUnit()` overload"]
341 fn get_hero_unit(self) -> crate::app::unit::Unit {
342 unsafe {
343 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x2616860usize)as*mut u8,crate::app::unit::Unit;
345(Force)__receiver)
346 }
347 }
348 #[doc = "`GetUnitFromPerson(crate::app::persondata::PersonData)` overload"]
349 fn get_unit_from_person(self, person: impl ::core::convert::Into<crate::app::persondata::PersonData>) -> crate::app::unit::Unit {
350 unsafe {
351 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352 ::unity::il2cpp_call!((::unity::module_base()+0x26168a0usize)as*mut u8,crate::app::unit::Unit;
353(Force)__receiver,(crate::app::persondata::PersonData)::core::convert::Into::into(person))
354 }
355 }
356 #[doc = "`GetUnitFromPerson(::unity::Il2CppString)` overload"]
357 fn get_unit_from_person_2(self, pid: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::unit::Unit {
358 unsafe {
359 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360 ::unity::il2cpp_call!((::unity::module_base()+0x2616950usize)as*mut u8,crate::app::unit::Unit;
361(Force)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pid))
362 }
363 }
364 #[doc = "`GetUnitFromFace(crate::app::persondata::PersonData, bool)` overload"]
365 fn get_unit_from_face(
366 self,
367 person: impl ::core::convert::Into<crate::app::persondata::PersonData>,
368 consider_relay: impl ::core::convert::Into<bool>,
369 ) -> crate::app::unit::Unit {
370 unsafe {
371 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x2616a80usize)as*mut u8,crate::app::unit::Unit;
373(Force)__receiver,(crate::app::persondata::PersonData)::core::convert::Into::into(person),(bool)::core::convert::Into::into(consider_relay))
374 }
375 }
376 #[doc = "`get_First()` overload"]
377 fn get_first(self) -> crate::app::unit::Unit {
378 unsafe {
379 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x2616bd0usize)as*mut u8,crate::app::unit::Unit;
381(Force)__receiver)
382 }
383 }
384 #[doc = "`set_First(crate::app::unit::Unit)` overload"]
385 fn set_first(self, value: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
386 unsafe {
387 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x2616be0usize)as*mut u8,();
389(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(value))
390 }
391 }
392 #[doc = "`get_Last()` overload"]
393 fn get_last(self) -> crate::app::unit::Unit {
394 unsafe {
395 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x2616bf0usize)as*mut u8,crate::app::unit::Unit;
397(Force)__receiver)
398 }
399 }
400 #[doc = "`set_Last(crate::app::unit::Unit)` overload"]
401 fn set_last(self, value: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
402 unsafe {
403 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x2616c00usize)as*mut u8,();
405(Force)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(value))
406 }
407 }
408 #[doc = "`get_ForceType()` overload"]
409 fn get_force_type(self) -> crate::app::force::Force_Type {
410 unsafe {
411 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x2616c10usize)as*mut u8,crate::app::force::Force_Type;
413(Force)__receiver)
414 }
415 }
416 #[doc = "`get_ForceMask()` overload"]
417 fn get_force_mask(self) -> u32 {
418 unsafe {
419 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x2616c20usize)as*mut u8,u32;
421(Force)__receiver)
422 }
423 }
424 #[doc = "`.ctor()` overload"]
425 fn ctor(self) -> () {
426 unsafe {
427 let __receiver = <Force as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428 ::unity::il2cpp_call!((::unity::module_base()+0x2616d70usize)as*mut u8,();
429(Force)__receiver)
430 }
431 }
432}
433
434#[cfg(feature = "app-force")]
435impl<__T: IForce> IForceMethods for __T {}
436
437#[cfg(feature = "app-force")]
438impl Force {
439 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
441 }
442
443 pub fn get_unit_from_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
445 }
446
447 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
449 }
450
451 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
453 }
454
455 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
457 }
458
459 pub fn join_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
461 }
462
463 pub fn join_last_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
465 }
466
467 pub fn insert_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
469 }
470
471 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
473 }
474
475 pub fn transfer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
477 }
478
479 pub fn transfer_for_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
481 }
482
483 pub fn is_allied_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
485 }
486
487 pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
489 }
490
491 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
493 }
494
495 pub fn get_hero_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
497 }
498
499 pub fn get_unit_from_person_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
501 }
502
503 pub fn get_unit_from_person_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
505 }
506
507 pub fn get_unit_from_face_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
509 }
510
511 pub fn get_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
513 }
514
515 pub fn set_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
517 }
518
519 pub fn get_last_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
521 }
522
523 pub fn set_last_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
525 }
526
527 pub fn get_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
529 }
530
531 pub fn get_force_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
533 }
534
535 pub fn get_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
537 }
538
539 pub fn get_mask_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
541 }
542
543 pub fn get_mask_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
545 }
546
547 pub fn get_mask_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
549 }
550
551 pub fn get_mask_on_used_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
553 }
554
555 pub fn get_mask_on_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
557 }
558
559 pub fn get_mask_on_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
561 }
562
563 pub fn get_mask_on_chapter_save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
565 }
566
567 pub fn get_mask_same_force_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
569 }
570
571 pub fn is_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
572 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
573 }
574
575 pub fn is_on_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
576 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
577 }
578
579 pub fn is_on_map_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
581 }
582
583 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
584 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
585 }
586}
587
588#[cfg(feature = "app-force")]
589impl Force {
590 #[doc = "`.ctor()` — no args"]
591 pub fn new() -> Self {
592 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
593 panic!(
594 "{}
595::{}
596 failed to instantiate",
597 ::core::stringify!(Force),
598 ::core::stringify!(new),
599 )
600 });
601 <Self as IForceMethods>::ctor(this);
602 this
603 }
604}
605
606#[cfg(feature = "app-force")]
607#[doc(hidden)]
608pub mod prelude {
609 pub use super::{Force, Force_Type, IForce, IForceMethods};
610 #[cfg(feature = "system-object")]
611 pub use crate::system::object::IObjectMethods;
612 #[cfg(feature = "system-enum")]
613 pub use crate::system::r#enum::IEnumMethods;
614 #[cfg(feature = "system-valuetype")]
615 pub use crate::system::valuetype::IValueTypeMethods;
616 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
617}