engage/generated/app/
sortieentrustprogress.rs1#[cfg(feature = "app-sortieentrustprogress-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortieentrustprogress/SortieEntrustProgress.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct SortieEntrustProgress {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for SortieEntrustProgress {
21 const NAME: &'static str = "SortieEntrustProgress";
22 const NAMESPACE: &'static str = "App";
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 SortieEntrustProgress {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl SortieEntrustProgress {
35 pub fn basic1() -> Self {
36 Self { value: 0 }
37 }
38
39 pub fn basic2() -> Self {
40 Self { value: 1 }
41 }
42
43 pub fn basic3() -> Self {
44 Self { value: 2 }
45 }
46
47 pub fn enhance_person() -> Self {
48 Self { value: 3 }
49 }
50
51 pub fn rod_low() -> Self {
52 Self { value: 4 }
53 }
54
55 pub fn rod_high() -> Self {
56 Self { value: 5 }
57 }
58
59 pub fn range1() -> Self {
60 Self { value: 6 }
61 }
62
63 pub fn range2() -> Self {
64 Self { value: 7 }
65 }
66
67 pub fn special1() -> Self {
68 Self { value: 8 }
69 }
70
71 pub fn special2() -> Self {
72 Self { value: 9 }
73 }
74
75 pub fn sub1() -> Self {
76 Self { value: 10 }
77 }
78
79 pub fn sub2() -> Self {
80 Self { value: 11 }
81 }
82
83 pub fn shield() -> Self {
84 Self { value: 12 }
85 }
86
87 pub fn accessory() -> Self {
88 Self { value: 13 }
89 }
90
91 pub fn enhance() -> Self {
92 Self { value: 14 }
93 }
94
95 pub fn vulnerary() -> Self {
96 Self { value: 15 }
97 }
98
99 pub fn end() -> Self {
100 Self { value: 16 }
101 }
102 }
103}
104
105#[cfg(feature = "app-sortieentrustprogress-types")]
106pub use __types::*;
107
108#[cfg(feature = "app-sortieentrustprogress")]
109#[doc(hidden)]
110pub mod prelude {
111 pub use super::SortieEntrustProgress;
112 #[cfg(feature = "system-object")]
113 pub use crate::system::object::IObjectMethods;
114 #[cfg(feature = "system-enum")]
115 pub use crate::system::r#enum::IEnumMethods;
116 #[cfg(feature = "system-valuetype")]
117 pub use crate::system::valuetype::IValueTypeMethods;
118 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
119}