engage/generated/root/
akreflectionpathinfoarray.rs1#[cfg(feature = "root-akreflectionpathinfoarray-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 root::akbasearray_1::{AkBaseArray_1, IAkBaseArray_1},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akreflectionpathinfoarray/AkReflectionPathInfoArray.md"))]
14 #[::unity::class(namespace = "", name = "AkReflectionPathInfoArray")]
15 #[parent(crate::root::akbasearray_1::AkBaseArray_1<crate::root::akreflectionpathinfo::AkReflectionPathInfo>)]
16 pub struct AkReflectionPathInfoArray {}
17}
18
19#[cfg(feature = "root-akreflectionpathinfoarray-types")]
20pub use __types::*;
21
22#[cfg(feature = "root-akreflectionpathinfoarray")]
23pub trait IAkReflectionPathInfoArrayMethods: IAkReflectionPathInfoArray {
24 #[doc = "`.ctor(i32)` overload"]
25 fn ctor(self, count: impl ::core::convert::Into<i32>) -> () {
26 unsafe {
27 let __receiver =
28 <AkReflectionPathInfoArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
29 ::unity::il2cpp_call!((::unity::module_base()+0x2f314b0usize)as*mut u8,();
30(AkReflectionPathInfoArray)__receiver,(i32)::core::convert::Into::into(count))
31 }
32 }
33 #[doc = "`get_StructureSize()` overload"]
34 fn get_structure_size(self) -> i32 {
35 unsafe {
36 let __receiver =
37 <AkReflectionPathInfoArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
38 {
39 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
40 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
41 panic!(
42 "unity: virtual slot {}
43 out of range (vtable len {}
44) on the runtime class behind {}
45 (method `{}
46`)",
47 6usize,
48 __vt.len(),
49 <AkReflectionPathInfoArray as ::unity::ClassIdentity>::NAME,
50 "get_StructureSize",
51 )
52 });
53 let __inner: extern "C" fn(AkReflectionPathInfoArray, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
54 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
55 __inner(__receiver, __mi)
56 }
57 }
58 }
59 #[doc = "`CreateNewReferenceFromIntPtr(::unity::IntPtr)` overload"]
60 fn create_new_reference_from_int_ptr(
61 self,
62 address: impl ::core::convert::Into<::unity::IntPtr>,
63 ) -> crate::root::akreflectionpathinfo::AkReflectionPathInfo {
64 unsafe {
65 let __receiver =
66 <AkReflectionPathInfoArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 {
68 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
69 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
70 panic!(
71 "unity: virtual slot {}
72 out of range (vtable len {}
73) on the runtime class behind {}
74 (method `{}
75`)",
76 9usize,
77 __vt.len(),
78 <AkReflectionPathInfoArray as ::unity::ClassIdentity>::NAME,
79 "CreateNewReferenceFromIntPtr",
80 )
81 });
82 let __inner: extern "C" fn(
83 AkReflectionPathInfoArray,
84 ::unity::IntPtr,
85 ::unity::OptionalMethod,
86 ) -> crate::root::akreflectionpathinfo::AkReflectionPathInfo = ::core::mem::transmute(__vi.method_ptr);
87 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
88 __inner(__receiver, ::core::convert::Into::into(address), __mi)
89 }
90 }
91 }
92 #[doc = "`CloneIntoReferenceFromIntPtr(::unity::IntPtr, crate::root::akreflectionpathinfo::AkReflectionPathInfo)` overload"]
93 fn clone_into_reference_from_int_ptr(
94 self,
95 address: impl ::core::convert::Into<::unity::IntPtr>,
96 other: impl ::core::convert::Into<crate::root::akreflectionpathinfo::AkReflectionPathInfo>,
97 ) -> () {
98 unsafe {
99 let __receiver =
100 <AkReflectionPathInfoArray as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101 {
102 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
103 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
104 panic!(
105 "unity: virtual slot {}
106 out of range (vtable len {}
107) on the runtime class behind {}
108 (method `{}
109`)",
110 10usize,
111 __vt.len(),
112 <AkReflectionPathInfoArray as ::unity::ClassIdentity>::NAME,
113 "CloneIntoReferenceFromIntPtr",
114 )
115 });
116 let __inner: extern "C" fn(
117 AkReflectionPathInfoArray,
118 ::unity::IntPtr,
119 crate::root::akreflectionpathinfo::AkReflectionPathInfo,
120 ::unity::OptionalMethod,
121 ) -> () = ::core::mem::transmute(__vi.method_ptr);
122 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
123 __inner(__receiver, ::core::convert::Into::into(address), ::core::convert::Into::into(other), __mi)
124 }
125 }
126 }
127}
128
129#[cfg(feature = "root-akreflectionpathinfoarray")]
130impl<__T: IAkReflectionPathInfoArray> IAkReflectionPathInfoArrayMethods for __T {}
131
132#[cfg(feature = "root-akreflectionpathinfoarray")]
133impl AkReflectionPathInfoArray {
134 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
136 }
137
138 pub fn get_structure_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
140 }
141
142 pub fn create_new_reference_from_int_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
144 }
145
146 pub fn clone_into_reference_from_int_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
148 }
149}
150
151#[cfg(feature = "root-akreflectionpathinfoarray")]
152impl AkReflectionPathInfoArray {
153 #[doc = "Direct (non-virtual) call to `AkReflectionPathInfoArray`'s own `get_StructureSize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
154 pub unsafe fn get_structure_size(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
155 let __mi = Self::get_structure_size_method_info();
156 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
157 __inner(this.into(), ::core::option::Option::None)
158 }
159
160 #[doc = "Direct (non-virtual) call to `AkReflectionPathInfoArray`'s own `CreateNewReferenceFromIntPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
161 pub unsafe fn create_new_reference_from_int_ptr(
162 this: impl ::core::convert::Into<::unity::IlInstance>,
163 address: ::unity::IntPtr,
164 ) -> crate::root::akreflectionpathinfo::AkReflectionPathInfo {
165 let __mi = Self::create_new_reference_from_int_ptr_method_info();
166 let __inner: extern "C" fn(
167 ::unity::IlInstance,
168 ::unity::IntPtr,
169 ::unity::OptionalMethod,
170 ) -> crate::root::akreflectionpathinfo::AkReflectionPathInfo = ::core::mem::transmute(__mi.method_ptr);
171 __inner(this.into(), address, ::core::option::Option::None)
172 }
173
174 #[doc = "Direct (non-virtual) call to `AkReflectionPathInfoArray`'s own `CloneIntoReferenceFromIntPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
175 pub unsafe fn clone_into_reference_from_int_ptr(
176 this: impl ::core::convert::Into<::unity::IlInstance>,
177 address: ::unity::IntPtr,
178 other: crate::root::akreflectionpathinfo::AkReflectionPathInfo,
179 ) -> () {
180 let __mi = Self::clone_into_reference_from_int_ptr_method_info();
181 let __inner: extern "C" fn(
182 ::unity::IlInstance,
183 ::unity::IntPtr,
184 crate::root::akreflectionpathinfo::AkReflectionPathInfo,
185 ::unity::OptionalMethod,
186 ) -> () = ::core::mem::transmute(__mi.method_ptr);
187 __inner(this.into(), address, other, ::core::option::Option::None)
188 }
189}
190
191#[cfg(feature = "root-akreflectionpathinfoarray")]
192impl AkReflectionPathInfoArray {
193 #[doc = "`.ctor(i32)` — overload selector"]
194 pub fn new(count: i32) -> Self {
195 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
196 panic!(
197 "{}
198::{}
199 failed to instantiate",
200 ::core::stringify!(AkReflectionPathInfoArray),
201 ::core::stringify!(new),
202 )
203 });
204 <Self as IAkReflectionPathInfoArrayMethods>::ctor(this, count);
205 this
206 }
207}
208
209#[cfg(feature = "root-akreflectionpathinfoarray")]
210#[doc(hidden)]
211pub mod prelude {
212 pub use super::{AkReflectionPathInfoArray, IAkReflectionPathInfoArray, IAkReflectionPathInfoArrayMethods};
213 #[cfg(feature = "root-akbasearray_1")]
214 pub use crate::root::akbasearray_1::IAkBaseArray_1Methods;
215 #[cfg(feature = "system-object")]
216 pub use crate::system::object::IObjectMethods;
217 pub use crate::{root::akbasearray_1::IAkBaseArray_1, system::object::IObject};
218}