Skip to main content

engage/generated/combat/
combatstyle.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-combatstyle-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/combatstyle/CombatStyle.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct CombatStyle {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for CombatStyle {
21        const NAME: &'static str = "CombatStyle";
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 CombatStyle {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl CombatStyle {
35        pub fn pre_talk() -> Self {
36            Self { value: 1 }
37        }
38
39        pub fn die_talk() -> Self {
40            Self { value: 2 }
41        }
42
43        pub fn get_exp() -> Self {
44            Self { value: 4 }
45        }
46
47        pub fn level_up() -> Self {
48            Self { value: 8 }
49        }
50
51        pub fn standing_die() -> Self {
52            Self { value: 16 }
53        }
54
55        pub fn brawl() -> Self {
56            Self { value: 256 }
57        }
58
59        pub fn shoot() -> Self {
60            Self { value: 512 }
61        }
62
63        pub fn sky() -> Self {
64            Self { value: 2048 }
65        }
66
67        pub fn dive() -> Self {
68            Self { value: 8192 }
69        }
70
71        pub fn run_start() -> Self {
72            Self { value: 16384 }
73        }
74
75        pub fn fortress() -> Self {
76            Self { value: 32768 }
77        }
78
79        pub fn crosscut() -> Self {
80            Self { value: 65536 }
81        }
82
83        pub fn chase_arrow() -> Self {
84            Self { value: 131072 }
85        }
86
87        pub fn chain_attack() -> Self {
88            Self { value: 262144 }
89        }
90
91        pub fn chain_guard() -> Self {
92            Self { value: 524288 }
93        }
94
95        pub fn last_boss() -> Self {
96            Self { value: 2097152 }
97        }
98
99        pub fn dragon_change() -> Self {
100            Self { value: 4194304 }
101        }
102
103        pub fn full_bullet() -> Self {
104            Self { value: 8388608 }
105        }
106
107        pub fn rescue_draw() -> Self {
108            Self { value: 16777216 }
109        }
110
111        pub fn cannon() -> Self {
112            Self { value: 33554432 }
113        }
114
115        pub fn rod() -> Self {
116            Self { value: 67108864 }
117        }
118
119        pub fn dance() -> Self {
120            Self { value: 134217728 }
121        }
122
123        pub fn engage_attack() -> Self {
124            Self { value: 268435456 }
125        }
126
127        pub fn job_intro() -> Self {
128            Self { value: 536870912 }
129        }
130
131        pub fn training() -> Self {
132            Self { value: 1073741824 }
133        }
134
135        pub fn eternal() -> Self {
136            Self { value: -2147483648 }
137        }
138    }
139}
140
141#[cfg(feature = "combat-combatstyle-types")]
142pub use __types::*;
143
144#[cfg(feature = "combat-combatstyle")]
145#[doc(hidden)]
146pub mod prelude {
147    pub use super::CombatStyle;
148    #[cfg(feature = "system-object")]
149    pub use crate::system::object::IObjectMethods;
150    #[cfg(feature = "system-enum")]
151    pub use crate::system::r#enum::IEnumMethods;
152    #[cfg(feature = "system-valuetype")]
153    pub use crate::system::valuetype::IValueTypeMethods;
154    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
155}