Skip to main content

engage/generated/combat/
camerasituation.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-camerasituation-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/camerasituation/CameraSituation.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct CameraSituation {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for CameraSituation {
21        const NAME: &'static str = "CameraSituation";
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 CameraSituation {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl CameraSituation {
35        pub fn enter_approach() -> Self {
36            Self { value: 1 }
37        }
38
39        pub fn enter_attack() -> Self {
40            Self { value: 2 }
41        }
42
43        pub fn enter_damage() -> Self {
44            Self { value: 4 }
45        }
46
47        pub fn signal_start() -> Self {
48            Self { value: 16 }
49        }
50
51        pub fn signal_stop() -> Self {
52            Self { value: 32 }
53        }
54
55        pub fn skill_start() -> Self {
56            Self { value: 64 }
57        }
58
59        pub fn skill_stop() -> Self {
60            Self { value: 128 }
61        }
62
63        pub fn chain_attack() -> Self {
64            Self { value: 1024 }
65        }
66
67        pub fn chain_guard() -> Self {
68            Self { value: 2048 }
69        }
70
71        pub fn dragon_change() -> Self {
72            Self { value: 65536 }
73        }
74
75        pub fn begin_chase_arrow() -> Self {
76            Self { value: 131072 }
77        }
78
79        pub fn dead_player() -> Self {
80            Self { value: 1048576 }
81        }
82
83        pub fn dead_boss() -> Self {
84            Self { value: 2097152 }
85        }
86
87        pub fn combat_begin() -> Self {
88            Self { value: 16777216 }
89        }
90
91        pub fn combat_end() -> Self {
92            Self { value: 67108864 }
93        }
94
95        pub fn level_up() -> Self {
96            Self { value: 134217728 }
97        }
98
99        pub fn long_combat() -> Self {
100            Self { value: 536870912 }
101        }
102
103        pub fn unusable() -> Self {
104            Self { value: 1073741824 }
105        }
106
107        pub fn directly() -> Self {
108            Self { value: -2147483648 }
109        }
110
111        pub fn fin_interrupt() -> Self {
112            Self { value: 160 }
113        }
114    }
115}
116
117#[cfg(feature = "combat-camerasituation-types")]
118pub use __types::*;
119
120#[cfg(feature = "combat-camerasituation")]
121#[doc(hidden)]
122pub mod prelude {
123    pub use super::CameraSituation;
124    #[cfg(feature = "system-object")]
125    pub use crate::system::object::IObjectMethods;
126    #[cfg(feature = "system-enum")]
127    pub use crate::system::r#enum::IEnumMethods;
128    #[cfg(feature = "system-valuetype")]
129    pub use crate::system::valuetype::IValueTypeMethods;
130    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
131}