Skip to main content

engage/generated/app/
aivalue.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-aivalue-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/aivalue/AIValue_UnionValue.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy)]
17    pub struct AIValue_UnionValue {
18        pub v8_0: u8,
19        pub v8_1: u8,
20        pub v16: i16,
21    }
22    impl ::unity::ClassIdentity for AIValue_UnionValue {
23        const NAME: &'static str = "AIValue.UnionValue";
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 AIValue_UnionValue {
32        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
33            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
34        }
35    }
36
37    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/aivalue/AIValue_Value.md"))]
38    #[repr(C)]
39    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
40    pub struct AIValue_Value {
41        pub value: i32,
42    }
43    impl ::unity::ClassIdentity for AIValue_Value {
44        const NAME: &'static str = "AIValue.Value";
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 AIValue_Value {
53        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
54            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
55        }
56    }
57    impl AIValue_Value {
58        pub fn num() -> Self {
59            Self { value: 4 }
60        }
61    }
62
63    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/aivalue/AIValue.md"))]
64    #[::unity::class(namespace = "App", name = "AIValue")]
65    #[parent(crate::system::object::Object)]
66    pub struct AIValue {
67        #[static_field]
68        #[rename(name = "Version")]
69        pub version: i32,
70        #[offset(16)]
71        #[rename(name = "m_V")]
72        pub m_v: crate::app::aivalue::AIValue_UnionValue,
73    }
74
75    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/aivalue/AIValue_Order.md"))]
76    #[repr(C)]
77    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
78    pub struct AIValue_Order {
79        pub value: i32,
80    }
81    impl ::unity::ClassIdentity for AIValue_Order {
82        const NAME: &'static str = "AIValue.Order";
83        const NAMESPACE: &'static str = "App";
84
85        fn class() -> ::unity::Class {
86            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
87            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
88        }
89    }
90    impl ::unity::IlType for AIValue_Order {
91        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
92            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
93        }
94    }
95    impl AIValue_Order {
96        pub fn cause() -> Self {
97            Self { value: 0 }
98        }
99
100        pub fn mind() -> Self {
101            Self { value: 1 }
102        }
103
104        pub fn attack() -> Self {
105            Self { value: 2 }
106        }
107
108        pub fn r#move() -> Self {
109            Self { value: 3 }
110        }
111
112        pub fn num() -> Self {
113            Self { value: 4 }
114        }
115    }
116}
117
118#[cfg(feature = "app-aivalue-types")]
119pub use __types::*;
120
121#[cfg(feature = "app-aivalue")]
122impl AIValue {
123    #[doc = "`ParseCoord(::unity::Il2CppString, *muti32, *muti32, *muti32)` overload"]
124    pub fn parse_coord(str: impl ::core::convert::Into<::unity::Il2CppString>) -> (i32, i32, i32) {
125        unsafe {
126            let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
127            let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
128            let mut __out_2 = ::core::mem::MaybeUninit::<i32>::uninit();
129            ::unity::il2cpp_call!((::unity::module_base()+0x27b3520usize)as*mut u8,();
130(::unity::Il2CppString)::core::convert::Into::into(str),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr(),(*mut i32)__out_2.as_mut_ptr());
131            (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
132        }
133    }
134
135    #[doc = "`ParseNumber(::unity::Il2CppString, *muti32, *muti32)` overload"]
136    pub fn parse_number(str: impl ::core::convert::Into<::unity::Il2CppString>) -> (i32, i32) {
137        unsafe {
138            let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
139            let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
140            ::unity::il2cpp_call!((::unity::module_base()+0x27b36c0usize)as*mut u8,();
141(::unity::Il2CppString)::core::convert::Into::into(str),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr());
142            (__out_0.assume_init(), __out_1.assume_init())
143        }
144    }
145
146    #[doc = "`SkipSpace(::unity::Il2CppString, i32)` overload"]
147    pub fn skip_space(str: impl ::core::convert::Into<::unity::Il2CppString>, index: impl ::core::convert::Into<i32>) -> i32 {
148        unsafe {
149            ::unity::il2cpp_call!((::unity::module_base()+0x27b3ad0usize)as*mut u8,i32;
150(::unity::Il2CppString)::core::convert::Into::into(str),(i32)::core::convert::Into::into(index))
151        }
152    }
153
154    #[doc = "`IsNumber(u16)` overload"]
155    pub fn is_number(c: impl ::core::convert::Into<u16>) -> bool {
156        unsafe {
157            ::unity::il2cpp_call!((::unity::module_base()+0x27b3b40usize)as*mut u8,bool;
158(u16)::core::convert::Into::into(c))
159        }
160    }
161}
162
163#[cfg(feature = "app-aivalue")]
164pub trait IAIValueMethods: IAIValue {
165    #[doc = "`get_X()` overload"]
166    fn get_x(self) -> i32 {
167        unsafe {
168            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169            ::unity::il2cpp_call!((::unity::module_base()+0x27b2800usize)as*mut u8,i32;
170(AIValue)__receiver)
171        }
172    }
173    #[doc = "`get_Z()` overload"]
174    fn get_z(self) -> i32 {
175        unsafe {
176            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177            ::unity::il2cpp_call!((::unity::module_base()+0x27b2810usize)as*mut u8,i32;
178(AIValue)__receiver)
179        }
180    }
181    #[doc = "`GetValue()` overload"]
182    fn get_value(self) -> i32 {
183        unsafe {
184            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185            ::unity::il2cpp_call!((::unity::module_base()+0x27b2820usize)as*mut u8,i32;
186(AIValue)__receiver)
187        }
188    }
189    #[doc = "`SetValue(i16)` overload"]
190    fn set_value(self, v: impl ::core::convert::Into<i16>) -> () {
191        unsafe {
192            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193            ::unity::il2cpp_call!((::unity::module_base()+0x27b2830usize)as*mut u8,();
194(AIValue)__receiver,(i16)::core::convert::Into::into(v))
195        }
196    }
197    #[doc = "`SetPosition(u8, u8)` overload"]
198    fn set_position(self, x: impl ::core::convert::Into<u8>, z: impl ::core::convert::Into<u8>) -> () {
199        unsafe {
200            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x27b2840usize)as*mut u8,();
202(AIValue)__receiver,(u8)::core::convert::Into::into(x),(u8)::core::convert::Into::into(z))
203        }
204    }
205    #[doc = "`GetPerson()` overload"]
206    fn get_person(self) -> crate::app::persondata::PersonData {
207        unsafe {
208            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x27b2850usize)as*mut u8,crate::app::persondata::PersonData;
210(AIValue)__receiver)
211        }
212    }
213    #[doc = "`GetJob()` overload"]
214    fn get_job(self) -> crate::app::jobdata::JobData {
215        unsafe {
216            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x27b2990usize)as*mut u8,crate::app::jobdata::JobData;
218(AIValue)__receiver)
219        }
220    }
221    #[doc = "`GetTerrain()` overload"]
222    fn get_terrain(self) -> crate::app::terraindata_2::TerrainData_2 {
223        unsafe {
224            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x27b2a60usize)as*mut u8,crate::app::terraindata_2::TerrainData_2;
226(AIValue)__receiver)
227        }
228    }
229    #[doc = "`GetItem()` overload"]
230    fn get_item(self) -> crate::app::itemdata::ItemData {
231        unsafe {
232            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x27b2b30usize)as*mut u8,crate::app::itemdata::ItemData;
234(AIValue)__receiver)
235        }
236    }
237    #[doc = "`GetAI()` overload"]
238    fn get_ai(self) -> crate::system::collections::generic::list_1::List_1<crate::app::aidata::AIData> {
239        unsafe {
240            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241            ::unity::il2cpp_call!((::unity::module_base()+0x27b2c00usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::aidata::AIData> ;
242(AIValue)__receiver)
243        }
244    }
245    #[doc = "`GetAIName()` overload"]
246    fn get_ai_name(self) -> ::unity::Il2CppString {
247        unsafe {
248            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            ::unity::il2cpp_call!((::unity::module_base()+0x27b2cd0usize)as*mut u8, ::unity::Il2CppString;
250(AIValue)__receiver)
251        }
252    }
253    #[doc = "`IsValidFlagValue()` overload"]
254    fn is_valid_flag_value(self) -> bool {
255        unsafe {
256            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257            ::unity::il2cpp_call!((::unity::module_base()+0x27b2d40usize)as*mut u8,bool;
258(AIValue)__receiver)
259        }
260    }
261    #[doc = "`GetFlagValue()` overload"]
262    fn get_flag_value(self) -> i32 {
263        unsafe {
264            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265            ::unity::il2cpp_call!((::unity::module_base()+0x27b2d50usize)as*mut u8,i32;
266(AIValue)__receiver)
267        }
268    }
269    #[doc = "`SetValue(::unity::Il2CppString)` overload"]
270    fn set_value_2(self, str: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
271        unsafe {
272            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273            ::unity::il2cpp_call!((::unity::module_base()+0x27b2e80usize)as*mut u8, ::unity::Il2CppString;
274(AIValue)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str))
275        }
276    }
277    #[doc = "`IsSignal()` overload"]
278    fn is_signal(self) -> bool {
279        unsafe {
280            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281            ::unity::il2cpp_call!((::unity::module_base()+0x27b37e0usize)as*mut u8,bool;
282(AIValue)__receiver)
283        }
284    }
285    #[doc = "`IsDefault()` overload"]
286    fn is_default(self) -> bool {
287        unsafe {
288            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289            ::unity::il2cpp_call!((::unity::module_base()+0x27b37f0usize)as*mut u8,bool;
290(AIValue)__receiver)
291        }
292    }
293    #[doc = "`IsMax()` overload"]
294    fn is_max(self) -> bool {
295        unsafe {
296            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297            ::unity::il2cpp_call!((::unity::module_base()+0x27b3800usize)as*mut u8,bool;
298(AIValue)__receiver)
299        }
300    }
301    #[doc = "`IsSkip()` overload"]
302    fn is_skip(self) -> bool {
303        unsafe {
304            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305            ::unity::il2cpp_call!((::unity::module_base()+0x27b3810usize)as*mut u8,bool;
306(AIValue)__receiver)
307        }
308    }
309    #[doc = "`IsArgument()` overload"]
310    fn is_argument(self) -> bool {
311        unsafe {
312            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313            ::unity::il2cpp_call!((::unity::module_base()+0x27b3820usize)as*mut u8,bool;
314(AIValue)__receiver)
315        }
316    }
317    #[doc = "`GetArgument(crate::app::aivalue::AIValue_Order, crate::app::unit::Unit)` overload"]
318    fn get_argument(
319        self,
320        order: impl ::core::convert::Into<crate::app::aivalue::AIValue_Order>,
321        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
322    ) -> crate::app::aivalue::AIValue {
323        unsafe {
324            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325            ::unity::il2cpp_call!((::unity::module_base()+0x27b3840usize)as*mut u8,crate::app::aivalue::AIValue;
326(AIValue)__receiver,(crate::app::aivalue::AIValue_Order)::core::convert::Into::into(order),(crate::app::unit::Unit)::core::convert::Into::into(unit))
327        }
328    }
329    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
330    fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
331        unsafe {
332            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
333            ::unity::il2cpp_call!((::unity::module_base()+0x27b3860usize)as*mut u8,();
334(AIValue)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
335        }
336    }
337    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
338    fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
339        unsafe {
340            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341            ::unity::il2cpp_call!((::unity::module_base()+0x27b38a0usize)as*mut u8,();
342(AIValue)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
343        }
344    }
345    #[doc = "`GetString()` overload"]
346    fn get_string(self) -> ::unity::Il2CppString {
347        unsafe {
348            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349            ::unity::il2cpp_call!((::unity::module_base()+0x27b2920usize)as*mut u8, ::unity::Il2CppString;
350(AIValue)__receiver)
351        }
352    }
353    #[doc = "`.ctor()` overload"]
354    fn ctor(self) -> () {
355        unsafe {
356            let __receiver = <AIValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
357            ::unity::il2cpp_call!((::unity::module_base()+0x27b3b60usize)as*mut u8,();
358(AIValue)__receiver)
359        }
360    }
361}
362
363#[cfg(feature = "app-aivalue")]
364impl<__T: IAIValue> IAIValueMethods for __T {}
365
366#[cfg(feature = "app-aivalue")]
367impl AIValue {
368    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
370    }
371
372    pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
374    }
375
376    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
378    }
379
380    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
381        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
382    }
383
384    pub fn set_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
385        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
386    }
387
388    pub fn get_person_method_info() -> &'static ::unity::il2cpp::MethodInfo {
389        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
390    }
391
392    pub fn get_job_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
394    }
395
396    pub fn get_terrain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
397        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
398    }
399
400    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
402    }
403
404    pub fn get_ai_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
406    }
407
408    pub fn get_ai_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
410    }
411
412    pub fn is_valid_flag_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
413        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
414    }
415
416    pub fn get_flag_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
417        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
418    }
419
420    pub fn set_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
422    }
423
424    pub fn is_signal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
426    }
427
428    pub fn is_default_method_info() -> &'static ::unity::il2cpp::MethodInfo {
429        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
430    }
431
432    pub fn is_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
434    }
435
436    pub fn is_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
437        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
438    }
439
440    pub fn is_argument_method_info() -> &'static ::unity::il2cpp::MethodInfo {
441        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
442    }
443
444    pub fn get_argument_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
446    }
447
448    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
449        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
450    }
451
452    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
454    }
455
456    pub fn get_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
458    }
459
460    pub fn parse_coord_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
462    }
463
464    pub fn parse_number_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
466    }
467
468    pub fn skip_space_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
470    }
471
472    pub fn is_number_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
474    }
475
476    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
478    }
479}
480
481#[cfg(feature = "app-aivalue")]
482impl AIValue {
483    #[doc = "`.ctor()` — no args"]
484    pub fn new() -> Self {
485        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
486            panic!(
487                "{}
488::{}
489 failed to instantiate",
490                ::core::stringify!(AIValue),
491                ::core::stringify!(new),
492            )
493        });
494        <Self as IAIValueMethods>::ctor(this);
495        this
496    }
497}
498
499#[cfg(feature = "app-aivalue")]
500#[doc(hidden)]
501pub mod prelude {
502    pub use super::{AIValue, AIValue_Order, AIValue_UnionValue, AIValue_Value, IAIValue, IAIValueMethods};
503    #[cfg(feature = "system-object")]
504    pub use crate::system::object::IObjectMethods;
505    #[cfg(feature = "system-enum")]
506    pub use crate::system::r#enum::IEnumMethods;
507    #[cfg(feature = "system-valuetype")]
508    pub use crate::system::valuetype::IValueTypeMethods;
509    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
510}