Skip to main content

engage/generated/app/
mapsituation.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapsituation-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            bitfield32::{BitField32, IBitField32},
11            bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12            bitfieldtemplate32_1::{BitFieldTemplate32_1, IBitFieldTemplate32_1},
13            singletonclass_1::{ISingletonClass_1, SingletonClass_1},
14        },
15        system::{
16            object::{IObject, Object},
17            r#enum::{Enum, IEnum},
18            valuetype::{IValueType, ValueType},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation_Player.md"))]
23    #[repr(C)]
24    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25    pub struct MapSituation_Player {
26        pub value: i32,
27    }
28    impl ::unity::ClassIdentity for MapSituation_Player {
29        const NAME: &'static str = "MapSituation.Player";
30        const NAMESPACE: &'static str = "App";
31
32        fn class() -> ::unity::Class {
33            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35        }
36    }
37    impl ::unity::IlType for MapSituation_Player {
38        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40        }
41    }
42    impl MapSituation_Player {
43        pub fn none() -> Self {
44            Self { value: 0 }
45        }
46
47        pub fn human() -> Self {
48            Self { value: 1 }
49        }
50
51        pub fn ai() -> Self {
52            Self { value: 2 }
53        }
54
55        pub fn link() -> Self {
56            Self { value: 3 }
57        }
58
59        pub fn replay() -> Self {
60            Self { value: 4 }
61        }
62
63        pub fn num() -> Self {
64            Self { value: 5 }
65        }
66    }
67
68    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation_SubPhases.md"))]
69    #[repr(C)]
70    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
71    pub struct MapSituation_SubPhases {
72        pub value: i32,
73    }
74    impl ::unity::ClassIdentity for MapSituation_SubPhases {
75        const NAME: &'static str = "MapSituation.SubPhases";
76        const NAMESPACE: &'static str = "App";
77
78        fn class() -> ::unity::Class {
79            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
80            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
81        }
82    }
83    impl ::unity::IlType for MapSituation_SubPhases {
84        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
85            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
86        }
87    }
88    impl MapSituation_SubPhases {
89        pub fn normal() -> Self {
90            Self { value: 0 }
91        }
92
93        pub fn charm_confusion() -> Self {
94            Self { value: 1 }
95        }
96
97        pub fn num() -> Self {
98            Self { value: 2 }
99        }
100    }
101
102    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation.md"))]
103    #[::unity::class(namespace = "App", name = "MapSituation")]
104    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapsituation::MapSituation>)]
105    pub struct MapSituation {
106        #[static_field]
107        #[rename(name = "TurnMax")]
108        pub turn_max: i32,
109        #[offset(32)]
110        #[rename(name = "m_Status")]
111        pub m_status: crate::app::mapsituation::MapSituation_StatusField,
112        #[offset(40)]
113        #[rename(name = "m_Players")]
114        pub m_players: ::unity::Array<crate::app::mapsituation::MapSituation_Player>,
115        #[offset(48)]
116        #[rename(name = "m_Groups")]
117        pub m_groups: ::unity::Array<crate::app::force::Force_Type>,
118        #[offset(56)]
119        #[rename(name = "m_CurrentForceType")]
120        pub m_current_force_type: crate::app::force::Force_Type,
121        #[offset(60)]
122        #[rename(name = "m_HumanForceType")]
123        pub m_human_force_type: crate::app::force::Force_Type,
124        #[offset(64)]
125        #[rename(name = "m_ForceCursors")]
126        pub m_force_cursors: ::unity::Array<crate::app::mapsituation::MapSituation_ForceCursor>,
127        #[offset(72)]
128        #[rename(name = "m_Turn")]
129        pub m_turn: i32,
130        #[offset(76)]
131        #[rename(name = "m_SubPhase")]
132        pub m_sub_phase: crate::app::mapsituation::MapSituation_SubPhases,
133        #[offset(80)]
134        #[rename(name = "m_WinRuleEnemyNumLessThanOrEqualTo")]
135        pub m_win_rule_enemy_num_less_than_or_equal_to: i32,
136        #[offset(84)]
137        #[rename(name = "m_WinRuleLimitTurn")]
138        pub m_win_rule_limit_turn: i32,
139        #[offset(88)]
140        #[rename(name = "m_WinLoseResult")]
141        pub m_win_lose_result: crate::app::winloserule::WinLoseRule,
142        #[offset(92)]
143        #[rename(name = "m_Entrust")]
144        pub m_entrust: crate::app::unitentrust::UnitEntrust_Type,
145        #[offset(96)]
146        #[rename(name = "m_WinRuleMID")]
147        pub m_win_rule_mid: ::unity::Il2CppString,
148        #[offset(104)]
149        #[rename(name = "m_WinRuleMIDArg")]
150        pub m_win_rule_mid_arg: ::unity::Il2CppString,
151        #[offset(112)]
152        #[rename(name = "m_LoseRuleMID")]
153        pub m_lose_rule_mid: ::unity::Il2CppString,
154        #[offset(120)]
155        #[rename(name = "m_LoseRuleMIDArg")]
156        pub m_lose_rule_mid_arg: ::unity::Il2CppString,
157        #[offset(128)]
158        #[rename(name = "m_AverageLevel")]
159        pub m_average_level: i32,
160    }
161
162    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation_StatusField.md"))]
163    #[::unity::class(namespace = "App", name = "MapSituation.StatusField")]
164    #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::mapsituation::MapSituation_Status>)]
165    pub struct MapSituation_StatusField {}
166
167    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation_Status.md"))]
168    #[repr(C)]
169    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
170    pub struct MapSituation_Status {
171        pub value: i32,
172    }
173    impl ::unity::ClassIdentity for MapSituation_Status {
174        const NAME: &'static str = "MapSituation.Status";
175        const NAMESPACE: &'static str = "App";
176
177        fn class() -> ::unity::Class {
178            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
179            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
180        }
181    }
182    impl ::unity::IlType for MapSituation_Status {
183        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
184            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
185        }
186    }
187    impl MapSituation_Status {
188        pub fn win_rule_breakdown() -> Self {
189            Self { value: 1 }
190        }
191
192        pub fn win_rule_destroy_boss() -> Self {
193            Self { value: 2 }
194        }
195
196        pub fn sequence_replay_cancel() -> Self {
197            Self { value: 134217728 }
198        }
199
200        pub fn sequence_opening() -> Self {
201            Self { value: 268435456 }
202        }
203
204        pub fn sequence_ai_entrust_cancel() -> Self {
205            Self { value: 536870912 }
206        }
207
208        pub fn sequence_ai() -> Self {
209            Self { value: 1073741824 }
210        }
211
212        pub fn sequence_mind() -> Self {
213            Self { value: -2147483648 }
214        }
215
216        pub fn win_rule_mask() -> Self {
217            Self { value: 3 }
218        }
219    }
220
221    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsituation/MapSituation_ForceCursor.md"))]
222    #[::unity::class(namespace = "App", name = "MapSituation.ForceCursor")]
223    #[parent(crate::system::object::Object)]
224    pub struct MapSituation_ForceCursor {}
225}
226
227#[cfg(feature = "app-mapsituation-types")]
228pub use __types::*;
229
230#[cfg(feature = "app-mapsituation")]
231impl MapSituation {
232    #[doc = "`GetWinRuleString()` overload"]
233    pub fn get_win_rule_string() -> ::unity::Il2CppString {
234        unsafe {
235            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d8a0usize)as*mut u8, ::unity::Il2CppString;
236            )
237        }
238    }
239
240    #[doc = "`GetLoseRuleString()` overload"]
241    pub fn get_lose_rule_string() -> ::unity::Il2CppString {
242        unsafe {
243            ::unity::il2cpp_call!((::unity::module_base()+0x1f4db30usize)as*mut u8, ::unity::Il2CppString;
244            )
245        }
246    }
247
248    #[doc = "`IsHeroLose()` overload"]
249    pub fn is_hero_lose() -> bool {
250        unsafe {
251            ::unity::il2cpp_call!((::unity::module_base()+0x1f4dd10usize)as*mut u8,bool;
252            )
253        }
254    }
255
256    #[doc = "`GetHeroUnitForLoseRuleString()` overload"]
257    pub fn get_hero_unit_for_lose_rule_string() -> crate::app::unit::Unit {
258        unsafe {
259            ::unity::il2cpp_call!((::unity::module_base()+0x1f4de00usize)as*mut u8,crate::app::unit::Unit;
260            )
261        }
262    }
263}
264
265#[cfg(feature = "app-mapsituation")]
266pub trait IMapSituationMethods: IMapSituation {
267    #[doc = "`.ctor()` overload"]
268    fn ctor(self) -> () {
269        unsafe {
270            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x1f48a90usize)as*mut u8,();
272(MapSituation)__receiver)
273        }
274    }
275    #[doc = "`GetStatus()` overload"]
276    fn get_status(self) -> crate::app::mapsituation::MapSituation_StatusField {
277        unsafe {
278            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x1f48d90usize)as*mut u8,crate::app::mapsituation::MapSituation_StatusField;
280(MapSituation)__receiver)
281        }
282    }
283    #[doc = "`SetStatus(crate::app::mapsituation::MapSituation_Status)` overload"]
284    fn set_status(self, status: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Status>) -> () {
285        unsafe {
286            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x1f30850usize)as*mut u8,();
288(MapSituation)__receiver,(crate::app::mapsituation::MapSituation_Status)::core::convert::Into::into(status))
289        }
290    }
291    #[doc = "`ClearStatus(crate::app::mapsituation::MapSituation_Status)` overload"]
292    fn clear_status(self, status: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Status>) -> () {
293        unsafe {
294            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x1f2f870usize)as*mut u8,();
296(MapSituation)__receiver,(crate::app::mapsituation::MapSituation_Status)::core::convert::Into::into(status))
297        }
298    }
299    #[doc = "`CheckStatus(crate::app::mapsituation::MapSituation_Status)` overload"]
300    fn check_status(self, status: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Status>) -> bool {
301        unsafe {
302            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303            ::unity::il2cpp_call!((::unity::module_base()+0x1f308c0usize)as*mut u8,bool;
304(MapSituation)__receiver,(crate::app::mapsituation::MapSituation_Status)::core::convert::Into::into(status))
305        }
306    }
307    #[doc = "`NotStatus(crate::app::mapsituation::MapSituation_Status)` overload"]
308    fn not_status(self, status: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Status>) -> bool {
309        unsafe {
310            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x1f307e0usize)as*mut u8,bool;
312(MapSituation)__receiver,(crate::app::mapsituation::MapSituation_Status)::core::convert::Into::into(status))
313        }
314    }
315    #[doc = "`SetPlayer(crate::app::force::Force_Type, crate::app::mapsituation::MapSituation_Player)` overload"]
316    fn set_player(
317        self,
318        force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
319        player: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Player>,
320    ) -> () {
321        unsafe {
322            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
323            ::unity::il2cpp_call!((::unity::module_base()+0x1f48da0usize)as*mut u8,();
324(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type),(crate::app::mapsituation::MapSituation_Player)::core::convert::Into::into(player))
325        }
326    }
327    #[doc = "`GetPlayer(crate::app::force::Force_Type)` overload"]
328    fn get_player(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> crate::app::mapsituation::MapSituation_Player {
329        unsafe {
330            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331            ::unity::il2cpp_call!((::unity::module_base()+0x1f48de0usize)as*mut u8,crate::app::mapsituation::MapSituation_Player;
332(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
333        }
334    }
335    #[doc = "`SetGroup(crate::app::force::Force_Type, crate::app::force::Force_Type)` overload"]
336    fn set_group(
337        self,
338        force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
339        group: impl ::core::convert::Into<crate::app::force::Force_Type>,
340    ) -> () {
341        unsafe {
342            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343            ::unity::il2cpp_call!((::unity::module_base()+0x1f48e30usize)as*mut u8,();
344(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type),(crate::app::force::Force_Type)::core::convert::Into::into(group))
345        }
346    }
347    #[doc = "`GetGroup(crate::app::force::Force_Type)` overload"]
348    fn get_group(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> crate::app::force::Force_Type {
349        unsafe {
350            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351            ::unity::il2cpp_call!((::unity::module_base()+0x1f48e70usize)as*mut u8,crate::app::force::Force_Type;
352(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
353        }
354    }
355    #[doc = "`IsAllide(crate::app::force::Force_Type, crate::app::force::Force_Type)` overload"]
356    fn is_allide(
357        self,
358        force1: impl ::core::convert::Into<crate::app::force::Force_Type>,
359        force2: impl ::core::convert::Into<crate::app::force::Force_Type>,
360    ) -> bool {
361        unsafe {
362            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363            ::unity::il2cpp_call!((::unity::module_base()+0x1f48ec0usize)as*mut u8,bool;
364(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force1),(crate::app::force::Force_Type)::core::convert::Into::into(force2))
365        }
366    }
367    #[doc = "`GetCurrentPlayer()` overload"]
368    fn get_current_player(self) -> crate::app::mapsituation::MapSituation_Player {
369        unsafe {
370            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371            ::unity::il2cpp_call!((::unity::module_base()+0x1f48f50usize)as*mut u8,crate::app::mapsituation::MapSituation_Player;
372(MapSituation)__receiver)
373        }
374    }
375    #[doc = "`GetCurrentForce()` overload"]
376    fn get_current_force(self) -> crate::app::force::Force {
377        unsafe {
378            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379            ::unity::il2cpp_call!((::unity::module_base()+0x1f48fa0usize)as*mut u8,crate::app::force::Force;
380(MapSituation)__receiver)
381        }
382    }
383    #[doc = "`IsHumanPlayer(crate::app::force::Force_Type)` overload"]
384    fn is_human_player(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
385        unsafe {
386            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387            ::unity::il2cpp_call!((::unity::module_base()+0x1f48fb0usize)as*mut u8,bool;
388(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
389        }
390    }
391    #[doc = "`IsHumanPlayer()` overload"]
392    fn is_human_player_2(self) -> bool {
393        unsafe {
394            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395            ::unity::il2cpp_call!((::unity::module_base()+0x1f49000usize)as*mut u8,bool;
396(MapSituation)__receiver)
397        }
398    }
399    #[doc = "`GetForceCursor(crate::app::force::Force_Type)` overload"]
400    fn get_force_cursor(
401        self,
402        force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
403    ) -> crate::app::mapsituation::MapSituation_ForceCursor {
404        unsafe {
405            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x1f49060usize)as*mut u8,crate::app::mapsituation::MapSituation_ForceCursor;
407(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
408        }
409    }
410    #[doc = "`NextSubPhase()` overload"]
411    fn next_sub_phase(self) -> () {
412        unsafe {
413            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414            ::unity::il2cpp_call!((::unity::module_base()+0x1f490b0usize)as*mut u8,();
415(MapSituation)__receiver)
416        }
417    }
418    #[doc = "`ResetSubPhase()` overload"]
419    fn reset_sub_phase(self) -> () {
420        unsafe {
421            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422            ::unity::il2cpp_call!((::unity::module_base()+0x1f490d0usize)as*mut u8,();
423(MapSituation)__receiver)
424        }
425    }
426    #[doc = "`IsCasual()` overload"]
427    fn is_casual(self) -> bool {
428        unsafe {
429            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x1f490e0usize)as*mut u8,bool;
431(MapSituation)__receiver)
432        }
433    }
434    #[doc = "`IsPhoenix()` overload"]
435    fn is_phoenix(self) -> bool {
436        unsafe {
437            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438            ::unity::il2cpp_call!((::unity::module_base()+0x1f2eeb0usize)as*mut u8,bool;
439(MapSituation)__receiver)
440        }
441    }
442    #[doc = "`IsVersus()` overload"]
443    fn is_versus(self) -> bool {
444        unsafe {
445            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446            ::unity::il2cpp_call!((::unity::module_base()+0x1f49160usize)as*mut u8,bool;
447(MapSituation)__receiver)
448        }
449    }
450    #[doc = "`IsRelay()` overload"]
451    fn is_relay(self) -> bool {
452        unsafe {
453            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454            ::unity::il2cpp_call!((::unity::module_base()+0x1f49210usize)as*mut u8,bool;
455(MapSituation)__receiver)
456        }
457    }
458    #[doc = "`IsChallenge()` overload"]
459    fn is_challenge(self) -> bool {
460        unsafe {
461            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462            ::unity::il2cpp_call!((::unity::module_base()+0x1f49220usize)as*mut u8,bool;
463(MapSituation)__receiver)
464        }
465    }
466    #[doc = "`IsTrial()` overload"]
467    fn is_trial(self) -> bool {
468        unsafe {
469            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470            ::unity::il2cpp_call!((::unity::module_base()+0x1f492d0usize)as*mut u8,bool;
471(MapSituation)__receiver)
472        }
473    }
474    #[doc = "`IsResurrect()` overload"]
475    fn is_resurrect(self) -> bool {
476        unsafe {
477            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478            ::unity::il2cpp_call!((::unity::module_base()+0x1f49430usize)as*mut u8,bool;
479(MapSituation)__receiver)
480        }
481    }
482    #[doc = "`IsRecordKill(crate::app::force::Force_Type)` overload"]
483    fn is_record_kill(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
484        unsafe {
485            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486            ::unity::il2cpp_call!((::unity::module_base()+0x1f49740usize)as*mut u8,bool;
487(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
488        }
489    }
490    #[doc = "`IsRecordDead(crate::app::force::Force_Type)` overload"]
491    fn is_record_dead(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
492        unsafe {
493            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494            ::unity::il2cpp_call!((::unity::module_base()+0x1f497b0usize)as*mut u8,bool;
495(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
496        }
497    }
498    #[doc = "`IsShowOrder()` overload"]
499    fn is_show_order(self) -> bool {
500        unsafe {
501            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502            ::unity::il2cpp_call!((::unity::module_base()+0x1f49820usize)as*mut u8,bool;
503(MapSituation)__receiver)
504        }
505    }
506    #[doc = "`CanOrder()` overload"]
507    fn can_order(self) -> bool {
508        unsafe {
509            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510            ::unity::il2cpp_call!((::unity::module_base()+0x1f499f0usize)as*mut u8,bool;
511(MapSituation)__receiver)
512        }
513    }
514    #[doc = "`IsShowEscape()` overload"]
515    fn is_show_escape(self) -> bool {
516        unsafe {
517            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
518            ::unity::il2cpp_call!((::unity::module_base()+0x1f49a00usize)as*mut u8,bool;
519(MapSituation)__receiver)
520        }
521    }
522    #[doc = "`CanEscape()` overload"]
523    fn can_escape(self) -> bool {
524        unsafe {
525            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
526            ::unity::il2cpp_call!((::unity::module_base()+0x1f49a20usize)as*mut u8,bool;
527(MapSituation)__receiver)
528        }
529    }
530    #[doc = "`CanExistenceDie()` overload"]
531    fn can_existence_die(self) -> bool {
532        unsafe {
533            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534            ::unity::il2cpp_call!((::unity::module_base()+0x1f49a40usize)as*mut u8,bool;
535(MapSituation)__receiver)
536        }
537    }
538    #[doc = "`IsShowTurn()` overload"]
539    fn is_show_turn(self) -> bool {
540        unsafe {
541            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542            ::unity::il2cpp_call!((::unity::module_base()+0x1f49a50usize)as*mut u8,bool;
543(MapSituation)__receiver)
544        }
545    }
546    #[doc = "`IsComplete()` overload"]
547    fn is_complete(self) -> bool {
548        unsafe {
549            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550            ::unity::il2cpp_call!((::unity::module_base()+0x1f2e930usize)as*mut u8,bool;
551(MapSituation)__receiver)
552        }
553    }
554    #[doc = "`IsGameOver()` overload"]
555    fn is_game_over(self) -> bool {
556        unsafe {
557            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558            ::unity::il2cpp_call!((::unity::module_base()+0x1f306e0usize)as*mut u8,bool;
559(MapSituation)__receiver)
560        }
561    }
562    #[doc = "`IsRelayUnsettled()` overload"]
563    fn is_relay_unsettled(self) -> bool {
564        unsafe {
565            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
566            ::unity::il2cpp_call!((::unity::module_base()+0x1f49af0usize)as*mut u8,bool;
567(MapSituation)__receiver)
568        }
569    }
570    #[doc = "`IsEntrustAI()` overload"]
571    fn is_entrust_ai(self) -> bool {
572        unsafe {
573            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
574            ::unity::il2cpp_call!((::unity::module_base()+0x1f49bf0usize)as*mut u8,bool;
575(MapSituation)__receiver)
576        }
577    }
578    #[doc = "`IsNotReturnMap()` overload"]
579    fn is_not_return_map(self) -> bool {
580        unsafe {
581            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582            ::unity::il2cpp_call!((::unity::module_base()+0x1f49cb0usize)as*mut u8,bool;
583(MapSituation)__receiver)
584        }
585    }
586    #[doc = "`IsCancelOperation()` overload"]
587    fn is_cancel_operation(self) -> bool {
588        unsafe {
589            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
590            ::unity::il2cpp_call!((::unity::module_base()+0x1f49cc0usize)as*mut u8,bool;
591(MapSituation)__receiver)
592        }
593    }
594    #[doc = "`IsErrorOperation()` overload"]
595    fn is_error_operation(self) -> bool {
596        unsafe {
597            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
598            ::unity::il2cpp_call!((::unity::module_base()+0x1f49cd0usize)as*mut u8,bool;
599(MapSituation)__receiver)
600        }
601    }
602    #[doc = "`GetMessageWaitFrame()` overload"]
603    fn get_message_wait_frame(self) -> i32 {
604        unsafe {
605            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
606            ::unity::il2cpp_call!((::unity::module_base()+0x1f49ce0usize)as*mut u8,i32;
607(MapSituation)__receiver)
608        }
609    }
610    #[doc = "`TurnEnd()` overload"]
611    fn turn_end(self) -> () {
612        unsafe {
613            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
614            ::unity::il2cpp_call!((::unity::module_base()+0x1f49cf0usize)as*mut u8,();
615(MapSituation)__receiver)
616        }
617    }
618    #[doc = "`TurnNext()` overload"]
619    fn turn_next(self) -> () {
620        unsafe {
621            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
622            ::unity::il2cpp_call!((::unity::module_base()+0x1f4a850usize)as*mut u8,();
623(MapSituation)__receiver)
624        }
625    }
626    #[doc = "`GameEndCheck()` overload"]
627    fn game_end_check(self) -> () {
628        unsafe {
629            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630            ::unity::il2cpp_call!((::unity::module_base()+0x1f4a900usize)as*mut u8,();
631(MapSituation)__receiver)
632        }
633    }
634    #[doc = "`IsLoseUnitDead(crate::app::unit::Unit)` overload"]
635    fn is_lose_unit_dead(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
636        unsafe {
637            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638            ::unity::il2cpp_call!((::unity::module_base()+0x1f4bfd0usize)as*mut u8,bool;
639(MapSituation)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
640        }
641    }
642    #[doc = "`GameEndCheckUnitDead(crate::app::unit::Unit)` overload"]
643    fn game_end_check_unit_dead(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
644        unsafe {
645            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
646            ::unity::il2cpp_call!((::unity::module_base()+0x1f4c280usize)as*mut u8,bool;
647(MapSituation)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
648        }
649    }
650    #[doc = "`SetComplete(crate::app::winloserule::WinLoseRule)` overload"]
651    fn set_complete(self, result: impl ::core::convert::Into<crate::app::winloserule::WinLoseRule>) -> () {
652        unsafe {
653            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
654            ::unity::il2cpp_call!((::unity::module_base()+0x1f4a570usize)as*mut u8,();
655(MapSituation)__receiver,(crate::app::winloserule::WinLoseRule)::core::convert::Into::into(result))
656        }
657    }
658    #[doc = "`SetGameOver(crate::app::winloserule::WinLoseRule)` overload"]
659    fn set_game_over(self, result: impl ::core::convert::Into<crate::app::winloserule::WinLoseRule>) -> () {
660        unsafe {
661            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
662            ::unity::il2cpp_call!((::unity::module_base()+0x1f4a290usize)as*mut u8,();
663(MapSituation)__receiver,(crate::app::winloserule::WinLoseRule)::core::convert::Into::into(result))
664        }
665    }
666    #[doc = "`SetRelayUnsettled()` overload"]
667    fn set_relay_unsettled(self) -> () {
668        unsafe {
669            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
670            ::unity::il2cpp_call!((::unity::module_base()+0x1f4a0a0usize)as*mut u8,();
671(MapSituation)__receiver)
672        }
673    }
674    #[doc = "`get_Version()` overload"]
675    fn get_version(self) -> i32 {
676        unsafe {
677            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
678            {
679                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
680                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
681                    panic!(
682                        "unity: virtual slot {}
683 out of range (vtable len {}
684) on the runtime class behind {}
685 (method `{}
686`)",
687                        4usize,
688                        __vt.len(),
689                        <MapSituation as ::unity::ClassIdentity>::NAME,
690                        "get_Version",
691                    )
692                });
693                let __inner: extern "C" fn(MapSituation, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
694                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
695                __inner(__receiver, __mi)
696            }
697        }
698    }
699    #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
700    fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
701        unsafe {
702            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
703            {
704                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
705                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
706                    panic!(
707                        "unity: virtual slot {}
708 out of range (vtable len {}
709) on the runtime class behind {}
710 (method `{}
711`)",
712                        11usize,
713                        __vt.len(),
714                        <MapSituation as ::unity::ClassIdentity>::NAME,
715                        "OnSerialize",
716                    )
717                });
718                let __inner: extern "C" fn(MapSituation, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
719                    ::core::mem::transmute(__vi.method_ptr);
720                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
721                __inner(__receiver, ::core::convert::Into::into(stream), __mi)
722            }
723        }
724    }
725    #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
726    fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
727        unsafe {
728            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
729            {
730                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
731                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
732                    panic!(
733                        "unity: virtual slot {}
734 out of range (vtable len {}
735) on the runtime class behind {}
736 (method `{}
737`)",
738                        12usize,
739                        __vt.len(),
740                        <MapSituation as ::unity::ClassIdentity>::NAME,
741                        "OnDeserialize",
742                    )
743                });
744                let __inner: extern "C" fn(MapSituation, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
745                    ::core::mem::transmute(__vi.method_ptr);
746                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
747                __inner(
748                    __receiver,
749                    ::core::convert::Into::into(stream),
750                    ::core::convert::Into::into(version),
751                    __mi,
752                )
753            }
754        }
755    }
756    #[doc = "`get_CurrentForceType()` overload"]
757    fn get_current_force_type(self) -> crate::app::force::Force_Type {
758        unsafe {
759            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
760            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d710usize)as*mut u8,crate::app::force::Force_Type;
761(MapSituation)__receiver)
762        }
763    }
764    #[doc = "`set_CurrentForceType(crate::app::force::Force_Type)` overload"]
765    fn set_current_force_type(self, value: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
766        unsafe {
767            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
768            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d720usize)as*mut u8,();
769(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(value))
770        }
771    }
772    #[doc = "`get_HumanForceType()` overload"]
773    fn get_human_force_type(self) -> crate::app::force::Force_Type {
774        unsafe {
775            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
776            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d730usize)as*mut u8,crate::app::force::Force_Type;
777(MapSituation)__receiver)
778        }
779    }
780    #[doc = "`set_HumanForceType(crate::app::force::Force_Type)` overload"]
781    fn set_human_force_type(self, value: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
782        unsafe {
783            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
784            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d740usize)as*mut u8,();
785(MapSituation)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(value))
786        }
787    }
788    #[doc = "`get_HeroForceType()` overload"]
789    fn get_hero_force_type(self) -> crate::app::force::Force_Type {
790        unsafe {
791            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
792            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d750usize)as*mut u8,crate::app::force::Force_Type;
793(MapSituation)__receiver)
794        }
795    }
796    #[doc = "`get_Turn()` overload"]
797    fn get_turn(self) -> i32 {
798        unsafe {
799            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d760usize)as*mut u8,i32;
801(MapSituation)__receiver)
802        }
803    }
804    #[doc = "`set_Turn(i32)` overload"]
805    fn set_turn(self, value: impl ::core::convert::Into<i32>) -> () {
806        unsafe {
807            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
808            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d770usize)as*mut u8,();
809(MapSituation)__receiver,(i32)::core::convert::Into::into(value))
810        }
811    }
812    #[doc = "`get_SubPhase()` overload"]
813    fn get_sub_phase(self) -> crate::app::mapsituation::MapSituation_SubPhases {
814        unsafe {
815            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
816            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d780usize)as*mut u8,crate::app::mapsituation::MapSituation_SubPhases;
817(MapSituation)__receiver)
818        }
819    }
820    #[doc = "`get_WinRuleEnemyNumLessThanOrEqualTo()` overload"]
821    fn get_win_rule_enemy_num_less_than_or_equal_to(self) -> i32 {
822        unsafe {
823            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
824            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d790usize)as*mut u8,i32;
825(MapSituation)__receiver)
826        }
827    }
828    #[doc = "`set_WinRuleEnemyNumLessThanOrEqualTo(i32)` overload"]
829    fn set_win_rule_enemy_num_less_than_or_equal_to(self, value: impl ::core::convert::Into<i32>) -> () {
830        unsafe {
831            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
832            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7a0usize)as*mut u8,();
833(MapSituation)__receiver,(i32)::core::convert::Into::into(value))
834        }
835    }
836    #[doc = "`get_WinRuleLimitTurn()` overload"]
837    fn get_win_rule_limit_turn(self) -> i32 {
838        unsafe {
839            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
840            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7b0usize)as*mut u8,i32;
841(MapSituation)__receiver)
842        }
843    }
844    #[doc = "`set_WinRuleLimitTurn(i32)` overload"]
845    fn set_win_rule_limit_turn(self, value: impl ::core::convert::Into<i32>) -> () {
846        unsafe {
847            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
848            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7c0usize)as*mut u8,();
849(MapSituation)__receiver,(i32)::core::convert::Into::into(value))
850        }
851    }
852    #[doc = "`get_WinLoseResult()` overload"]
853    fn get_win_lose_result(self) -> crate::app::winloserule::WinLoseRule {
854        unsafe {
855            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
856            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7d0usize)as*mut u8,crate::app::winloserule::WinLoseRule;
857(MapSituation)__receiver)
858        }
859    }
860    #[doc = "`get_Entrust()` overload"]
861    fn get_entrust(self) -> crate::app::unitentrust::UnitEntrust_Type {
862        unsafe {
863            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
864            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7e0usize)as*mut u8,crate::app::unitentrust::UnitEntrust_Type;
865(MapSituation)__receiver)
866        }
867    }
868    #[doc = "`set_Entrust(crate::app::unitentrust::UnitEntrust_Type)` overload"]
869    fn set_entrust(self, value: impl ::core::convert::Into<crate::app::unitentrust::UnitEntrust_Type>) -> () {
870        unsafe {
871            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
872            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d7f0usize)as*mut u8,();
873(MapSituation)__receiver,(crate::app::unitentrust::UnitEntrust_Type)::core::convert::Into::into(value))
874        }
875    }
876    #[doc = "`get_WinRuleMID()` overload"]
877    fn get_win_rule_mid(self) -> ::unity::Il2CppString {
878        unsafe {
879            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
880            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d800usize)as*mut u8, ::unity::Il2CppString;
881(MapSituation)__receiver)
882        }
883    }
884    #[doc = "`set_WinRuleMID(::unity::Il2CppString)` overload"]
885    fn set_win_rule_mid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
886        unsafe {
887            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
888            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d810usize)as*mut u8,();
889(MapSituation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
890        }
891    }
892    #[doc = "`get_WinRuleMIDArg()` overload"]
893    fn get_win_rule_mid_arg(self) -> ::unity::Il2CppString {
894        unsafe {
895            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
896            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d820usize)as*mut u8, ::unity::Il2CppString;
897(MapSituation)__receiver)
898        }
899    }
900    #[doc = "`set_WinRuleMIDArg(::unity::Il2CppString)` overload"]
901    fn set_win_rule_mid_arg(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
902        unsafe {
903            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
904            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d830usize)as*mut u8,();
905(MapSituation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
906        }
907    }
908    #[doc = "`get_LoseRuleMID()` overload"]
909    fn get_lose_rule_mid(self) -> ::unity::Il2CppString {
910        unsafe {
911            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
912            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d840usize)as*mut u8, ::unity::Il2CppString;
913(MapSituation)__receiver)
914        }
915    }
916    #[doc = "`set_LoseRuleMID(::unity::Il2CppString)` overload"]
917    fn set_lose_rule_mid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
918        unsafe {
919            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
920            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d850usize)as*mut u8,();
921(MapSituation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
922        }
923    }
924    #[doc = "`get_LoseRuleMIDArg()` overload"]
925    fn get_lose_rule_mid_arg(self) -> ::unity::Il2CppString {
926        unsafe {
927            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
928            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d860usize)as*mut u8, ::unity::Il2CppString;
929(MapSituation)__receiver)
930        }
931    }
932    #[doc = "`set_LoseRuleMIDArg(::unity::Il2CppString)` overload"]
933    fn set_lose_rule_mid_arg(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
934        unsafe {
935            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d870usize)as*mut u8,();
937(MapSituation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
938        }
939    }
940    #[doc = "`get_AverageLevel()` overload"]
941    fn get_average_level(self) -> i32 {
942        unsafe {
943            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
944            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d880usize)as*mut u8,i32;
945(MapSituation)__receiver)
946        }
947    }
948    #[doc = "`set_AverageLevel(i32)` overload"]
949    fn set_average_level(self, value: impl ::core::convert::Into<i32>) -> () {
950        unsafe {
951            let __receiver = <MapSituation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
952            ::unity::il2cpp_call!((::unity::module_base()+0x1f4d890usize)as*mut u8,();
953(MapSituation)__receiver,(i32)::core::convert::Into::into(value))
954        }
955    }
956}
957
958#[cfg(feature = "app-mapsituation")]
959impl<__T: IMapSituation> IMapSituationMethods for __T {}
960
961#[cfg(feature = "app-mapsituation")]
962impl MapSituation {
963    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
964        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
965    }
966
967    pub fn get_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
968        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
969    }
970
971    pub fn set_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
972        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
973    }
974
975    pub fn clear_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
976        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
977    }
978
979    pub fn check_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
980        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
981    }
982
983    pub fn not_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
984        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
985    }
986
987    pub fn set_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
988        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
989    }
990
991    pub fn get_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
992        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
993    }
994
995    pub fn set_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
996        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
997    }
998
999    pub fn get_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1000        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1001    }
1002
1003    pub fn is_allide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1004        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1005    }
1006
1007    pub fn get_current_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1009    }
1010
1011    pub fn get_current_force_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1012        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1013    }
1014
1015    pub fn is_human_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1016        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1017    }
1018
1019    pub fn is_human_player_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1020        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1021    }
1022
1023    pub fn get_force_cursor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1024        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1025    }
1026
1027    pub fn next_sub_phase_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1028        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1029    }
1030
1031    pub fn reset_sub_phase_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1032        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1033    }
1034
1035    pub fn is_casual_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1036        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1037    }
1038
1039    pub fn is_phoenix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1040        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1041    }
1042
1043    pub fn is_versus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1044        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1045    }
1046
1047    pub fn is_relay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1048        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1049    }
1050
1051    pub fn is_challenge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1053    }
1054
1055    pub fn is_trial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1056        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1057    }
1058
1059    pub fn is_resurrect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1060        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1061    }
1062
1063    pub fn is_record_kill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1064        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1065    }
1066
1067    pub fn is_record_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1068        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1069    }
1070
1071    pub fn is_show_order_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1072        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1073    }
1074
1075    pub fn can_order_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1076        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1077    }
1078
1079    pub fn is_show_escape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1080        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1081    }
1082
1083    pub fn can_escape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1084        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1085    }
1086
1087    pub fn can_existence_die_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1088        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1089    }
1090
1091    pub fn is_show_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1092        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1093    }
1094
1095    pub fn is_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1096        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1097    }
1098
1099    pub fn is_game_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1101    }
1102
1103    pub fn is_relay_unsettled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1105    }
1106
1107    pub fn is_entrust_ai_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1109    }
1110
1111    pub fn is_not_return_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1113    }
1114
1115    pub fn is_cancel_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1117    }
1118
1119    pub fn is_error_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1121    }
1122
1123    pub fn get_message_wait_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1125    }
1126
1127    pub fn turn_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1129    }
1130
1131    pub fn turn_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1133    }
1134
1135    pub fn game_end_check_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1137    }
1138
1139    pub fn is_lose_unit_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1141    }
1142
1143    pub fn game_end_check_unit_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1145    }
1146
1147    pub fn set_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1149    }
1150
1151    pub fn set_game_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1153    }
1154
1155    pub fn set_relay_unsettled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1156        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1157    }
1158
1159    pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1160        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1161    }
1162
1163    pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1164        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1165    }
1166
1167    pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1168        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1169    }
1170
1171    pub fn get_current_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1173    }
1174
1175    pub fn set_current_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1176        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1177    }
1178
1179    pub fn get_human_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1180        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1181    }
1182
1183    pub fn set_human_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1184        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1185    }
1186
1187    pub fn get_hero_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1188        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1189    }
1190
1191    pub fn get_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1192        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1193    }
1194
1195    pub fn set_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1196        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1197    }
1198
1199    pub fn get_sub_phase_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1200        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1201    }
1202
1203    pub fn get_win_rule_enemy_num_less_than_or_equal_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1204        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1205    }
1206
1207    pub fn set_win_rule_enemy_num_less_than_or_equal_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1208        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1209    }
1210
1211    pub fn get_win_rule_limit_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1212        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1213    }
1214
1215    pub fn set_win_rule_limit_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1216        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1217    }
1218
1219    pub fn get_win_lose_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1220        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1221    }
1222
1223    pub fn get_entrust_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1224        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1225    }
1226
1227    pub fn set_entrust_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1228        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1229    }
1230
1231    pub fn get_win_rule_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1232        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1233    }
1234
1235    pub fn set_win_rule_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1237    }
1238
1239    pub fn get_win_rule_mid_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1241    }
1242
1243    pub fn set_win_rule_mid_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1245    }
1246
1247    pub fn get_lose_rule_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1249    }
1250
1251    pub fn set_lose_rule_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1253    }
1254
1255    pub fn get_lose_rule_mid_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1257    }
1258
1259    pub fn set_lose_rule_mid_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1260        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1261    }
1262
1263    pub fn get_average_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1265    }
1266
1267    pub fn set_average_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1268        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1269    }
1270
1271    pub fn get_win_rule_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1272        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1273    }
1274
1275    pub fn get_lose_rule_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1276        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1277    }
1278
1279    pub fn is_hero_lose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1280        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1281    }
1282
1283    pub fn get_hero_unit_for_lose_rule_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1285    }
1286}
1287
1288#[cfg(feature = "app-mapsituation")]
1289impl MapSituation {
1290    #[doc = "Direct (non-virtual) call to `MapSituation`'s own `get_Version`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1291    pub unsafe fn get_version(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1292        let __mi = Self::get_version_method_info();
1293        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1294        __inner(this.into(), ::core::option::Option::None)
1295    }
1296
1297    #[doc = "Direct (non-virtual) call to `MapSituation`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1298    pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
1299        let __mi = Self::on_serialize_method_info();
1300        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
1301            ::core::mem::transmute(__mi.method_ptr);
1302        __inner(this.into(), stream, ::core::option::Option::None)
1303    }
1304
1305    #[doc = "Direct (non-virtual) call to `MapSituation`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1306    pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
1307        let __mi = Self::on_deserialize_method_info();
1308        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
1309            ::core::mem::transmute(__mi.method_ptr);
1310        __inner(this.into(), stream, version, ::core::option::Option::None)
1311    }
1312}
1313
1314#[cfg(feature = "app-mapsituation")]
1315impl MapSituation {
1316    #[doc = "`.ctor()` — no args"]
1317    pub fn new() -> Self {
1318        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1319            panic!(
1320                "{}
1321::{}
1322 failed to instantiate",
1323                ::core::stringify!(MapSituation),
1324                ::core::stringify!(new),
1325            )
1326        });
1327        <Self as IMapSituationMethods>::ctor(this);
1328        this
1329    }
1330}
1331
1332#[cfg(feature = "app-mapsituation")]
1333pub trait IMapSituation_StatusFieldMethods: IMapSituation_StatusField {
1334    #[doc = "`ToInt(crate::app::mapsituation::MapSituation_Status)` overload"]
1335    fn to_int(self, value: impl ::core::convert::Into<crate::app::mapsituation::MapSituation_Status>) -> i32 {
1336        unsafe {
1337            let __receiver =
1338                <MapSituation_StatusField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1339            {
1340                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1341                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1342                    panic!(
1343                        "unity: virtual slot {}
1344 out of range (vtable len {}
1345) on the runtime class behind {}
1346 (method `{}
1347`)",
1348                        5usize,
1349                        __vt.len(),
1350                        <MapSituation_StatusField as ::unity::ClassIdentity>::NAME,
1351                        "ToInt",
1352                    )
1353                });
1354                let __inner: extern "C" fn(MapSituation_StatusField, crate::app::mapsituation::MapSituation_Status, ::unity::OptionalMethod) -> i32 =
1355                    ::core::mem::transmute(__vi.method_ptr);
1356                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1357                __inner(__receiver, ::core::convert::Into::into(value), __mi)
1358            }
1359        }
1360    }
1361    #[doc = "`.ctor()` overload"]
1362    fn ctor(self) -> () {
1363        unsafe {
1364            let __receiver =
1365                <MapSituation_StatusField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1366            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bce0usize)as*mut u8,();
1367(MapSituation_StatusField)__receiver)
1368        }
1369    }
1370}
1371
1372#[cfg(feature = "app-mapsituation")]
1373impl<__T: IMapSituation_StatusField> IMapSituation_StatusFieldMethods for __T {}
1374
1375#[cfg(feature = "app-mapsituation")]
1376impl MapSituation_StatusField {
1377    pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1378        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1379    }
1380
1381    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1382        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1383    }
1384}
1385
1386#[cfg(feature = "app-mapsituation")]
1387impl MapSituation_StatusField {
1388    #[doc = "Direct (non-virtual) call to `MapSituation_StatusField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1389    pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::mapsituation::MapSituation_Status) -> i32 {
1390        let __mi = Self::to_int_method_info();
1391        let __inner: extern "C" fn(::unity::IlInstance, crate::app::mapsituation::MapSituation_Status, ::unity::OptionalMethod) -> i32 =
1392            ::core::mem::transmute(__mi.method_ptr);
1393        __inner(this.into(), value, ::core::option::Option::None)
1394    }
1395}
1396
1397#[cfg(feature = "app-mapsituation")]
1398impl MapSituation_StatusField {
1399    #[doc = "`.ctor()` — no args"]
1400    pub fn new() -> Self {
1401        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1402            panic!(
1403                "{}
1404::{}
1405 failed to instantiate",
1406                ::core::stringify!(MapSituation_StatusField),
1407                ::core::stringify!(new),
1408            )
1409        });
1410        <Self as IMapSituation_StatusFieldMethods>::ctor(this);
1411        this
1412    }
1413}
1414
1415#[cfg(feature = "app-mapsituation")]
1416pub trait IMapSituation_ForceCursorMethods: IMapSituation_ForceCursor {
1417    #[doc = "`Set(i32, i32)` overload"]
1418    fn set(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
1419        unsafe {
1420            let __receiver =
1421                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1422            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bc60usize)as*mut u8,();
1423(MapSituation_ForceCursor)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
1424        }
1425    }
1426    #[doc = "`Clear()` overload"]
1427    fn clear(self) -> () {
1428        unsafe {
1429            let __receiver =
1430                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1431            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bc70usize)as*mut u8,();
1432(MapSituation_ForceCursor)__receiver)
1433        }
1434    }
1435    #[doc = "`get_X()` overload"]
1436    fn get_x(self) -> i32 {
1437        unsafe {
1438            let __receiver =
1439                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1440            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bc80usize)as*mut u8,i32;
1441(MapSituation_ForceCursor)__receiver)
1442        }
1443    }
1444    #[doc = "`set_X(i32)` overload"]
1445    fn set_x(self, value: impl ::core::convert::Into<i32>) -> () {
1446        unsafe {
1447            let __receiver =
1448                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1449            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bc90usize)as*mut u8,();
1450(MapSituation_ForceCursor)__receiver,(i32)::core::convert::Into::into(value))
1451        }
1452    }
1453    #[doc = "`get_Z()` overload"]
1454    fn get_z(self) -> i32 {
1455        unsafe {
1456            let __receiver =
1457                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1458            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bca0usize)as*mut u8,i32;
1459(MapSituation_ForceCursor)__receiver)
1460        }
1461    }
1462    #[doc = "`set_Z(i32)` overload"]
1463    fn set_z(self, value: impl ::core::convert::Into<i32>) -> () {
1464        unsafe {
1465            let __receiver =
1466                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1467            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bcb0usize)as*mut u8,();
1468(MapSituation_ForceCursor)__receiver,(i32)::core::convert::Into::into(value))
1469        }
1470    }
1471    #[doc = "`.ctor()` overload"]
1472    fn ctor(self) -> () {
1473        unsafe {
1474            let __receiver =
1475                <MapSituation_ForceCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1476            ::unity::il2cpp_call!((::unity::module_base()+0x1e3bcc0usize)as*mut u8,();
1477(MapSituation_ForceCursor)__receiver)
1478        }
1479    }
1480}
1481
1482#[cfg(feature = "app-mapsituation")]
1483impl<__T: IMapSituation_ForceCursor> IMapSituation_ForceCursorMethods for __T {}
1484
1485#[cfg(feature = "app-mapsituation")]
1486impl MapSituation_ForceCursor {
1487    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1488        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1489    }
1490
1491    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1492        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1493    }
1494
1495    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1496        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1497    }
1498
1499    pub fn set_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1500        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1501    }
1502
1503    pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1505    }
1506
1507    pub fn set_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1509    }
1510
1511    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1513    }
1514}
1515
1516#[cfg(feature = "app-mapsituation")]
1517impl MapSituation_ForceCursor {
1518    #[doc = "`.ctor()` — no args"]
1519    pub fn new() -> Self {
1520        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1521            panic!(
1522                "{}
1523::{}
1524 failed to instantiate",
1525                ::core::stringify!(MapSituation_ForceCursor),
1526                ::core::stringify!(new),
1527            )
1528        });
1529        <Self as IMapSituation_ForceCursorMethods>::ctor(this);
1530        this
1531    }
1532}
1533
1534#[cfg(feature = "app-mapsituation")]
1535#[doc(hidden)]
1536pub mod prelude {
1537    pub use super::{
1538        IMapSituation, IMapSituationMethods, IMapSituation_ForceCursor, IMapSituation_ForceCursorMethods, IMapSituation_StatusField,
1539        IMapSituation_StatusFieldMethods, MapSituation, MapSituation_ForceCursor, MapSituation_Player, MapSituation_Status, MapSituation_StatusField,
1540        MapSituation_SubPhases,
1541    };
1542    #[cfg(feature = "app-bitfield32")]
1543    pub use crate::app::bitfield32::IBitField32Methods;
1544    #[cfg(feature = "app-bitfieldcommon")]
1545    pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
1546    #[cfg(feature = "app-bitfieldtemplate32_1")]
1547    pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
1548    #[cfg(feature = "app-singletonclass_1")]
1549    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1550    #[cfg(feature = "system-object")]
1551    pub use crate::system::object::IObjectMethods;
1552    #[cfg(feature = "system-enum")]
1553    pub use crate::system::r#enum::IEnumMethods;
1554    #[cfg(feature = "system-valuetype")]
1555    pub use crate::system::valuetype::IValueTypeMethods;
1556    pub use crate::{
1557        app::{
1558            bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1,
1559            singletonclass_1::ISingletonClass_1,
1560        },
1561        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1562    };
1563}