1#[cfg(feature = "app-unitai-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 bitfield32::{BitField32, IBitField32},
11 bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
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/unitai/UnitAI_RandomFlagField.md"))]
21 #[::unity::class(namespace = "App", name = "UnitAI.RandomFlagField")]
22 #[parent(crate::app::bitfield32::BitField32)]
23 pub struct UnitAI_RandomFlagField {}
24
25 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_FlagField.md"))]
26 #[::unity::class(namespace = "App", name = "UnitAI.FlagField")]
27 #[parent(crate::app::bitfield32::BitField32)]
28 pub struct UnitAI_FlagField {}
29
30 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_MoveLimitRange_LimitType.md"))]
31 #[repr(C)]
32 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
33 pub struct UnitAI_MoveLimitRange_LimitType {
34 pub value: i32,
35 }
36 impl ::unity::ClassIdentity for UnitAI_MoveLimitRange_LimitType {
37 const NAME: &'static str = "UnitAI.MoveLimitRange.LimitType";
38 const NAMESPACE: &'static str = "App";
39
40 fn class() -> ::unity::Class {
41 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
42 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
43 }
44 }
45 impl ::unity::IlType for UnitAI_MoveLimitRange_LimitType {
46 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
47 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
48 }
49 }
50 impl UnitAI_MoveLimitRange_LimitType {
51 pub fn none() -> Self {
52 Self { value: 0 }
53 }
54
55 pub fn r#move() -> Self {
56 Self { value: 1 }
57 }
58
59 pub fn distance() -> Self {
60 Self { value: 2 }
61 }
62
63 pub fn rect() -> Self {
64 Self { value: 3 }
65 }
66
67 pub fn interference_rod_rect() -> Self {
68 Self { value: 4 }
69 }
70
71 pub fn num() -> Self {
72 Self { value: 5 }
73 }
74 }
75
76 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_MoveLimitRange.md"))]
77 #[::unity::class(namespace = "App", name = "UnitAI.MoveLimitRange")]
78 #[parent(crate::system::object::Object)]
79 pub struct UnitAI_MoveLimitRange {
80 #[static_field]
81 #[rename(name = "Version")]
82 pub version: i32,
83 #[offset(16)]
84 #[rename(name = "m_Type")]
85 pub m_type: u8,
86 #[offset(17)]
87 #[rename(name = "m_X")]
88 pub m_x: i8,
89 #[offset(18)]
90 #[rename(name = "m_Z")]
91 pub m_z: i8,
92 #[offset(19)]
93 #[rename(name = "m_W")]
94 pub m_w: i8,
95 #[offset(20)]
96 #[rename(name = "m_H")]
97 pub m_h: i8,
98 }
99
100 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_Flag.md"))]
101 #[repr(C)]
102 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
103 pub struct UnitAI_Flag {
104 pub value: i32,
105 }
106 impl ::unity::ClassIdentity for UnitAI_Flag {
107 const NAME: &'static str = "UnitAI.Flag";
108 const NAMESPACE: &'static str = "App";
109
110 fn class() -> ::unity::Class {
111 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
112 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
113 }
114 }
115 impl ::unity::IlType for UnitAI_Flag {
116 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
117 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
118 }
119 }
120 impl UnitAI_Flag {
121 pub fn ec_attack() -> Self {
122 Self { value: 1 }
123 }
124
125 pub fn ec_attack_long_range() -> Self {
126 Self { value: 2 }
127 }
128
129 pub fn hc_vulnerary() -> Self {
130 Self { value: 4 }
131 }
132
133 pub fn hc_terrain() -> Self {
134 Self { value: 8 }
135 }
136
137 pub fn rc_deactivate() -> Self {
138 Self { value: 16 }
139 }
140
141 pub fn enchant_weapon_done() -> Self {
142 Self { value: 32 }
143 }
144
145 pub fn allow_crossfire() -> Self {
146 Self { value: 64 }
147 }
148
149 pub fn think_no_move() -> Self {
150 Self { value: 256 }
151 }
152
153 pub fn reject_power0_attack() -> Self {
154 Self { value: 512 }
155 }
156
157 pub fn move_break() -> Self {
158 Self { value: 1024 }
159 }
160
161 pub fn move_through() -> Self {
162 Self { value: 2048 }
163 }
164
165 pub fn move_slow() -> Self {
166 Self { value: 4096 }
167 }
168
169 pub fn move_with_attack() -> Self {
170 Self { value: 8192 }
171 }
172
173 pub fn think_break() -> Self {
174 Self { value: 16384 }
175 }
176
177 pub fn think_chain() -> Self {
178 Self { value: 32768 }
179 }
180
181 pub fn equip_short_after_long_range() -> Self {
182 Self { value: 65536 }
183 }
184
185 pub fn band_activation() -> Self {
186 Self { value: 131072 }
187 }
188
189 pub fn band_activation_move() -> Self {
190 Self { value: 262144 }
191 }
192
193 pub fn band_activation_attacked() -> Self {
194 Self { value: 524288 }
195 }
196
197 pub fn ask_heal_a() -> Self {
198 Self { value: 1048576 }
199 }
200
201 pub fn ask_heal_b() -> Self {
202 Self { value: 2097152 }
203 }
204
205 pub fn idle() -> Self {
206 Self { value: 4194304 }
207 }
208
209 pub fn moveover_failed() -> Self {
210 Self { value: 8388608 }
211 }
212
213 pub fn target_to_attack() -> Self {
214 Self { value: 16777216 }
215 }
216
217 pub fn target_to_heal() -> Self {
218 Self { value: 33554432 }
219 }
220
221 pub fn target_to_interference() -> Self {
222 Self { value: 67108864 }
223 }
224
225 pub fn target_to_cannon() -> Self {
226 Self { value: 134217728 }
227 }
228
229 pub fn done_ask_heal_b() -> Self {
230 Self { value: 268435456 }
231 }
232
233 pub fn engage_attack_once() -> Self {
234 Self { value: 536870912 }
235 }
236
237 pub fn engage_attack_once_done() -> Self {
238 Self { value: 1073741824 }
239 }
240
241 pub fn magic_shield_once_done() -> Self {
242 Self { value: -2147483648 }
243 }
244
245 pub fn mask_target() -> Self {
246 Self { value: 251658240 }
247 }
248
249 pub fn mask_think() -> Self {
250 Self { value: 535822336 }
251 }
252
253 pub fn mask_band_activation() -> Self {
254 Self { value: 917504 }
255 }
256 }
257
258 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_RandomFlag.md"))]
259 #[repr(C)]
260 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
261 pub struct UnitAI_RandomFlag {
262 pub value: i32,
263 }
264 impl ::unity::ClassIdentity for UnitAI_RandomFlag {
265 const NAME: &'static str = "UnitAI.RandomFlag";
266 const NAMESPACE: &'static str = "App";
267
268 fn class() -> ::unity::Class {
269 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
270 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
271 }
272 }
273 impl ::unity::IlType for UnitAI_RandomFlag {
274 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
275 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
276 }
277 }
278 impl UnitAI_RandomFlag {
279 pub fn clear_ask_heal_b() -> Self {
280 Self { value: 1 }
281 }
282 }
283
284 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_BattleRate.md"))]
285 #[repr(C)]
286 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
287 pub struct UnitAI_BattleRate {
288 pub value: i32,
289 }
290 impl ::unity::ClassIdentity for UnitAI_BattleRate {
291 const NAME: &'static str = "UnitAI.BattleRate";
292 const NAMESPACE: &'static str = "App";
293
294 fn class() -> ::unity::Class {
295 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
296 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
297 }
298 }
299 impl ::unity::IlType for UnitAI_BattleRate {
300 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
301 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
302 }
303 }
304 impl UnitAI_BattleRate {
305 pub fn rush() -> Self {
306 Self { value: 0 }
307 }
308
309 pub fn attack() -> Self {
310 Self { value: 1 }
311 }
312
313 pub fn chariness() -> Self {
314 Self { value: 2 }
315 }
316
317 pub fn num() -> Self {
318 Self { value: 3 }
319 }
320 }
321
322 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI_VersusTypes.md"))]
323 #[repr(C)]
324 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
325 pub struct UnitAI_VersusTypes {
326 pub value: i32,
327 }
328 impl ::unity::ClassIdentity for UnitAI_VersusTypes {
329 const NAME: &'static str = "UnitAI.VersusTypes";
330 const NAMESPACE: &'static str = "App";
331
332 fn class() -> ::unity::Class {
333 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
334 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
335 }
336 }
337 impl ::unity::IlType for UnitAI_VersusTypes {
338 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
339 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
340 }
341 }
342 impl UnitAI_VersusTypes {
343 pub fn not_move() -> Self {
344 Self { value: 0 }
345 }
346
347 pub fn defense() -> Self {
348 Self { value: 1 }
349 }
350
351 pub fn rush() -> Self {
352 Self { value: 2 }
353 }
354
355 pub fn response_a() -> Self {
356 Self { value: 3 }
357 }
358
359 pub fn response_b() -> Self {
360 Self { value: 4 }
361 }
362
363 pub fn response_c() -> Self {
364 Self { value: 5 }
365 }
366
367 pub fn num() -> Self {
368 Self { value: 6 }
369 }
370 }
371
372 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitai/UnitAI.md"))]
373 #[::unity::class(namespace = "App", name = "UnitAI")]
374 #[parent(crate::system::object::Object)]
375 pub struct UnitAI {
376 #[static_field]
377 #[rename(name = "Version")]
378 pub version: i32,
379 #[offset(16)]
380 #[rename(name = "m_Flag")]
381 pub m_flag: crate::app::unitai::UnitAI_FlagField,
382 #[offset(24)]
383 #[rename(name = "m_Band")]
384 pub m_band: u8,
385 #[offset(25)]
386 #[rename(name = "m_Active")]
387 pub m_active: u8,
388 #[offset(26)]
389 #[rename(name = "m_Priority")]
390 pub m_priority: u8,
391 #[offset(27)]
392 #[rename(name = "m_HealRateA")]
393 pub m_heal_rate_a: u8,
394 #[offset(28)]
395 #[rename(name = "m_HealRateB")]
396 pub m_heal_rate_b: u8,
397 #[offset(29)]
398 #[rename(name = "m_BattleRateType")]
399 pub m_battle_rate_type: u8,
400 #[offset(30)]
401 #[rename(name = "m_ProhibitEngageAttack")]
402 pub m_prohibit_engage_attack: u8,
403 #[offset(31)]
404 #[rename(name = "m_ProhibitRod")]
405 pub m_prohibit_rod: u8,
406 #[offset(32)]
407 #[rename(name = "m_ProhibitOverlap")]
408 pub m_prohibit_overlap: u8,
409 #[offset(33)]
410 #[rename(name = "m_RerewarpCount")]
411 pub m_rerewarp_count: u8,
412 #[offset(34)]
413 #[rename(name = "m_RerewarpCountMax")]
414 pub m_rerewarp_count_max: u8,
415 #[offset(35)]
416 #[rename(name = "m_RerewarpLastX")]
417 pub m_rerewarp_last_x: u8,
418 #[offset(36)]
419 #[rename(name = "m_RerewarpLastZ")]
420 pub m_rerewarp_last_z: u8,
421 #[offset(40)]
422 #[rename(name = "m_RerewarpEventFlag")]
423 pub m_rerewarp_event_flag: ::unity::Il2CppString,
424 #[offset(48)]
425 #[rename(name = "m_RandomFlag")]
426 pub m_random_flag: crate::app::unitai::UnitAI_RandomFlagField,
427 #[offset(56)]
428 #[rename(name = "m_MoveLimit")]
429 pub m_move_limit: crate::app::unitai::UnitAI_MoveLimitRange,
430 #[offset(64)]
431 #[rename(name = "m_VersusType")]
432 pub m_versus_type: u8,
433 #[offset(65)]
434 #[rename(name = "m_BulletPattern")]
435 pub m_bullet_pattern: u8,
436 #[offset(72)]
437 #[rename(name = "m_aSequence")]
438 pub m_a_sequence: ::unity::Array<::unity::Il2CppString>,
439 #[offset(80)]
440 #[rename(name = "m_aValue")]
441 pub m_a_value: ::unity::Array<crate::app::aivalue::AIValue>,
442 #[offset(88)]
443 #[rename(name = "m_Unit")]
444 pub m_unit: crate::app::unit::Unit,
445 #[offset(96)]
446 #[rename(name = "m_VsThink")]
447 pub m_vs_think: crate::app::aithink::AIThink_Think,
448 }
449}
450
451#[cfg(feature = "app-unitai-types")]
452pub use __types::*;
453
454#[cfg(feature = "app-unitai")]
455pub trait IUnitAI_RandomFlagFieldMethods: IUnitAI_RandomFlagField {
456 #[doc = "`Set(crate::app::unitai::UnitAI_RandomFlag)` overload"]
457 fn set(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_RandomFlag>) -> () {
458 unsafe {
459 let __receiver =
460 <UnitAI_RandomFlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
461 ::unity::il2cpp_call!((::unity::module_base()+0x1b446c0usize)as*mut u8,();
462(UnitAI_RandomFlagField)__receiver,(crate::app::unitai::UnitAI_RandomFlag)::core::convert::Into::into(f))
463 }
464 }
465 #[doc = "`Test(crate::app::unitai::UnitAI_RandomFlag)` overload"]
466 fn test(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_RandomFlag>) -> bool {
467 unsafe {
468 let __receiver =
469 <UnitAI_RandomFlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x1b446d0usize)as*mut u8,bool;
471(UnitAI_RandomFlagField)__receiver,(crate::app::unitai::UnitAI_RandomFlag)::core::convert::Into::into(f))
472 }
473 }
474 #[doc = "`Not(crate::app::unitai::UnitAI_RandomFlag)` overload"]
475 fn not(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_RandomFlag>) -> bool {
476 unsafe {
477 let __receiver =
478 <UnitAI_RandomFlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479 ::unity::il2cpp_call!((::unity::module_base()+0x1b446e0usize)as*mut u8,bool;
480(UnitAI_RandomFlagField)__receiver,(crate::app::unitai::UnitAI_RandomFlag)::core::convert::Into::into(f))
481 }
482 }
483 #[doc = "`.ctor()` overload"]
484 fn ctor(self) -> () {
485 unsafe {
486 let __receiver =
487 <UnitAI_RandomFlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 ::unity::il2cpp_call!((::unity::module_base()+0x1b446f0usize)as*mut u8,();
489(UnitAI_RandomFlagField)__receiver)
490 }
491 }
492}
493
494#[cfg(feature = "app-unitai")]
495impl<__T: IUnitAI_RandomFlagField> IUnitAI_RandomFlagFieldMethods for __T {}
496
497#[cfg(feature = "app-unitai")]
498impl UnitAI_RandomFlagField {
499 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
501 }
502
503 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
505 }
506
507 pub fn not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
509 }
510
511 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
513 }
514}
515
516#[cfg(feature = "app-unitai")]
517impl UnitAI_RandomFlagField {
518 #[doc = "`.ctor()` — no args"]
519 pub fn new() -> Self {
520 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
521 panic!(
522 "{}
523::{}
524 failed to instantiate",
525 ::core::stringify!(UnitAI_RandomFlagField),
526 ::core::stringify!(new),
527 )
528 });
529 <Self as IUnitAI_RandomFlagFieldMethods>::ctor(this);
530 this
531 }
532}
533
534#[cfg(feature = "app-unitai")]
535pub trait IUnitAI_FlagFieldMethods: IUnitAI_FlagField {
536 #[doc = "`Set(crate::app::unitai::UnitAI_Flag)` overload"]
537 fn set(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> () {
538 unsafe {
539 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540 ::unity::il2cpp_call!((::unity::module_base()+0x1b44340usize)as*mut u8,();
541(UnitAI_FlagField)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(f))
542 }
543 }
544 #[doc = "`Test(crate::app::unitai::UnitAI_Flag)` overload"]
545 fn test(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> bool {
546 unsafe {
547 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548 ::unity::il2cpp_call!((::unity::module_base()+0x1b44350usize)as*mut u8,bool;
549(UnitAI_FlagField)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(f))
550 }
551 }
552 #[doc = "`Not(crate::app::unitai::UnitAI_Flag)` overload"]
553 fn not(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> bool {
554 unsafe {
555 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556 ::unity::il2cpp_call!((::unity::module_base()+0x1b44360usize)as*mut u8,bool;
557(UnitAI_FlagField)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(f))
558 }
559 }
560 #[doc = "`Clear(crate::app::unitai::UnitAI_Flag)` overload"]
561 fn clear(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> () {
562 unsafe {
563 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
564 ::unity::il2cpp_call!((::unity::module_base()+0x1b44370usize)as*mut u8,();
565(UnitAI_FlagField)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(f))
566 }
567 }
568 #[doc = "`Mask(crate::app::unitai::UnitAI_Flag)` overload"]
569 fn mask(self, f: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> i32 {
570 unsafe {
571 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
572 ::unity::il2cpp_call!((::unity::module_base()+0x1b44380usize)as*mut u8,i32;
573(UnitAI_FlagField)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(f))
574 }
575 }
576 #[doc = "`.ctor()` overload"]
577 fn ctor(self) -> () {
578 unsafe {
579 let __receiver = <UnitAI_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
580 ::unity::il2cpp_call!((::unity::module_base()+0x1b44390usize)as*mut u8,();
581(UnitAI_FlagField)__receiver)
582 }
583 }
584}
585
586#[cfg(feature = "app-unitai")]
587impl<__T: IUnitAI_FlagField> IUnitAI_FlagFieldMethods for __T {}
588
589#[cfg(feature = "app-unitai")]
590impl UnitAI_FlagField {
591 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
593 }
594
595 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
597 }
598
599 pub fn not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
601 }
602
603 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
605 }
606
607 pub fn mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
609 }
610
611 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
613 }
614}
615
616#[cfg(feature = "app-unitai")]
617impl UnitAI_FlagField {
618 #[doc = "`.ctor()` — no args"]
619 pub fn new() -> Self {
620 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
621 panic!(
622 "{}
623::{}
624 failed to instantiate",
625 ::core::stringify!(UnitAI_FlagField),
626 ::core::stringify!(new),
627 )
628 });
629 <Self as IUnitAI_FlagFieldMethods>::ctor(this);
630 this
631 }
632}
633
634#[cfg(feature = "app-unitai")]
635pub trait IUnitAI_MoveLimitRangeMethods: IUnitAI_MoveLimitRange {
636 #[doc = "`get_Type()` overload"]
637 fn get_type(self) -> crate::app::unitai::UnitAI_MoveLimitRange_LimitType {
638 unsafe {
639 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
640 ::unity::il2cpp_call!((::unity::module_base()+0x1b443a0usize)as*mut u8,crate::app::unitai::UnitAI_MoveLimitRange_LimitType;
641(UnitAI_MoveLimitRange)__receiver)
642 }
643 }
644 #[doc = "`set_Type(crate::app::unitai::UnitAI_MoveLimitRange_LimitType)` overload"]
645 fn set_type(self, value: impl ::core::convert::Into<crate::app::unitai::UnitAI_MoveLimitRange_LimitType>) -> () {
646 unsafe {
647 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
648 ::unity::il2cpp_call!((::unity::module_base()+0x1b443b0usize)as*mut u8,();
649(UnitAI_MoveLimitRange)__receiver,(crate::app::unitai::UnitAI_MoveLimitRange_LimitType)::core::convert::Into::into(value))
650 }
651 }
652 #[doc = "`get_X()` overload"]
653 fn get_x(self) -> i32 {
654 unsafe {
655 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
656 ::unity::il2cpp_call!((::unity::module_base()+0x1b443c0usize)as*mut u8,i32;
657(UnitAI_MoveLimitRange)__receiver)
658 }
659 }
660 #[doc = "`set_X(i32)` overload"]
661 fn set_x(self, value: impl ::core::convert::Into<i32>) -> () {
662 unsafe {
663 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
664 ::unity::il2cpp_call!((::unity::module_base()+0x1b443d0usize)as*mut u8,();
665(UnitAI_MoveLimitRange)__receiver,(i32)::core::convert::Into::into(value))
666 }
667 }
668 #[doc = "`get_Z()` overload"]
669 fn get_z(self) -> i32 {
670 unsafe {
671 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
672 ::unity::il2cpp_call!((::unity::module_base()+0x1b443e0usize)as*mut u8,i32;
673(UnitAI_MoveLimitRange)__receiver)
674 }
675 }
676 #[doc = "`set_Z(i32)` overload"]
677 fn set_z(self, value: impl ::core::convert::Into<i32>) -> () {
678 unsafe {
679 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
680 ::unity::il2cpp_call!((::unity::module_base()+0x1b443f0usize)as*mut u8,();
681(UnitAI_MoveLimitRange)__receiver,(i32)::core::convert::Into::into(value))
682 }
683 }
684 #[doc = "`get_W()` overload"]
685 fn get_w(self) -> i32 {
686 unsafe {
687 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
688 ::unity::il2cpp_call!((::unity::module_base()+0x1b44400usize)as*mut u8,i32;
689(UnitAI_MoveLimitRange)__receiver)
690 }
691 }
692 #[doc = "`set_W(i32)` overload"]
693 fn set_w(self, value: impl ::core::convert::Into<i32>) -> () {
694 unsafe {
695 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
696 ::unity::il2cpp_call!((::unity::module_base()+0x1b44410usize)as*mut u8,();
697(UnitAI_MoveLimitRange)__receiver,(i32)::core::convert::Into::into(value))
698 }
699 }
700 #[doc = "`get_H()` overload"]
701 fn get_h(self) -> i32 {
702 unsafe {
703 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
704 ::unity::il2cpp_call!((::unity::module_base()+0x1b44420usize)as*mut u8,i32;
705(UnitAI_MoveLimitRange)__receiver)
706 }
707 }
708 #[doc = "`set_H(i32)` overload"]
709 fn set_h(self, value: impl ::core::convert::Into<i32>) -> () {
710 unsafe {
711 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
712 ::unity::il2cpp_call!((::unity::module_base()+0x1b44430usize)as*mut u8,();
713(UnitAI_MoveLimitRange)__receiver,(i32)::core::convert::Into::into(value))
714 }
715 }
716 #[doc = "`Clear()` overload"]
717 fn clear(self) -> () {
718 unsafe {
719 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
720 ::unity::il2cpp_call!((::unity::module_base()+0x1b44440usize)as*mut u8,();
721(UnitAI_MoveLimitRange)__receiver)
722 }
723 }
724 #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
725 fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
726 unsafe {
727 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
728 ::unity::il2cpp_call!((::unity::module_base()+0x1b44450usize)as*mut u8,();
729(UnitAI_MoveLimitRange)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
730 }
731 }
732 #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
733 fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
734 unsafe {
735 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
736 ::unity::il2cpp_call!((::unity::module_base()+0x1b444d0usize)as*mut u8,();
737(UnitAI_MoveLimitRange)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
738 }
739 }
740 #[doc = "`.ctor()` overload"]
741 fn ctor(self) -> () {
742 unsafe {
743 let __receiver = <UnitAI_MoveLimitRange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
744 ::unity::il2cpp_call!((::unity::module_base()+0x1b446b0usize)as*mut u8,();
745(UnitAI_MoveLimitRange)__receiver)
746 }
747 }
748}
749
750#[cfg(feature = "app-unitai")]
751impl<__T: IUnitAI_MoveLimitRange> IUnitAI_MoveLimitRangeMethods for __T {}
752
753#[cfg(feature = "app-unitai")]
754impl UnitAI_MoveLimitRange {
755 pub fn get_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
757 }
758
759 pub fn set_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
761 }
762
763 pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
765 }
766
767 pub fn set_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
769 }
770
771 pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
773 }
774
775 pub fn set_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
777 }
778
779 pub fn get_w_method_info() -> &'static ::unity::il2cpp::MethodInfo {
780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
781 }
782
783 pub fn set_w_method_info() -> &'static ::unity::il2cpp::MethodInfo {
784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
785 }
786
787 pub fn get_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
789 }
790
791 pub fn set_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
793 }
794
795 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
796 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
797 }
798
799 pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
800 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
801 }
802
803 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
804 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
805 }
806
807 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
808 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
809 }
810}
811
812#[cfg(feature = "app-unitai")]
813impl UnitAI_MoveLimitRange {
814 #[doc = "`.ctor()` — no args"]
815 pub fn new() -> Self {
816 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
817 panic!(
818 "{}
819::{}
820 failed to instantiate",
821 ::core::stringify!(UnitAI_MoveLimitRange),
822 ::core::stringify!(new),
823 )
824 });
825 <Self as IUnitAI_MoveLimitRangeMethods>::ctor(this);
826 this
827 }
828}
829
830#[cfg(feature = "app-unitai")]
831pub trait IUnitAIMethods: IUnitAI {
832 #[doc = "`get_Band()` overload"]
833 fn get_band(self) -> i32 {
834 unsafe {
835 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
836 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f2a0usize)as*mut u8,i32;
837(UnitAI)__receiver)
838 }
839 }
840 #[doc = "`set_Band(i32)` overload"]
841 fn set_band(self, value: impl ::core::convert::Into<i32>) -> () {
842 unsafe {
843 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
844 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f2b0usize)as*mut u8,();
845(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
846 }
847 }
848 #[doc = "`get_Active()` overload"]
849 fn get_active(self) -> i32 {
850 unsafe {
851 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
852 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f2c0usize)as*mut u8,i32;
853(UnitAI)__receiver)
854 }
855 }
856 #[doc = "`set_Active(i32)` overload"]
857 fn set_active(self, value: impl ::core::convert::Into<i32>) -> () {
858 unsafe {
859 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
860 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f2d0usize)as*mut u8,();
861(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
862 }
863 }
864 #[doc = "`get_Priority()` overload"]
865 fn get_priority(self) -> i32 {
866 unsafe {
867 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
868 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f350usize)as*mut u8,i32;
869(UnitAI)__receiver)
870 }
871 }
872 #[doc = "`set_Priority(i32)` overload"]
873 fn set_priority(self, value: impl ::core::convert::Into<i32>) -> () {
874 unsafe {
875 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
876 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f360usize)as*mut u8,();
877(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
878 }
879 }
880 #[doc = "`get_HealRateA()` overload"]
881 fn get_heal_rate_a(self) -> i32 {
882 unsafe {
883 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
884 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f370usize)as*mut u8,i32;
885(UnitAI)__receiver)
886 }
887 }
888 #[doc = "`set_HealRateA(i32)` overload"]
889 fn set_heal_rate_a(self, value: impl ::core::convert::Into<i32>) -> () {
890 unsafe {
891 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
892 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f380usize)as*mut u8,();
893(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
894 }
895 }
896 #[doc = "`get_HealRateB()` overload"]
897 fn get_heal_rate_b(self) -> i32 {
898 unsafe {
899 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
900 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f390usize)as*mut u8,i32;
901(UnitAI)__receiver)
902 }
903 }
904 #[doc = "`set_HealRateB(i32)` overload"]
905 fn set_heal_rate_b(self, value: impl ::core::convert::Into<i32>) -> () {
906 unsafe {
907 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
908 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3a0usize)as*mut u8,();
909(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
910 }
911 }
912 #[doc = "`get_BattleRateType()` overload"]
913 fn get_battle_rate_type(self) -> crate::app::unitai::UnitAI_BattleRate {
914 unsafe {
915 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
916 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3b0usize)as*mut u8,crate::app::unitai::UnitAI_BattleRate;
917(UnitAI)__receiver)
918 }
919 }
920 #[doc = "`set_BattleRateType(crate::app::unitai::UnitAI_BattleRate)` overload"]
921 fn set_battle_rate_type(self, value: impl ::core::convert::Into<crate::app::unitai::UnitAI_BattleRate>) -> () {
922 unsafe {
923 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
924 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3c0usize)as*mut u8,();
925(UnitAI)__receiver,(crate::app::unitai::UnitAI_BattleRate)::core::convert::Into::into(value))
926 }
927 }
928 #[doc = "`get_ProhibitEngageAttack()` overload"]
929 fn get_prohibit_engage_attack(self) -> i32 {
930 unsafe {
931 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
932 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3d0usize)as*mut u8,i32;
933(UnitAI)__receiver)
934 }
935 }
936 #[doc = "`set_ProhibitEngageAttack(i32)` overload"]
937 fn set_prohibit_engage_attack(self, value: impl ::core::convert::Into<i32>) -> () {
938 unsafe {
939 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
940 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3e0usize)as*mut u8,();
941(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
942 }
943 }
944 #[doc = "`get_ProhibitRod()` overload"]
945 fn get_prohibit_rod(self) -> i32 {
946 unsafe {
947 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
948 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f3f0usize)as*mut u8,i32;
949(UnitAI)__receiver)
950 }
951 }
952 #[doc = "`set_ProhibitRod(i32)` overload"]
953 fn set_prohibit_rod(self, value: impl ::core::convert::Into<i32>) -> () {
954 unsafe {
955 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
956 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f400usize)as*mut u8,();
957(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
958 }
959 }
960 #[doc = "`get_ProhibitOverlap()` overload"]
961 fn get_prohibit_overlap(self) -> i32 {
962 unsafe {
963 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
964 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f410usize)as*mut u8,i32;
965(UnitAI)__receiver)
966 }
967 }
968 #[doc = "`set_ProhibitOverlap(i32)` overload"]
969 fn set_prohibit_overlap(self, value: impl ::core::convert::Into<i32>) -> () {
970 unsafe {
971 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
972 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f420usize)as*mut u8,();
973(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
974 }
975 }
976 #[doc = "`get_RerewarpCount()` overload"]
977 fn get_rerewarp_count(self) -> i32 {
978 unsafe {
979 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
980 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f430usize)as*mut u8,i32;
981(UnitAI)__receiver)
982 }
983 }
984 #[doc = "`set_RerewarpCount(i32)` overload"]
985 fn set_rerewarp_count(self, value: impl ::core::convert::Into<i32>) -> () {
986 unsafe {
987 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
988 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f440usize)as*mut u8,();
989(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
990 }
991 }
992 #[doc = "`get_RerewarpCountMax()` overload"]
993 fn get_rerewarp_count_max(self) -> i32 {
994 unsafe {
995 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
996 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f450usize)as*mut u8,i32;
997(UnitAI)__receiver)
998 }
999 }
1000 #[doc = "`get_RerewarpLastX()` overload"]
1001 fn get_rerewarp_last_x(self) -> i32 {
1002 unsafe {
1003 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1004 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f460usize)as*mut u8,i32;
1005(UnitAI)__receiver)
1006 }
1007 }
1008 #[doc = "`get_RerewarpLastZ()` overload"]
1009 fn get_rerewarp_last_z(self) -> i32 {
1010 unsafe {
1011 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1012 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f470usize)as*mut u8,i32;
1013(UnitAI)__receiver)
1014 }
1015 }
1016 #[doc = "`get_RerewarpEventFlag()` overload"]
1017 fn get_rerewarp_event_flag(self) -> ::unity::Il2CppString {
1018 unsafe {
1019 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1020 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f480usize)as*mut u8, ::unity::Il2CppString;
1021(UnitAI)__receiver)
1022 }
1023 }
1024 #[doc = "`get_MoveLimit()` overload"]
1025 fn get_move_limit(self) -> crate::app::unitai::UnitAI_MoveLimitRange {
1026 unsafe {
1027 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1028 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f490usize)as*mut u8,crate::app::unitai::UnitAI_MoveLimitRange;
1029(UnitAI)__receiver)
1030 }
1031 }
1032 #[doc = "`set_MoveLimit(crate::app::unitai::UnitAI_MoveLimitRange)` overload"]
1033 fn set_move_limit(self, value: impl ::core::convert::Into<crate::app::unitai::UnitAI_MoveLimitRange>) -> () {
1034 unsafe {
1035 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1036 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4a0usize)as*mut u8,();
1037(UnitAI)__receiver,(crate::app::unitai::UnitAI_MoveLimitRange)::core::convert::Into::into(value))
1038 }
1039 }
1040 #[doc = "`get_VersusType()` overload"]
1041 fn get_versus_type(self) -> crate::app::unitai::UnitAI_VersusTypes {
1042 unsafe {
1043 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1044 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4b0usize)as*mut u8,crate::app::unitai::UnitAI_VersusTypes;
1045(UnitAI)__receiver)
1046 }
1047 }
1048 #[doc = "`set_VersusType(crate::app::unitai::UnitAI_VersusTypes)` overload"]
1049 fn set_versus_type(self, value: impl ::core::convert::Into<crate::app::unitai::UnitAI_VersusTypes>) -> () {
1050 unsafe {
1051 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1052 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4c0usize)as*mut u8,();
1053(UnitAI)__receiver,(crate::app::unitai::UnitAI_VersusTypes)::core::convert::Into::into(value))
1054 }
1055 }
1056 #[doc = "`get_BulletPattern()` overload"]
1057 fn get_bullet_pattern(self) -> i32 {
1058 unsafe {
1059 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1060 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4d0usize)as*mut u8,i32;
1061(UnitAI)__receiver)
1062 }
1063 }
1064 #[doc = "`set_BulletPattern(i32)` overload"]
1065 fn set_bullet_pattern(self, value: impl ::core::convert::Into<i32>) -> () {
1066 unsafe {
1067 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1068 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4e0usize)as*mut u8,();
1069(UnitAI)__receiver,(i32)::core::convert::Into::into(value))
1070 }
1071 }
1072 #[doc = "`get_VsThink()` overload"]
1073 fn get_vs_think(self) -> crate::app::aithink::AIThink_Think {
1074 unsafe {
1075 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1076 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f4f0usize)as*mut u8,crate::app::aithink::AIThink_Think;
1077(UnitAI)__receiver)
1078 }
1079 }
1080 #[doc = "`set_VsThink(crate::app::aithink::AIThink_Think)` overload"]
1081 fn set_vs_think(self, value: impl ::core::convert::Into<crate::app::aithink::AIThink_Think>) -> () {
1082 unsafe {
1083 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1084 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f500usize)as*mut u8,();
1085(UnitAI)__receiver,(crate::app::aithink::AIThink_Think)::core::convert::Into::into(value))
1086 }
1087 }
1088 #[doc = "`IsActive()` overload"]
1089 fn is_active(self) -> bool {
1090 unsafe {
1091 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1092 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f510usize)as*mut u8,bool;
1093(UnitAI)__receiver)
1094 }
1095 }
1096 #[doc = "`CheckFlag(crate::app::unitai::UnitAI_Flag)` overload"]
1097 fn check_flag(self, flag: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> bool {
1098 unsafe {
1099 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1100 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f520usize)as*mut u8,bool;
1101(UnitAI)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(flag))
1102 }
1103 }
1104 #[doc = "`NotFlag(crate::app::unitai::UnitAI_Flag)` overload"]
1105 fn not_flag(self, flag: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> bool {
1106 unsafe {
1107 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1108 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f530usize)as*mut u8,bool;
1109(UnitAI)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(flag))
1110 }
1111 }
1112 #[doc = "`SetFlag(crate::app::unitai::UnitAI_Flag)` overload"]
1113 fn set_flag(self, flag: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> () {
1114 unsafe {
1115 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1116 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f540usize)as*mut u8,();
1117(UnitAI)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(flag))
1118 }
1119 }
1120 #[doc = "`ClearFlag(crate::app::unitai::UnitAI_Flag)` overload"]
1121 fn clear_flag(self, flag: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> () {
1122 unsafe {
1123 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1124 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f550usize)as*mut u8,();
1125(UnitAI)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(flag))
1126 }
1127 }
1128 #[doc = "`MaskFlag(crate::app::unitai::UnitAI_Flag)` overload"]
1129 fn mask_flag(self, flag: impl ::core::convert::Into<crate::app::unitai::UnitAI_Flag>) -> i32 {
1130 unsafe {
1131 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1132 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f560usize)as*mut u8,i32;
1133(UnitAI)__receiver,(crate::app::unitai::UnitAI_Flag)::core::convert::Into::into(flag))
1134 }
1135 }
1136 #[doc = "`GetSequence(crate::app::aivalue::AIValue_Order)` overload"]
1137 fn get_sequence(self, order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>) -> ::unity::Il2CppString {
1138 unsafe {
1139 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1140 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f570usize)as*mut u8, ::unity::Il2CppString;
1141(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order))
1142 }
1143 }
1144 #[doc = "`GetSequenceByIndex(crate::app::aivalue::AIValue_Order)` overload"]
1145 fn get_sequence_by_index(self, order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>) -> i32 {
1146 unsafe {
1147 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1148 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f5b0usize)as*mut u8,i32;
1149(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order))
1150 }
1151 }
1152 #[doc = "`SetSequence(crate::app::aivalue::AIValue_Order, ::unity::Il2CppString)` overload"]
1153 fn set_sequence(
1154 self,
1155 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1156 name: impl ::core::convert::Into<::unity::Il2CppString>,
1157 ) -> () {
1158 unsafe {
1159 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1160 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f660usize)as*mut u8,();
1161(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(::unity::Il2CppString)::core::convert::Into::into(name))
1162 }
1163 }
1164 #[doc = "`SetSequence(crate::app::aivalue::AIValue_Order, i32)` overload"]
1165 fn set_sequence_2(self, order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>, v: impl ::core::convert::Into<i32>) -> () {
1166 unsafe {
1167 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1168 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f7e0usize)as*mut u8,();
1169(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(v))
1170 }
1171 }
1172 #[doc = "`GetValue(crate::app::aivalue::AIValue_Order, i32)` overload"]
1173 fn get_value(
1174 self,
1175 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1176 index: impl ::core::convert::Into<i32>,
1177 ) -> crate::app::aivalue::AIValue {
1178 unsafe {
1179 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1180 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f880usize)as*mut u8,crate::app::aivalue::AIValue;
1181(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index))
1182 }
1183 }
1184 #[doc = "`SetValue(crate::app::aivalue::AIValue_Order, i32, i32)` overload"]
1185 fn set_value(
1186 self,
1187 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1188 index: impl ::core::convert::Into<i32>,
1189 value: impl ::core::convert::Into<i32>,
1190 ) -> () {
1191 unsafe {
1192 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1193 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f8d0usize)as*mut u8,();
1194(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index),(i32)::core::convert::Into::into(value))
1195 }
1196 }
1197 #[doc = "`SetValue(crate::app::aivalue::AIValue_Order, i32, i32, i32)` overload"]
1198 fn set_value_2(
1199 self,
1200 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1201 index: impl ::core::convert::Into<i32>,
1202 x: impl ::core::convert::Into<i32>,
1203 z: impl ::core::convert::Into<i32>,
1204 ) -> () {
1205 unsafe {
1206 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1207 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f9c0usize)as*mut u8,();
1208(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
1209 }
1210 }
1211 #[doc = "`SetValue(crate::app::aivalue::AIValue_Order, i32, ::unity::Il2CppString)` overload"]
1212 fn set_value_3(
1213 self,
1214 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1215 index: impl ::core::convert::Into<i32>,
1216 str: impl ::core::convert::Into<::unity::Il2CppString>,
1217 ) -> ::unity::Il2CppString {
1218 unsafe {
1219 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1220 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fa70usize)as*mut u8, ::unity::Il2CppString;
1221(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index),(::unity::Il2CppString)::core::convert::Into::into(str))
1222 }
1223 }
1224 #[doc = "`SetValue(crate::app::aivalue::AIValue_Order, i32, crate::app::aivalue::AIValue)` overload"]
1225 fn set_value_4(
1226 self,
1227 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1228 index: impl ::core::convert::Into<i32>,
1229 value: impl ::core::convert::Into<crate::app::aivalue::AIValue>,
1230 ) -> () {
1231 unsafe {
1232 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1233 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fb20usize)as*mut u8,();
1234(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index),(crate::app::aivalue::AIValue)::core::convert::Into::into(value))
1235 }
1236 }
1237 #[doc = "`SetValues(crate::app::aivalue::AIValue_Order, ::unity::Il2CppString)` overload"]
1238 fn set_values(
1239 self,
1240 order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
1241 str: impl ::core::convert::Into<::unity::Il2CppString>,
1242 ) -> () {
1243 unsafe {
1244 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1245 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fb70usize)as*mut u8,();
1246(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(::unity::Il2CppString)::core::convert::Into::into(str))
1247 }
1248 }
1249 #[doc = "`ResetRandomFlag(u8)` overload"]
1250 fn reset_random_flag(self, value: impl ::core::convert::Into<u8>) -> () {
1251 unsafe {
1252 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1253 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fd50usize)as*mut u8,();
1254(UnitAI)__receiver,(u8)::core::convert::Into::into(value))
1255 }
1256 }
1257 #[doc = "`GetRandomFlag()` overload"]
1258 fn get_random_flag(self) -> crate::app::unitai::UnitAI_RandomFlagField {
1259 unsafe {
1260 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1261 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fd60usize)as*mut u8,crate::app::unitai::UnitAI_RandomFlagField;
1262(UnitAI)__receiver)
1263 }
1264 }
1265 #[doc = "`SetRerewarp(i32, i32, i32, ::unity::Il2CppString)` overload"]
1266 fn set_rerewarp(
1267 self,
1268 count_max: impl ::core::convert::Into<i32>,
1269 last_x: impl ::core::convert::Into<i32>,
1270 last_z: impl ::core::convert::Into<i32>,
1271 event_flag: impl ::core::convert::Into<::unity::Il2CppString>,
1272 ) -> () {
1273 unsafe {
1274 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1275 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fd70usize)as*mut u8,();
1276(UnitAI)__receiver,(i32)::core::convert::Into::into(count_max),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z),(::unity::Il2CppString)::core::convert::Into::into(event_flag))
1277 }
1278 }
1279 #[doc = "`.ctor(crate::app::unit::Unit)` overload"]
1280 fn ctor(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
1281 unsafe {
1282 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1283 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fde0usize)as*mut u8,();
1284(UnitAI)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
1285 }
1286 }
1287 #[doc = "`Clear()` overload"]
1288 fn clear(self) -> () {
1289 unsafe {
1290 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1291 ::unity::il2cpp_call!((::unity::module_base()+0x1f5fff0usize)as*mut u8,();
1292(UnitAI)__receiver)
1293 }
1294 }
1295 #[doc = "`Copy(crate::app::unitai::UnitAI)` overload"]
1296 fn copy(self, from: impl ::core::convert::Into<crate::app::unitai::UnitAI>) -> () {
1297 unsafe {
1298 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1299 ::unity::il2cpp_call!((::unity::module_base()+0x1f603e0usize)as*mut u8,();
1300(UnitAI)__receiver,(crate::app::unitai::UnitAI)::core::convert::Into::into(from))
1301 }
1302 }
1303 #[doc = "`CanUseEngageAttack()` overload"]
1304 fn can_use_engage_attack(self) -> bool {
1305 unsafe {
1306 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1307 ::unity::il2cpp_call!((::unity::module_base()+0x1f60650usize)as*mut u8,bool;
1308(UnitAI)__receiver)
1309 }
1310 }
1311 #[doc = "`SetupSummon()` overload"]
1312 fn setup_summon(self) -> () {
1313 unsafe {
1314 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1315 ::unity::il2cpp_call!((::unity::module_base()+0x1f606c0usize)as*mut u8,();
1316(UnitAI)__receiver)
1317 }
1318 }
1319 #[doc = "`SetupVersus()` overload"]
1320 fn setup_versus(self) -> () {
1321 unsafe {
1322 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1323 ::unity::il2cpp_call!((::unity::module_base()+0x1f60810usize)as*mut u8,();
1324(UnitAI)__receiver)
1325 }
1326 }
1327 #[doc = "`SetUnitForVersus(crate::app::unit::Unit)` overload"]
1328 fn set_unit_for_versus(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
1329 unsafe {
1330 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1331 ::unity::il2cpp_call!((::unity::module_base()+0x1f60ad0usize)as*mut u8,();
1332(UnitAI)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
1333 }
1334 }
1335 #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
1336 fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
1337 unsafe {
1338 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1339 ::unity::il2cpp_call!((::unity::module_base()+0x1f60ae0usize)as*mut u8,();
1340(UnitAI)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
1341 }
1342 }
1343 #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
1344 fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
1345 unsafe {
1346 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1347 ::unity::il2cpp_call!((::unity::module_base()+0x1f60ce0usize)as*mut u8,();
1348(UnitAI)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
1349 }
1350 }
1351 #[doc = "`GetValueIndex(crate::app::aivalue::AIValue_Order, i32)` overload"]
1352 fn get_value_index(self, order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>, index: impl ::core::convert::Into<i32>) -> i32 {
1353 unsafe {
1354 let __receiver = <UnitAI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1355 ::unity::il2cpp_call!((::unity::module_base()+0x1f5f8c0usize)as*mut u8,i32;
1356(UnitAI)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(i32)::core::convert::Into::into(index))
1357 }
1358 }
1359}
1360
1361#[cfg(feature = "app-unitai")]
1362impl<__T: IUnitAI> IUnitAIMethods for __T {}
1363
1364#[cfg(feature = "app-unitai")]
1365impl UnitAI {
1366 pub fn get_band_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1367 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1368 }
1369
1370 pub fn set_band_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1371 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1372 }
1373
1374 pub fn get_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1376 }
1377
1378 pub fn set_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1380 }
1381
1382 pub fn get_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1384 }
1385
1386 pub fn set_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1388 }
1389
1390 pub fn get_heal_rate_a_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1392 }
1393
1394 pub fn set_heal_rate_a_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1396 }
1397
1398 pub fn get_heal_rate_b_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1400 }
1401
1402 pub fn set_heal_rate_b_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1404 }
1405
1406 pub fn get_battle_rate_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1408 }
1409
1410 pub fn set_battle_rate_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1412 }
1413
1414 pub fn get_prohibit_engage_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1416 }
1417
1418 pub fn set_prohibit_engage_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1420 }
1421
1422 pub fn get_prohibit_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1424 }
1425
1426 pub fn set_prohibit_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1428 }
1429
1430 pub fn get_prohibit_overlap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1432 }
1433
1434 pub fn set_prohibit_overlap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1436 }
1437
1438 pub fn get_rerewarp_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1440 }
1441
1442 pub fn set_rerewarp_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1444 }
1445
1446 pub fn get_rerewarp_count_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1448 }
1449
1450 pub fn get_rerewarp_last_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1452 }
1453
1454 pub fn get_rerewarp_last_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1456 }
1457
1458 pub fn get_rerewarp_event_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1460 }
1461
1462 pub fn get_move_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1464 }
1465
1466 pub fn set_move_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1468 }
1469
1470 pub fn get_versus_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1472 }
1473
1474 pub fn set_versus_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1475 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1476 }
1477
1478 pub fn get_bullet_pattern_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1480 }
1481
1482 pub fn set_bullet_pattern_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1484 }
1485
1486 pub fn get_vs_think_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1488 }
1489
1490 pub fn set_vs_think_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1492 }
1493
1494 pub fn is_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1496 }
1497
1498 pub fn check_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1500 }
1501
1502 pub fn not_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1504 }
1505
1506 pub fn set_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1508 }
1509
1510 pub fn clear_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1512 }
1513
1514 pub fn mask_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1516 }
1517
1518 pub fn get_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1520 }
1521
1522 pub fn get_sequence_by_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1524 }
1525
1526 pub fn set_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1528 }
1529
1530 pub fn set_sequence_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1531 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1532 }
1533
1534 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1535 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1536 }
1537
1538 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1539 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1540 }
1541
1542 pub fn set_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1543 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1544 }
1545
1546 pub fn set_value_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1547 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1548 }
1549
1550 pub fn set_value_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1551 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1552 }
1553
1554 pub fn set_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1555 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1556 }
1557
1558 pub fn reset_random_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1559 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1560 }
1561
1562 pub fn get_random_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1563 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1564 }
1565
1566 pub fn set_rerewarp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1567 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1568 }
1569
1570 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1571 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1572 }
1573
1574 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1575 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1576 }
1577
1578 pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1579 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1580 }
1581
1582 pub fn can_use_engage_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1583 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1584 }
1585
1586 pub fn setup_summon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1587 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1588 }
1589
1590 pub fn setup_versus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1591 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1592 }
1593
1594 pub fn set_unit_for_versus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1595 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1596 }
1597
1598 pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1599 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1600 }
1601
1602 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1603 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1604 }
1605
1606 pub fn get_value_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1607 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1608 }
1609}
1610
1611#[cfg(feature = "app-unitai")]
1612impl UnitAI {
1613 #[doc = "`.ctor(crate::app::unit::Unit)` — overload selector"]
1614 pub fn new(unit: crate::app::unit::Unit) -> Self {
1615 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1616 panic!(
1617 "{}
1618::{}
1619 failed to instantiate",
1620 ::core::stringify!(UnitAI),
1621 ::core::stringify!(new),
1622 )
1623 });
1624 <Self as IUnitAIMethods>::ctor(this, unit);
1625 this
1626 }
1627}
1628
1629#[cfg(feature = "app-unitai")]
1630#[doc(hidden)]
1631pub mod prelude {
1632 pub use super::{
1633 IUnitAI, IUnitAIMethods, IUnitAI_FlagField, IUnitAI_FlagFieldMethods, IUnitAI_MoveLimitRange, IUnitAI_MoveLimitRangeMethods,
1634 IUnitAI_RandomFlagField, IUnitAI_RandomFlagFieldMethods, UnitAI, UnitAI_BattleRate, UnitAI_Flag, UnitAI_FlagField, UnitAI_MoveLimitRange,
1635 UnitAI_MoveLimitRange_LimitType, UnitAI_RandomFlag, UnitAI_RandomFlagField, UnitAI_VersusTypes,
1636 };
1637 #[cfg(feature = "app-bitfield32")]
1638 pub use crate::app::bitfield32::IBitField32Methods;
1639 #[cfg(feature = "app-bitfieldcommon")]
1640 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
1641 #[cfg(feature = "system-object")]
1642 pub use crate::system::object::IObjectMethods;
1643 #[cfg(feature = "system-enum")]
1644 pub use crate::system::r#enum::IEnumMethods;
1645 #[cfg(feature = "system-valuetype")]
1646 pub use crate::system::valuetype::IValueTypeMethods;
1647 pub use crate::{
1648 app::{bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon},
1649 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1650 };
1651}