1#[cfg(feature = "app-unitinfo-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12 },
13 system::{
14 object::{IObject, Object},
15 r#enum::{Enum, IEnum},
16 valuetype::{IValueType, ValueType},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfo/UnitInfo.md"))]
21 #[::unity::class(namespace = "App", name = "UnitInfo")]
22 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::unitinfo::UnitInfo>)]
23 pub struct UnitInfo {
24 #[static_field]
25 #[rename(name = "InvalidUnitXZ")]
26 pub invalid_unit_xz: i32,
27 #[static_field]
28 #[rename(name = "c_TransitionDuration")]
29 pub c_transition_duration: f32,
30 #[offset(120)]
31 #[rename(name = "m_ModeStack")]
32 pub m_mode_stack: crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>,
33 #[offset(128)]
34 #[rename(name = "m_Windows")]
35 pub m_windows: ::unity::Array<crate::app::unitinfo::UnitInfo_Window>,
36 #[static_field]
37 #[rename(name = "m_bUpdateSight")]
38 pub m_b_update_sight: bool,
39 #[static_field]
40 #[rename(name = "m_LookAtObj")]
41 pub m_look_at_obj: crate::unity_engine::gameobject::GameObject,
42 }
43
44 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfo/UnitInfo_Window.md"))]
45 #[::unity::class(namespace = "App", name = "UnitInfo.Window")]
46 #[parent(crate::system::object::Object)]
47 pub struct UnitInfo_Window {
48 #[offset(16)]
49 #[rename(name = "m_ModeStack")]
50 pub m_mode_stack: crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>,
51 #[offset(24)]
52 #[rename(name = "m_Unit")]
53 pub m_unit: crate::app::unit::Unit,
54 #[offset(32)]
55 #[rename(name = "m_God")]
56 pub m_god: crate::app::godunit::GodUnit,
57 #[offset(40)]
58 #[rename(name = "m_UnitX")]
59 pub m_unit_x: i32,
60 #[offset(44)]
61 #[rename(name = "m_UnitZ")]
62 pub m_unit_z: i32,
63 #[offset(48)]
64 #[rename(name = "m_UnitInfoWindowSimple")]
65 pub m_unit_info_window_simple: crate::app::unitinfowindow::UnitInfoWindow,
66 #[offset(56)]
67 #[rename(name = "m_UnitInfoWindowCharaModel")]
68 pub m_unit_info_window_chara_model: crate::app::unitinfowindowcharamodel::UnitInfoWindowCharaModel,
69 #[offset(64)]
70 #[rename(name = "m_IsVisible")]
71 pub m_is_visible: bool,
72 #[offset(65)]
73 #[rename(name = "m_IsDuplicateRenderTexture")]
74 pub m_is_duplicate_render_texture: bool,
75 #[offset(66)]
76 #[rename(name = "m_IsReverse")]
77 pub m_is_reverse: bool,
78 #[offset(67)]
79 #[rename(name = "m_IsHideStatus")]
80 pub m_is_hide_status: bool,
81 }
82
83 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfo/UnitInfo_Side.md"))]
84 #[repr(C)]
85 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
86 pub struct UnitInfo_Side {
87 pub value: i32,
88 }
89 impl ::unity::ClassIdentity for UnitInfo_Side {
90 const NAME: &'static str = "UnitInfo.Side";
91 const NAMESPACE: &'static str = "App";
92
93 fn class() -> ::unity::Class {
94 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
95 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
96 }
97 }
98 impl ::unity::IlType for UnitInfo_Side {
99 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
100 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
101 }
102 }
103 impl UnitInfo_Side {
104 pub fn left() -> Self {
105 Self { value: 0 }
106 }
107
108 pub fn right() -> Self {
109 Self { value: 1 }
110 }
111
112 pub fn num() -> Self {
113 Self { value: 2 }
114 }
115 }
116
117 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitinfo/UnitInfo_Mode.md"))]
118 #[repr(C)]
119 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
120 pub struct UnitInfo_Mode {
121 pub value: i32,
122 }
123 impl ::unity::ClassIdentity for UnitInfo_Mode {
124 const NAME: &'static str = "UnitInfo.Mode";
125 const NAMESPACE: &'static str = "App";
126
127 fn class() -> ::unity::Class {
128 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
129 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
130 }
131 }
132 impl ::unity::IlType for UnitInfo_Mode {
133 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
134 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
135 }
136 }
137 impl UnitInfo_Mode {
138 pub fn simple() -> Self {
139 Self { value: 0 }
140 }
141
142 pub fn hide() -> Self {
143 Self { value: 1 }
144 }
145
146 pub fn model_only() -> Self {
147 Self { value: 2 }
148 }
149
150 pub fn num() -> Self {
151 Self { value: 3 }
152 }
153 }
154}
155
156#[cfg(feature = "app-unitinfo-types")]
157pub use __types::*;
158
159#[cfg(feature = "app-unitinfo")]
160impl UnitInfo {
161 #[doc = "`CreateAsync(crate::app::procinst::ProcInst)` overload"]
162 pub fn create_async(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
163 unsafe {
164 ::unity::il2cpp_call!((::unity::module_base()+0x1f861f0usize)as*mut u8,();
165(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
166 }
167 }
168
169 #[doc = "`CreateBindAsync(crate::app::procinst::ProcInst)` overload"]
170 pub fn create_bind_async(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
171 unsafe {
172 ::unity::il2cpp_call!((::unity::module_base()+0x1f863d0usize)as*mut u8,();
173(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
174 }
175 }
176
177 #[doc = "`CreateImpl(crate::app::procinst::ProcInst, crate::app::unitinfo::UnitInfo)` overload"]
178 pub fn create_impl(
179 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
180 p: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo>,
181 ) -> () {
182 unsafe {
183 ::unity::il2cpp_call!((::unity::module_base()+0x1f86340usize)as*mut u8,();
184(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unitinfo::UnitInfo)::core::convert::Into::into(p))
185 }
186 }
187
188 #[doc = "`CreateBindImpl(crate::app::procinst::ProcInst, crate::app::unitinfo::UnitInfo)` overload"]
189 pub fn create_bind_impl(
190 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
191 p: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo>,
192 ) -> () {
193 unsafe {
194 ::unity::il2cpp_call!((::unity::module_base()+0x1f86520usize)as*mut u8,();
195(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unitinfo::UnitInfo)::core::convert::Into::into(p))
196 }
197 }
198
199 #[doc = "`CreateDescs(crate::app::unitinfo::UnitInfo)` overload"]
200 pub fn create_descs(p: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo>) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
201 unsafe {
202 ::unity::il2cpp_call!((::unity::module_base()+0x1f865b0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
203(crate::app::unitinfo::UnitInfo)::core::convert::Into::into(p))
204 }
205 }
206
207 #[doc = "`GetCurrentWindowObject()` overload"]
208 pub fn get_current_window_object() -> crate::unity_engine::gameobject::GameObject {
209 unsafe {
210 ::unity::il2cpp_call!((::unity::module_base()+0x1f86980usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
211 )
212 }
213 }
214
215 #[doc = "`SetUnit(crate::app::unitinfo::UnitInfo_Side, crate::app::unit::Unit, bool, bool, bool, crate::system::action::Action)` overload"]
216 pub fn set_unit(
217 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
218 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
219 b_relax: impl ::core::convert::Into<bool>,
220 b_reverse_rotation: impl ::core::convert::Into<bool>,
221 is_delay_load: impl ::core::convert::Into<bool>,
222 on_setup_done_callback: impl ::core::convert::Into<crate::system::action::Action>,
223 ) -> () {
224 unsafe {
225 ::unity::il2cpp_call!((::unity::module_base()+0x1f86a50usize)as*mut u8,();
226(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load),(crate::system::action::Action)::core::convert::Into::into(on_setup_done_callback))
227 }
228 }
229
230 #[doc = "`SetUnitBattleInfo(crate::app::unitinfo::UnitInfo_Side, crate::app::unit::Unit, crate::app::unititem::UnitItem)` overload"]
231 pub fn set_unit_battle_info(
232 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
233 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
234 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
235 ) -> () {
236 unsafe {
237 ::unity::il2cpp_call!((::unity::module_base()+0x1f86b80usize)as*mut u8,();
238(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item))
239 }
240 }
241
242 #[doc = "`SetOverrideCreateReserveUnitItem(crate::app::unitinfo::UnitInfo_Side, crate::app::unititem::UnitItem)` overload"]
243 pub fn set_override_create_reserve_unit_item(
244 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
245 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
246 ) -> () {
247 unsafe {
248 ::unity::il2cpp_call!((::unity::module_base()+0x1f86cd0usize)as*mut u8,();
249(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item))
250 }
251 }
252
253 #[doc = "`SetUnitHub(crate::app::unitinfo::UnitInfo_Side, crate::app::unit::Unit, bool, bool, bool)` overload"]
254 pub fn set_unit_hub(
255 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
256 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
257 b_relax: impl ::core::convert::Into<bool>,
258 b_reverse_rotation: impl ::core::convert::Into<bool>,
259 is_delay_load: impl ::core::convert::Into<bool>,
260 ) -> () {
261 unsafe {
262 ::unity::il2cpp_call!((::unity::module_base()+0x1f86dd0usize)as*mut u8,();
263(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load))
264 }
265 }
266
267 #[doc = "`SetUnitRelay(crate::app::unitinfo::UnitInfo_Side, crate::app::persondata::PersonData, crate::app::jobdata::JobData, crate::app::unitedit::UnitEdit)` overload"]
268 pub fn set_unit_relay(
269 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
270 person: impl ::core::convert::Into<crate::app::persondata::PersonData>,
271 job: impl ::core::convert::Into<crate::app::jobdata::JobData>,
272 edit: impl ::core::convert::Into<crate::app::unitedit::UnitEdit>,
273 ) -> () {
274 unsafe {
275 ::unity::il2cpp_call!((::unity::module_base()+0x1f86ef0usize)as*mut u8,();
276(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::persondata::PersonData)::core::convert::Into::into(person),(crate::app::jobdata::JobData)::core::convert::Into::into(job),(crate::app::unitedit::UnitEdit)::core::convert::Into::into(edit))
277 }
278 }
279
280 #[doc = "`ResetUnit(crate::app::unitinfo::UnitInfo_Side, crate::app::unititem::UnitItem, bool, bool, bool)` overload"]
281 pub fn reset_unit(
282 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
283 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
284 b_relax: impl ::core::convert::Into<bool>,
285 b_reverse_rotation: impl ::core::convert::Into<bool>,
286 is_delay_load: impl ::core::convert::Into<bool>,
287 ) -> () {
288 unsafe {
289 ::unity::il2cpp_call!((::unity::module_base()+0x1f87000usize)as*mut u8,();
290(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load))
291 }
292 }
293
294 #[doc = "`ResetUnit()` overload"]
295 pub fn reset_unit_2() -> () {
296 unsafe {
297 ::unity::il2cpp_call!((::unity::module_base()+0x1f87150usize)as*mut u8,();
298 )
299 }
300 }
301
302 #[doc = "`AddCharaRot(crate::app::unitinfo::UnitInfo_Side, crate::unity_engine::quaternion::Quaternion)` overload"]
303 pub fn add_chara_rot(
304 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
305 quaternion: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
306 ) -> () {
307 unsafe {
308 ::unity::il2cpp_call!((::unity::module_base()+0x1f87270usize)as*mut u8,();
309(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(quaternion))
310 }
311 }
312
313 #[doc = "`SetLeftCameraAdjustY()` overload"]
314 pub fn set_left_camera_adjust_y() -> () {
315 unsafe {
316 ::unity::il2cpp_call!((::unity::module_base()+0x1f87390usize)as*mut u8,();
317 )
318 }
319 }
320
321 #[doc = "`PlayCharaVoice(crate::app::unitinfo::UnitInfo_Side, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
322 pub fn play_chara_voice(
323 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
324 person_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
325 engage_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
326 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
327 ) -> () {
328 unsafe {
329 ::unity::il2cpp_call!((::unity::module_base()+0x1f87460usize)as*mut u8,();
330(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(::unity::Il2CppString)::core::convert::Into::into(person_switch_name),(::unity::Il2CppString)::core::convert::Into::into(engage_switch_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
331 }
332 }
333
334 #[doc = "`ReserveCharaVoice(crate::app::unitinfo::UnitInfo_Side, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
335 pub fn reserve_chara_voice(
336 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
337 person_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
338 engage_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
339 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
340 ) -> () {
341 unsafe {
342 ::unity::il2cpp_call!((::unity::module_base()+0x1f87570usize)as*mut u8,();
343(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(::unity::Il2CppString)::core::convert::Into::into(person_switch_name),(::unity::Il2CppString)::core::convert::Into::into(engage_switch_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
344 }
345 }
346
347 #[doc = "`PlayReservedCharaVoice(crate::app::unitinfo::UnitInfo_Side)` overload"]
348 pub fn play_reserved_chara_voice(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
349 unsafe {
350 ::unity::il2cpp_call!((::unity::module_base()+0x1f87680usize)as*mut u8,();
351(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
352 }
353 }
354
355 #[doc = "`SetWeaponShopChara(crate::app::unitinfo::UnitInfo_Side)` overload"]
356 pub fn set_weapon_shop_chara(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
357 unsafe {
358 ::unity::il2cpp_call!((::unity::module_base()+0x1f87770usize)as*mut u8,();
359(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
360 }
361 }
362
363 #[doc = "`SetSummonChara()` overload"]
364 pub fn set_summon_chara() -> () {
365 unsafe {
366 ::unity::il2cpp_call!((::unity::module_base()+0x1f87860usize)as*mut u8,();
367 )
368 }
369 }
370
371 #[doc = "`SetGod(crate::app::unitinfo::UnitInfo_Side, crate::app::godunit::GodUnit, bool, bool, crate::system::action::Action)` overload"]
372 pub fn set_god(
373 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
374 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
375 b_relax: impl ::core::convert::Into<bool>,
376 b_reverse_rotation: impl ::core::convert::Into<bool>,
377 on_setup_done_callback: impl ::core::convert::Into<crate::system::action::Action>,
378 ) -> () {
379 unsafe {
380 ::unity::il2cpp_call!((::unity::module_base()+0x1f87940usize)as*mut u8,();
381(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(crate::system::action::Action)::core::convert::Into::into(on_setup_done_callback))
382 }
383 }
384
385 #[doc = "`SetRightForRingCleaning(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, bool)` overload"]
386 pub fn set_right_for_ring_cleaning(
387 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
388 r#type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
389 b_relax: impl ::core::convert::Into<bool>,
390 ) -> () {
391 unsafe {
392 ::unity::il2cpp_call!((::unity::module_base()+0x1f87a60usize)as*mut u8,();
393(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(r#type),(bool)::core::convert::Into::into(b_relax))
394 }
395 }
396
397 #[doc = "`SetEfficacyAttack(crate::app::unitinfo::UnitInfo_Side, bool)` overload"]
398 pub fn set_efficacy_attack(
399 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
400 is_efficacy: impl ::core::convert::Into<bool>,
401 ) -> () {
402 unsafe {
403 ::unity::il2cpp_call!((::unity::module_base()+0x1f87d70usize)as*mut u8,();
404(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(bool)::core::convert::Into::into(is_efficacy))
405 }
406 }
407
408 #[doc = "`SetRelaxAnime(crate::app::unitinfo::UnitInfo_Side, f32)` overload"]
409 pub fn set_relax_anime(
410 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
411 transition_duration: impl ::core::convert::Into<f32>,
412 ) -> () {
413 unsafe {
414 ::unity::il2cpp_call!((::unity::module_base()+0x1f87e60usize)as*mut u8,();
415(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(f32)::core::convert::Into::into(transition_duration))
416 }
417 }
418
419 #[doc = "`SetStatusAnime(crate::app::unitinfo::UnitInfo_Side, f32)` overload"]
420 pub fn set_status_anime(
421 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
422 transition_duration: impl ::core::convert::Into<f32>,
423 ) -> () {
424 unsafe {
425 ::unity::il2cpp_call!((::unity::module_base()+0x1f87f60usize)as*mut u8,();
426(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(f32)::core::convert::Into::into(transition_duration))
427 }
428 }
429
430 #[doc = "`SetFortuneTellingGoodAnime(crate::app::unitinfo::UnitInfo_Side, bool)` overload"]
431 pub fn set_fortune_telling_good_anime(
432 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
433 is_allow_unit_null: impl ::core::convert::Into<bool>,
434 ) -> () {
435 unsafe {
436 ::unity::il2cpp_call!((::unity::module_base()+0x1f88060usize)as*mut u8,();
437(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(bool)::core::convert::Into::into(is_allow_unit_null))
438 }
439 }
440
441 #[doc = "`SetFortuneTellingBadAnime(crate::app::unitinfo::UnitInfo_Side, bool)` overload"]
442 pub fn set_fortune_telling_bad_anime(
443 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
444 is_allow_unit_null: impl ::core::convert::Into<bool>,
445 ) -> () {
446 unsafe {
447 ::unity::il2cpp_call!((::unity::module_base()+0x1f88150usize)as*mut u8,();
448(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(bool)::core::convert::Into::into(is_allow_unit_null))
449 }
450 }
451
452 #[doc = "`SetSelectGodNormalFace(crate::app::unitinfo::UnitInfo_Side)` overload"]
453 pub fn set_select_god_normal_face(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
454 unsafe {
455 ::unity::il2cpp_call!((::unity::module_base()+0x1f88240usize)as*mut u8,();
456(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
457 }
458 }
459
460 #[doc = "`UpdateCurrentUnit(crate::app::unitinfo::UnitInfo_Side)` overload"]
461 pub fn update_current_unit(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
462 unsafe {
463 ::unity::il2cpp_call!((::unity::module_base()+0x1f88330usize)as*mut u8,();
464(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
465 }
466 }
467
468 #[doc = "`GetUnit(crate::app::unitinfo::UnitInfo_Side)` overload"]
469 pub fn get_unit(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> crate::app::unit::Unit {
470 unsafe {
471 ::unity::il2cpp_call!((::unity::module_base()+0x1f88420usize)as*mut u8,crate::app::unit::Unit;
472(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
473 }
474 }
475
476 #[doc = "`GetGod(crate::app::unitinfo::UnitInfo_Side)` overload"]
477 pub fn get_god(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> crate::app::godunit::GodUnit {
478 unsafe {
479 ::unity::il2cpp_call!((::unity::module_base()+0x1f88500usize)as*mut u8,crate::app::godunit::GodUnit;
480(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
481 }
482 }
483
484 #[doc = "`GetRenderTexture(crate::app::unitinfo::UnitInfo_Side)` overload"]
485 pub fn get_render_texture(
486 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
487 ) -> crate::unity_engine::rendertexture::RenderTexture {
488 unsafe {
489 ::unity::il2cpp_call!((::unity::module_base()+0x1f885e0usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
490(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
491 }
492 }
493
494 #[doc = "`GetFaceCameraComponent(crate::app::unitinfo::UnitInfo_Side)` overload"]
495 pub fn get_face_camera_component(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> crate::unity_engine::camera::Camera {
496 unsafe {
497 ::unity::il2cpp_call!((::unity::module_base()+0x1f886d0usize)as*mut u8,crate::unity_engine::camera::Camera;
498(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
499 }
500 }
501
502 #[doc = "`IsHide()` overload"]
503 pub fn is_hide() -> bool {
504 unsafe {
505 ::unity::il2cpp_call!((::unity::module_base()+0x1f887c0usize)as*mut u8,bool;
506 )
507 }
508 }
509
510 #[doc = "`PushMode(crate::app::unitinfo::UnitInfo_Mode)` overload"]
511 pub fn push_mode(mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>) -> () {
512 unsafe {
513 ::unity::il2cpp_call!((::unity::module_base()+0x1f888b0usize)as*mut u8,();
514(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode))
515 }
516 }
517
518 #[doc = "`PushModeSimple()` overload"]
519 pub fn push_mode_simple() -> () {
520 unsafe {
521 ::unity::il2cpp_call!((::unity::module_base()+0x1f889f0usize)as*mut u8,();
522 )
523 }
524 }
525
526 #[doc = "`PushModeHide()` overload"]
527 pub fn push_mode_hide() -> () {
528 unsafe {
529 ::unity::il2cpp_call!((::unity::module_base()+0x1f88a60usize)as*mut u8,();
530 )
531 }
532 }
533
534 #[doc = "`PushModeModelOnly()` overload"]
535 pub fn push_mode_model_only() -> () {
536 unsafe {
537 ::unity::il2cpp_call!((::unity::module_base()+0x1f88ad0usize)as*mut u8,();
538 )
539 }
540 }
541
542 #[doc = "`PopMode()` overload"]
543 pub fn pop_mode() -> () {
544 unsafe {
545 ::unity::il2cpp_call!((::unity::module_base()+0x1f88b40usize)as*mut u8,();
546 )
547 }
548 }
549
550 #[doc = "`SetMode(crate::app::unitinfo::UnitInfo_Mode)` overload"]
551 pub fn set_mode(mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>) -> () {
552 unsafe {
553 ::unity::il2cpp_call!((::unity::module_base()+0x1f88c80usize)as*mut u8,();
554(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode))
555 }
556 }
557
558 #[doc = "`SetModeIfHide(crate::app::unitinfo::UnitInfo_Mode)` overload"]
559 pub fn set_mode_if_hide(mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>) -> () {
560 unsafe {
561 ::unity::il2cpp_call!((::unity::module_base()+0x1f88e70usize)as*mut u8,();
562(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode))
563 }
564 }
565
566 #[doc = "`SetCurrentModeToGameUserData()` overload"]
567 pub fn set_current_mode_to_game_user_data() -> () {
568 unsafe {
569 ::unity::il2cpp_call!((::unity::module_base()+0x1f89020usize)as*mut u8,();
570 )
571 }
572 }
573
574 #[doc = "`PushModeFromGameUserData()` overload"]
575 pub fn push_mode_from_game_user_data() -> () {
576 unsafe {
577 ::unity::il2cpp_call!((::unity::module_base()+0x1f89130usize)as*mut u8,();
578 )
579 }
580 }
581
582 #[doc = "`SetModeFromGameUserDataIfHide()` overload"]
583 pub fn set_mode_from_game_user_data_if_hide() -> () {
584 unsafe {
585 ::unity::il2cpp_call!((::unity::module_base()+0x1f891e0usize)as*mut u8,();
586 )
587 }
588 }
589
590 #[doc = "`SetVisible(bool)` overload"]
591 pub fn set_visible(is_visible: impl ::core::convert::Into<bool>) -> () {
592 unsafe {
593 ::unity::il2cpp_call!((::unity::module_base()+0x1f89290usize)as*mut u8,();
594(bool)::core::convert::Into::into(is_visible))
595 }
596 }
597
598 #[doc = "`SetVisible(crate::app::unitinfo::UnitInfo_Side, bool)` overload"]
599 pub fn set_visible_2(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>, is_visible: impl ::core::convert::Into<bool>) -> () {
600 unsafe {
601 ::unity::il2cpp_call!((::unity::module_base()+0x1f89400usize)as*mut u8,();
602(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(bool)::core::convert::Into::into(is_visible))
603 }
604 }
605
606 #[doc = "`ResetAlpha()` overload"]
607 pub fn reset_alpha() -> () {
608 unsafe {
609 ::unity::il2cpp_call!((::unity::module_base()+0x1f89540usize)as*mut u8,();
610 )
611 }
612 }
613
614 #[doc = "`ToggleVisible()` overload"]
615 pub fn toggle_visible() -> () {
616 unsafe {
617 ::unity::il2cpp_call!((::unity::module_base()+0x1f89730usize)as*mut u8,();
618 )
619 }
620 }
621
622 #[doc = "`ToggleVisible(crate::app::unitinfo::UnitInfo_Side)` overload"]
623 pub fn toggle_visible_2(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
624 unsafe {
625 ::unity::il2cpp_call!((::unity::module_base()+0x1f89830usize)as*mut u8,();
626(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
627 }
628 }
629
630 #[doc = "`ToVisible()` overload"]
631 pub fn to_visible() -> () {
632 unsafe {
633 ::unity::il2cpp_call!((::unity::module_base()+0x1f89920usize)as*mut u8,();
634 )
635 }
636 }
637
638 #[doc = "`ToVisible(crate::app::unitinfo::UnitInfo_Side)` overload"]
639 pub fn to_visible_2(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
640 unsafe {
641 ::unity::il2cpp_call!((::unity::module_base()+0x1f89990usize)as*mut u8,();
642(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
643 }
644 }
645
646 #[doc = "`ToInvisible()` overload"]
647 pub fn to_invisible() -> () {
648 unsafe {
649 ::unity::il2cpp_call!((::unity::module_base()+0x1f89a00usize)as*mut u8,();
650 )
651 }
652 }
653
654 #[doc = "`ToInvisible(crate::app::unitinfo::UnitInfo_Side)` overload"]
655 pub fn to_invisible_2(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
656 unsafe {
657 ::unity::il2cpp_call!((::unity::module_base()+0x1f89a70usize)as*mut u8,();
658(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
659 }
660 }
661
662 #[doc = "`IsVisible(crate::app::unitinfo::UnitInfo_Side)` overload"]
663 pub fn is_visible(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> bool {
664 unsafe {
665 ::unity::il2cpp_call!((::unity::module_base()+0x1f89ae0usize)as*mut u8,bool;
666(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
667 }
668 }
669
670 #[doc = "`CharaOnlyOn(bool)` overload"]
671 pub fn chara_only_on(is_change_chara_model_anim: impl ::core::convert::Into<bool>) -> () {
672 unsafe {
673 ::unity::il2cpp_call!((::unity::module_base()+0x1f89bd0usize)as*mut u8,();
674(bool)::core::convert::Into::into(is_change_chara_model_anim))
675 }
676 }
677
678 #[doc = "`CharaOnlyOff()` overload"]
679 pub fn chara_only_off() -> () {
680 unsafe {
681 ::unity::il2cpp_call!((::unity::module_base()+0x1f89ce0usize)as*mut u8,();
682 )
683 }
684 }
685
686 #[doc = "`IsCharaOnlyTransition()` overload"]
687 pub fn is_chara_only_transition() -> bool {
688 unsafe {
689 ::unity::il2cpp_call!((::unity::module_base()+0x1f89de0usize)as*mut u8,bool;
690 )
691 }
692 }
693
694 #[doc = "`InitStandByAnime()` overload"]
695 pub fn init_stand_by_anime() -> () {
696 unsafe {
697 ::unity::il2cpp_call!((::unity::module_base()+0x1f89f10usize)as*mut u8,();
698 )
699 }
700 }
701
702 #[doc = "`UpdateOffenseStandByAnime(crate::app::unititem::UnitItem, bool)` overload"]
703 pub fn update_offense_stand_by_anime(
704 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
705 is_weapon_shop: impl ::core::convert::Into<bool>,
706 ) -> () {
707 unsafe {
708 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a020usize)as*mut u8,();
709(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(bool)::core::convert::Into::into(is_weapon_shop))
710 }
711 }
712
713 #[doc = "`UpdateDefenseStandByAnime(crate::app::unititem::UnitItem, bool)` overload"]
714 pub fn update_defense_stand_by_anime(
715 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
716 is_weapon_shop: impl ::core::convert::Into<bool>,
717 ) -> () {
718 unsafe {
719 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a110usize)as*mut u8,();
720(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(bool)::core::convert::Into::into(is_weapon_shop))
721 }
722 }
723
724 #[doc = "`HideWeapon()` overload"]
725 pub fn hide_weapon() -> () {
726 unsafe {
727 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a200usize)as*mut u8,();
728 )
729 }
730 }
731
732 #[doc = "`TransparentOn(crate::app::unitinfo::UnitInfo_Side)` overload"]
733 pub fn transparent_on(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
734 unsafe {
735 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a300usize)as*mut u8,();
736(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
737 }
738 }
739
740 #[doc = "`TransparentOff(crate::app::unitinfo::UnitInfo_Side)` overload"]
741 pub fn transparent_off(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
742 unsafe {
743 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a3f0usize)as*mut u8,();
744(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
745 }
746 }
747
748 #[doc = "`GetHeadLocator(crate::app::unitinfo::UnitInfo_Window)` overload"]
749 pub fn get_head_locator(window: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Window>) -> crate::unity_engine::transform::Transform {
750 unsafe {
751 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a4e0usize)as*mut u8,crate::unity_engine::transform::Transform;
752(crate::app::unitinfo::UnitInfo_Window)::core::convert::Into::into(window))
753 }
754 }
755
756 #[doc = "`SetSight()` overload"]
757 pub fn set_sight() -> () {
758 unsafe {
759 ::unity::il2cpp_call!((::unity::module_base()+0x1f85d90usize)as*mut u8,();
760 )
761 }
762 }
763
764 #[doc = "`SetHeadLocator(crate::app::unitinfo::UnitInfo_Side, crate::unity_engine::transform::Transform, f32, bool)` overload"]
765 pub fn set_head_locator(
766 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
767 transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
768 weight: impl ::core::convert::Into<f32>,
769 is_weight_interpolated: impl ::core::convert::Into<bool>,
770 ) -> () {
771 unsafe {
772 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a500usize)as*mut u8,();
773(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform),(f32)::core::convert::Into::into(weight),(bool)::core::convert::Into::into(is_weight_interpolated))
774 }
775 }
776
777 #[doc = "`SetLookAt(crate::app::unitinfo::UnitInfo_Side, crate::unity_engine::transform::Transform)` overload"]
778 pub fn set_look_at(
779 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
780 transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
781 ) -> () {
782 unsafe {
783 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a600usize)as*mut u8,();
784(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform))
785 }
786 }
787
788 #[doc = "`SetLookAtCamera(crate::app::unitinfo::UnitInfo_Side)` overload"]
789 pub fn set_look_at_camera(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
790 unsafe {
791 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a6d0usize)as*mut u8,();
792(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
793 }
794 }
795
796 #[doc = "`SetEyesWeight(crate::app::unitinfo::UnitInfo_Side, f32)` overload"]
797 pub fn set_eyes_weight(
798 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
799 eyes_weight: impl ::core::convert::Into<f32>,
800 ) -> () {
801 unsafe {
802 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a7a0usize)as*mut u8,();
803(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(f32)::core::convert::Into::into(eyes_weight))
804 }
805 }
806
807 #[doc = "`IsCharaVisible(crate::app::unitinfo::UnitInfo_Side)` overload"]
808 pub fn is_chara_visible(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> bool {
809 unsafe {
810 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a880usize)as*mut u8,bool;
811(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
812 }
813 }
814
815 #[doc = "`SetVisibleOfStatus(crate::app::unitinfo::UnitInfo_Side, crate::app::unitinfo::UnitInfo_Mode, bool)` overload"]
816 pub fn set_visible_of_status(
817 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
818 mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>,
819 is_visible: impl ::core::convert::Into<bool>,
820 ) -> () {
821 unsafe {
822 ::unity::il2cpp_call!((::unity::module_base()+0x1f8a970usize)as*mut u8,();
823(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_visible))
824 }
825 }
826
827 #[doc = "`IsVisibleStatus(crate::app::unitinfo::UnitInfo_Side, crate::app::unitinfo::UnitInfo_Mode)` overload"]
828 pub fn is_visible_status(
829 side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>,
830 mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>,
831 ) -> bool {
832 unsafe {
833 ::unity::il2cpp_call!((::unity::module_base()+0x1f8aa80usize)as*mut u8,bool;
834(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side),(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode))
835 }
836 }
837
838 #[doc = "`HideCharaImage(crate::app::unitinfo::UnitInfo_Side)` overload"]
839 pub fn hide_chara_image(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
840 unsafe {
841 ::unity::il2cpp_call!((::unity::module_base()+0x1f8ab80usize)as*mut u8,();
842(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
843 }
844 }
845
846 #[doc = "`ShowCharaImage(crate::app::unitinfo::UnitInfo_Side)` overload"]
847 pub fn show_chara_image(side: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Side>) -> () {
848 unsafe {
849 ::unity::il2cpp_call!((::unity::module_base()+0x1f8ac70usize)as*mut u8,();
850(crate::app::unitinfo::UnitInfo_Side)::core::convert::Into::into(side))
851 }
852 }
853
854 #[doc = "`DumpMode()` overload"]
855 pub fn dump_mode() -> () {
856 unsafe {
857 ::unity::il2cpp_call!((::unity::module_base()+0x1f8ad60usize)as*mut u8,();
858 )
859 }
860 }
861
862 #[doc = "`.cctor()` overload"]
863 pub fn cctor() -> () {
864 unsafe {
865 ::unity::il2cpp_call!((::unity::module_base()+0x1f8b020usize)as*mut u8,();
866 )
867 }
868 }
869}
870
871#[cfg(feature = "app-unitinfo")]
872pub trait IUnitInfoMethods: IUnitInfo {
873 #[doc = "`.ctor()` overload"]
874 fn ctor(self) -> () {
875 unsafe {
876 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
877 ::unity::il2cpp_call!((::unity::module_base()+0x1f85680usize)as*mut u8,();
878(UnitInfo)__receiver)
879 }
880 }
881 #[doc = "`Construct(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
882 fn construct(
883 self,
884 left_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
885 right_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
886 ) -> () {
887 unsafe {
888 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
889 ::unity::il2cpp_call!((::unity::module_base()+0x1f85710usize)as*mut u8,();
890(UnitInfo)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(left_unit),(crate::app::unit::Unit)::core::convert::Into::into(right_unit))
891 }
892 }
893 #[doc = "`OnDispose()` overload"]
894 fn on_dispose(self) -> () {
895 unsafe {
896 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
897 {
898 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
899 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
900 panic!(
901 "unity: virtual slot {}
902 out of range (vtable len {}
903) on the runtime class behind {}
904 (method `{}
905`)",
906 10usize,
907 __vt.len(),
908 <UnitInfo as ::unity::ClassIdentity>::NAME,
909 "OnDispose",
910 )
911 });
912 let __inner: extern "C" fn(UnitInfo, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
913 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
914 __inner(__receiver, __mi)
915 }
916 }
917 }
918 #[doc = "`PrepareCharaModel()` overload"]
919 fn prepare_chara_model(self) -> () {
920 unsafe {
921 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
922 ::unity::il2cpp_call!((::unity::module_base()+0x1f85a60usize)as*mut u8,();
923(UnitInfo)__receiver)
924 }
925 }
926 #[doc = "`IsPreparingCharaModel()` overload"]
927 fn is_preparing_chara_model(self) -> bool {
928 unsafe {
929 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
930 ::unity::il2cpp_call!((::unity::module_base()+0x1f85ad0usize)as*mut u8,bool;
931(UnitInfo)__receiver)
932 }
933 }
934 #[doc = "`PrepareWindow()` overload"]
935 fn prepare_window(self) -> () {
936 unsafe {
937 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
938 ::unity::il2cpp_call!((::unity::module_base()+0x1f85b60usize)as*mut u8,();
939(UnitInfo)__receiver)
940 }
941 }
942 #[doc = "`IsPreparingWindow()` overload"]
943 fn is_preparing_window(self) -> bool {
944 unsafe {
945 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
946 ::unity::il2cpp_call!((::unity::module_base()+0x1f85bd0usize)as*mut u8,bool;
947(UnitInfo)__receiver)
948 }
949 }
950 #[doc = "`Postprepare()` overload"]
951 fn postprepare(self) -> () {
952 unsafe {
953 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
954 ::unity::il2cpp_call!((::unity::module_base()+0x1f85c60usize)as*mut u8,();
955(UnitInfo)__receiver)
956 }
957 }
958 #[doc = "`Tick()` overload"]
959 fn tick(self) -> () {
960 unsafe {
961 let __receiver = <UnitInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
962 ::unity::il2cpp_call!((::unity::module_base()+0x1f85cd0usize)as*mut u8,();
963(UnitInfo)__receiver)
964 }
965 }
966}
967
968#[cfg(feature = "app-unitinfo")]
969impl<__T: IUnitInfo> IUnitInfoMethods for __T {}
970
971#[cfg(feature = "app-unitinfo")]
972impl UnitInfo {
973 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
974 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
975 }
976
977 pub fn construct_method_info() -> &'static ::unity::il2cpp::MethodInfo {
978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
979 }
980
981 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
983 }
984
985 pub fn prepare_chara_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
987 }
988
989 pub fn is_preparing_chara_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
991 }
992
993 pub fn prepare_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
995 }
996
997 pub fn is_preparing_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
999 }
1000
1001 pub fn postprepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1003 }
1004
1005 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1007 }
1008
1009 pub fn create_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1011 }
1012
1013 pub fn create_bind_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1015 }
1016
1017 pub fn create_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1019 }
1020
1021 pub fn create_bind_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1023 }
1024
1025 pub fn create_descs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1027 }
1028
1029 pub fn get_current_window_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1031 }
1032
1033 pub fn set_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1035 }
1036
1037 pub fn set_unit_battle_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1039 }
1040
1041 pub fn set_override_create_reserve_unit_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1043 }
1044
1045 pub fn set_unit_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1047 }
1048
1049 pub fn set_unit_relay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1051 }
1052
1053 pub fn reset_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1055 }
1056
1057 pub fn reset_unit_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1059 }
1060
1061 pub fn add_chara_rot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1063 }
1064
1065 pub fn set_left_camera_adjust_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1067 }
1068
1069 pub fn play_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1071 }
1072
1073 pub fn reserve_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1075 }
1076
1077 pub fn play_reserved_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1079 }
1080
1081 pub fn set_weapon_shop_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1083 }
1084
1085 pub fn set_summon_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1087 }
1088
1089 pub fn set_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1091 }
1092
1093 pub fn set_right_for_ring_cleaning_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1095 }
1096
1097 pub fn set_efficacy_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1099 }
1100
1101 pub fn set_relax_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1103 }
1104
1105 pub fn set_status_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1107 }
1108
1109 pub fn set_fortune_telling_good_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1111 }
1112
1113 pub fn set_fortune_telling_bad_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1115 }
1116
1117 pub fn set_select_god_normal_face_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1119 }
1120
1121 pub fn update_current_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1123 }
1124
1125 pub fn get_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1127 }
1128
1129 pub fn get_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1131 }
1132
1133 pub fn get_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1135 }
1136
1137 pub fn get_face_camera_component_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1139 }
1140
1141 pub fn is_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1143 }
1144
1145 pub fn push_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1147 }
1148
1149 pub fn push_mode_simple_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1151 }
1152
1153 pub fn push_mode_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1155 }
1156
1157 pub fn push_mode_model_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1159 }
1160
1161 pub fn pop_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1163 }
1164
1165 pub fn set_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1167 }
1168
1169 pub fn set_mode_if_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1171 }
1172
1173 pub fn set_current_mode_to_game_user_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1175 }
1176
1177 pub fn push_mode_from_game_user_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1179 }
1180
1181 pub fn set_mode_from_game_user_data_if_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1183 }
1184
1185 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1187 }
1188
1189 pub fn set_visible_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1191 }
1192
1193 pub fn reset_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1195 }
1196
1197 pub fn toggle_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1199 }
1200
1201 pub fn toggle_visible_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1203 }
1204
1205 pub fn to_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1207 }
1208
1209 pub fn to_visible_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1211 }
1212
1213 pub fn to_invisible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1215 }
1216
1217 pub fn to_invisible_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1219 }
1220
1221 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1223 }
1224
1225 pub fn chara_only_on_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1227 }
1228
1229 pub fn chara_only_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1231 }
1232
1233 pub fn is_chara_only_transition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1235 }
1236
1237 pub fn init_stand_by_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1239 }
1240
1241 pub fn update_offense_stand_by_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1243 }
1244
1245 pub fn update_defense_stand_by_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1247 }
1248
1249 pub fn hide_weapon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1251 }
1252
1253 pub fn transparent_on_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1255 }
1256
1257 pub fn transparent_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1259 }
1260
1261 pub fn get_head_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1263 }
1264
1265 pub fn set_sight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1267 }
1268
1269 pub fn set_head_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1271 }
1272
1273 pub fn set_look_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1275 }
1276
1277 pub fn set_look_at_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1279 }
1280
1281 pub fn set_eyes_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1283 }
1284
1285 pub fn is_chara_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1287 }
1288
1289 pub fn set_visible_of_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1291 }
1292
1293 pub fn is_visible_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1295 }
1296
1297 pub fn hide_chara_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1298 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1299 }
1300
1301 pub fn show_chara_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1302 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1303 }
1304
1305 pub fn dump_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1306 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1307 }
1308
1309 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1310 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1311 }
1312}
1313
1314#[cfg(feature = "app-unitinfo")]
1315impl UnitInfo {
1316 #[doc = "Direct (non-virtual) call to `UnitInfo`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1317 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1318 let __mi = Self::on_dispose_method_info();
1319 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1320 __inner(this.into(), ::core::option::Option::None)
1321 }
1322}
1323
1324#[cfg(feature = "app-unitinfo")]
1325impl UnitInfo {
1326 #[doc = "`.ctor()` — no args"]
1327 pub fn new() -> Self {
1328 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1329 panic!(
1330 "{}
1331::{}
1332 failed to instantiate",
1333 ::core::stringify!(UnitInfo),
1334 ::core::stringify!(new),
1335 )
1336 });
1337 <Self as IUnitInfoMethods>::ctor(this);
1338 this
1339 }
1340}
1341
1342#[cfg(feature = "app-unitinfo")]
1343pub trait IUnitInfo_WindowMethods: IUnitInfo_Window {
1344 #[doc = "`.ctor(crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>, crate::app::unit::Unit, bool, bool, bool)` overload"]
1345 fn ctor(
1346 self,
1347 mode_stack: impl ::core::convert::Into<crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>>,
1348 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
1349 is_duplicate_render_texture: impl ::core::convert::Into<bool>,
1350 is_reverse: impl ::core::convert::Into<bool>,
1351 is_hide_status: impl ::core::convert::Into<bool>,
1352 ) -> () {
1353 unsafe {
1354 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1355 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fc30usize)as*mut u8,();
1356(UnitInfo_Window)__receiver,(crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>)::core::convert::Into::into(mode_stack),(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(is_duplicate_render_texture),(bool)::core::convert::Into::into(is_reverse),(bool)::core::convert::Into::into(is_hide_status))
1357 }
1358 }
1359 #[doc = "`Destroy()` overload"]
1360 fn destroy(self) -> () {
1361 unsafe {
1362 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1363 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fcd0usize)as*mut u8,();
1364(UnitInfo_Window)__receiver)
1365 }
1366 }
1367 #[doc = "`PrepareCharaModel()` overload"]
1368 fn prepare_chara_model(self) -> () {
1369 unsafe {
1370 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1371 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fd00usize)as*mut u8,();
1372(UnitInfo_Window)__receiver)
1373 }
1374 }
1375 #[doc = "`IsPreparingCharaModel()` overload"]
1376 fn is_preparing_chara_model(self) -> bool {
1377 unsafe {
1378 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1379 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fd80usize)as*mut u8,bool;
1380(UnitInfo_Window)__receiver)
1381 }
1382 }
1383 #[doc = "`PrepareWindow()` overload"]
1384 fn prepare_window(self) -> () {
1385 unsafe {
1386 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1387 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fd90usize)as*mut u8,();
1388(UnitInfo_Window)__receiver)
1389 }
1390 }
1391 #[doc = "`IsPreparingWindow()` overload"]
1392 fn is_preparing_window(self) -> bool {
1393 unsafe {
1394 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1395 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fe30usize)as*mut u8,bool;
1396(UnitInfo_Window)__receiver)
1397 }
1398 }
1399 #[doc = "`Postprepare()` overload"]
1400 fn postprepare(self) -> () {
1401 unsafe {
1402 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1403 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fe40usize)as*mut u8,();
1404(UnitInfo_Window)__receiver)
1405 }
1406 }
1407 #[doc = "`Tick()` overload"]
1408 fn tick(self) -> () {
1409 unsafe {
1410 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1411 ::unity::il2cpp_call!((::unity::module_base()+0x1b50160usize)as*mut u8,();
1412(UnitInfo_Window)__receiver)
1413 }
1414 }
1415 #[doc = "`SetUnit(crate::app::unit::Unit, bool, bool, bool, bool, crate::system::action::Action)` overload"]
1416 fn set_unit(
1417 self,
1418 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
1419 b_update_status: impl ::core::convert::Into<bool>,
1420 b_relax: impl ::core::convert::Into<bool>,
1421 b_reverse_rotation: impl ::core::convert::Into<bool>,
1422 is_delay_load: impl ::core::convert::Into<bool>,
1423 on_setup_done_callback: impl ::core::convert::Into<crate::system::action::Action>,
1424 ) -> () {
1425 unsafe {
1426 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1427 ::unity::il2cpp_call!((::unity::module_base()+0x1b4fed0usize)as*mut u8,();
1428(UnitInfo_Window)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(b_update_status),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load),(crate::system::action::Action)::core::convert::Into::into(on_setup_done_callback))
1429 }
1430 }
1431 #[doc = "`ResetUnit(bool, bool, bool)` overload"]
1432 fn reset_unit(
1433 self,
1434 b_relax: impl ::core::convert::Into<bool>,
1435 b_reverse_rotation: impl ::core::convert::Into<bool>,
1436 is_delay_load: impl ::core::convert::Into<bool>,
1437 ) -> () {
1438 unsafe {
1439 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1440 ::unity::il2cpp_call!((::unity::module_base()+0x1b50200usize)as*mut u8,();
1441(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load))
1442 }
1443 }
1444 #[doc = "`SetUnitHub(crate::app::unit::Unit, bool, bool, bool)` overload"]
1445 fn set_unit_hub(
1446 self,
1447 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
1448 b_relax: impl ::core::convert::Into<bool>,
1449 b_reverse_rotation: impl ::core::convert::Into<bool>,
1450 is_delay_load: impl ::core::convert::Into<bool>,
1451 ) -> () {
1452 unsafe {
1453 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1454 ::unity::il2cpp_call!((::unity::module_base()+0x1b502e0usize)as*mut u8,();
1455(UnitInfo_Window)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(bool)::core::convert::Into::into(is_delay_load))
1456 }
1457 }
1458 #[doc = "`SetUnitRelay(crate::app::persondata::PersonData, crate::app::jobdata::JobData, crate::app::unitedit::UnitEdit)` overload"]
1459 fn set_unit_relay(
1460 self,
1461 person: impl ::core::convert::Into<crate::app::persondata::PersonData>,
1462 job: impl ::core::convert::Into<crate::app::jobdata::JobData>,
1463 edit: impl ::core::convert::Into<crate::app::unitedit::UnitEdit>,
1464 ) -> () {
1465 unsafe {
1466 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1467 ::unity::il2cpp_call!((::unity::module_base()+0x1b50350usize)as*mut u8,();
1468(UnitInfo_Window)__receiver,(crate::app::persondata::PersonData)::core::convert::Into::into(person),(crate::app::jobdata::JobData)::core::convert::Into::into(job),(crate::app::unitedit::UnitEdit)::core::convert::Into::into(edit))
1469 }
1470 }
1471 #[doc = "`PlayCharaVoice(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
1472 fn play_chara_voice(
1473 self,
1474 person_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1475 engage_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1476 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
1477 ) -> () {
1478 unsafe {
1479 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1480 ::unity::il2cpp_call!((::unity::module_base()+0x1b503b0usize)as*mut u8,();
1481(UnitInfo_Window)__receiver,(::unity::Il2CppString)::core::convert::Into::into(person_switch_name),(::unity::Il2CppString)::core::convert::Into::into(engage_switch_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
1482 }
1483 }
1484 #[doc = "`ReserveCharaVoice(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
1485 fn reserve_chara_voice(
1486 self,
1487 person_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1488 engage_switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1489 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
1490 ) -> () {
1491 unsafe {
1492 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1493 ::unity::il2cpp_call!((::unity::module_base()+0x1b503c0usize)as*mut u8,();
1494(UnitInfo_Window)__receiver,(::unity::Il2CppString)::core::convert::Into::into(person_switch_name),(::unity::Il2CppString)::core::convert::Into::into(engage_switch_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
1495 }
1496 }
1497 #[doc = "`PlayReservedCharaVoice()` overload"]
1498 fn play_reserved_chara_voice(self) -> () {
1499 unsafe {
1500 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1501 ::unity::il2cpp_call!((::unity::module_base()+0x1b503d0usize)as*mut u8,();
1502(UnitInfo_Window)__receiver)
1503 }
1504 }
1505 #[doc = "`AddCharaRot(crate::unity_engine::quaternion::Quaternion)` overload"]
1506 fn add_chara_rot(self, quaternion: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>) -> () {
1507 unsafe {
1508 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1509 ::unity::il2cpp_call!((::unity::module_base()+0x1b503e0usize)as*mut u8,();
1510(UnitInfo_Window)__receiver,(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(quaternion))
1511 }
1512 }
1513 #[doc = "`SetLeftCameraAdjustY()` overload"]
1514 fn set_left_camera_adjust_y(self) -> () {
1515 unsafe {
1516 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1517 ::unity::il2cpp_call!((::unity::module_base()+0x1b503f0usize)as*mut u8,();
1518(UnitInfo_Window)__receiver)
1519 }
1520 }
1521 #[doc = "`SetWeaponShopChara()` overload"]
1522 fn set_weapon_shop_chara(self) -> () {
1523 unsafe {
1524 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1525 ::unity::il2cpp_call!((::unity::module_base()+0x1b50400usize)as*mut u8,();
1526(UnitInfo_Window)__receiver)
1527 }
1528 }
1529 #[doc = "`SetSummonChara()` overload"]
1530 fn set_summon_chara(self) -> () {
1531 unsafe {
1532 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1533 ::unity::il2cpp_call!((::unity::module_base()+0x1b50410usize)as*mut u8,();
1534(UnitInfo_Window)__receiver)
1535 }
1536 }
1537 #[doc = "`SetGod(crate::app::godunit::GodUnit, bool, bool, crate::system::action::Action)` overload"]
1538 fn set_god(
1539 self,
1540 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
1541 b_relax: impl ::core::convert::Into<bool>,
1542 b_reverse_rotation: impl ::core::convert::Into<bool>,
1543 on_setup_done_callback: impl ::core::convert::Into<crate::system::action::Action>,
1544 ) -> () {
1545 unsafe {
1546 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1547 ::unity::il2cpp_call!((::unity::module_base()+0x1b50420usize)as*mut u8,();
1548(UnitInfo_Window)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(bool)::core::convert::Into::into(b_relax),(bool)::core::convert::Into::into(b_reverse_rotation),(crate::system::action::Action)::core::convert::Into::into(on_setup_done_callback))
1549 }
1550 }
1551 #[doc = "`SetEfficacyAttack(bool)` overload"]
1552 fn set_efficacy_attack(self, is_efficacy: impl ::core::convert::Into<bool>) -> () {
1553 unsafe {
1554 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1555 ::unity::il2cpp_call!((::unity::module_base()+0x1b50500usize)as*mut u8,();
1556(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(is_efficacy))
1557 }
1558 }
1559 #[doc = "`SetRelaxAnime(f32)` overload"]
1560 fn set_relax_anime(self, transition_duration: impl ::core::convert::Into<f32>) -> () {
1561 unsafe {
1562 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1563 ::unity::il2cpp_call!((::unity::module_base()+0x1b50510usize)as*mut u8,();
1564(UnitInfo_Window)__receiver,(f32)::core::convert::Into::into(transition_duration))
1565 }
1566 }
1567 #[doc = "`SetStatusAnime(f32)` overload"]
1568 fn set_status_anime(self, transition_duration: impl ::core::convert::Into<f32>) -> () {
1569 unsafe {
1570 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1571 ::unity::il2cpp_call!((::unity::module_base()+0x1b50520usize)as*mut u8,();
1572(UnitInfo_Window)__receiver,(f32)::core::convert::Into::into(transition_duration))
1573 }
1574 }
1575 #[doc = "`SetFortuneTellingGoodAnime(bool)` overload"]
1576 fn set_fortune_telling_good_anime(self, is_allow_unit_null: impl ::core::convert::Into<bool>) -> () {
1577 unsafe {
1578 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1579 ::unity::il2cpp_call!((::unity::module_base()+0x1b50530usize)as*mut u8,();
1580(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(is_allow_unit_null))
1581 }
1582 }
1583 #[doc = "`SetFortuneTellingBadAnime(bool)` overload"]
1584 fn set_fortune_telling_bad_anime(self, is_allow_unit_null: impl ::core::convert::Into<bool>) -> () {
1585 unsafe {
1586 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1587 ::unity::il2cpp_call!((::unity::module_base()+0x1b50540usize)as*mut u8,();
1588(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(is_allow_unit_null))
1589 }
1590 }
1591 #[doc = "`SetSelectGodNormalFace()` overload"]
1592 fn set_select_god_normal_face(self) -> () {
1593 unsafe {
1594 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1595 ::unity::il2cpp_call!((::unity::module_base()+0x1b50550usize)as*mut u8,();
1596(UnitInfo_Window)__receiver)
1597 }
1598 }
1599 #[doc = "`UpdateCurrentUnit()` overload"]
1600 fn update_current_unit(self) -> () {
1601 unsafe {
1602 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1603 ::unity::il2cpp_call!((::unity::module_base()+0x1b50560usize)as*mut u8,();
1604(UnitInfo_Window)__receiver)
1605 }
1606 }
1607 #[doc = "`GetUnit()` overload"]
1608 fn get_unit(self) -> crate::app::unit::Unit {
1609 unsafe {
1610 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1611 ::unity::il2cpp_call!((::unity::module_base()+0x1b505f0usize)as*mut u8,crate::app::unit::Unit;
1612(UnitInfo_Window)__receiver)
1613 }
1614 }
1615 #[doc = "`GetGod()` overload"]
1616 fn get_god(self) -> crate::app::godunit::GodUnit {
1617 unsafe {
1618 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1619 ::unity::il2cpp_call!((::unity::module_base()+0x1b50600usize)as*mut u8,crate::app::godunit::GodUnit;
1620(UnitInfo_Window)__receiver)
1621 }
1622 }
1623 #[doc = "`GetRenderTexture()` overload"]
1624 fn get_render_texture(self) -> crate::unity_engine::rendertexture::RenderTexture {
1625 unsafe {
1626 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1627 ::unity::il2cpp_call!((::unity::module_base()+0x1b50610usize)as*mut u8,crate::unity_engine::rendertexture::RenderTexture;
1628(UnitInfo_Window)__receiver)
1629 }
1630 }
1631 #[doc = "`GetFaceCameraComponent()` overload"]
1632 fn get_face_camera_component(self) -> crate::unity_engine::camera::Camera {
1633 unsafe {
1634 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1635 ::unity::il2cpp_call!((::unity::module_base()+0x1b50620usize)as*mut u8,crate::unity_engine::camera::Camera;
1636(UnitInfo_Window)__receiver)
1637 }
1638 }
1639 #[doc = "`GetCharaImageMask()` overload"]
1640 fn get_chara_image_mask(self) -> crate::app::unitinfocharaimagemaskoffset::UnitInfoCharaImageMaskOffset {
1641 unsafe {
1642 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1643 ::unity::il2cpp_call!((::unity::module_base()+0x1b50630usize)as*mut u8,crate::app::unitinfocharaimagemaskoffset::UnitInfoCharaImageMaskOffset;
1644(UnitInfo_Window)__receiver)
1645 }
1646 }
1647 #[doc = "`SetVisible(bool)` overload"]
1648 fn set_visible(self, is_visible: impl ::core::convert::Into<bool>) -> () {
1649 unsafe {
1650 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1651 ::unity::il2cpp_call!((::unity::module_base()+0x1b50640usize)as*mut u8,();
1652(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(is_visible))
1653 }
1654 }
1655 #[doc = "`ToggleVisible()` overload"]
1656 fn toggle_visible(self) -> () {
1657 unsafe {
1658 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1659 ::unity::il2cpp_call!((::unity::module_base()+0x1b50670usize)as*mut u8,();
1660(UnitInfo_Window)__receiver)
1661 }
1662 }
1663 #[doc = "`IsVisible()` overload"]
1664 fn is_visible(self) -> bool {
1665 unsafe {
1666 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1667 ::unity::il2cpp_call!((::unity::module_base()+0x1b50680usize)as*mut u8,bool;
1668(UnitInfo_Window)__receiver)
1669 }
1670 }
1671 #[doc = "`SetVisibleOfStatus(crate::app::unitinfo::UnitInfo_Mode, bool)` overload"]
1672 fn set_visible_of_status(
1673 self,
1674 mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>,
1675 is_visible: impl ::core::convert::Into<bool>,
1676 ) -> () {
1677 unsafe {
1678 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1679 ::unity::il2cpp_call!((::unity::module_base()+0x1b50690usize)as*mut u8,();
1680(UnitInfo_Window)__receiver,(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_visible))
1681 }
1682 }
1683 #[doc = "`IsVisibleStatus(crate::app::unitinfo::UnitInfo_Mode)` overload"]
1684 fn is_visible_status(self, mode: impl ::core::convert::Into<crate::app::unitinfo::UnitInfo_Mode>) -> bool {
1685 unsafe {
1686 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1687 ::unity::il2cpp_call!((::unity::module_base()+0x1b506c0usize)as*mut u8,bool;
1688(UnitInfo_Window)__receiver,(crate::app::unitinfo::UnitInfo_Mode)::core::convert::Into::into(mode))
1689 }
1690 }
1691 #[doc = "`CharaOnlyOn(bool)` overload"]
1692 fn chara_only_on(self, is_change_chara_model_anim: impl ::core::convert::Into<bool>) -> () {
1693 unsafe {
1694 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1695 ::unity::il2cpp_call!((::unity::module_base()+0x1b506e0usize)as*mut u8,();
1696(UnitInfo_Window)__receiver,(bool)::core::convert::Into::into(is_change_chara_model_anim))
1697 }
1698 }
1699 #[doc = "`CharaOnlyOff()` overload"]
1700 fn chara_only_off(self) -> () {
1701 unsafe {
1702 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1703 ::unity::il2cpp_call!((::unity::module_base()+0x1b50720usize)as*mut u8,();
1704(UnitInfo_Window)__receiver)
1705 }
1706 }
1707 #[doc = "`IsCharaOnlyTransition()` overload"]
1708 fn is_chara_only_transition(self) -> bool {
1709 unsafe {
1710 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1711 ::unity::il2cpp_call!((::unity::module_base()+0x1b50760usize)as*mut u8,bool;
1712(UnitInfo_Window)__receiver)
1713 }
1714 }
1715 #[doc = "`UpdateStandByAnime(crate::app::unititem::UnitItem, bool)` overload"]
1716 fn update_stand_by_anime(
1717 self,
1718 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
1719 is_weapon_shop: impl ::core::convert::Into<bool>,
1720 ) -> () {
1721 unsafe {
1722 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1723 ::unity::il2cpp_call!((::unity::module_base()+0x1b50770usize)as*mut u8,();
1724(UnitInfo_Window)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(bool)::core::convert::Into::into(is_weapon_shop))
1725 }
1726 }
1727 #[doc = "`SetCreateReserveUnitItem(crate::app::unititem::UnitItem, bool)` overload"]
1728 fn set_create_reserve_unit_item(
1729 self,
1730 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
1731 is_override: impl ::core::convert::Into<bool>,
1732 ) -> () {
1733 unsafe {
1734 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1735 ::unity::il2cpp_call!((::unity::module_base()+0x1b50780usize)as*mut u8,();
1736(UnitInfo_Window)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(bool)::core::convert::Into::into(is_override))
1737 }
1738 }
1739 #[doc = "`HideWeapon()` overload"]
1740 fn hide_weapon(self) -> () {
1741 unsafe {
1742 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1743 ::unity::il2cpp_call!((::unity::module_base()+0x1b50790usize)as*mut u8,();
1744(UnitInfo_Window)__receiver)
1745 }
1746 }
1747 #[doc = "`IsLoadingCharaModel()` overload"]
1748 fn is_loading_chara_model(self) -> bool {
1749 unsafe {
1750 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1751 ::unity::il2cpp_call!((::unity::module_base()+0x1b507a0usize)as*mut u8,bool;
1752(UnitInfo_Window)__receiver)
1753 }
1754 }
1755 #[doc = "`TransparentOn()` overload"]
1756 fn transparent_on(self) -> () {
1757 unsafe {
1758 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1759 ::unity::il2cpp_call!((::unity::module_base()+0x1b507b0usize)as*mut u8,();
1760(UnitInfo_Window)__receiver)
1761 }
1762 }
1763 #[doc = "`TransparentOff()` overload"]
1764 fn transparent_off(self) -> () {
1765 unsafe {
1766 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1767 ::unity::il2cpp_call!((::unity::module_base()+0x1b507e0usize)as*mut u8,();
1768(UnitInfo_Window)__receiver)
1769 }
1770 }
1771 #[doc = "`UpdateVisible()` overload"]
1772 fn update_visible(self) -> () {
1773 unsafe {
1774 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1775 ::unity::il2cpp_call!((::unity::module_base()+0x1b50070usize)as*mut u8,();
1776(UnitInfo_Window)__receiver)
1777 }
1778 }
1779 #[doc = "`GetCurrentWindowObject()` overload"]
1780 fn get_current_window_object(self) -> crate::unity_engine::gameobject::GameObject {
1781 unsafe {
1782 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1783 ::unity::il2cpp_call!((::unity::module_base()+0x1b50810usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
1784(UnitInfo_Window)__receiver)
1785 }
1786 }
1787 #[doc = "`GetHeadLocator()` overload"]
1788 fn get_head_locator(self) -> crate::unity_engine::transform::Transform {
1789 unsafe {
1790 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1791 ::unity::il2cpp_call!((::unity::module_base()+0x1b50870usize)as*mut u8,crate::unity_engine::transform::Transform;
1792(UnitInfo_Window)__receiver)
1793 }
1794 }
1795 #[doc = "`SetHeadLocator(crate::unity_engine::transform::Transform, f32, bool)` overload"]
1796 fn set_head_locator(
1797 self,
1798 loc: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1799 weight: impl ::core::convert::Into<f32>,
1800 is_weight_interpolated: impl ::core::convert::Into<bool>,
1801 ) -> () {
1802 unsafe {
1803 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1804 ::unity::il2cpp_call!((::unity::module_base()+0x1b50880usize)as*mut u8,();
1805(UnitInfo_Window)__receiver,(crate::unity_engine::transform::Transform)::core::convert::Into::into(loc),(f32)::core::convert::Into::into(weight),(bool)::core::convert::Into::into(is_weight_interpolated))
1806 }
1807 }
1808 #[doc = "`SetHeadLocator(crate::unity_engine::vector3::Vector3)` overload"]
1809 fn set_head_locator_2(self, pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
1810 unsafe {
1811 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1812 ::unity::il2cpp_call!((::unity::module_base()+0x1b50890usize)as*mut u8,();
1813(UnitInfo_Window)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos))
1814 }
1815 }
1816 #[doc = "`SetLookAt(crate::unity_engine::transform::Transform)` overload"]
1817 fn set_look_at(self, transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>) -> () {
1818 unsafe {
1819 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1820 ::unity::il2cpp_call!((::unity::module_base()+0x1b508a0usize)as*mut u8,();
1821(UnitInfo_Window)__receiver,(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform))
1822 }
1823 }
1824 #[doc = "`SetLookAtCamera()` overload"]
1825 fn set_look_at_camera(self) -> () {
1826 unsafe {
1827 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1828 ::unity::il2cpp_call!((::unity::module_base()+0x1b508b0usize)as*mut u8,();
1829(UnitInfo_Window)__receiver)
1830 }
1831 }
1832 #[doc = "`SetEyesWeight(f32)` overload"]
1833 fn set_eyes_weight(self, eyes_weight: impl ::core::convert::Into<f32>) -> () {
1834 unsafe {
1835 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1836 ::unity::il2cpp_call!((::unity::module_base()+0x1b508c0usize)as*mut u8,();
1837(UnitInfo_Window)__receiver,(f32)::core::convert::Into::into(eyes_weight))
1838 }
1839 }
1840 #[doc = "`IsCharaVisible()` overload"]
1841 fn is_chara_visible(self) -> bool {
1842 unsafe {
1843 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1844 ::unity::il2cpp_call!((::unity::module_base()+0x1b508d0usize)as*mut u8,bool;
1845(UnitInfo_Window)__receiver)
1846 }
1847 }
1848 #[doc = "`SetUnitStatusWindow()` overload"]
1849 fn set_unit_status_window(self) -> () {
1850 unsafe {
1851 let __receiver = <UnitInfo_Window as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1852 ::unity::il2cpp_call!((::unity::module_base()+0x1b50170usize)as*mut u8,();
1853(UnitInfo_Window)__receiver)
1854 }
1855 }
1856}
1857
1858#[cfg(feature = "app-unitinfo")]
1859impl<__T: IUnitInfo_Window> IUnitInfo_WindowMethods for __T {}
1860
1861#[cfg(feature = "app-unitinfo")]
1862impl UnitInfo_Window {
1863 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1864 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1865 }
1866
1867 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1868 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1869 }
1870
1871 pub fn prepare_chara_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1872 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1873 }
1874
1875 pub fn is_preparing_chara_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1876 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1877 }
1878
1879 pub fn prepare_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1880 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1881 }
1882
1883 pub fn is_preparing_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1884 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1885 }
1886
1887 pub fn postprepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1888 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1889 }
1890
1891 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1892 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1893 }
1894
1895 pub fn set_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1896 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1897 }
1898
1899 pub fn reset_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1900 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1901 }
1902
1903 pub fn set_unit_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1904 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1905 }
1906
1907 pub fn set_unit_relay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1908 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1909 }
1910
1911 pub fn play_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1912 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1913 }
1914
1915 pub fn reserve_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1916 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1917 }
1918
1919 pub fn play_reserved_chara_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1920 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1921 }
1922
1923 pub fn add_chara_rot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1924 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1925 }
1926
1927 pub fn set_left_camera_adjust_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1928 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1929 }
1930
1931 pub fn set_weapon_shop_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1932 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1933 }
1934
1935 pub fn set_summon_chara_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1936 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1937 }
1938
1939 pub fn set_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1940 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1941 }
1942
1943 pub fn set_efficacy_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1944 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1945 }
1946
1947 pub fn set_relax_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1948 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1949 }
1950
1951 pub fn set_status_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1952 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1953 }
1954
1955 pub fn set_fortune_telling_good_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1956 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1957 }
1958
1959 pub fn set_fortune_telling_bad_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1960 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1961 }
1962
1963 pub fn set_select_god_normal_face_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1964 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1965 }
1966
1967 pub fn update_current_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1968 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1969 }
1970
1971 pub fn get_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1972 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1973 }
1974
1975 pub fn get_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1976 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1977 }
1978
1979 pub fn get_render_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1980 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1981 }
1982
1983 pub fn get_face_camera_component_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1984 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1985 }
1986
1987 pub fn get_chara_image_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1988 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1989 }
1990
1991 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1992 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1993 }
1994
1995 pub fn toggle_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1996 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1997 }
1998
1999 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2000 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
2001 }
2002
2003 pub fn set_visible_of_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2004 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
2005 }
2006
2007 pub fn is_visible_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2008 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
2009 }
2010
2011 pub fn chara_only_on_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2012 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
2013 }
2014
2015 pub fn chara_only_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2016 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
2017 }
2018
2019 pub fn is_chara_only_transition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2020 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
2021 }
2022
2023 pub fn update_stand_by_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2024 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
2025 }
2026
2027 pub fn set_create_reserve_unit_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2028 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
2029 }
2030
2031 pub fn hide_weapon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2032 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
2033 }
2034
2035 pub fn is_loading_chara_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2036 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
2037 }
2038
2039 pub fn transparent_on_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2040 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
2041 }
2042
2043 pub fn transparent_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2044 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
2045 }
2046
2047 pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2048 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
2049 }
2050
2051 pub fn get_current_window_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2052 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
2053 }
2054
2055 pub fn get_head_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2056 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
2057 }
2058
2059 pub fn set_head_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2060 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
2061 }
2062
2063 pub fn set_head_locator_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2064 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
2065 }
2066
2067 pub fn set_look_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2068 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
2069 }
2070
2071 pub fn set_look_at_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2072 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
2073 }
2074
2075 pub fn set_eyes_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2076 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
2077 }
2078
2079 pub fn is_chara_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2080 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
2081 }
2082
2083 pub fn set_unit_status_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2084 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
2085 }
2086}
2087
2088#[cfg(feature = "app-unitinfo")]
2089impl UnitInfo_Window {
2090 #[doc = "`.ctor(crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>, crate::app::unit::Unit, bool, bool, bool)` — overload selector"]
2091 pub fn new(
2092 mode_stack: crate::system::collections::generic::stack_1::Stack_1<crate::app::unitinfo::UnitInfo_Mode>,
2093 unit: crate::app::unit::Unit,
2094 is_duplicate_render_texture: bool,
2095 is_reverse: bool,
2096 is_hide_status: bool,
2097 ) -> Self {
2098 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2099 panic!(
2100 "{}
2101::{}
2102 failed to instantiate",
2103 ::core::stringify!(UnitInfo_Window),
2104 ::core::stringify!(new),
2105 )
2106 });
2107 <Self as IUnitInfo_WindowMethods>::ctor(this, mode_stack, unit, is_duplicate_render_texture, is_reverse, is_hide_status);
2108 this
2109 }
2110}
2111
2112#[cfg(feature = "app-unitinfo")]
2113#[doc(hidden)]
2114pub mod prelude {
2115 pub use super::{
2116 IUnitInfo, IUnitInfoMethods, IUnitInfo_Window, IUnitInfo_WindowMethods, UnitInfo, UnitInfo_Mode, UnitInfo_Side, UnitInfo_Window,
2117 };
2118 #[cfg(feature = "app-procinst")]
2119 pub use crate::app::procinst::IProcInstMethods;
2120 #[cfg(feature = "app-singletonprocinst_1")]
2121 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
2122 #[cfg(feature = "system-object")]
2123 pub use crate::system::object::IObjectMethods;
2124 #[cfg(feature = "system-enum")]
2125 pub use crate::system::r#enum::IEnumMethods;
2126 #[cfg(feature = "system-valuetype")]
2127 pub use crate::system::valuetype::IValueTypeMethods;
2128 pub use crate::{
2129 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
2130 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
2131 };
2132}