engage/generated/combat/combat_viewer_ex_methods/
acts2i.rs1#[cfg(feature = "combat-combat_viewer_ex_methods-acts2i-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/combat/combat_viewer_ex_methods/acts2i/ActS2I.md"))]
11 #[::unity::class(namespace = "Combat.CombatViewerExMethods", name = "ActS2I")]
12 #[parent(crate::system::object::Object)]
13 pub struct ActS2I {
14 #[static_field]
15 #[rename(name = "items")]
16 pub items: ::unity::Array<::unity::Il2CppString>,
17 #[static_field]
18 #[rename(name = "hashes")]
19 pub hashes: ::unity::Array<i32>,
20 }
21}
22
23#[cfg(feature = "combat-combat_viewer_ex_methods-acts2i-types")]
24pub use __types::*;
25
26#[cfg(feature = "combat-combat_viewer_ex_methods-acts2i")]
27impl ActS2I {
28 #[doc = "`get_Popup()` overload"]
29 pub fn get_popup() -> ::unity::Array<::unity::Il2CppString> {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x27d1e80usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
32 )
33 }
34 }
35
36 #[doc = "`ToTableIndex(::unity::Il2CppString)` overload"]
37 pub fn to_table_index(name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x27d1ef0usize)as*mut u8,i32;
40(::unity::Il2CppString)::core::convert::Into::into(name))
41 }
42 }
43
44 #[doc = "`ToName(i32)` overload"]
45 pub fn to_name(i: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
46 unsafe {
47 ::unity::il2cpp_call!((::unity::module_base()+0x27d1fe0usize)as*mut u8, ::unity::Il2CppString;
48(i32)::core::convert::Into::into(i))
49 }
50 }
51
52 #[doc = "`ToHash(::unity::Il2CppString)` overload"]
53 pub fn to_hash(name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
54 unsafe {
55 ::unity::il2cpp_call!((::unity::module_base()+0x27d20c0usize)as*mut u8,i32;
56(::unity::Il2CppString)::core::convert::Into::into(name))
57 }
58 }
59
60 #[doc = "`IsEnd(::unity::Il2CppString)` overload"]
61 pub fn is_end(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
62 unsafe {
63 ::unity::il2cpp_call!((::unity::module_base()+0x27d21a0usize)as*mut u8,bool;
64(::unity::Il2CppString)::core::convert::Into::into(s))
65 }
66 }
67
68 #[doc = "`IsChainAttack(::unity::Il2CppString)` overload"]
69 pub fn is_chain_attack(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
70 unsafe {
71 ::unity::il2cpp_call!((::unity::module_base()+0x27d2260usize)as*mut u8,bool;
72(::unity::Il2CppString)::core::convert::Into::into(s))
73 }
74 }
75
76 #[doc = "`IsAttack(::unity::Il2CppString)` overload"]
77 pub fn is_attack(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
78 unsafe {
79 ::unity::il2cpp_call!((::unity::module_base()+0x27d22c0usize)as*mut u8,bool;
80(::unity::Il2CppString)::core::convert::Into::into(s))
81 }
82 }
83
84 #[doc = "`HasWild(::unity::Il2CppString)` overload"]
85 pub fn has_wild(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
86 unsafe {
87 ::unity::il2cpp_call!((::unity::module_base()+0x27d2350usize)as*mut u8,bool;
88(::unity::Il2CppString)::core::convert::Into::into(s))
89 }
90 }
91
92 #[doc = "`IsDamage(::unity::Il2CppString)` overload"]
93 pub fn is_damage(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
94 unsafe {
95 ::unity::il2cpp_call!((::unity::module_base()+0x27d23b0usize)as*mut u8,bool;
96(::unity::Il2CppString)::core::convert::Into::into(s))
97 }
98 }
99
100 #[doc = "`IsEvade(::unity::Il2CppString)` overload"]
101 pub fn is_evade(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
102 unsafe {
103 ::unity::il2cpp_call!((::unity::module_base()+0x27d2410usize)as*mut u8,bool;
104(::unity::Il2CppString)::core::convert::Into::into(s))
105 }
106 }
107
108 #[doc = "`IsGuard(::unity::Il2CppString)` overload"]
109 pub fn is_guard(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
110 unsafe {
111 ::unity::il2cpp_call!((::unity::module_base()+0x27d2470usize)as*mut u8,bool;
112(::unity::Il2CppString)::core::convert::Into::into(s))
113 }
114 }
115
116 #[doc = "`IsParry(::unity::Il2CppString)` overload"]
117 pub fn is_parry(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
118 unsafe {
119 ::unity::il2cpp_call!((::unity::module_base()+0x27d24d0usize)as*mut u8,bool;
120(::unity::Il2CppString)::core::convert::Into::into(s))
121 }
122 }
123
124 #[doc = "`IsDie(::unity::Il2CppString)` overload"]
125 pub fn is_die(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
126 unsafe {
127 ::unity::il2cpp_call!((::unity::module_base()+0x27d2530usize)as*mut u8,bool;
128(::unity::Il2CppString)::core::convert::Into::into(s))
129 }
130 }
131
132 #[doc = "`IsSkill(::unity::Il2CppString)` overload"]
133 pub fn is_skill(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
134 unsafe {
135 ::unity::il2cpp_call!((::unity::module_base()+0x27d2590usize)as*mut u8,bool;
136(::unity::Il2CppString)::core::convert::Into::into(s))
137 }
138 }
139
140 #[doc = "`SkillName(::unity::Il2CppString)` overload"]
141 pub fn skill_name(s: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
142 unsafe {
143 ::unity::il2cpp_call!((::unity::module_base()+0x27d25f0usize)as*mut u8, ::unity::Il2CppString;
144(::unity::Il2CppString)::core::convert::Into::into(s))
145 }
146 }
147
148 #[doc = "`IsDamageGroup(::unity::Il2CppString)` overload"]
149 pub fn is_damage_group(s: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
150 unsafe {
151 ::unity::il2cpp_call!((::unity::module_base()+0x27d2660usize)as*mut u8,bool;
152(::unity::Il2CppString)::core::convert::Into::into(s))
153 }
154 }
155
156 #[doc = "`.cctor()` overload"]
157 pub fn cctor() -> () {
158 unsafe {
159 ::unity::il2cpp_call!((::unity::module_base()+0x27d2860usize)as*mut u8,();
160 )
161 }
162 }
163}
164
165#[cfg(feature = "combat-combat_viewer_ex_methods-acts2i")]
166impl ActS2I {
167 pub fn get_popup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
169 }
170
171 pub fn to_table_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
173 }
174
175 pub fn to_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
177 }
178
179 pub fn to_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
181 }
182
183 pub fn is_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
185 }
186
187 pub fn is_chain_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
189 }
190
191 pub fn is_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
193 }
194
195 pub fn has_wild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
197 }
198
199 pub fn is_damage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
201 }
202
203 pub fn is_evade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
205 }
206
207 pub fn is_guard_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
209 }
210
211 pub fn is_parry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
213 }
214
215 pub fn is_die_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
217 }
218
219 pub fn is_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
221 }
222
223 pub fn skill_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
225 }
226
227 pub fn is_damage_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
229 }
230
231 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
233 }
234}
235
236#[cfg(feature = "combat-combat_viewer_ex_methods-acts2i")]
237#[doc(hidden)]
238pub mod prelude {
239 pub use super::{ActS2I, IActS2I};
240 pub use crate::system::object::IObject;
241 #[cfg(feature = "system-object")]
242 pub use crate::system::object::IObjectMethods;
243}