Skip to main content

engage/generated/app/
battleinfoenum.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-battleinfoenum-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleinfoenum/BattleInfoEnum.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct BattleInfoEnum {
17        pub m_info: crate::app::battleinfo::BattleInfo,
18        pub m_min: crate::app::battleside::BattleSide_Type,
19        pub m_max: crate::app::battleside::BattleSide_Type,
20        pub m_current: crate::app::battleinfoside::BattleInfoSide,
21    }
22    impl ::unity::ClassIdentity for BattleInfoEnum {
23        const NAME: &'static str = "BattleInfoEnum";
24        const NAMESPACE: &'static str = "App";
25
26        fn class() -> ::unity::Class {
27            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
28            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
29        }
30    }
31    impl ::unity::IlType for BattleInfoEnum {
32        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
33            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
34        }
35    }
36}
37
38#[cfg(feature = "app-battleinfoenum-types")]
39pub use __types::*;
40
41#[cfg(feature = "app-battleinfoenum")]
42impl BattleInfoEnum {
43    #[doc = "`GetEnumerator()` overload"]
44    pub fn get_enumerator(&mut self) -> crate::app::battleinfoenum::BattleInfoEnum {
45        unsafe {
46            ::unity::il2cpp_call!((::unity::module_base()+0x1e77160usize)as*mut u8,crate::app::battleinfoenum::BattleInfoEnum;
47(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
48        }
49    }
50
51    #[doc = "`.ctor(crate::app::battleinfo::BattleInfo, crate::app::battleside::BattleSide_Type, crate::app::battleside::BattleSide_Type)` overload"]
52    pub fn ctor(
53        &mut self,
54        info: impl ::core::convert::Into<crate::app::battleinfo::BattleInfo>,
55        min: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
56        max: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
57    ) -> () {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x1e78020usize)as*mut u8,();
60(*mut BattleInfoEnum)self as*mut BattleInfoEnum,(crate::app::battleinfo::BattleInfo)::core::convert::Into::into(info),(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(min),(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(max))
61        }
62    }
63
64    #[doc = "`Dispose()` overload"]
65    pub fn dispose(&mut self) -> () {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x1e77300usize)as*mut u8,();
68(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
69        }
70    }
71
72    #[doc = "`MoveNext()` overload"]
73    pub fn move_next(&mut self) -> bool {
74        unsafe {
75            ::unity::il2cpp_call!((::unity::module_base()+0x1e771b0usize)as*mut u8,bool;
76(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
77        }
78    }
79
80    #[doc = "`Reset()` overload"]
81    pub fn reset(&mut self) -> () {
82        unsafe {
83            ::unity::il2cpp_call!((::unity::module_base()+0x1e84290usize)as*mut u8,();
84(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
85        }
86    }
87
88    #[doc = "`System.Collections.IEnumerator.get_Current()` overload"]
89    pub fn system_collections_i_enumerator_get_current(&mut self) -> crate::system::object::Object {
90        unsafe {
91            ::unity::il2cpp_call!((::unity::module_base()+0x1e842a0usize)as*mut u8,crate::system::object::Object;
92(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
93        }
94    }
95
96    #[doc = "`get_Current()` overload"]
97    pub fn get_current(&mut self) -> crate::app::battleinfoside::BattleInfoSide {
98        unsafe {
99            ::unity::il2cpp_call!((::unity::module_base()+0x1e842b0usize)as*mut u8,crate::app::battleinfoside::BattleInfoSide;
100(*mut BattleInfoEnum)self as*mut BattleInfoEnum)
101        }
102    }
103}
104
105#[cfg(feature = "app-battleinfoenum")]
106impl BattleInfoEnum {
107    pub fn get_enumerator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
109    }
110
111    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
113    }
114
115    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
117    }
118
119    pub fn move_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
121    }
122
123    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
125    }
126
127    pub fn system_collections_i_enumerator_get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
129    }
130
131    pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
133    }
134}
135
136#[cfg(feature = "app-battleinfoenum")]
137#[doc(hidden)]
138pub mod prelude {
139    pub use super::BattleInfoEnum;
140    #[cfg(feature = "system-object")]
141    pub use crate::system::object::IObjectMethods;
142    #[cfg(feature = "system-valuetype")]
143    pub use crate::system::valuetype::IValueTypeMethods;
144    pub use crate::system::{object::IObject, valuetype::IValueType};
145}