Skip to main content

engage/generated/moon_sharp/interpreter/interop/
functionmemberdescriptorbase.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase-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/moon_sharp/interpreter/interop/functionmemberdescriptorbase/FunctionMemberDescriptorBase.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.Interop", name = "FunctionMemberDescriptorBase")]
12    #[parent(crate::system::object::Object)]
13    pub struct FunctionMemberDescriptorBase {}
14}
15
16#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase-types")]
17pub use __types::*;
18
19#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
20#[doc(hidden)]
21#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
22mod __FunctionMemberDescriptorBase_unity_raw {
23    use super::*;
24    #[doc(hidden)]
25    #[allow(non_snake_case)]
26    pub mod __lookup_set_is_static {
27        use super::*;
28        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
29            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
30            ::unity::lookup::method_info_on_class_with_signature(
31                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
32                "set_IsStatic",
33                1,
34                param_types,
35                false,
36            )
37        });
38        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
39            match &*METHOD {
40                ::core::result::Result::Ok(mi) => *mi,
41                ::core::result::Result::Err(e) => {
42                    panic!(
43                        "method lookup failed: {}
44::{}
45: {}
46",
47                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
48                        "set_IsStatic",
49                        e
50                    )
51                },
52            }
53        }
54    }
55    #[doc(hidden)]
56    #[allow(non_snake_case)]
57    pub mod __lookup_set_name {
58        use super::*;
59        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
60            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
61            ::unity::lookup::method_info_on_class_with_signature(
62                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
63                "set_Name",
64                1,
65                param_types,
66                false,
67            )
68        });
69        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
70            match &*METHOD {
71                ::core::result::Result::Ok(mi) => *mi,
72                ::core::result::Result::Err(e) => {
73                    panic!(
74                        "method lookup failed: {}
75::{}
76: {}
77",
78                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
79                        "set_Name",
80                        e
81                    )
82                },
83            }
84        }
85    }
86    #[doc(hidden)]
87    #[allow(non_snake_case)]
88    pub mod __lookup_set_sort_discriminant {
89        use super::*;
90        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
91            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
92            ::unity::lookup::method_info_on_class_with_signature(
93                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
94                "set_SortDiscriminant",
95                1,
96                param_types,
97                false,
98            )
99        });
100        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101            match &*METHOD {
102                ::core::result::Result::Ok(mi) => *mi,
103                ::core::result::Result::Err(e) => {
104                    panic!(
105                        "method lookup failed: {}
106::{}
107: {}
108",
109                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
110                        "set_SortDiscriminant",
111                        e
112                    )
113                },
114            }
115        }
116    }
117    #[doc(hidden)]
118    #[allow(non_snake_case)]
119    pub mod __lookup_set_parameters {
120        use super::*;
121        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
122            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Array<
123                crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor,
124            > as ::unity::IlType>::il_type()];
125            ::unity::lookup::method_info_on_class_with_signature(
126                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
127                "set_Parameters",
128                1,
129                param_types,
130                false,
131            )
132        });
133        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134            match &*METHOD {
135                ::core::result::Result::Ok(mi) => *mi,
136                ::core::result::Result::Err(e) => {
137                    panic!(
138                        "method lookup failed: {}
139::{}
140: {}
141",
142                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
143                        "set_Parameters",
144                        e
145                    )
146                },
147            }
148        }
149    }
150    #[doc(hidden)]
151    #[allow(non_snake_case)]
152    pub mod __lookup_set_extension_method_type {
153        use super::*;
154        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
155            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
156            ::unity::lookup::method_info_on_class_with_signature(
157                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
158                "set_ExtensionMethodType",
159                1,
160                param_types,
161                false,
162            )
163        });
164        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165            match &*METHOD {
166                ::core::result::Result::Ok(mi) => *mi,
167                ::core::result::Result::Err(e) => {
168                    panic!(
169                        "method lookup failed: {}
170::{}
171: {}
172",
173                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
174                        "set_ExtensionMethodType",
175                        e
176                    )
177                },
178            }
179        }
180    }
181    #[doc(hidden)]
182    #[allow(non_snake_case)]
183    pub mod __lookup_set_var_args_array_type {
184        use super::*;
185        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
186            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
187            ::unity::lookup::method_info_on_class_with_signature(
188                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
189                "set_VarArgsArrayType",
190                1,
191                param_types,
192                false,
193            )
194        });
195        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196            match &*METHOD {
197                ::core::result::Result::Ok(mi) => *mi,
198                ::core::result::Result::Err(e) => {
199                    panic!(
200                        "method lookup failed: {}
201::{}
202: {}
203",
204                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
205                        "set_VarArgsArrayType",
206                        e
207                    )
208                },
209            }
210        }
211    }
212    #[doc(hidden)]
213    #[allow(non_snake_case)]
214    pub mod __lookup_set_var_args_element_type {
215        use super::*;
216        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
217            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
218            ::unity::lookup::method_info_on_class_with_signature(
219                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
220                "set_VarArgsElementType",
221                1,
222                param_types,
223                false,
224            )
225        });
226        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227            match &*METHOD {
228                ::core::result::Result::Ok(mi) => *mi,
229                ::core::result::Result::Err(e) => {
230                    panic!(
231                        "method lookup failed: {}
232::{}
233: {}
234",
235                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
236                        "set_VarArgsElementType",
237                        e
238                    )
239                },
240            }
241        }
242    }
243    #[doc(hidden)]
244    #[allow(non_snake_case)]
245    pub mod __lookup_initialize {
246        use super::*;
247        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
248            let param_types: &[& 'static::unity::il2cpp::Il2CppType]= &[< ::unity::Il2CppString as::unity::IlType> ::il_type(), <bool as::unity::IlType> ::il_type(), < ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>as::unity::IlType> ::il_type(), <bool as::unity::IlType> ::il_type()];
249            ::unity::lookup::method_info_on_class_with_signature(
250                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
251                "Initialize",
252                4,
253                param_types,
254                false,
255            )
256        });
257        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258            match &*METHOD {
259                ::core::result::Result::Ok(mi) => *mi,
260                ::core::result::Result::Err(e) => {
261                    panic!(
262                        "method lookup failed: {}
263::{}
264: {}
265",
266                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
267                        "Initialize",
268                        e
269                    )
270                },
271            }
272        }
273    }
274    #[doc(hidden)]
275    #[allow(non_snake_case)]
276    pub mod __lookup_get_callback {
277        use super::*;
278        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
279            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
280                <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
281                <::unity::IlInstance as ::unity::IlType>::il_type(),
282            ];
283            ::unity::lookup::method_info_on_class_with_signature(
284                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
285                "GetCallback",
286                2,
287                param_types,
288                false,
289            )
290        });
291        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292            match &*METHOD {
293                ::core::result::Result::Ok(mi) => *mi,
294                ::core::result::Result::Err(e) => {
295                    panic!(
296                        "method lookup failed: {}
297::{}
298: {}
299",
300                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
301                        "GetCallback",
302                        e
303                    )
304                },
305            }
306        }
307    }
308    #[doc(hidden)]
309    #[allow(non_snake_case)]
310    pub mod __lookup_get_callback_function {
311        use super::*;
312        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
313            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
314                <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
315                <::unity::IlInstance as ::unity::IlType>::il_type(),
316            ];
317            ::unity::lookup::method_info_on_class_with_signature(
318                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
319                "GetCallbackFunction",
320                2,
321                param_types,
322                false,
323            )
324        });
325        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326            match &*METHOD {
327                ::core::result::Result::Ok(mi) => *mi,
328                ::core::result::Result::Err(e) => {
329                    panic!(
330                        "method lookup failed: {}
331::{}
332: {}
333",
334                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
335                        "GetCallbackFunction",
336                        e
337                    )
338                },
339            }
340        }
341    }
342    #[doc(hidden)]
343    #[allow(non_snake_case)]
344    pub mod __lookup_get_callback_as_dyn_value {
345        use super::*;
346        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
347            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
348                <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
349                <::unity::IlInstance as ::unity::IlType>::il_type(),
350            ];
351            ::unity::lookup::method_info_on_class_with_signature(
352                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
353                "GetCallbackAsDynValue",
354                2,
355                param_types,
356                false,
357            )
358        });
359        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360            match &*METHOD {
361                ::core::result::Result::Ok(mi) => *mi,
362                ::core::result::Result::Err(e) => {
363                    panic!(
364                        "method lookup failed: {}
365::{}
366: {}
367",
368                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
369                        "GetCallbackAsDynValue",
370                        e
371                    )
372                },
373            }
374        }
375    }
376    #[doc(hidden)]
377    #[allow(non_snake_case)]
378    pub mod __lookup_create_callback_dyn_value {
379        use super::*;
380        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
381            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
382                <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
383                <crate::system::reflection::methodinfo::MethodInfo as ::unity::IlType>::il_type(),
384                <::unity::IlInstance as ::unity::IlType>::il_type(),
385            ];
386            ::unity::lookup::method_info_on_class_with_signature(
387                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
388                "CreateCallbackDynValue",
389                3,
390                param_types,
391                true,
392            )
393        });
394        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395            match &*METHOD {
396                ::core::result::Result::Ok(mi) => *mi,
397                ::core::result::Result::Err(e) => {
398                    panic!(
399                        "method lookup failed: {}
400::{}
401: {}
402",
403                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
404                        "CreateCallbackDynValue",
405                        e
406                    )
407                },
408            }
409        }
410    }
411    #[doc(hidden)]
412    #[allow(non_snake_case)]
413    pub mod __lookup_build_return_value {
414        use super::*;
415        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
416            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
417                <crate::moon_sharp::interpreter::script::Script as ::unity::IlType>::il_type(),
418                <crate::system::collections::generic::list_1::List_1<i32> as ::unity::IlType>::il_type(),
419                <::unity::Array<crate::system::object::Object> as ::unity::IlType>::il_type(),
420                <crate::system::object::Object as ::unity::IlType>::il_type(),
421            ];
422            ::unity::lookup::method_info_on_class_with_signature(
423                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
424                "BuildReturnValue",
425                4,
426                param_types,
427                true,
428            )
429        });
430        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431            match &*METHOD {
432                ::core::result::Result::Ok(mi) => *mi,
433                ::core::result::Result::Err(e) => {
434                    panic!(
435                        "method lookup failed: {}
436::{}
437: {}
438",
439                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
440                        "BuildReturnValue",
441                        e
442                    )
443                },
444            }
445        }
446    }
447    #[doc(hidden)]
448    #[allow(non_snake_case)]
449    pub mod __lookup_ctor {
450        use super::*;
451        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
452            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
453            ::unity::lookup::method_info_on_class_with_signature(
454                <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::class(),
455                ".ctor",
456                0,
457                param_types,
458                false,
459            )
460        });
461        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462            match &*METHOD {
463                ::core::result::Result::Ok(mi) => *mi,
464                ::core::result::Result::Err(e) => {
465                    panic!(
466                        "method lookup failed: {}
467::{}
468: {}
469",
470                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
471                        ".ctor",
472                        e
473                    )
474                },
475            }
476        }
477    }
478}
479
480#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
481impl FunctionMemberDescriptorBase {
482    #[doc = "`CreateCallbackDynValue(crate::moon_sharp::interpreter::script::Script, crate::system::reflection::methodinfo::MethodInfo, ::unity::IlInstance)` overload"]
483    pub fn create_callback_dyn_value(
484        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
485        mi: impl ::core::convert::Into<crate::system::reflection::methodinfo::MethodInfo>,
486        obj: impl ::core::convert::Into<::unity::IlInstance>,
487    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
488        unsafe {
489            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_create_callback_dyn_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
490(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(script),(crate::system::reflection::methodinfo::MethodInfo)::core::convert::Into::into(mi),(::unity::IlInstance)::core::convert::Into::into(obj))
491        }
492    }
493
494    #[doc = "`BuildReturnValue(crate::moon_sharp::interpreter::script::Script, crate::system::collections::generic::list_1::List_1<i32>, ::unity::Array<crate::system::object::Object>, crate::system::object::Object)` overload"]
495    pub fn build_return_value(
496        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
497        out_params: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
498        pars: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
499        retv: impl ::core::convert::Into<crate::system::object::Object>,
500    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
501        unsafe {
502            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_build_return_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
503(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(script),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(out_params),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(pars),(crate::system::object::Object)::core::convert::Into::into(retv))
504        }
505    }
506}
507
508#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
509pub trait IFunctionMemberDescriptorBaseMethods: IFunctionMemberDescriptorBase {
510    #[doc = "`get_IsStatic()` overload"]
511    fn get_is_static(self) -> bool {
512        unsafe {
513            let __receiver =
514                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
515            {
516                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
517                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
518                    panic!(
519                        "unity: virtual slot {}
520 out of range (vtable len {}
521) on the runtime class behind {}
522 (method `{}
523`)",
524                        10usize,
525                        __vt.len(),
526                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
527                        "get_IsStatic",
528                    )
529                });
530                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
531                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
532                __inner(__receiver, __mi)
533            }
534        }
535    }
536    #[doc = "`set_IsStatic(bool)` overload"]
537    fn set_is_static(self, value: impl ::core::convert::Into<bool>) -> () {
538        unsafe {
539            let __receiver =
540                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_is_static::get_method_info().method_ptr,();
542(FunctionMemberDescriptorBase)__receiver,(bool)::core::convert::Into::into(value))
543        }
544    }
545    #[doc = "`get_Name()` overload"]
546    fn get_name(self) -> ::unity::Il2CppString {
547        unsafe {
548            let __receiver =
549                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550            {
551                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
552                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
553                    panic!(
554                        "unity: virtual slot {}
555 out of range (vtable len {}
556) on the runtime class behind {}
557 (method `{}
558`)",
559                        11usize,
560                        __vt.len(),
561                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
562                        "get_Name",
563                    )
564                });
565                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> ::unity::Il2CppString =
566                    ::core::mem::transmute(__vi.method_ptr);
567                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
568                __inner(__receiver, __mi)
569            }
570        }
571    }
572    #[doc = "`set_Name(::unity::Il2CppString)` overload"]
573    fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
574        unsafe {
575            let __receiver =
576                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_name::get_method_info().method_ptr,();
578(FunctionMemberDescriptorBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
579        }
580    }
581    #[doc = "`get_SortDiscriminant()` overload"]
582    fn get_sort_discriminant(self) -> ::unity::Il2CppString {
583        unsafe {
584            let __receiver =
585                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
586            {
587                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
588                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
589                    panic!(
590                        "unity: virtual slot {}
591 out of range (vtable len {}
592) on the runtime class behind {}
593 (method `{}
594`)",
595                        9usize,
596                        __vt.len(),
597                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
598                        "get_SortDiscriminant",
599                    )
600                });
601                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> ::unity::Il2CppString =
602                    ::core::mem::transmute(__vi.method_ptr);
603                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
604                __inner(__receiver, __mi)
605            }
606        }
607    }
608    #[doc = "`set_SortDiscriminant(::unity::Il2CppString)` overload"]
609    fn set_sort_discriminant(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
610        unsafe {
611            let __receiver =
612                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
613            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_sort_discriminant::get_method_info().method_ptr,();
614(FunctionMemberDescriptorBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
615        }
616    }
617    #[doc = "`get_Parameters()` overload"]
618    fn get_parameters(self) -> ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor> {
619        unsafe {
620            let __receiver =
621                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
622            {
623                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
624                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
625                    panic!(
626                        "unity: virtual slot {}
627 out of range (vtable len {}
628) on the runtime class behind {}
629 (method `{}
630`)",
631                        6usize,
632                        __vt.len(),
633                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
634                        "get_Parameters",
635                    )
636                });
637                let __inner: extern "C" fn(
638                    FunctionMemberDescriptorBase,
639                    ::unity::OptionalMethod,
640                ) -> ::unity::Array<
641                    crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor,
642                > = ::core::mem::transmute(__vi.method_ptr);
643                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
644                __inner(__receiver, __mi)
645            }
646        }
647    }
648    #[doc = "`set_Parameters(::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>)` overload"]
649    fn set_parameters(
650        self,
651        value: impl ::core::convert::Into<
652            ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>,
653        >,
654    ) -> () {
655        unsafe {
656            let __receiver =
657                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
658            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_parameters::get_method_info().method_ptr,();
659(FunctionMemberDescriptorBase)__receiver,(::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>)::core::convert::Into::into(value))
660        }
661    }
662    #[doc = "`get_ExtensionMethodType()` overload"]
663    fn get_extension_method_type(self) -> ::unity::SystemType {
664        unsafe {
665            let __receiver =
666                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
667            {
668                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
669                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
670                    panic!(
671                        "unity: virtual slot {}
672 out of range (vtable len {}
673) on the runtime class behind {}
674 (method `{}
675`)",
676                        5usize,
677                        __vt.len(),
678                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
679                        "get_ExtensionMethodType",
680                    )
681                });
682                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> ::unity::SystemType =
683                    ::core::mem::transmute(__vi.method_ptr);
684                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
685                __inner(__receiver, __mi)
686            }
687        }
688    }
689    #[doc = "`set_ExtensionMethodType(::unity::SystemType)` overload"]
690    fn set_extension_method_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
691        unsafe {
692            let __receiver =
693                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
694            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_extension_method_type::get_method_info().method_ptr,();
695(FunctionMemberDescriptorBase)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
696        }
697    }
698    #[doc = "`get_VarArgsArrayType()` overload"]
699    fn get_var_args_array_type(self) -> ::unity::SystemType {
700        unsafe {
701            let __receiver =
702                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
703            {
704                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
705                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
706                    panic!(
707                        "unity: virtual slot {}
708 out of range (vtable len {}
709) on the runtime class behind {}
710 (method `{}
711`)",
712                        7usize,
713                        __vt.len(),
714                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
715                        "get_VarArgsArrayType",
716                    )
717                });
718                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> ::unity::SystemType =
719                    ::core::mem::transmute(__vi.method_ptr);
720                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
721                __inner(__receiver, __mi)
722            }
723        }
724    }
725    #[doc = "`set_VarArgsArrayType(::unity::SystemType)` overload"]
726    fn set_var_args_array_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
727        unsafe {
728            let __receiver =
729                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
730            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_var_args_array_type::get_method_info().method_ptr,();
731(FunctionMemberDescriptorBase)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
732        }
733    }
734    #[doc = "`get_VarArgsElementType()` overload"]
735    fn get_var_args_element_type(self) -> ::unity::SystemType {
736        unsafe {
737            let __receiver =
738                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739            {
740                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
741                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
742                    panic!(
743                        "unity: virtual slot {}
744 out of range (vtable len {}
745) on the runtime class behind {}
746 (method `{}
747`)",
748                        8usize,
749                        __vt.len(),
750                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
751                        "get_VarArgsElementType",
752                    )
753                });
754                let __inner: extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod) -> ::unity::SystemType =
755                    ::core::mem::transmute(__vi.method_ptr);
756                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
757                __inner(__receiver, __mi)
758            }
759        }
760    }
761    #[doc = "`set_VarArgsElementType(::unity::SystemType)` overload"]
762    fn set_var_args_element_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
763        unsafe {
764            let __receiver =
765                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
766            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_set_var_args_element_type::get_method_info().method_ptr,();
767(FunctionMemberDescriptorBase)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
768        }
769    }
770    #[doc = "`Initialize(::unity::Il2CppString, bool, ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>, bool)` overload"]
771    fn initialize(
772        self,
773        func_name: impl ::core::convert::Into<::unity::Il2CppString>,
774        is_static: impl ::core::convert::Into<bool>,
775        parameters: impl ::core::convert::Into<
776            ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>,
777        >,
778        is_extension_method: impl ::core::convert::Into<bool>,
779    ) -> () {
780        unsafe {
781            let __receiver =
782                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
783            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_initialize::get_method_info().method_ptr,();
784(FunctionMemberDescriptorBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(func_name),(bool)::core::convert::Into::into(is_static),(::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>)::core::convert::Into::into(parameters),(bool)::core::convert::Into::into(is_extension_method))
785        }
786    }
787    #[doc = "`GetCallback(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance)` overload"]
788    fn get_callback(
789        self,
790        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
791        obj: impl ::core::convert::Into<::unity::IlInstance>,
792    ) -> crate::system::func_3::Func_3<
793        crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
794        crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
795        crate::moon_sharp::interpreter::dynvalue::DynValue,
796    > {
797        unsafe {
798            let __receiver =
799                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_get_callback::get_method_info().method_ptr,crate::system::func_3::Func_3<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,crate::moon_sharp::interpreter::dynvalue::DynValue> ;
801(FunctionMemberDescriptorBase)__receiver,(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(script),(::unity::IlInstance)::core::convert::Into::into(obj))
802        }
803    }
804    #[doc = "`GetCallbackFunction(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance)` overload"]
805    fn get_callback_function(
806        self,
807        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
808        obj: impl ::core::convert::Into<::unity::IlInstance>,
809    ) -> crate::moon_sharp::interpreter::callbackfunction::CallbackFunction {
810        unsafe {
811            let __receiver =
812                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
813            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_get_callback_function::get_method_info().method_ptr,crate::moon_sharp::interpreter::callbackfunction::CallbackFunction;
814(FunctionMemberDescriptorBase)__receiver,(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(script),(::unity::IlInstance)::core::convert::Into::into(obj))
815        }
816    }
817    #[doc = "`GetCallbackAsDynValue(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance)` overload"]
818    fn get_callback_as_dyn_value(
819        self,
820        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
821        obj: impl ::core::convert::Into<::unity::IlInstance>,
822    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
823        unsafe {
824            let __receiver =
825                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
826            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_get_callback_as_dyn_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
827(FunctionMemberDescriptorBase)__receiver,(crate::moon_sharp::interpreter::script::Script)::core::convert::Into::into(script),(::unity::IlInstance)::core::convert::Into::into(obj))
828        }
829    }
830    #[doc = "`BuildArgumentList(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, *mutcrate::system::collections::generic::list_1::List_1<i32>)` overload"]
831    fn build_argument_list(
832        self,
833        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
834        obj: impl ::core::convert::Into<crate::system::object::Object>,
835        context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
836        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
837    ) -> (
838        ::unity::Array<crate::system::object::Object>,
839        crate::system::collections::generic::list_1::List_1<i32>,
840    ) {
841        unsafe {
842            let __receiver =
843                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
844            let mut __out_0 = ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<i32>>::uninit();
845            let __ret = {
846                {
847                    let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
848                    let __vi = *__vt.get(15usize).unwrap_or_else(|| {
849                        panic!(
850                            "unity: virtual slot {}
851 out of range (vtable len {}
852) on the runtime class behind {}
853 (method `{}
854`)",
855                            15usize,
856                            __vt.len(),
857                            <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
858                            "BuildArgumentList",
859                        )
860                    });
861                    let __inner: extern "C" fn(
862                        FunctionMemberDescriptorBase,
863                        crate::moon_sharp::interpreter::script::Script,
864                        crate::system::object::Object,
865                        crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
866                        crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
867                        *mut crate::system::collections::generic::list_1::List_1<i32>,
868                        ::unity::OptionalMethod,
869                    ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__vi.method_ptr);
870                    let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
871                    __inner(
872                        __receiver,
873                        ::core::convert::Into::into(script),
874                        ::core::convert::Into::into(obj),
875                        ::core::convert::Into::into(context),
876                        ::core::convert::Into::into(args),
877                        __out_0.as_mut_ptr(),
878                        __mi,
879                    )
880                }
881            };
882            (__ret, __out_0.assume_init())
883        }
884    }
885    #[doc = "`Execute(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
886    fn execute(
887        self,
888        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
889        obj: impl ::core::convert::Into<crate::system::object::Object>,
890        context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
891        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
892    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
893        unsafe {
894            let __receiver =
895                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
896            {
897                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
898                let __vi = *__vt.get(16usize).unwrap_or_else(|| {
899                    panic!(
900                        "unity: virtual slot {}
901 out of range (vtable len {}
902) on the runtime class behind {}
903 (method `{}
904`)",
905                        16usize,
906                        __vt.len(),
907                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
908                        "Execute",
909                    )
910                });
911                let __inner: extern "C" fn(
912                    FunctionMemberDescriptorBase,
913                    crate::moon_sharp::interpreter::script::Script,
914                    crate::system::object::Object,
915                    crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
916                    crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
917                    ::unity::OptionalMethod,
918                ) -> crate::moon_sharp::interpreter::dynvalue::DynValue = ::core::mem::transmute(__vi.method_ptr);
919                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
920                __inner(
921                    __receiver,
922                    ::core::convert::Into::into(script),
923                    ::core::convert::Into::into(obj),
924                    ::core::convert::Into::into(context),
925                    ::core::convert::Into::into(args),
926                    __mi,
927                )
928            }
929        }
930    }
931    #[doc = "`get_MemberAccess()` overload"]
932    fn get_member_access(self) -> crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess {
933        unsafe {
934            let __receiver =
935                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936            {
937                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
938                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
939                    panic!(
940                        "unity: virtual slot {}
941 out of range (vtable len {}
942) on the runtime class behind {}
943 (method `{}
944`)",
945                        12usize,
946                        __vt.len(),
947                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
948                        "get_MemberAccess",
949                    )
950                });
951                let __inner:extern "C" fn(FunctionMemberDescriptorBase, ::unity::OptionalMethod,)->crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess= ::core::mem::transmute(__vi.method_ptr);
952                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
953                __inner(__receiver, __mi)
954            }
955        }
956    }
957    #[doc = "`GetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object)` overload"]
958    fn get_value(
959        self,
960        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
961        obj: impl ::core::convert::Into<crate::system::object::Object>,
962    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
963        unsafe {
964            let __receiver =
965                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
966            {
967                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
968                let __vi = *__vt.get(17usize).unwrap_or_else(|| {
969                    panic!(
970                        "unity: virtual slot {}
971 out of range (vtable len {}
972) on the runtime class behind {}
973 (method `{}
974`)",
975                        17usize,
976                        __vt.len(),
977                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
978                        "GetValue",
979                    )
980                });
981                let __inner: extern "C" fn(
982                    FunctionMemberDescriptorBase,
983                    crate::moon_sharp::interpreter::script::Script,
984                    crate::system::object::Object,
985                    ::unity::OptionalMethod,
986                ) -> crate::moon_sharp::interpreter::dynvalue::DynValue = ::core::mem::transmute(__vi.method_ptr);
987                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
988                __inner(__receiver, ::core::convert::Into::into(script), ::core::convert::Into::into(obj), __mi)
989            }
990        }
991    }
992    #[doc = "`SetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
993    fn set_value(
994        self,
995        script: impl ::core::convert::Into<crate::moon_sharp::interpreter::script::Script>,
996        obj: impl ::core::convert::Into<crate::system::object::Object>,
997        v: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
998    ) -> () {
999        unsafe {
1000            let __receiver =
1001                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1002            {
1003                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1004                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1005                    panic!(
1006                        "unity: virtual slot {}
1007 out of range (vtable len {}
1008) on the runtime class behind {}
1009 (method `{}
1010`)",
1011                        18usize,
1012                        __vt.len(),
1013                        <FunctionMemberDescriptorBase as ::unity::ClassIdentity>::NAME,
1014                        "SetValue",
1015                    )
1016                });
1017                let __inner: extern "C" fn(
1018                    FunctionMemberDescriptorBase,
1019                    crate::moon_sharp::interpreter::script::Script,
1020                    crate::system::object::Object,
1021                    crate::moon_sharp::interpreter::dynvalue::DynValue,
1022                    ::unity::OptionalMethod,
1023                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1024                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1025                __inner(
1026                    __receiver,
1027                    ::core::convert::Into::into(script),
1028                    ::core::convert::Into::into(obj),
1029                    ::core::convert::Into::into(v),
1030                    __mi,
1031                )
1032            }
1033        }
1034    }
1035    #[doc = "`.ctor()` overload"]
1036    fn ctor(self) -> () {
1037        unsafe {
1038            let __receiver =
1039                <FunctionMemberDescriptorBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1040            ::unity::il2cpp_call!(__FunctionMemberDescriptorBase_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
1041(FunctionMemberDescriptorBase)__receiver)
1042        }
1043    }
1044}
1045
1046#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
1047impl<__T: IFunctionMemberDescriptorBase> IFunctionMemberDescriptorBaseMethods for __T {}
1048
1049#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
1050impl FunctionMemberDescriptorBase {
1051    pub fn get_is_static_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1053    }
1054
1055    pub fn set_is_static_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1056        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1057    }
1058
1059    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1060        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1061    }
1062
1063    pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1064        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1065    }
1066
1067    pub fn get_sort_discriminant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1068        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1069    }
1070
1071    pub fn set_sort_discriminant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1072        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1073    }
1074
1075    pub fn get_parameters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1076        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1077    }
1078
1079    pub fn set_parameters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1080        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1081    }
1082
1083    pub fn get_extension_method_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1084        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1085    }
1086
1087    pub fn set_extension_method_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1088        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1089    }
1090
1091    pub fn get_var_args_array_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1092        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1093    }
1094
1095    pub fn set_var_args_array_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1096        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1097    }
1098
1099    pub fn get_var_args_element_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1101    }
1102
1103    pub fn set_var_args_element_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1105    }
1106
1107    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1109    }
1110
1111    pub fn get_callback_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1113    }
1114
1115    pub fn get_callback_function_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1117    }
1118
1119    pub fn get_callback_as_dyn_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1121    }
1122
1123    pub fn create_callback_dyn_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1125    }
1126
1127    pub fn build_argument_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1129    }
1130
1131    pub fn build_return_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1133    }
1134
1135    pub fn execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1137    }
1138
1139    pub fn get_member_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1141    }
1142
1143    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1145    }
1146
1147    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1149    }
1150
1151    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1153    }
1154}
1155
1156#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
1157impl FunctionMemberDescriptorBase {
1158    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_IsStatic`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1159    pub unsafe fn get_is_static(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1160        let __mi = Self::get_is_static_method_info();
1161        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1162        __inner(this.into(), ::core::option::Option::None)
1163    }
1164
1165    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_Name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1166    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1167        let __mi = Self::get_name_method_info();
1168        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1169        __inner(this.into(), ::core::option::Option::None)
1170    }
1171
1172    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_SortDiscriminant`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1173    pub unsafe fn get_sort_discriminant(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1174        let __mi = Self::get_sort_discriminant_method_info();
1175        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1176        __inner(this.into(), ::core::option::Option::None)
1177    }
1178
1179    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_Parameters`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1180    pub unsafe fn get_parameters(
1181        this: impl ::core::convert::Into<::unity::IlInstance>,
1182    ) -> ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor> {
1183        let __mi = Self::get_parameters_method_info();
1184        let __inner: extern "C" fn(
1185            ::unity::IlInstance,
1186            ::unity::OptionalMethod,
1187        ) -> ::unity::Array<
1188            crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor,
1189        > = ::core::mem::transmute(__mi.method_ptr);
1190        __inner(this.into(), ::core::option::Option::None)
1191    }
1192
1193    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_ExtensionMethodType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1194    pub unsafe fn get_extension_method_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1195        let __mi = Self::get_extension_method_type_method_info();
1196        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1197        __inner(this.into(), ::core::option::Option::None)
1198    }
1199
1200    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_VarArgsArrayType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1201    pub unsafe fn get_var_args_array_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1202        let __mi = Self::get_var_args_array_type_method_info();
1203        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1204        __inner(this.into(), ::core::option::Option::None)
1205    }
1206
1207    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_VarArgsElementType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1208    pub unsafe fn get_var_args_element_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1209        let __mi = Self::get_var_args_element_type_method_info();
1210        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1211        __inner(this.into(), ::core::option::Option::None)
1212    }
1213
1214    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `BuildArgumentList`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1215    pub unsafe fn build_argument_list(
1216        this: impl ::core::convert::Into<::unity::IlInstance>,
1217        script: crate::moon_sharp::interpreter::script::Script,
1218        obj: crate::system::object::Object,
1219        context: crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
1220        args: crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
1221        out_params: *mut crate::system::collections::generic::list_1::List_1<i32>,
1222    ) -> ::unity::Array<crate::system::object::Object> {
1223        let __mi = Self::build_argument_list_method_info();
1224        let __inner: extern "C" fn(
1225            ::unity::IlInstance,
1226            crate::moon_sharp::interpreter::script::Script,
1227            crate::system::object::Object,
1228            crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
1229            crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
1230            *mut crate::system::collections::generic::list_1::List_1<i32>,
1231            ::unity::OptionalMethod,
1232        ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__mi.method_ptr);
1233        __inner(this.into(), script, obj, context, args, out_params, ::core::option::Option::None)
1234    }
1235
1236    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `Execute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1237    pub unsafe fn execute(
1238        this: impl ::core::convert::Into<::unity::IlInstance>,
1239        script: crate::moon_sharp::interpreter::script::Script,
1240        obj: crate::system::object::Object,
1241        context: crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
1242        args: crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
1243    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1244        let __mi = Self::execute_method_info();
1245        let __inner: extern "C" fn(
1246            ::unity::IlInstance,
1247            crate::moon_sharp::interpreter::script::Script,
1248            crate::system::object::Object,
1249            crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,
1250            crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,
1251            ::unity::OptionalMethod,
1252        ) -> crate::moon_sharp::interpreter::dynvalue::DynValue = ::core::mem::transmute(__mi.method_ptr);
1253        __inner(this.into(), script, obj, context, args, ::core::option::Option::None)
1254    }
1255
1256    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `get_MemberAccess`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1257    pub unsafe fn get_member_access(
1258        this: impl ::core::convert::Into<::unity::IlInstance>,
1259    ) -> crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess {
1260        let __mi = Self::get_member_access_method_info();
1261        let __inner: extern "C" fn(
1262            ::unity::IlInstance,
1263            ::unity::OptionalMethod,
1264        )
1265            -> crate::moon_sharp::interpreter::interop::basic_descriptors::memberdescriptoraccess::MemberDescriptorAccess =
1266            ::core::mem::transmute(__mi.method_ptr);
1267        __inner(this.into(), ::core::option::Option::None)
1268    }
1269
1270    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1271    pub unsafe fn get_value(
1272        this: impl ::core::convert::Into<::unity::IlInstance>,
1273        script: crate::moon_sharp::interpreter::script::Script,
1274        obj: crate::system::object::Object,
1275    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
1276        let __mi = Self::get_value_method_info();
1277        let __inner: extern "C" fn(
1278            ::unity::IlInstance,
1279            crate::moon_sharp::interpreter::script::Script,
1280            crate::system::object::Object,
1281            ::unity::OptionalMethod,
1282        ) -> crate::moon_sharp::interpreter::dynvalue::DynValue = ::core::mem::transmute(__mi.method_ptr);
1283        __inner(this.into(), script, obj, ::core::option::Option::None)
1284    }
1285
1286    #[doc = "Direct (non-virtual) call to `FunctionMemberDescriptorBase`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1287    pub unsafe fn set_value(
1288        this: impl ::core::convert::Into<::unity::IlInstance>,
1289        script: crate::moon_sharp::interpreter::script::Script,
1290        obj: crate::system::object::Object,
1291        v: crate::moon_sharp::interpreter::dynvalue::DynValue,
1292    ) -> () {
1293        let __mi = Self::set_value_method_info();
1294        let __inner: extern "C" fn(
1295            ::unity::IlInstance,
1296            crate::moon_sharp::interpreter::script::Script,
1297            crate::system::object::Object,
1298            crate::moon_sharp::interpreter::dynvalue::DynValue,
1299            ::unity::OptionalMethod,
1300        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1301        __inner(this.into(), script, obj, v, ::core::option::Option::None)
1302    }
1303}
1304
1305#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
1306impl FunctionMemberDescriptorBase {
1307    #[doc = "`.ctor()` — no args"]
1308    pub fn new() -> Self {
1309        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1310            panic!(
1311                "{}
1312::{}
1313 failed to instantiate",
1314                ::core::stringify!(FunctionMemberDescriptorBase),
1315                ::core::stringify!(new),
1316            )
1317        });
1318        <Self as IFunctionMemberDescriptorBaseMethods>::ctor(this);
1319        this
1320    }
1321}
1322
1323#[cfg(feature = "moon_sharp-interpreter-interop-functionmemberdescriptorbase")]
1324#[doc(hidden)]
1325pub mod prelude {
1326    pub use super::{FunctionMemberDescriptorBase, IFunctionMemberDescriptorBase, IFunctionMemberDescriptorBaseMethods};
1327    pub use crate::system::object::IObject;
1328    #[cfg(feature = "system-object")]
1329    pub use crate::system::object::IObjectMethods;
1330}