Skip to main content

engage/generated/app/
structdataarraylist_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-structdataarraylist_1-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::structlist_1::{IStructList_1, StructList_1},
10        system::{
11            collections::generic::list_1::{IList_1, List_1},
12            object::{IObject, Object},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/structdataarraylist_1/StructDataArrayList_1.md"))]
17    #[::unity::class(namespace = "App", name = "StructDataArrayList`1")]
18    #[parent(crate::app::structlist_1::StructList_1<T0>)]
19    #[parent(crate::system::collections::generic::list_1::List_1<T0>)]
20    #[parent(crate::system::object::Object)]
21    pub struct StructDataArrayList_1<T0: ::unity::ClassIdentity> {}
22}
23
24#[cfg(feature = "app-structdataarraylist_1-types")]
25pub use __types::*;
26
27#[cfg(feature = "app-structdataarraylist_1")]
28#[::unity::methods]
29impl<T0: ::unity::ClassIdentity> StructDataArrayList_1<T0> {
30    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
31    #[method(name = ".ctor", args = 1)]
32    pub fn ctor(self, name: ::unity::Il2CppString) -> ();
33
34    #[doc = "`get_ArrayName()` overload"]
35    #[method(name = "get_ArrayName", args = 0)]
36    pub fn get_array_name(self) -> ::unity::Il2CppString;
37
38    #[doc = "`set_ArrayName(::unity::Il2CppString)` overload"]
39    #[method(name = "set_ArrayName", args = 1)]
40    pub fn set_array_name(self, value: ::unity::Il2CppString) -> ();
41
42    #[doc = "`get_ArrayHash()` overload"]
43    #[method(name = "get_ArrayHash", args = 0)]
44    pub fn get_array_hash(self) -> i32;
45
46    #[doc = "`set_ArrayHash(i32)` overload"]
47    #[method(name = "set_ArrayHash", args = 1)]
48    pub fn set_array_hash(self, value: i32) -> ();
49}
50
51#[cfg(feature = "app-structdataarraylist_1")]
52impl<T0: ::unity::ClassIdentity> StructDataArrayList_1<T0> {
53    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
54    pub fn new(name: ::unity::Il2CppString) -> Self {
55        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
56            panic!(
57                "{}
58::{}
59 failed to instantiate",
60                ::core::stringify!(StructDataArrayList_1),
61                ::core::stringify!(new),
62            )
63        });
64        <Self as IStructDataArrayList_1Methods<T0>>::ctor(this, name);
65        this
66    }
67}
68
69#[cfg(feature = "app-structdataarraylist_1")]
70#[doc(hidden)]
71pub mod prelude {
72    pub use super::{IStructDataArrayList_1, IStructDataArrayList_1Methods, StructDataArrayList_1};
73    #[cfg(feature = "app-structlist_1")]
74    pub use crate::app::structlist_1::IStructList_1Methods;
75    #[cfg(feature = "system-collections-generic-list_1")]
76    pub use crate::system::collections::generic::list_1::IList_1Methods;
77    #[cfg(feature = "system-object")]
78    pub use crate::system::object::IObjectMethods;
79    pub use crate::{
80        app::structlist_1::IStructList_1,
81        system::{collections::generic::list_1::IList_1, object::IObject},
82    };
83}