1#[cfg(feature = "app-unitinfoparamsetter-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 r#enum::{Enum, IEnum},
12 valuetype::{IValueType, ValueType},
13 },
14 unity_engine::{
15 behaviour::{Behaviour, IBehaviour},
16 component::{Component, IComponent},
17 monobehaviour::{IMonoBehaviour, MonoBehaviour},
18 object_2::{IObject_2, Object_2},
19 },
20 };
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfoparamsetter/UnitInfoParamSetter_HPStockType.md"))]
23 #[repr(C)]
24 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25 pub struct UnitInfoParamSetter_HPStockType {
26 pub value: i32,
27 }
28 impl ::unity::ClassIdentity for UnitInfoParamSetter_HPStockType {
29 const NAME: &'static str = "UnitInfoParamSetter.HPStockType";
30 const NAMESPACE: &'static str = "App";
31
32 fn class() -> ::unity::Class {
33 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35 }
36 }
37 impl ::unity::IlType for UnitInfoParamSetter_HPStockType {
38 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40 }
41 }
42 impl UnitInfoParamSetter_HPStockType {
43 pub fn normal() -> Self {
44 Self { value: 0 }
45 }
46
47 pub fn rampage() -> Self {
48 Self { value: 1 }
49 }
50
51 pub fn player() -> Self {
52 Self { value: 2 }
53 }
54
55 pub fn count() -> Self {
56 Self { value: 3 }
57 }
58 }
59
60 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfoparamsetter/UnitInfoParamSetter_WdwType.md"))]
61 #[repr(C)]
62 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
63 pub struct UnitInfoParamSetter_WdwType {
64 pub value: i32,
65 }
66 impl ::unity::ClassIdentity for UnitInfoParamSetter_WdwType {
67 const NAME: &'static str = "UnitInfoParamSetter.WdwType";
68 const NAMESPACE: &'static str = "App";
69
70 fn class() -> ::unity::Class {
71 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
72 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
73 }
74 }
75 impl ::unity::IlType for UnitInfoParamSetter_WdwType {
76 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
77 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
78 }
79 }
80 impl UnitInfoParamSetter_WdwType {
81 pub fn default() -> Self {
82 Self { value: 0 }
83 }
84
85 pub fn synchro_blue() -> Self {
86 Self { value: 1 }
87 }
88
89 pub fn synchro_red() -> Self {
90 Self { value: 2 }
91 }
92
93 pub fn synchro_green() -> Self {
94 Self { value: 3 }
95 }
96
97 pub fn engage_blue() -> Self {
98 Self { value: 4 }
99 }
100
101 pub fn engage_red() -> Self {
102 Self { value: 5 }
103 }
104
105 pub fn synchro_yellow() -> Self {
106 Self { value: 6 }
107 }
108
109 pub fn count() -> Self {
110 Self { value: 7 }
111 }
112 }
113
114 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfoparamsetter/UnitInfoParamSetter.md"))]
115 #[::unity::class(namespace = "App", name = "UnitInfoParamSetter")]
116 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
117 pub struct UnitInfoParamSetter {
118 #[offset(24)]
119 #[rename(name = "m_SubInfo")]
120 pub m_sub_info: crate::unity_engine::gameobject::GameObject,
121 #[offset(32)]
122 #[rename(name = "m_IsSimpleUI")]
123 pub m_is_simple_ui: bool,
124 #[offset(40)]
125 #[rename(name = "m_FrameImage")]
126 pub m_frame_image: crate::unity_engine::ui::image::Image,
127 #[offset(48)]
128 #[rename(name = "m_WdwImage")]
129 pub m_wdw_image: crate::unity_engine::ui::image::Image,
130 #[offset(56)]
131 #[rename(name = "m_ForceSprites")]
132 pub m_force_sprites: ::unity::Array<crate::unity_engine::sprite::Sprite>,
133 #[offset(64)]
134 #[rename(name = "m_WdwSprites")]
135 pub m_wdw_sprites: ::unity::Array<crate::unity_engine::sprite::Sprite>,
136 #[offset(72)]
137 #[rename(name = "m_GodBuffSprites")]
138 pub m_god_buff_sprites: ::unity::Array<crate::unity_engine::sprite::Sprite>,
139 #[offset(80)]
140 #[rename(name = "m_HpStockSprites")]
141 pub m_hp_stock_sprites: ::unity::Array<crate::unity_engine::sprite::Sprite>,
142 #[offset(88)]
143 #[rename(name = "m_UnitIcon")]
144 pub m_unit_icon: crate::unity_engine::gameobject::GameObject,
145 #[offset(96)]
146 #[rename(name = "m_GodIcon")]
147 pub m_god_icon: crate::unity_engine::gameobject::GameObject,
148 #[offset(104)]
149 #[rename(name = "m_CharaName")]
150 pub m_chara_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
151 #[offset(112)]
152 #[rename(name = "m_JobName")]
153 pub m_job_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
154 #[offset(120)]
155 #[rename(name = "m_BattleStyleName")]
156 pub m_battle_style_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
157 #[offset(128)]
158 #[rename(name = "m_GodNameRoot")]
159 pub m_god_name_root: crate::unity_engine::gameobject::GameObject,
160 #[offset(136)]
161 #[rename(name = "m_GodName")]
162 pub m_god_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
163 #[offset(144)]
164 #[rename(name = "m_BondInfoRoot")]
165 pub m_bond_info_root: crate::unity_engine::gameobject::GameObject,
166 #[offset(152)]
167 #[rename(name = "m_BondLevelValue")]
168 pub m_bond_level_value: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
169 #[offset(160)]
170 #[rename(name = "m_BondLevelGauge")]
171 pub m_bond_level_gauge: crate::unity_engine::gameobject::GameObject,
172 #[offset(168)]
173 #[rename(name = "m_Enchant")]
174 pub m_enchant: crate::unity_engine::gameobject::GameObject,
175 #[offset(176)]
176 #[rename(name = "m_Level")]
177 pub m_level: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
178 #[offset(184)]
179 #[rename(name = "m_GodBuffLevel")]
180 pub m_god_buff_level: crate::unity_engine::ui::image::Image,
181 #[offset(192)]
182 #[rename(name = "m_GaugeExp")]
183 pub m_gauge_exp: crate::unity_engine::gameobject::GameObject,
184 #[offset(200)]
185 #[rename(name = "m_MaxHp")]
186 pub m_max_hp: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
187 #[offset(208)]
188 #[rename(name = "m_Hp")]
189 pub m_hp: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
190 #[offset(216)]
191 #[rename(name = "m_GodBuffHp")]
192 pub m_god_buff_hp: crate::unity_engine::ui::image::Image,
193 #[offset(224)]
194 #[rename(name = "m_HpStockRoot")]
195 pub m_hp_stock_root: crate::unity_engine::gameobject::GameObject,
196 #[offset(232)]
197 #[rename(name = "m_HpStock")]
198 pub m_hp_stock: ::unity::Array<crate::unity_engine::ui::image::Image>,
199 #[offset(240)]
200 #[rename(name = "m_Move")]
201 pub m_move: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
202 #[offset(248)]
203 #[rename(name = "m_GodBuffMove")]
204 pub m_god_buff_move: crate::unity_engine::ui::image::Image,
205 #[offset(256)]
206 #[rename(name = "m_TitleBtlAtk")]
207 pub m_title_btl_atk: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
208 #[offset(264)]
209 #[rename(name = "m_BtlAtk")]
210 pub m_btl_atk: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
211 #[offset(272)]
212 #[rename(name = "m_GodBuffAtk")]
213 pub m_god_buff_atk: crate::unity_engine::ui::image::Image,
214 #[offset(280)]
215 #[rename(name = "m_BtlHit")]
216 pub m_btl_hit: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
217 #[offset(288)]
218 #[rename(name = "m_GodBuffHit")]
219 pub m_god_buff_hit: crate::unity_engine::ui::image::Image,
220 #[offset(296)]
221 #[rename(name = "m_BtlSpd")]
222 pub m_btl_spd: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
223 #[offset(304)]
224 #[rename(name = "m_GodBuffSpd")]
225 pub m_god_buff_spd: crate::unity_engine::ui::image::Image,
226 #[offset(312)]
227 #[rename(name = "m_BtlAvo")]
228 pub m_btl_avo: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
229 #[offset(320)]
230 #[rename(name = "m_GodBuffAvo")]
231 pub m_god_buff_avo: crate::unity_engine::ui::image::Image,
232 #[offset(328)]
233 #[rename(name = "m_BtlDef")]
234 pub m_btl_def: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
235 #[offset(336)]
236 #[rename(name = "m_GodBuffDef")]
237 pub m_god_buff_def: crate::unity_engine::ui::image::Image,
238 #[offset(344)]
239 #[rename(name = "m_BtlRes")]
240 pub m_btl_res: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
241 #[offset(352)]
242 #[rename(name = "m_GodBuffRes")]
243 pub m_god_buff_res: crate::unity_engine::ui::image::Image,
244 #[offset(360)]
245 #[rename(name = "m_ItemName")]
246 pub m_item_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
247 #[offset(368)]
248 #[rename(name = "m_Items")]
249 pub m_items: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
250 #[offset(376)]
251 #[rename(name = "m_Frames")]
252 pub m_frames: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
253 #[static_field]
254 #[rename(name = "EfficacyMax")]
255 pub efficacy_max: i32,
256 #[offset(384)]
257 #[rename(name = "m_EfficacyIcons")]
258 pub m_efficacy_icons: ::unity::Array<crate::unity_engine::ui::image::Image>,
259 #[static_field]
260 #[rename(name = "SkillMax")]
261 pub skill_max: i32,
262 #[offset(392)]
263 #[rename(name = "m_SkillIcons")]
264 pub m_skill_icons: ::unity::Array<crate::unity_engine::ui::image::Image>,
265 #[offset(400)]
266 #[rename(name = "m_RelayNameRoot")]
267 pub m_relay_name_root: crate::unity_engine::gameobject::GameObject,
268 #[offset(408)]
269 #[rename(name = "m_RelayName")]
270 pub m_relay_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
271 }
272
273 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfoparamsetter/UnitInfoParamSetter_ForceType.md"))]
274 #[repr(C)]
275 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
276 pub struct UnitInfoParamSetter_ForceType {
277 pub value: i32,
278 }
279 impl ::unity::ClassIdentity for UnitInfoParamSetter_ForceType {
280 const NAME: &'static str = "UnitInfoParamSetter.ForceType";
281 const NAMESPACE: &'static str = "App";
282
283 fn class() -> ::unity::Class {
284 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
285 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
286 }
287 }
288 impl ::unity::IlType for UnitInfoParamSetter_ForceType {
289 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
290 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
291 }
292 }
293 impl UnitInfoParamSetter_ForceType {
294 pub fn player() -> Self {
295 Self { value: 0 }
296 }
297
298 pub fn enemy() -> Self {
299 Self { value: 1 }
300 }
301
302 pub fn ally() -> Self {
303 Self { value: 2 }
304 }
305
306 pub fn f4th() -> Self {
307 Self { value: 3 }
308 }
309
310 pub fn count() -> Self {
311 Self { value: 4 }
312 }
313 }
314
315 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfoparamsetter/UnitInfoParamSetter_GodBuffType.md"))]
316 #[repr(C)]
317 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
318 pub struct UnitInfoParamSetter_GodBuffType {
319 pub value: i32,
320 }
321 impl ::unity::ClassIdentity for UnitInfoParamSetter_GodBuffType {
322 const NAME: &'static str = "UnitInfoParamSetter.GodBuffType";
323 const NAMESPACE: &'static str = "App";
324
325 fn class() -> ::unity::Class {
326 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
327 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
328 }
329 }
330 impl ::unity::IlType for UnitInfoParamSetter_GodBuffType {
331 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
332 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
333 }
334 }
335 impl UnitInfoParamSetter_GodBuffType {
336 pub fn blue() -> Self {
337 Self { value: 0 }
338 }
339
340 pub fn red() -> Self {
341 Self { value: 1 }
342 }
343
344 pub fn count() -> Self {
345 Self { value: 2 }
346 }
347 }
348}
349
350#[cfg(feature = "app-unitinfoparamsetter-types")]
351pub use __types::*;
352
353#[cfg(feature = "app-unitinfoparamsetter")]
354impl UnitInfoParamSetter {
355 #[doc = "`GetEfficacySkill(crate::app::unit::Unit, i32)` overload"]
356 pub fn get_efficacy_skill(
357 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
358 icon_index: impl ::core::convert::Into<i32>,
359 ) -> crate::app::skilldata::SkillData {
360 unsafe {
361 ::unity::il2cpp_call!((::unity::module_base()+0x1f962c0usize)as*mut u8,crate::app::skilldata::SkillData;
362(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(icon_index))
363 }
364 }
365
366 #[doc = "`GetJobCategory(crate::app::unit::Unit, i32)` overload"]
367 pub fn get_job_category(
368 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
369 icon_index: impl ::core::convert::Into<i32>,
370 ) -> crate::app::skilldata::SkillData {
371 unsafe {
372 ::unity::il2cpp_call!((::unity::module_base()+0x1f9e700usize)as*mut u8,crate::app::skilldata::SkillData;
373(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(icon_index))
374 }
375 }
376}
377
378#[cfg(feature = "app-unitinfoparamsetter")]
379pub trait IUnitInfoParamSetterMethods: IUnitInfoParamSetter {
380 #[doc = "`SetTextColor(crate::tm_pro::textmeshprougui::TextMeshProUGUI, i32, bool)` overload"]
381 fn set_text_color(
382 self,
383 text: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
384 dir: impl ::core::convert::Into<i32>,
385 is_limit: impl ::core::convert::Into<bool>,
386 ) -> () {
387 unsafe {
388 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389 ::unity::il2cpp_call!((::unity::module_base()+0x1f93310usize)as*mut u8,();
390(UnitInfoParamSetter)__receiver,(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(text),(i32)::core::convert::Into::into(dir),(bool)::core::convert::Into::into(is_limit))
391 }
392 }
393 #[doc = "`SetGodBuff(crate::app::unit::Unit, crate::unity_engine::ui::image::Image, i32)` overload"]
394 fn set_god_buff(
395 self,
396 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
397 image: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>,
398 dir: impl ::core::convert::Into<i32>,
399 ) -> () {
400 unsafe {
401 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x1f934b0usize)as*mut u8,();
403(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::unity_engine::ui::image::Image)::core::convert::Into::into(image),(i32)::core::convert::Into::into(dir))
404 }
405 }
406 #[doc = "`SetParamText(crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::ui::image::Image, crate::app::unitinfoparammanager::UnitInfoParamManager_ValueType, ::unity::Il2CppString)` overload"]
407 fn set_param_text(
408 self,
409 text: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
410 god_buff_image: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>,
411 r#type: impl ::core::convert::Into<crate::app::unitinfoparammanager::UnitInfoParamManager_ValueType>,
412 ex_string: impl ::core::convert::Into<::unity::Il2CppString>,
413 ) -> () {
414 unsafe {
415 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 ::unity::il2cpp_call!((::unity::module_base()+0x1f93690usize)as*mut u8,();
417(UnitInfoParamSetter)__receiver,(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(text),(crate::unity_engine::ui::image::Image)::core::convert::Into::into(god_buff_image),(crate::app::unitinfoparammanager::UnitInfoParamManager_ValueType)::core::convert::Into::into(r#type),(::unity::Il2CppString)::core::convert::Into::into(ex_string))
418 }
419 }
420 #[doc = "`SetParamText(crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::ui::image::Image, crate::app::capabilitydefinition::CapabilityDefinition_Type)` overload"]
421 fn set_param_text_2(
422 self,
423 text: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
424 god_buff_image: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>,
425 r#type: impl ::core::convert::Into<crate::app::capabilitydefinition::CapabilityDefinition_Type>,
426 ) -> () {
427 unsafe {
428 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429 ::unity::il2cpp_call!((::unity::module_base()+0x1f93820usize)as*mut u8,();
430(UnitInfoParamSetter)__receiver,(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(text),(crate::unity_engine::ui::image::Image)::core::convert::Into::into(god_buff_image),(crate::app::capabilitydefinition::CapabilityDefinition_Type)::core::convert::Into::into(r#type))
431 }
432 }
433 #[doc = "`SetItemIcons(crate::app::unit::Unit)` overload"]
434 fn set_item_icons(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
435 unsafe {
436 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
437 ::unity::il2cpp_call!((::unity::module_base()+0x1f94a00usize)as*mut u8,();
438(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
439 }
440 }
441 #[doc = "`SetEfficacyIcons(crate::app::unit::Unit)` overload"]
442 fn set_efficacy_icons(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
443 unsafe {
444 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 ::unity::il2cpp_call!((::unity::module_base()+0x1f96160usize)as*mut u8,();
446(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
447 }
448 }
449 #[doc = "`SetSkillIcon(i32, crate::app::skilldata::SkillData, bool)` overload"]
450 fn set_skill_icon(
451 self,
452 icon_no: impl ::core::convert::Into<i32>,
453 skill: impl ::core::convert::Into<crate::app::skilldata::SkillData>,
454 is_active: impl ::core::convert::Into<bool>,
455 ) -> () {
456 unsafe {
457 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x1f9d050usize)as*mut u8,();
459(UnitInfoParamSetter)__receiver,(i32)::core::convert::Into::into(icon_no),(crate::app::skilldata::SkillData)::core::convert::Into::into(skill),(bool)::core::convert::Into::into(is_active))
460 }
461 }
462 #[doc = "`SetSkillIcons(crate::app::unit::Unit)` overload"]
463 fn set_skill_icons(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
464 unsafe {
465 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466 ::unity::il2cpp_call!((::unity::module_base()+0x1f9d1e0usize)as*mut u8,();
467(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
468 }
469 }
470 #[doc = "`SetUnit_Core(crate::app::unit::Unit, i32, i32, bool, crate::app::godunit::GodUnit)` overload"]
471 fn set_unit_core(
472 self,
473 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
474 x: impl ::core::convert::Into<i32>,
475 z: impl ::core::convert::Into<i32>,
476 b_select_god: impl ::core::convert::Into<bool>,
477 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
478 ) -> () {
479 unsafe {
480 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
481 ::unity::il2cpp_call!((::unity::module_base()+0x1f9d320usize)as*mut u8,();
482(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(bool)::core::convert::Into::into(b_select_god),(crate::app::godunit::GodUnit)::core::convert::Into::into(god))
483 }
484 }
485 #[doc = "`SetUnit(crate::app::unit::Unit, i32, i32)` overload"]
486 fn set_unit(
487 self,
488 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
489 x: impl ::core::convert::Into<i32>,
490 z: impl ::core::convert::Into<i32>,
491 ) -> () {
492 unsafe {
493 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494 ::unity::il2cpp_call!((::unity::module_base()+0x1f9e6e0usize)as*mut u8,();
495(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
496 }
497 }
498 #[doc = "`SetUnitSelectGod(crate::app::unit::Unit, i32, i32, crate::app::godunit::GodUnit)` overload"]
499 fn set_unit_select_god(
500 self,
501 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
502 x: impl ::core::convert::Into<i32>,
503 z: impl ::core::convert::Into<i32>,
504 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
505 ) -> () {
506 unsafe {
507 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508 ::unity::il2cpp_call!((::unity::module_base()+0x1f9e6f0usize)as*mut u8,();
509(UnitInfoParamSetter)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::godunit::GodUnit)::core::convert::Into::into(god))
510 }
511 }
512 #[doc = "`.ctor()` overload"]
513 fn ctor(self) -> () {
514 unsafe {
515 let __receiver = <UnitInfoParamSetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
516 ::unity::il2cpp_call!((::unity::module_base()+0x1f9ebe0usize)as*mut u8,();
517(UnitInfoParamSetter)__receiver)
518 }
519 }
520}
521
522#[cfg(feature = "app-unitinfoparamsetter")]
523impl<__T: IUnitInfoParamSetter> IUnitInfoParamSetterMethods for __T {}
524
525#[cfg(feature = "app-unitinfoparamsetter")]
526impl UnitInfoParamSetter {
527 pub fn set_text_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
529 }
530
531 pub fn set_god_buff_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
533 }
534
535 pub fn set_param_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
537 }
538
539 pub fn set_param_text_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
541 }
542
543 pub fn set_item_icons_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
545 }
546
547 pub fn set_efficacy_icons_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
549 }
550
551 pub fn set_skill_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
553 }
554
555 pub fn set_skill_icons_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
557 }
558
559 pub fn set_unit_core_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
561 }
562
563 pub fn set_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
565 }
566
567 pub fn set_unit_select_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
569 }
570
571 pub fn get_efficacy_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
572 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
573 }
574
575 pub fn get_job_category_method_info() -> &'static ::unity::il2cpp::MethodInfo {
576 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
577 }
578
579 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
581 }
582}
583
584#[cfg(feature = "app-unitinfoparamsetter")]
585impl UnitInfoParamSetter {
586 #[doc = "`.ctor()` — no args"]
587 pub fn new() -> Self {
588 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
589 panic!(
590 "{}
591::{}
592 failed to instantiate",
593 ::core::stringify!(UnitInfoParamSetter),
594 ::core::stringify!(new),
595 )
596 });
597 <Self as IUnitInfoParamSetterMethods>::ctor(this);
598 this
599 }
600}
601
602#[cfg(feature = "app-unitinfoparamsetter")]
603#[doc(hidden)]
604pub mod prelude {
605 pub use super::{
606 IUnitInfoParamSetter, IUnitInfoParamSetterMethods, UnitInfoParamSetter, UnitInfoParamSetter_ForceType, UnitInfoParamSetter_GodBuffType,
607 UnitInfoParamSetter_HPStockType, UnitInfoParamSetter_WdwType,
608 };
609 #[cfg(feature = "system-object")]
610 pub use crate::system::object::IObjectMethods;
611 #[cfg(feature = "system-enum")]
612 pub use crate::system::r#enum::IEnumMethods;
613 #[cfg(feature = "system-valuetype")]
614 pub use crate::system::valuetype::IValueTypeMethods;
615 #[cfg(feature = "unity_engine-behaviour")]
616 pub use crate::unity_engine::behaviour::IBehaviourMethods;
617 #[cfg(feature = "unity_engine-component")]
618 pub use crate::unity_engine::component::IComponentMethods;
619 #[cfg(feature = "unity_engine-monobehaviour")]
620 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
621 #[cfg(feature = "unity_engine-object_2")]
622 pub use crate::unity_engine::object_2::IObject_2Methods;
623 pub use crate::{
624 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
625 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
626 };
627}