Skip to main content

engage/generated/app/
battleside.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-battleside-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_ShortArray.md"))]
15    #[::unity::class(namespace = "App", name = "BattleSide.ShortArray")]
16    #[parent(crate::app::battleside::BattleSide_StructArray_1<i16>)]
17    pub struct BattleSide_ShortArray {}
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_StructArray_1.md"))]
20    #[::unity::class(namespace = "App", name = "BattleSide.StructArray`1")]
21    #[parent(crate::system::object::Object)]
22    pub struct BattleSide_StructArray_1<T0: ::unity::ClassIdentity> {
23        #[rename(name = "m_Array")]
24        pub m_array: ::unity::Array<T0>,
25    }
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_FloatArray.md"))]
28    #[::unity::class(namespace = "App", name = "BattleSide.FloatArray")]
29    #[parent(crate::app::battleside::BattleSide_StructArray_1<f32>)]
30    pub struct BattleSide_FloatArray {}
31
32    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_IntArray.md"))]
33    #[::unity::class(namespace = "App", name = "BattleSide.IntArray")]
34    #[parent(crate::app::battleside::BattleSide_StructArray_1<i32>)]
35    pub struct BattleSide_IntArray {}
36
37    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_Type.md"))]
38    #[repr(C)]
39    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
40    pub struct BattleSide_Type {
41        pub value: i32,
42    }
43    impl ::unity::ClassIdentity for BattleSide_Type {
44        const NAME: &'static str = "BattleSide.Type";
45        const NAMESPACE: &'static str = "App";
46
47        fn class() -> ::unity::Class {
48            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
49            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
50        }
51    }
52    impl ::unity::IlType for BattleSide_Type {
53        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
54            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
55        }
56    }
57    impl BattleSide_Type {
58        pub fn none() -> Self {
59            Self { value: -1 }
60        }
61
62        pub fn offense() -> Self {
63            Self { value: 0 }
64        }
65
66        pub fn defense() -> Self {
67            Self { value: 1 }
68        }
69
70        pub fn chain_offense1() -> Self {
71            Self { value: 2 }
72        }
73
74        pub fn chain_offense2() -> Self {
75            Self { value: 3 }
76        }
77
78        pub fn chain_offense3() -> Self {
79            Self { value: 4 }
80        }
81
82        pub fn chain_offense4() -> Self {
83            Self { value: 5 }
84        }
85
86        pub fn chain_offense5() -> Self {
87            Self { value: 6 }
88        }
89
90        pub fn chain_offense6() -> Self {
91            Self { value: 7 }
92        }
93
94        pub fn chain_offense7() -> Self {
95            Self { value: 8 }
96        }
97
98        pub fn chain_offense8() -> Self {
99            Self { value: 9 }
100        }
101
102        pub fn chain_offense9() -> Self {
103            Self { value: 10 }
104        }
105
106        pub fn chain_offense10() -> Self {
107            Self { value: 11 }
108        }
109
110        pub fn chain_offense11() -> Self {
111            Self { value: 12 }
112        }
113
114        pub fn chain_offense12() -> Self {
115            Self { value: 13 }
116        }
117
118        pub fn chain_offense13() -> Self {
119            Self { value: 14 }
120        }
121
122        pub fn chain_offense14() -> Self {
123            Self { value: 15 }
124        }
125
126        pub fn chain_offense15() -> Self {
127            Self { value: 16 }
128        }
129
130        pub fn chain_offense16() -> Self {
131            Self { value: 17 }
132        }
133
134        pub fn chain_offense17() -> Self {
135            Self { value: 18 }
136        }
137
138        pub fn chain_offense18() -> Self {
139            Self { value: 19 }
140        }
141
142        pub fn chain_offense19() -> Self {
143            Self { value: 20 }
144        }
145
146        pub fn chain_offense20() -> Self {
147            Self { value: 21 }
148        }
149
150        pub fn chain_offense21() -> Self {
151            Self { value: 22 }
152        }
153
154        pub fn chain_offense22() -> Self {
155            Self { value: 23 }
156        }
157
158        pub fn chain_offense23() -> Self {
159            Self { value: 24 }
160        }
161
162        pub fn chain_offense24() -> Self {
163            Self { value: 25 }
164        }
165
166        pub fn chain_defense1() -> Self {
167            Self { value: 26 }
168        }
169
170        pub fn chain_defense2() -> Self {
171            Self { value: 27 }
172        }
173
174        pub fn chain_defense3() -> Self {
175            Self { value: 28 }
176        }
177
178        pub fn chain_defense4() -> Self {
179            Self { value: 29 }
180        }
181    }
182
183    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_SbyteArray.md"))]
184    #[::unity::class(namespace = "App", name = "BattleSide.SbyteArray")]
185    #[parent(crate::app::battleside::BattleSide_StructArray_1<i8>)]
186    pub struct BattleSide_SbyteArray {}
187
188    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide.md"))]
189    #[::unity::class(namespace = "App", name = "BattleSide")]
190    #[parent(crate::system::object::Object)]
191    pub struct BattleSide {
192        #[static_field]
193        #[rename(name = "MainNum")]
194        pub main_num: i32,
195        #[static_field]
196        #[rename(name = "ChainOffenseNum")]
197        pub chain_offense_num: i32,
198        #[static_field]
199        #[rename(name = "ChainDefenseNum")]
200        pub chain_defense_num: i32,
201        #[static_field]
202        #[rename(name = "Whole")]
203        pub whole: i32,
204        #[static_field]
205        #[rename(name = "LinkOffense")]
206        pub link_offense: crate::app::battleside::BattleSide_Type,
207        #[static_field]
208        #[rename(name = "MainBegin")]
209        pub main_begin: crate::app::battleside::BattleSide_Type,
210        #[static_field]
211        #[rename(name = "MainEnd")]
212        pub main_end: crate::app::battleside::BattleSide_Type,
213        #[static_field]
214        #[rename(name = "ChainOffenseMin")]
215        pub chain_offense_min: crate::app::battleside::BattleSide_Type,
216        #[static_field]
217        #[rename(name = "ChainOffenseMax")]
218        pub chain_offense_max: crate::app::battleside::BattleSide_Type,
219        #[static_field]
220        #[rename(name = "ChainDefenseMin")]
221        pub chain_defense_min: crate::app::battleside::BattleSide_Type,
222        #[static_field]
223        #[rename(name = "ChainDefenseMax")]
224        pub chain_defense_max: crate::app::battleside::BattleSide_Type,
225        #[static_field]
226        #[rename(name = "SupportBegin")]
227        pub support_begin: crate::app::battleside::BattleSide_Type,
228        #[static_field]
229        #[rename(name = "SupportEnd")]
230        pub support_end: crate::app::battleside::BattleSide_Type,
231        #[static_field]
232        #[rename(name = "Parents")]
233        pub parents: ::unity::Array<crate::app::battleside::BattleSide_Type>,
234        #[static_field]
235        #[rename(name = "Reverses")]
236        pub reverses: ::unity::Array<crate::app::battleside::BattleSide_Type>,
237        #[static_field]
238        #[rename(name = "Stands")]
239        pub stands: ::unity::Array<crate::app::battleside::BattleSide_Type>,
240    }
241
242    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_ClassArray_1.md"))]
243    #[::unity::class(namespace = "App", name = "BattleSide.ClassArray`1")]
244    #[parent(crate::app::battleside::BattleSide_ContainerArray_1<T0>)]
245    #[parent(crate::system::object::Object)]
246    pub struct BattleSide_ClassArray_1<T0: ::unity::ClassIdentity> {}
247
248    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battleside/BattleSide_ContainerArray_1.md"))]
249    #[::unity::class(namespace = "App", name = "BattleSide.ContainerArray`1")]
250    #[parent(crate::system::object::Object)]
251    pub struct BattleSide_ContainerArray_1<T0: ::unity::ClassIdentity> {
252        #[rename(name = "m_Array")]
253        pub m_array: ::unity::Array<T0>,
254    }
255}
256
257#[cfg(feature = "app-battleside-types")]
258pub use __types::*;
259
260#[cfg(feature = "app-battleside")]
261pub trait IBattleSide_ShortArrayMethods: IBattleSide_ShortArray {
262    #[doc = "`.ctor()` overload"]
263    fn ctor(self) -> () {
264        unsafe {
265            let __receiver = <BattleSide_ShortArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266            ::unity::il2cpp_call!((::unity::module_base()+0x19bbc90usize)as*mut u8,();
267(BattleSide_ShortArray)__receiver)
268        }
269    }
270}
271
272#[cfg(feature = "app-battleside")]
273impl<__T: IBattleSide_ShortArray> IBattleSide_ShortArrayMethods for __T {}
274
275#[cfg(feature = "app-battleside")]
276impl BattleSide_ShortArray {
277    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
279    }
280}
281
282#[cfg(feature = "app-battleside")]
283impl BattleSide_ShortArray {
284    #[doc = "`.ctor()` — no args"]
285    pub fn new() -> Self {
286        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
287            panic!(
288                "{}
289::{}
290 failed to instantiate",
291                ::core::stringify!(BattleSide_ShortArray),
292                ::core::stringify!(new),
293            )
294        });
295        <Self as IBattleSide_ShortArrayMethods>::ctor(this);
296        this
297    }
298}
299
300#[cfg(feature = "app-battleside")]
301#[::unity::methods]
302impl<T0: ::unity::ClassIdentity> BattleSide_StructArray_1<T0> {
303    #[doc = "`.ctor()` overload"]
304    #[method(name = ".ctor", args = 0)]
305    pub fn ctor(self) -> ();
306
307    #[doc = "`get_Item(i32)` overload"]
308    #[method(name = "get_Item", args = 1)]
309    pub fn get_item(self, i: i32) -> T0;
310
311    #[doc = "`set_Item(i32, T0)` overload"]
312    #[method(name = "set_Item", args = 2)]
313    pub fn set_item(self, i: i32, value: T0) -> ();
314
315    #[doc = "`get_Item(crate::app::battleside::BattleSide_Type)` overload"]
316    #[method(name = "get_Item", args = 1)]
317    pub fn get_item_2(self, r#type: crate::app::battleside::BattleSide_Type) -> T0;
318
319    #[doc = "`set_Item(crate::app::battleside::BattleSide_Type, T0)` overload"]
320    #[method(name = "set_Item", args = 2)]
321    pub fn set_item_2(self, r#type: crate::app::battleside::BattleSide_Type, value: T0) -> ();
322}
323
324#[cfg(feature = "app-battleside")]
325impl<T0: ::unity::ClassIdentity> BattleSide_StructArray_1<T0> {
326    #[doc = "`.ctor()` — no args"]
327    pub fn new() -> Self {
328        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
329            panic!(
330                "{}
331::{}
332 failed to instantiate",
333                ::core::stringify!(BattleSide_StructArray_1),
334                ::core::stringify!(new),
335            )
336        });
337        <Self as IBattleSide_StructArray_1Methods<T0>>::ctor(this);
338        this
339    }
340}
341
342#[cfg(feature = "app-battleside")]
343pub trait IBattleSide_FloatArrayMethods: IBattleSide_FloatArray {
344    #[doc = "`.ctor()` overload"]
345    fn ctor(self) -> () {
346        unsafe {
347            let __receiver = <BattleSide_FloatArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348            ::unity::il2cpp_call!((::unity::module_base()+0x19bbb70usize)as*mut u8,();
349(BattleSide_FloatArray)__receiver)
350        }
351    }
352}
353
354#[cfg(feature = "app-battleside")]
355impl<__T: IBattleSide_FloatArray> IBattleSide_FloatArrayMethods for __T {}
356
357#[cfg(feature = "app-battleside")]
358impl BattleSide_FloatArray {
359    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
361    }
362}
363
364#[cfg(feature = "app-battleside")]
365impl BattleSide_FloatArray {
366    #[doc = "`.ctor()` — no args"]
367    pub fn new() -> Self {
368        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
369            panic!(
370                "{}
371::{}
372 failed to instantiate",
373                ::core::stringify!(BattleSide_FloatArray),
374                ::core::stringify!(new),
375            )
376        });
377        <Self as IBattleSide_FloatArrayMethods>::ctor(this);
378        this
379    }
380}
381
382#[cfg(feature = "app-battleside")]
383pub trait IBattleSide_IntArrayMethods: IBattleSide_IntArray {
384    #[doc = "`.ctor()` overload"]
385    fn ctor(self) -> () {
386        unsafe {
387            let __receiver = <BattleSide_IntArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388            ::unity::il2cpp_call!((::unity::module_base()+0x19bbbd0usize)as*mut u8,();
389(BattleSide_IntArray)__receiver)
390        }
391    }
392}
393
394#[cfg(feature = "app-battleside")]
395impl<__T: IBattleSide_IntArray> IBattleSide_IntArrayMethods for __T {}
396
397#[cfg(feature = "app-battleside")]
398impl BattleSide_IntArray {
399    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
401    }
402}
403
404#[cfg(feature = "app-battleside")]
405impl BattleSide_IntArray {
406    #[doc = "`.ctor()` — no args"]
407    pub fn new() -> Self {
408        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
409            panic!(
410                "{}
411::{}
412 failed to instantiate",
413                ::core::stringify!(BattleSide_IntArray),
414                ::core::stringify!(new),
415            )
416        });
417        <Self as IBattleSide_IntArrayMethods>::ctor(this);
418        this
419    }
420}
421
422#[cfg(feature = "app-battleside")]
423pub trait IBattleSide_SbyteArrayMethods: IBattleSide_SbyteArray {
424    #[doc = "`.ctor()` overload"]
425    fn ctor(self) -> () {
426        unsafe {
427            let __receiver = <BattleSide_SbyteArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428            ::unity::il2cpp_call!((::unity::module_base()+0x19bbc30usize)as*mut u8,();
429(BattleSide_SbyteArray)__receiver)
430        }
431    }
432}
433
434#[cfg(feature = "app-battleside")]
435impl<__T: IBattleSide_SbyteArray> IBattleSide_SbyteArrayMethods for __T {}
436
437#[cfg(feature = "app-battleside")]
438impl BattleSide_SbyteArray {
439    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
441    }
442}
443
444#[cfg(feature = "app-battleside")]
445impl BattleSide_SbyteArray {
446    #[doc = "`.ctor()` — no args"]
447    pub fn new() -> Self {
448        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
449            panic!(
450                "{}
451::{}
452 failed to instantiate",
453                ::core::stringify!(BattleSide_SbyteArray),
454                ::core::stringify!(new),
455            )
456        });
457        <Self as IBattleSide_SbyteArrayMethods>::ctor(this);
458        this
459    }
460}
461
462#[cfg(feature = "app-battleside")]
463impl BattleSide {
464    #[doc = "`Parent(crate::app::battleside::BattleSide_Type)` overload"]
465    pub fn parent(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> crate::app::battleside::BattleSide_Type {
466        unsafe {
467            ::unity::il2cpp_call!((::unity::module_base()+0x1e92920usize)as*mut u8,crate::app::battleside::BattleSide_Type;
468(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
469        }
470    }
471
472    #[doc = "`Parent(i32)` overload"]
473    pub fn parent_2(r#type: impl ::core::convert::Into<i32>) -> i32 {
474        unsafe {
475            ::unity::il2cpp_call!((::unity::module_base()+0x1e929c0usize)as*mut u8,i32;
476(i32)::core::convert::Into::into(r#type))
477        }
478    }
479
480    #[doc = "`Reverse(crate::app::battleside::BattleSide_Type)` overload"]
481    pub fn reverse(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> crate::app::battleside::BattleSide_Type {
482        unsafe {
483            ::unity::il2cpp_call!((::unity::module_base()+0x1e92a60usize)as*mut u8,crate::app::battleside::BattleSide_Type;
484(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
485        }
486    }
487
488    #[doc = "`Reverse(i32)` overload"]
489    pub fn reverse_2(r#type: impl ::core::convert::Into<i32>) -> i32 {
490        unsafe {
491            ::unity::il2cpp_call!((::unity::module_base()+0x1e92b00usize)as*mut u8,i32;
492(i32)::core::convert::Into::into(r#type))
493        }
494    }
495
496    #[doc = "`Stand(crate::app::battleside::BattleSide_Type)` overload"]
497    pub fn stand(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> crate::app::battleside::BattleSide_Type {
498        unsafe {
499            ::unity::il2cpp_call!((::unity::module_base()+0x1e92ba0usize)as*mut u8,crate::app::battleside::BattleSide_Type;
500(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
501        }
502    }
503
504    #[doc = "`Chain(crate::app::battleside::BattleSide_Type, i32)` overload"]
505    pub fn chain(
506        r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
507        index: impl ::core::convert::Into<i32>,
508    ) -> crate::app::battleside::BattleSide_Type {
509        unsafe {
510            ::unity::il2cpp_call!((::unity::module_base()+0x1e92c40usize)as*mut u8,crate::app::battleside::BattleSide_Type;
511(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
512        }
513    }
514
515    #[doc = "`IsOffenseSide(crate::app::battleside::BattleSide_Type)` overload"]
516    pub fn is_offense_side(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> bool {
517        unsafe {
518            ::unity::il2cpp_call!((::unity::module_base()+0x1e92c60usize)as*mut u8,bool;
519(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
520        }
521    }
522
523    #[doc = "`IsDefenseSide(crate::app::battleside::BattleSide_Type)` overload"]
524    pub fn is_defense_side(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> bool {
525        unsafe {
526            ::unity::il2cpp_call!((::unity::module_base()+0x1e92c80usize)as*mut u8,bool;
527(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
528        }
529    }
530
531    #[doc = "`IsChainSide(crate::app::battleside::BattleSide_Type)` overload"]
532    pub fn is_chain_side(r#type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>) -> bool {
533        unsafe {
534            ::unity::il2cpp_call!((::unity::module_base()+0x1e92ca0usize)as*mut u8,bool;
535(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(r#type))
536        }
537    }
538
539    #[doc = "`.cctor()` overload"]
540    pub fn cctor() -> () {
541        unsafe {
542            ::unity::il2cpp_call!((::unity::module_base()+0x1e92cc0usize)as*mut u8,();
543            )
544        }
545    }
546}
547
548#[cfg(feature = "app-battleside")]
549pub trait IBattleSideMethods: IBattleSide {
550    #[doc = "`.ctor()` overload"]
551    fn ctor(self) -> () {
552        unsafe {
553            let __receiver = <BattleSide as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554            ::unity::il2cpp_call!((::unity::module_base()+0x1e92cb0usize)as*mut u8,();
555(BattleSide)__receiver)
556        }
557    }
558}
559
560#[cfg(feature = "app-battleside")]
561impl<__T: IBattleSide> IBattleSideMethods for __T {}
562
563#[cfg(feature = "app-battleside")]
564impl BattleSide {
565    pub fn parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
567    }
568
569    pub fn parent_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
571    }
572
573    pub fn reverse_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
575    }
576
577    pub fn reverse_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
579    }
580
581    pub fn stand_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
583    }
584
585    pub fn chain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
587    }
588
589    pub fn is_offense_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
591    }
592
593    pub fn is_defense_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
594        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
595    }
596
597    pub fn is_chain_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
598        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
599    }
600
601    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
602        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
603    }
604
605    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
606        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
607    }
608}
609
610#[cfg(feature = "app-battleside")]
611impl BattleSide {
612    #[doc = "`.ctor()` — no args"]
613    pub fn new() -> Self {
614        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
615            panic!(
616                "{}
617::{}
618 failed to instantiate",
619                ::core::stringify!(BattleSide),
620                ::core::stringify!(new),
621            )
622        });
623        <Self as IBattleSideMethods>::ctor(this);
624        this
625    }
626}
627
628#[cfg(feature = "app-battleside")]
629#[::unity::methods]
630impl<T0: ::unity::ClassIdentity> BattleSide_ClassArray_1<T0> {
631    #[doc = "`.ctor()` overload"]
632    #[method(name = ".ctor", args = 0)]
633    pub fn ctor(self) -> ();
634}
635
636#[cfg(feature = "app-battleside")]
637impl<T0: ::unity::ClassIdentity> BattleSide_ClassArray_1<T0> {
638    #[doc = "`.ctor()` — no args"]
639    pub fn new() -> Self {
640        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
641            panic!(
642                "{}
643::{}
644 failed to instantiate",
645                ::core::stringify!(BattleSide_ClassArray_1),
646                ::core::stringify!(new),
647            )
648        });
649        <Self as IBattleSide_ClassArray_1Methods<T0>>::ctor(this);
650        this
651    }
652}
653
654#[cfg(feature = "app-battleside")]
655#[::unity::methods]
656impl<T0: ::unity::ClassIdentity> BattleSide_ContainerArray_1<T0> {
657    #[doc = "`.ctor()` overload"]
658    #[method(name = ".ctor", args = 0)]
659    pub fn ctor(self) -> ();
660
661    #[doc = "`get_Item(i32)` overload"]
662    #[method(name = "get_Item", args = 1)]
663    pub fn get_item(self, i: i32) -> T0;
664
665    #[doc = "`set_Item(i32, T0)` overload"]
666    #[method(name = "set_Item", args = 2)]
667    pub fn set_item(self, i: i32, value: T0) -> ();
668
669    #[doc = "`get_Item(crate::app::battleside::BattleSide_Type)` overload"]
670    #[method(name = "get_Item", args = 1)]
671    pub fn get_item_2(self, r#type: crate::app::battleside::BattleSide_Type) -> T0;
672
673    #[doc = "`set_Item(crate::app::battleside::BattleSide_Type, T0)` overload"]
674    #[method(name = "set_Item", args = 2)]
675    pub fn set_item_2(self, r#type: crate::app::battleside::BattleSide_Type, value: T0) -> ();
676}
677
678#[cfg(feature = "app-battleside")]
679impl<T0: ::unity::ClassIdentity> BattleSide_ContainerArray_1<T0> {
680    #[doc = "`.ctor()` — no args"]
681    pub fn new() -> Self {
682        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
683            panic!(
684                "{}
685::{}
686 failed to instantiate",
687                ::core::stringify!(BattleSide_ContainerArray_1),
688                ::core::stringify!(new),
689            )
690        });
691        <Self as IBattleSide_ContainerArray_1Methods<T0>>::ctor(this);
692        this
693    }
694}
695
696#[cfg(feature = "app-battleside")]
697#[doc(hidden)]
698pub mod prelude {
699    pub use super::{
700        BattleSide, BattleSide_ClassArray_1, BattleSide_ContainerArray_1, BattleSide_FloatArray, BattleSide_IntArray, BattleSide_SbyteArray,
701        BattleSide_ShortArray, BattleSide_StructArray_1, BattleSide_Type, IBattleSide, IBattleSideMethods, IBattleSide_ClassArray_1,
702        IBattleSide_ClassArray_1Methods, IBattleSide_ContainerArray_1, IBattleSide_ContainerArray_1Methods, IBattleSide_FloatArray,
703        IBattleSide_FloatArrayMethods, IBattleSide_IntArray, IBattleSide_IntArrayMethods, IBattleSide_SbyteArray, IBattleSide_SbyteArrayMethods,
704        IBattleSide_ShortArray, IBattleSide_ShortArrayMethods, IBattleSide_StructArray_1, IBattleSide_StructArray_1Methods,
705    };
706    #[cfg(feature = "system-object")]
707    pub use crate::system::object::IObjectMethods;
708    #[cfg(feature = "system-enum")]
709    pub use crate::system::r#enum::IEnumMethods;
710    #[cfg(feature = "system-valuetype")]
711    pub use crate::system::valuetype::IValueTypeMethods;
712    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
713}