engage/generated/app/
unitlistformapcombatviewer.rs1#[cfg(feature = "app-unitlistformapcombatviewer-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitlistformapcombatviewer/UnitListForMapCombatViewer.md"))]
11 #[::unity::class(namespace = "App", name = "UnitListForMapCombatViewer")]
12 #[parent(crate::system::object::Object)]
13 pub struct UnitListForMapCombatViewer {}
14}
15
16#[cfg(feature = "app-unitlistformapcombatviewer-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-unitlistformapcombatviewer")]
20impl UnitListForMapCombatViewer {
21 #[doc = "`get_UnitNameWithoutNone()` overload"]
22 pub fn get_unit_name_without_none() -> ::unity::Array<::unity::Il2CppString> {
23 unsafe {
24 ::unity::il2cpp_call!((::unity::module_base()+0x1fb9e50usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
25 )
26 }
27 }
28
29 #[doc = "`set_UnitNameWithoutNone(::unity::Array<::unity::Il2CppString>)` overload"]
30 pub fn set_unit_name_without_none(value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
31 unsafe {
32 ::unity::il2cpp_call!((::unity::module_base()+0x1fb9ea0usize)as*mut u8,();
33(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
34 }
35 }
36
37 #[doc = "`get_UnitName()` overload"]
38 pub fn get_unit_name() -> ::unity::Array<::unity::Il2CppString> {
39 unsafe {
40 ::unity::il2cpp_call!((::unity::module_base()+0x1fb9f00usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
41 )
42 }
43 }
44
45 #[doc = "`set_UnitName(::unity::Array<::unity::Il2CppString>)` overload"]
46 pub fn set_unit_name(value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
47 unsafe {
48 ::unity::il2cpp_call!((::unity::module_base()+0x1fb9f50usize)as*mut u8,();
49(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
50 }
51 }
52
53 #[doc = "`get_EmblemName()` overload"]
54 pub fn get_emblem_name() -> ::unity::Array<::unity::Il2CppString> {
55 unsafe {
56 ::unity::il2cpp_call!((::unity::module_base()+0x1fb9fb0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
57 )
58 }
59 }
60
61 #[doc = "`set_EmblemName(::unity::Array<::unity::Il2CppString>)` overload"]
62 pub fn set_emblem_name(value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
63 unsafe {
64 ::unity::il2cpp_call!((::unity::module_base()+0x1fba000usize)as*mut u8,();
65(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
66 }
67 }
68
69 #[doc = "`Initialize()` overload"]
70 pub fn initialize() -> () {
71 unsafe {
72 ::unity::il2cpp_call!((::unity::module_base()+0x1fba060usize)as*mut u8,();
73 )
74 }
75 }
76
77 #[doc = "`Pid2DispName(::unity::Il2CppString)` overload"]
78 pub fn pid2_disp_name(pid: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x1fba690usize)as*mut u8, ::unity::Il2CppString;
81(::unity::Il2CppString)::core::convert::Into::into(pid))
82 }
83 }
84
85 #[doc = "`DispNameToPid(::unity::Il2CppString)` overload"]
86 pub fn disp_name_to_pid(disp_name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
87 unsafe {
88 ::unity::il2cpp_call!((::unity::module_base()+0x1fbaa00usize)as*mut u8, ::unity::Il2CppString;
89(::unity::Il2CppString)::core::convert::Into::into(disp_name))
90 }
91 }
92}
93
94#[cfg(feature = "app-unitlistformapcombatviewer")]
95impl UnitListForMapCombatViewer {
96 pub fn get_unit_name_without_none_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
98 }
99
100 pub fn set_unit_name_without_none_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
102 }
103
104 pub fn get_unit_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
106 }
107
108 pub fn set_unit_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
109 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
110 }
111
112 pub fn get_emblem_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
113 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
114 }
115
116 pub fn set_emblem_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
117 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
118 }
119
120 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
122 }
123
124 pub fn pid2_disp_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
125 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
126 }
127
128 pub fn disp_name_to_pid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
130 }
131}
132
133#[cfg(feature = "app-unitlistformapcombatviewer")]
134#[doc(hidden)]
135pub mod prelude {
136 pub use super::{IUnitListForMapCombatViewer, UnitListForMapCombatViewer};
137 pub use crate::system::object::IObject;
138 #[cfg(feature = "system-object")]
139 pub use crate::system::object::IObjectMethods;
140}