Skip to main content

engage/generated/moon_sharp/interpreter/core_lib/
debugmodule.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule-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/core_lib/debugmodule/DebugModule.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.CoreLib", name = "DebugModule")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugModule {}
14}
15
16#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule-types")]
17pub use __types::*;
18
19#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
20#[doc(hidden)]
21#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
22mod __DebugModule_unity_raw {
23    use super::*;
24    #[doc(hidden)]
25    #[allow(non_snake_case)]
26    pub mod __lookup_debug {
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] = &[
30                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
31                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
32            ];
33            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), "debug", 2, param_types, true)
34        });
35        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
36            match &*METHOD {
37                ::core::result::Result::Ok(mi) => *mi,
38                ::core::result::Result::Err(e) => {
39                    panic!(
40                        "method lookup failed: {}
41::{}
42: {}
43",
44                        <DebugModule as ::unity::ClassIdentity>::NAME,
45                        "debug",
46                        e
47                    )
48                },
49            }
50        }
51    }
52    #[doc(hidden)]
53    #[allow(non_snake_case)]
54    pub mod __lookup_getuservalue {
55        use super::*;
56        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
57            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
58                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
59                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
60            ];
61            ::unity::lookup::method_info_on_class_with_signature(
62                <DebugModule as ::unity::ClassIdentity>::class(),
63                "getuservalue",
64                2,
65                param_types,
66                true,
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                        <DebugModule as ::unity::ClassIdentity>::NAME,
79                        "getuservalue",
80                        e
81                    )
82                },
83            }
84        }
85    }
86    #[doc(hidden)]
87    #[allow(non_snake_case)]
88    pub mod __lookup_setuservalue {
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] = &[
92                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
93                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
94            ];
95            ::unity::lookup::method_info_on_class_with_signature(
96                <DebugModule as ::unity::ClassIdentity>::class(),
97                "setuservalue",
98                2,
99                param_types,
100                true,
101            )
102        });
103        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104            match &*METHOD {
105                ::core::result::Result::Ok(mi) => *mi,
106                ::core::result::Result::Err(e) => {
107                    panic!(
108                        "method lookup failed: {}
109::{}
110: {}
111",
112                        <DebugModule as ::unity::ClassIdentity>::NAME,
113                        "setuservalue",
114                        e
115                    )
116                },
117            }
118        }
119    }
120    #[doc(hidden)]
121    #[allow(non_snake_case)]
122    pub mod __lookup_getregistry {
123        use super::*;
124        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
125            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
126                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
127                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
128            ];
129            ::unity::lookup::method_info_on_class_with_signature(
130                <DebugModule as ::unity::ClassIdentity>::class(),
131                "getregistry",
132                2,
133                param_types,
134                true,
135            )
136        });
137        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138            match &*METHOD {
139                ::core::result::Result::Ok(mi) => *mi,
140                ::core::result::Result::Err(e) => {
141                    panic!(
142                        "method lookup failed: {}
143::{}
144: {}
145",
146                        <DebugModule as ::unity::ClassIdentity>::NAME,
147                        "getregistry",
148                        e
149                    )
150                },
151            }
152        }
153    }
154    #[doc(hidden)]
155    #[allow(non_snake_case)]
156    pub mod __lookup_getmetatable {
157        use super::*;
158        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
159            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
160                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
161                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
162            ];
163            ::unity::lookup::method_info_on_class_with_signature(
164                <DebugModule as ::unity::ClassIdentity>::class(),
165                "getmetatable",
166                2,
167                param_types,
168                true,
169            )
170        });
171        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172            match &*METHOD {
173                ::core::result::Result::Ok(mi) => *mi,
174                ::core::result::Result::Err(e) => {
175                    panic!(
176                        "method lookup failed: {}
177::{}
178: {}
179",
180                        <DebugModule as ::unity::ClassIdentity>::NAME,
181                        "getmetatable",
182                        e
183                    )
184                },
185            }
186        }
187    }
188    #[doc(hidden)]
189    #[allow(non_snake_case)]
190    pub mod __lookup_setmetatable {
191        use super::*;
192        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
193            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
194                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
195                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
196            ];
197            ::unity::lookup::method_info_on_class_with_signature(
198                <DebugModule as ::unity::ClassIdentity>::class(),
199                "setmetatable",
200                2,
201                param_types,
202                true,
203            )
204        });
205        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206            match &*METHOD {
207                ::core::result::Result::Ok(mi) => *mi,
208                ::core::result::Result::Err(e) => {
209                    panic!(
210                        "method lookup failed: {}
211::{}
212: {}
213",
214                        <DebugModule as ::unity::ClassIdentity>::NAME,
215                        "setmetatable",
216                        e
217                    )
218                },
219            }
220        }
221    }
222    #[doc(hidden)]
223    #[allow(non_snake_case)]
224    pub mod __lookup_getupvalue {
225        use super::*;
226        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
227            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
228                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
229                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
230            ];
231            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), "getupvalue", 2, param_types, true)
232        });
233        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234            match &*METHOD {
235                ::core::result::Result::Ok(mi) => *mi,
236                ::core::result::Result::Err(e) => {
237                    panic!(
238                        "method lookup failed: {}
239::{}
240: {}
241",
242                        <DebugModule as ::unity::ClassIdentity>::NAME,
243                        "getupvalue",
244                        e
245                    )
246                },
247            }
248        }
249    }
250    #[doc(hidden)]
251    #[allow(non_snake_case)]
252    pub mod __lookup_upvalueid {
253        use super::*;
254        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
255            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
256                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
257                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
258            ];
259            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), "upvalueid", 2, param_types, true)
260        });
261        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262            match &*METHOD {
263                ::core::result::Result::Ok(mi) => *mi,
264                ::core::result::Result::Err(e) => {
265                    panic!(
266                        "method lookup failed: {}
267::{}
268: {}
269",
270                        <DebugModule as ::unity::ClassIdentity>::NAME,
271                        "upvalueid",
272                        e
273                    )
274                },
275            }
276        }
277    }
278    #[doc(hidden)]
279    #[allow(non_snake_case)]
280    pub mod __lookup_setupvalue {
281        use super::*;
282        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
283            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
284                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
285                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
286            ];
287            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), "setupvalue", 2, param_types, true)
288        });
289        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290            match &*METHOD {
291                ::core::result::Result::Ok(mi) => *mi,
292                ::core::result::Result::Err(e) => {
293                    panic!(
294                        "method lookup failed: {}
295::{}
296: {}
297",
298                        <DebugModule as ::unity::ClassIdentity>::NAME,
299                        "setupvalue",
300                        e
301                    )
302                },
303            }
304        }
305    }
306    #[doc(hidden)]
307    #[allow(non_snake_case)]
308    pub mod __lookup_upvaluejoin {
309        use super::*;
310        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
311            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
312                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
313                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
314            ];
315            ::unity::lookup::method_info_on_class_with_signature(
316                <DebugModule as ::unity::ClassIdentity>::class(),
317                "upvaluejoin",
318                2,
319                param_types,
320                true,
321            )
322        });
323        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324            match &*METHOD {
325                ::core::result::Result::Ok(mi) => *mi,
326                ::core::result::Result::Err(e) => {
327                    panic!(
328                        "method lookup failed: {}
329::{}
330: {}
331",
332                        <DebugModule as ::unity::ClassIdentity>::NAME,
333                        "upvaluejoin",
334                        e
335                    )
336                },
337            }
338        }
339    }
340    #[doc(hidden)]
341    #[allow(non_snake_case)]
342    pub mod __lookup_traceback {
343        use super::*;
344        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
345            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[
346                <crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext as ::unity::IlType>::il_type(),
347                <crate::moon_sharp::interpreter::callbackarguments::CallbackArguments as ::unity::IlType>::il_type(),
348            ];
349            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), "traceback", 2, param_types, true)
350        });
351        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352            match &*METHOD {
353                ::core::result::Result::Ok(mi) => *mi,
354                ::core::result::Result::Err(e) => {
355                    panic!(
356                        "method lookup failed: {}
357::{}
358: {}
359",
360                        <DebugModule as ::unity::ClassIdentity>::NAME,
361                        "traceback",
362                        e
363                    )
364                },
365            }
366        }
367    }
368    #[doc(hidden)]
369    #[allow(non_snake_case)]
370    pub mod __lookup_ctor {
371        use super::*;
372        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
373            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
374            ::unity::lookup::method_info_on_class_with_signature(<DebugModule as ::unity::ClassIdentity>::class(), ".ctor", 0, param_types, false)
375        });
376        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377            match &*METHOD {
378                ::core::result::Result::Ok(mi) => *mi,
379                ::core::result::Result::Err(e) => {
380                    panic!(
381                        "method lookup failed: {}
382::{}
383: {}
384",
385                        <DebugModule as ::unity::ClassIdentity>::NAME,
386                        ".ctor",
387                        e
388                    )
389                },
390            }
391        }
392    }
393}
394
395#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
396impl DebugModule {
397    #[doc = "`debug(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
398    pub fn debug(
399        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
400        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
401    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
402        unsafe {
403            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_debug::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
404(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
405        }
406    }
407
408    #[doc = "`getuservalue(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
409    pub fn getuservalue(
410        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
411        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
412    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
413        unsafe {
414            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_getuservalue::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
415(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
416        }
417    }
418
419    #[doc = "`setuservalue(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
420    pub fn setuservalue(
421        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
422        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
423    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
424        unsafe {
425            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_setuservalue::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
426(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
427        }
428    }
429
430    #[doc = "`getregistry(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
431    pub fn getregistry(
432        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
433        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
434    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
435        unsafe {
436            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_getregistry::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
437(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
438        }
439    }
440
441    #[doc = "`getmetatable(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
442    pub fn getmetatable(
443        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
444        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
445    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
446        unsafe {
447            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_getmetatable::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
448(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
449        }
450    }
451
452    #[doc = "`setmetatable(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
453    pub fn setmetatable(
454        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
455        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
456    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
457        unsafe {
458            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_setmetatable::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
459(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
460        }
461    }
462
463    #[doc = "`getupvalue(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
464    pub fn getupvalue(
465        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
466        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
467    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
468        unsafe {
469            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_getupvalue::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
470(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
471        }
472    }
473
474    #[doc = "`upvalueid(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
475    pub fn upvalueid(
476        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
477        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
478    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
479        unsafe {
480            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_upvalueid::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
481(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
482        }
483    }
484
485    #[doc = "`setupvalue(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
486    pub fn setupvalue(
487        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
488        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
489    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
490        unsafe {
491            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_setupvalue::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
492(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
493        }
494    }
495
496    #[doc = "`upvaluejoin(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
497    pub fn upvaluejoin(
498        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
499        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
500    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
501        unsafe {
502            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_upvaluejoin::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
503(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
504        }
505    }
506
507    #[doc = "`traceback(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)` overload"]
508    pub fn traceback(
509        execution_context: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext>,
510        args: impl ::core::convert::Into<crate::moon_sharp::interpreter::callbackarguments::CallbackArguments>,
511    ) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
512        unsafe {
513            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_traceback::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
514(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext)::core::convert::Into::into(execution_context),(crate::moon_sharp::interpreter::callbackarguments::CallbackArguments)::core::convert::Into::into(args))
515        }
516    }
517}
518
519#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
520pub trait IDebugModuleMethods: IDebugModule {
521    #[doc = "`.ctor()` overload"]
522    fn ctor(self) -> () {
523        unsafe {
524            let __receiver = <DebugModule as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525            ::unity::il2cpp_call!(__DebugModule_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
526(DebugModule)__receiver)
527        }
528    }
529}
530
531#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
532impl<__T: IDebugModule> IDebugModuleMethods for __T {}
533
534#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
535impl DebugModule {
536    pub fn debug_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
538    }
539
540    pub fn getuservalue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
542    }
543
544    pub fn setuservalue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
546    }
547
548    pub fn getregistry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
550    }
551
552    pub fn getmetatable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
554    }
555
556    pub fn setmetatable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
558    }
559
560    pub fn getupvalue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
561        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
562    }
563
564    pub fn upvalueid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
565        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
566    }
567
568    pub fn setupvalue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
570    }
571
572    pub fn upvaluejoin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
573        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
574    }
575
576    pub fn traceback_method_info() -> &'static ::unity::il2cpp::MethodInfo {
577        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
578    }
579
580    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
581        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
582    }
583}
584
585#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
586impl DebugModule {
587    #[doc = "`.ctor()` — no args"]
588    pub fn new() -> Self {
589        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
590            panic!(
591                "{}
592::{}
593 failed to instantiate",
594                ::core::stringify!(DebugModule),
595                ::core::stringify!(new),
596            )
597        });
598        <Self as IDebugModuleMethods>::ctor(this);
599        this
600    }
601}
602
603#[cfg(feature = "moon_sharp-interpreter-core_lib-debugmodule")]
604#[doc(hidden)]
605pub mod prelude {
606    pub use super::{DebugModule, IDebugModule, IDebugModuleMethods};
607    pub use crate::system::object::IObject;
608    #[cfg(feature = "system-object")]
609    pub use crate::system::object::IObjectMethods;
610}