engage/generated/app/
mapimagecorebit.rs1#[cfg(feature = "app-mapimagecorebit-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapimagecorebit/MapImageCoreBit.md"))]
11 #[::unity::class(namespace = "App", name = "MapImageCoreBit")]
12 #[parent(crate::system::object::Object)]
13 pub struct MapImageCoreBit {
14 #[static_field]
15 #[rename(name = "MaxCount")]
16 pub max_count: i32,
17 #[offset(16)]
18 #[rename(name = "m_Images")]
19 pub m_images: ::unity::Array<u32>,
20 #[static_field]
21 #[rename(name = "s_Fill")]
22 pub s_fill: ::unity::Array<u32>,
23 }
24}
25
26#[cfg(feature = "app-mapimagecorebit-types")]
27pub use __types::*;
28
29#[cfg(feature = "app-mapimagecorebit")]
30impl MapImageCoreBit {
31 #[doc = "`.cctor()` overload"]
32 pub fn cctor() -> () {
33 unsafe {
34 ::unity::il2cpp_call!((::unity::module_base()+0x1de4a30usize)as*mut u8,();
35 )
36 }
37 }
38}
39
40#[cfg(feature = "app-mapimagecorebit")]
41pub trait IMapImageCoreBitMethods: IMapImageCoreBit {
42 #[doc = "`.ctor()` overload"]
43 fn ctor(self) -> () {
44 unsafe {
45 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46 ::unity::il2cpp_call!((::unity::module_base()+0x1de3d20usize)as*mut u8,();
47(MapImageCoreBit)__receiver)
48 }
49 }
50 #[doc = "`Clear()` overload"]
51 fn clear(self) -> () {
52 unsafe {
53 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54 {
55 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
56 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
57 panic!(
58 "unity: virtual slot {}
59 out of range (vtable len {}
60) on the runtime class behind {}
61 (method `{}
62`)",
63 4usize,
64 __vt.len(),
65 <MapImageCoreBit as ::unity::ClassIdentity>::NAME,
66 "Clear",
67 )
68 });
69 let __inner: extern "C" fn(MapImageCoreBit, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
70 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
71 __inner(__receiver, __mi)
72 }
73 }
74 }
75 #[doc = "`CopyFrom(crate::app::mapimagecorebit::MapImageCoreBit)` overload"]
76 fn copy_from(self, src: impl ::core::convert::Into<crate::app::mapimagecorebit::MapImageCoreBit>) -> () {
77 unsafe {
78 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79 ::unity::il2cpp_call!((::unity::module_base()+0x1de3dc0usize)as*mut u8,();
80(MapImageCoreBit)__receiver,(crate::app::mapimagecorebit::MapImageCoreBit)::core::convert::Into::into(src))
81 }
82 }
83 #[doc = "`Fill()` overload"]
84 fn fill(self) -> () {
85 unsafe {
86 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87 ::unity::il2cpp_call!((::unity::module_base()+0x1de3de0usize)as*mut u8,();
88(MapImageCoreBit)__receiver)
89 }
90 }
91 #[doc = "`MergeFrom(crate::app::mapimagecorebit::MapImageCoreBit)` overload"]
92 fn merge_from(self, src: impl ::core::convert::Into<crate::app::mapimagecorebit::MapImageCoreBit>) -> () {
93 unsafe {
94 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95 ::unity::il2cpp_call!((::unity::module_base()+0x1de3e60usize)as*mut u8,();
96(MapImageCoreBit)__receiver,(crate::app::mapimagecorebit::MapImageCoreBit)::core::convert::Into::into(src))
97 }
98 }
99 #[doc = "`Set(i32, i32)` overload"]
100 fn set(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
101 unsafe {
102 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103 ::unity::il2cpp_call!((::unity::module_base()+0x1de4480usize)as*mut u8,();
104(MapImageCoreBit)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
105 }
106 }
107 #[doc = "`Get(i32, i32)` overload"]
108 fn get(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
109 unsafe {
110 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111 ::unity::il2cpp_call!((::unity::module_base()+0x1de44d0usize)as*mut u8,bool;
112(MapImageCoreBit)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
113 }
114 }
115 #[doc = "`Clr(i32, i32)` overload"]
116 fn clr(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
117 unsafe {
118 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119 ::unity::il2cpp_call!((::unity::module_base()+0x1de4510usize)as*mut u8,();
120(MapImageCoreBit)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
121 }
122 }
123 #[doc = "`Get(i32, i32, i32)` overload"]
124 fn get_2(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>, size: impl ::core::convert::Into<i32>) -> bool {
125 unsafe {
126 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127 ::unity::il2cpp_call!((::unity::module_base()+0x1de4560usize)as*mut u8,bool;
128(MapImageCoreBit)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(size))
129 }
130 }
131 #[doc = "`Exists()` overload"]
132 fn exists(self) -> bool {
133 unsafe {
134 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135 ::unity::il2cpp_call!((::unity::module_base()+0x1de4680usize)as*mut u8,bool;
136(MapImageCoreBit)__receiver)
137 }
138 }
139 #[doc = "`Dump()` overload"]
140 fn dump(self) -> () {
141 unsafe {
142 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143 ::unity::il2cpp_call!((::unity::module_base()+0x1de4870usize)as*mut u8,();
144(MapImageCoreBit)__receiver)
145 }
146 }
147 #[doc = "`GetHashCode()` overload"]
148 fn get_hash_code(self) -> i32 {
149 unsafe {
150 let __receiver = <MapImageCoreBit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151 {
152 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
153 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
154 panic!(
155 "unity: virtual slot {}
156 out of range (vtable len {}
157) on the runtime class behind {}
158 (method `{}
159`)",
160 2usize,
161 __vt.len(),
162 <MapImageCoreBit as ::unity::ClassIdentity>::NAME,
163 "GetHashCode",
164 )
165 });
166 let __inner: extern "C" fn(MapImageCoreBit, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
167 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
168 __inner(__receiver, __mi)
169 }
170 }
171 }
172}
173
174#[cfg(feature = "app-mapimagecorebit")]
175impl<__T: IMapImageCoreBit> IMapImageCoreBitMethods for __T {}
176
177#[cfg(feature = "app-mapimagecorebit")]
178impl MapImageCoreBit {
179 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
181 }
182
183 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
185 }
186
187 pub fn copy_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
189 }
190
191 pub fn fill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
193 }
194
195 pub fn merge_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
197 }
198
199 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
201 }
202
203 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
205 }
206
207 pub fn clr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
209 }
210
211 pub fn get_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
213 }
214
215 pub fn exists_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
217 }
218
219 pub fn dump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
221 }
222
223 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
225 }
226
227 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
229 }
230}
231
232#[cfg(feature = "app-mapimagecorebit")]
233impl MapImageCoreBit {
234 #[doc = "Direct (non-virtual) call to `MapImageCoreBit`'s own `Clear`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
235 pub unsafe fn clear(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
236 let __mi = Self::clear_method_info();
237 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
238 __inner(this.into(), ::core::option::Option::None)
239 }
240
241 #[doc = "Direct (non-virtual) call to `MapImageCoreBit`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
242 pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
243 let __mi = Self::get_hash_code_method_info();
244 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
245 __inner(this.into(), ::core::option::Option::None)
246 }
247}
248
249#[cfg(feature = "app-mapimagecorebit")]
250impl MapImageCoreBit {
251 #[doc = "`.ctor()` — no args"]
252 pub fn new() -> Self {
253 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
254 panic!(
255 "{}
256::{}
257 failed to instantiate",
258 ::core::stringify!(MapImageCoreBit),
259 ::core::stringify!(new),
260 )
261 });
262 <Self as IMapImageCoreBitMethods>::ctor(this);
263 this
264 }
265}
266
267#[cfg(feature = "app-mapimagecorebit")]
268#[doc(hidden)]
269pub mod prelude {
270 pub use super::{IMapImageCoreBit, IMapImageCoreBitMethods, MapImageCoreBit};
271 pub use crate::system::object::IObject;
272 #[cfg(feature = "system-object")]
273 pub use crate::system::object::IObjectMethods;
274}