Skip to main content

engage/generated/combat/
phase.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-phase-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/combat/phase/Phase_HitType.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct Phase_HitType {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for Phase_HitType {
21        const NAME: &'static str = "Phase.HitType";
22        const NAMESPACE: &'static str = "Combat";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for Phase_HitType {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl Phase_HitType {
35        pub fn critical() -> Self {
36            Self { value: 1 }
37        }
38
39        pub fn miss() -> Self {
40            Self { value: 2 }
41        }
42
43        pub fn guard() -> Self {
44            Self { value: 4 }
45        }
46
47        pub fn hit() -> Self {
48            Self { value: 8 }
49        }
50
51        pub fn parry() -> Self {
52            Self { value: 16 }
53        }
54
55        pub fn knockoff() -> Self {
56            Self { value: 64 }
57        }
58
59        pub fn heal() -> Self {
60            Self { value: 128 }
61        }
62
63        pub fn chain_guard() -> Self {
64            Self { value: 256 }
65        }
66
67        pub fn dual_guard() -> Self {
68            Self { value: 512 }
69        }
70
71        pub fn hit_stop有() -> Self {
72            Self { value: 268 }
73        }
74
75        pub fn guard系() -> Self {
76            Self { value: 260 }
77        }
78
79        pub fn miss系() -> Self {
80            Self { value: 82 }
81        }
82    }
83
84    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/phase/Phase_Kind.md"))]
85    #[repr(C)]
86    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
87    pub struct Phase_Kind {
88        pub value: i32,
89    }
90    impl ::unity::ClassIdentity for Phase_Kind {
91        const NAME: &'static str = "Phase.Kind";
92        const NAMESPACE: &'static str = "Combat";
93
94        fn class() -> ::unity::Class {
95            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
96            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
97        }
98    }
99    impl ::unity::IlType for Phase_Kind {
100        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
101            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
102        }
103    }
104    impl Phase_Kind {
105        pub fn unknown() -> Self {
106            Self { value: 0 }
107        }
108
109        pub fn attack() -> Self {
110            Self { value: 1 }
111        }
112    }
113
114    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/phase/Phase_Detail.md"))]
115    #[repr(C)]
116    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
117    pub struct Phase_Detail {
118        pub value: i32,
119    }
120    impl ::unity::ClassIdentity for Phase_Detail {
121        const NAME: &'static str = "Phase.Detail";
122        const NAMESPACE: &'static str = "Combat";
123
124        fn class() -> ::unity::Class {
125            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
126            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
127        }
128    }
129    impl ::unity::IlType for Phase_Detail {
130        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
131            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
132        }
133    }
134    impl Phase_Detail {
135        pub fn first_attack() -> Self {
136            Self { value: 1 }
137        }
138
139        pub fn last_attack() -> Self {
140            Self { value: 2 }
141        }
142
143        pub fn rush() -> Self {
144            Self { value: 4 }
145        }
146
147        pub fn efficacy() -> Self {
148            Self { value: 8 }
149        }
150
151        pub fn engage_attack() -> Self {
152            Self { value: 16 }
153        }
154
155        pub fn r#break() -> Self {
156            Self { value: 32 }
157        }
158
159        pub fn smash() -> Self {
160            Self { value: 64 }
161        }
162
163        pub fn standing_die() -> Self {
164            Self { value: 128 }
165        }
166
167        pub fn damage_displayed() -> Self {
168            Self { value: 256 }
169        }
170
171        pub fn chain_atk() -> Self {
172            Self { value: 4096 }
173        }
174
175        pub fn chain_atk2() -> Self {
176            Self { value: 8192 }
177        }
178
179        pub fn chain_grd1() -> Self {
180            Self { value: 16384 }
181        }
182
183        pub fn chain_grd2() -> Self {
184            Self { value: 32768 }
185        }
186
187        pub fn chain_grd3() -> Self {
188            Self { value: 65536 }
189        }
190
191        pub fn chain_grd4() -> Self {
192            Self { value: 131072 }
193        }
194
195        pub fn chain_grd() -> Self {
196            Self { value: 245760 }
197        }
198    }
199
200    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/phase/Phase.md"))]
201    #[::unity::class(namespace = "Combat", name = "Phase")]
202    #[parent(crate::system::object::Object)]
203    pub struct Phase {
204        #[offset(32)]
205        #[rename(name = "kind")]
206        pub kind: crate::combat::phase::Phase_Kind,
207        #[offset(36)]
208        #[rename(name = "hitType")]
209        pub hit_type: crate::combat::phase::Phase_HitType,
210        #[offset(40)]
211        #[rename(name = "detail")]
212        pub detail: crate::combat::phase::Phase_Detail,
213        #[offset(44)]
214        #[rename(name = "AttackSide")]
215        pub attack_side: i32,
216        #[offset(48)]
217        #[rename(name = "AttackHash")]
218        pub attack_hash: i32,
219        #[offset(52)]
220        #[rename(name = "DamageHash")]
221        pub damage_hash: i32,
222        #[offset(56)]
223        #[rename(name = "Skills")]
224        pub skills: crate::combat::skillstack::SkillStack,
225        #[offset(64)]
226        #[rename(name = "Decorators")]
227        pub decorators: crate::combat::decorators::Decorators,
228        #[offset(72)]
229        #[rename(name = "MaxHP")]
230        pub max_hp: ::unity::Array<i32>,
231        #[offset(80)]
232        #[rename(name = "HP")]
233        pub hp: ::unity::Array<i32>,
234        #[offset(88)]
235        #[rename(name = "Damage")]
236        pub damage: ::unity::Array<i32>,
237        #[offset(96)]
238        #[rename(name = "EngageCount")]
239        pub engage_count: ::unity::Array<i32>,
240    }
241}
242
243#[cfg(feature = "combat-phase-types")]
244pub use __types::*;
245
246#[cfg(feature = "combat-phase")]
247impl Phase {
248    #[doc = "`op_Implicit(crate::combat::phase::Phase)` overload"]
249    pub fn op_implicit(a: impl ::core::convert::Into<crate::combat::phase::Phase>) -> bool {
250        unsafe {
251            ::unity::il2cpp_call!((::unity::module_base()+0x1f2a910usize)as*mut u8,bool;
252(crate::combat::phase::Phase)::core::convert::Into::into(a))
253        }
254    }
255
256    #[doc = "`get_Null()` overload"]
257    pub fn get_null() -> crate::combat::phase::Phase {
258        unsafe {
259            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aa00usize)as*mut u8,crate::combat::phase::Phase;
260            )
261        }
262    }
263
264    #[doc = "`.cctor()` overload"]
265    pub fn cctor() -> () {
266        unsafe {
267            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b5c0usize)as*mut u8,();
268            )
269        }
270    }
271}
272
273#[cfg(feature = "combat-phase")]
274pub trait IPhaseMethods: IPhase {
275    #[doc = "`get_IsStandingDie()` overload"]
276    fn get_is_standing_die(self) -> bool {
277        unsafe {
278            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aa70usize)as*mut u8,bool;
280(Phase)__receiver)
281        }
282    }
283    #[doc = "`get_Prev()` overload"]
284    fn get_prev(self) -> crate::combat::phase::Phase {
285        unsafe {
286            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aa80usize)as*mut u8,crate::combat::phase::Phase;
288(Phase)__receiver)
289        }
290    }
291    #[doc = "`set_Prev(crate::combat::phase::Phase)` overload"]
292    fn set_prev(self, value: impl ::core::convert::Into<crate::combat::phase::Phase>) -> () {
293        unsafe {
294            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aa90usize)as*mut u8,();
296(Phase)__receiver,(crate::combat::phase::Phase)::core::convert::Into::into(value))
297        }
298    }
299    #[doc = "`get_Next()` overload"]
300    fn get_next(self) -> crate::combat::phase::Phase {
301        unsafe {
302            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aaa0usize)as*mut u8,crate::combat::phase::Phase;
304(Phase)__receiver)
305        }
306    }
307    #[doc = "`set_Next(crate::combat::phase::Phase)` overload"]
308    fn set_next(self, value: impl ::core::convert::Into<crate::combat::phase::Phase>) -> () {
309        unsafe {
310            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aab0usize)as*mut u8,();
312(Phase)__receiver,(crate::combat::phase::Phase)::core::convert::Into::into(value))
313        }
314    }
315    #[doc = "`MakePair(crate::combat::phase::Phase)` overload"]
316    fn make_pair(self, prev: impl ::core::convert::Into<crate::combat::phase::Phase>) -> () {
317        unsafe {
318            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aac0usize)as*mut u8,();
320(Phase)__receiver,(crate::combat::phase::Phase)::core::convert::Into::into(prev))
321        }
322    }
323    #[doc = "`get_IsCritical()` overload"]
324    fn get_is_critical(self) -> bool {
325        unsafe {
326            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ab00usize)as*mut u8,bool;
328(Phase)__receiver)
329        }
330    }
331    #[doc = "`get_DamageSide()` overload"]
332    fn get_damage_side(self) -> i32 {
333        unsafe {
334            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ab10usize)as*mut u8,i32;
336(Phase)__receiver)
337        }
338    }
339    #[doc = "`GetGuardSide()` overload"]
340    fn get_guard_side(self) -> i32 {
341        unsafe {
342            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ab20usize)as*mut u8,i32;
344(Phase)__receiver)
345        }
346    }
347    #[doc = "`IsDeadSomeone()` overload"]
348    fn is_dead_someone(self) -> bool {
349        unsafe {
350            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351            ::unity::il2cpp_call!((::unity::module_base()+0x1f2abe0usize)as*mut u8,bool;
352(Phase)__receiver)
353        }
354    }
355    #[doc = "`FindDieSide()` overload"]
356    fn find_die_side(self) -> i32 {
357        unsafe {
358            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ac70usize)as*mut u8,i32;
360(Phase)__receiver)
361        }
362    }
363    #[doc = "`IsDeadDamager()` overload"]
364    fn is_dead_damager(self) -> bool {
365        unsafe {
366            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ad80usize)as*mut u8,bool;
368(Phase)__receiver)
369        }
370    }
371    #[doc = "`IsDead(i32)` overload"]
372    fn is_dead(self, side: impl ::core::convert::Into<i32>) -> bool {
373        unsafe {
374            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
375            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ad10usize)as*mut u8,bool;
376(Phase)__receiver,(i32)::core::convert::Into::into(side))
377        }
378    }
379    #[doc = "`IsSelfDamage()` overload"]
380    fn is_self_damage(self) -> bool {
381        unsafe {
382            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
383            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ae10usize)as*mut u8,bool;
384(Phase)__receiver)
385        }
386    }
387    #[doc = "`IsSuicide()` overload"]
388    fn is_suicide(self) -> bool {
389        unsafe {
390            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391            ::unity::il2cpp_call!((::unity::module_base()+0x1f2ae80usize)as*mut u8,bool;
392(Phase)__receiver)
393        }
394    }
395    #[doc = "`IsHeal()` overload"]
396    fn is_heal(self) -> bool {
397        unsafe {
398            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
399            ::unity::il2cpp_call!((::unity::module_base()+0x1f2aef0usize)as*mut u8,bool;
400(Phase)__receiver)
401        }
402    }
403    #[doc = "`get_DamageRatio()` overload"]
404    fn get_damage_ratio(self) -> f32 {
405        unsafe {
406            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407            ::unity::il2cpp_call!((::unity::module_base()+0x1f2af00usize)as*mut u8,f32;
408(Phase)__receiver)
409        }
410    }
411    #[doc = "`set_DamageRatio(f32)` overload"]
412    fn set_damage_ratio(self, value: impl ::core::convert::Into<f32>) -> () {
413        unsafe {
414            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415            ::unity::il2cpp_call!((::unity::module_base()+0x1f2afd0usize)as*mut u8,();
416(Phase)__receiver,(f32)::core::convert::Into::into(value))
417        }
418    }
419    #[doc = "`get_DamageEffectLevel()` overload"]
420    fn get_damage_effect_level(self) -> i32 {
421        unsafe {
422            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b070usize)as*mut u8,i32;
424(Phase)__receiver)
425        }
426    }
427    #[doc = "`get_IsDamageHigh()` overload"]
428    fn get_is_damage_high(self) -> bool {
429        unsafe {
430            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b0c0usize)as*mut u8,bool;
432(Phase)__receiver)
433        }
434    }
435    #[doc = "`get_PrevContinuousAttack()` overload"]
436    fn get_prev_continuous_attack(self) -> i32 {
437        unsafe {
438            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b1f0usize)as*mut u8,i32;
440(Phase)__receiver)
441        }
442    }
443    #[doc = "`get_PrevContinuousDamage()` overload"]
444    fn get_prev_continuous_damage(self) -> i32 {
445        unsafe {
446            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b220usize)as*mut u8,i32;
448(Phase)__receiver)
449        }
450    }
451    #[doc = "`get_IsComboFromPrev()` overload"]
452    fn get_is_combo_from_prev(self) -> bool {
453        unsafe {
454            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b250usize)as*mut u8,bool;
456(Phase)__receiver)
457        }
458    }
459    #[doc = "`get_IsComboToNext()` overload"]
460    fn get_is_combo_to_next(self) -> bool {
461        unsafe {
462            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b280usize)as*mut u8,bool;
464(Phase)__receiver)
465        }
466    }
467    #[doc = "`get_IsFirstAttack()` overload"]
468    fn get_is_first_attack(self) -> bool {
469        unsafe {
470            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b2b0usize)as*mut u8,bool;
472(Phase)__receiver)
473        }
474    }
475    #[doc = "`get_IsLastAttack()` overload"]
476    fn get_is_last_attack(self) -> bool {
477        unsafe {
478            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b2c0usize)as*mut u8,bool;
480(Phase)__receiver)
481        }
482    }
483    #[doc = "`get_IsPlayerSideAttack()` overload"]
484    fn get_is_player_side_attack(self) -> bool {
485        unsafe {
486            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
487            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b2d0usize)as*mut u8,bool;
488(Phase)__receiver)
489        }
490    }
491    #[doc = "`get_IsEnemySideAttack()` overload"]
492    fn get_is_enemy_side_attack(self) -> bool {
493        unsafe {
494            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
495            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b2e0usize)as*mut u8,bool;
496(Phase)__receiver)
497        }
498    }
499    #[doc = "`get_Attacker()` overload"]
500    fn get_attacker(self) -> crate::combat::character::Character {
501        unsafe {
502            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
503            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b2f0usize)as*mut u8,crate::combat::character::Character;
504(Phase)__receiver)
505        }
506    }
507    #[doc = "`get_Damager()` overload"]
508    fn get_damager(self) -> crate::combat::character::Character {
509        unsafe {
510            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
511            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b3b0usize)as*mut u8,crate::combat::character::Character;
512(Phase)__receiver)
513        }
514    }
515    #[doc = "`get_ChainAttackCount()` overload"]
516    fn get_chain_attack_count(self) -> i32 {
517        unsafe {
518            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
519            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b470usize)as*mut u8,i32;
520(Phase)__receiver)
521        }
522    }
523    #[doc = "`.ctor()` overload"]
524    fn ctor(self) -> () {
525        unsafe {
526            let __receiver = <Phase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
527            ::unity::il2cpp_call!((::unity::module_base()+0x1f2b4f0usize)as*mut u8,();
528(Phase)__receiver)
529        }
530    }
531}
532
533#[cfg(feature = "combat-phase")]
534impl<__T: IPhase> IPhaseMethods for __T {}
535
536#[cfg(feature = "combat-phase")]
537impl Phase {
538    pub fn op_implicit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
539        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
540    }
541
542    pub fn get_null_method_info() -> &'static ::unity::il2cpp::MethodInfo {
543        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
544    }
545
546    pub fn get_is_standing_die_method_info() -> &'static ::unity::il2cpp::MethodInfo {
547        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
548    }
549
550    pub fn get_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
551        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
552    }
553
554    pub fn set_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
555        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
556    }
557
558    pub fn get_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
559        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
560    }
561
562    pub fn set_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
563        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
564    }
565
566    pub fn make_pair_method_info() -> &'static ::unity::il2cpp::MethodInfo {
567        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
568    }
569
570    pub fn get_is_critical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
571        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
572    }
573
574    pub fn get_damage_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
575        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
576    }
577
578    pub fn get_guard_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
579        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
580    }
581
582    pub fn is_dead_someone_method_info() -> &'static ::unity::il2cpp::MethodInfo {
583        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
584    }
585
586    pub fn find_die_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
587        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
588    }
589
590    pub fn is_dead_damager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
591        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
592    }
593
594    pub fn is_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
595        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
596    }
597
598    pub fn is_self_damage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
599        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
600    }
601
602    pub fn is_suicide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
603        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
604    }
605
606    pub fn is_heal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
607        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
608    }
609
610    pub fn get_damage_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
611        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
612    }
613
614    pub fn set_damage_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
615        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
616    }
617
618    pub fn get_damage_effect_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
619        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
620    }
621
622    pub fn get_is_damage_high_method_info() -> &'static ::unity::il2cpp::MethodInfo {
623        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
624    }
625
626    pub fn get_prev_continuous_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
627        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
628    }
629
630    pub fn get_prev_continuous_damage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
631        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
632    }
633
634    pub fn get_is_combo_from_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
635        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
636    }
637
638    pub fn get_is_combo_to_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
639        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
640    }
641
642    pub fn get_is_first_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
643        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
644    }
645
646    pub fn get_is_last_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
647        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
648    }
649
650    pub fn get_is_player_side_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
651        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
652    }
653
654    pub fn get_is_enemy_side_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
655        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
656    }
657
658    pub fn get_attacker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
659        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
660    }
661
662    pub fn get_damager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
663        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
664    }
665
666    pub fn get_chain_attack_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
667        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
668    }
669
670    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
671        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
672    }
673
674    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
675        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
676    }
677}
678
679#[cfg(feature = "combat-phase")]
680impl Phase {
681    #[doc = "`.ctor()` — no args"]
682    pub fn new() -> Self {
683        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
684            panic!(
685                "{}
686::{}
687 failed to instantiate",
688                ::core::stringify!(Phase),
689                ::core::stringify!(new),
690            )
691        });
692        <Self as IPhaseMethods>::ctor(this);
693        this
694    }
695}
696
697#[cfg(feature = "combat-phase")]
698#[doc(hidden)]
699pub mod prelude {
700    pub use super::{IPhase, IPhaseMethods, Phase, Phase_Detail, Phase_HitType, Phase_Kind};
701    #[cfg(feature = "system-object")]
702    pub use crate::system::object::IObjectMethods;
703    #[cfg(feature = "system-enum")]
704    pub use crate::system::r#enum::IEnumMethods;
705    #[cfg(feature = "system-valuetype")]
706    pub use crate::system::valuetype::IValueTypeMethods;
707    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
708}