Skip to main content

engage/generated/moon_sharp/interpreter/debugging/
debuggeraction.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/debugging/debuggeraction/DebuggerAction.md"))]
15    #[::unity::class(namespace = "MoonSharp.Interpreter.Debugging", name = "DebuggerAction")]
16    #[parent(crate::system::object::Object)]
17    pub struct DebuggerAction {}
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/debugging/debuggeraction/DebuggerAction_ActionType.md"))]
20    #[repr(C)]
21    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
22    pub struct DebuggerAction_ActionType {
23        pub value: i32,
24    }
25    impl ::unity::ClassIdentity for DebuggerAction_ActionType {
26        const NAME: &'static str = "DebuggerAction.ActionType";
27        const NAMESPACE: &'static str = "MoonSharp.Interpreter.Debugging";
28
29        fn class() -> ::unity::Class {
30            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
31            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
32        }
33    }
34    impl ::unity::IlType for DebuggerAction_ActionType {
35        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
36            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
37        }
38    }
39    impl DebuggerAction_ActionType {
40        pub fn byte_code_step_in() -> Self {
41            Self { value: 0 }
42        }
43
44        pub fn byte_code_step_over() -> Self {
45            Self { value: 1 }
46        }
47
48        pub fn byte_code_step_out() -> Self {
49            Self { value: 2 }
50        }
51
52        pub fn step_in() -> Self {
53            Self { value: 3 }
54        }
55
56        pub fn step_over() -> Self {
57            Self { value: 4 }
58        }
59
60        pub fn step_out() -> Self {
61            Self { value: 5 }
62        }
63
64        pub fn run() -> Self {
65            Self { value: 6 }
66        }
67
68        pub fn toggle_breakpoint() -> Self {
69            Self { value: 7 }
70        }
71
72        pub fn set_breakpoint() -> Self {
73            Self { value: 8 }
74        }
75
76        pub fn clear_breakpoint() -> Self {
77            Self { value: 9 }
78        }
79
80        pub fn reset_breakpoints() -> Self {
81            Self { value: 10 }
82        }
83
84        pub fn refresh() -> Self {
85            Self { value: 11 }
86        }
87
88        pub fn hard_refresh() -> Self {
89            Self { value: 12 }
90        }
91
92        pub fn none() -> Self {
93            Self { value: 13 }
94        }
95    }
96}
97
98#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction-types")]
99pub use __types::*;
100
101#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
102#[doc(hidden)]
103#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
104mod __DebuggerAction_unity_raw {
105    use super::*;
106    #[doc(hidden)]
107    #[allow(non_snake_case)]
108    pub mod __lookup_get_action {
109        use super::*;
110        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
111            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
112            ::unity::lookup::method_info_on_class_with_signature(
113                <DebuggerAction as ::unity::ClassIdentity>::class(),
114                "get_Action",
115                0,
116                param_types,
117                false,
118            )
119        });
120        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121            match &*METHOD {
122                ::core::result::Result::Ok(mi) => *mi,
123                ::core::result::Result::Err(e) => {
124                    panic!(
125                        "method lookup failed: {}
126::{}
127: {}
128",
129                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
130                        "get_Action",
131                        e
132                    )
133                },
134            }
135        }
136    }
137    #[doc(hidden)]
138    #[allow(non_snake_case)]
139    pub mod __lookup_set_action {
140        use super::*;
141        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
142            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
143                &[<crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType as ::unity::IlType>::il_type()];
144            ::unity::lookup::method_info_on_class_with_signature(
145                <DebuggerAction as ::unity::ClassIdentity>::class(),
146                "set_Action",
147                1,
148                param_types,
149                false,
150            )
151        });
152        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153            match &*METHOD {
154                ::core::result::Result::Ok(mi) => *mi,
155                ::core::result::Result::Err(e) => {
156                    panic!(
157                        "method lookup failed: {}
158::{}
159: {}
160",
161                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
162                        "set_Action",
163                        e
164                    )
165                },
166            }
167        }
168    }
169    #[doc(hidden)]
170    #[allow(non_snake_case)]
171    pub mod __lookup_get_source_id {
172        use super::*;
173        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
174            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
175            ::unity::lookup::method_info_on_class_with_signature(
176                <DebuggerAction as ::unity::ClassIdentity>::class(),
177                "get_SourceID",
178                0,
179                param_types,
180                false,
181            )
182        });
183        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184            match &*METHOD {
185                ::core::result::Result::Ok(mi) => *mi,
186                ::core::result::Result::Err(e) => {
187                    panic!(
188                        "method lookup failed: {}
189::{}
190: {}
191",
192                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
193                        "get_SourceID",
194                        e
195                    )
196                },
197            }
198        }
199    }
200    #[doc(hidden)]
201    #[allow(non_snake_case)]
202    pub mod __lookup_set_source_id {
203        use super::*;
204        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
205            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
206            ::unity::lookup::method_info_on_class_with_signature(
207                <DebuggerAction as ::unity::ClassIdentity>::class(),
208                "set_SourceID",
209                1,
210                param_types,
211                false,
212            )
213        });
214        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215            match &*METHOD {
216                ::core::result::Result::Ok(mi) => *mi,
217                ::core::result::Result::Err(e) => {
218                    panic!(
219                        "method lookup failed: {}
220::{}
221: {}
222",
223                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
224                        "set_SourceID",
225                        e
226                    )
227                },
228            }
229        }
230    }
231    #[doc(hidden)]
232    #[allow(non_snake_case)]
233    pub mod __lookup_get_source_line {
234        use super::*;
235        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
236            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
237            ::unity::lookup::method_info_on_class_with_signature(
238                <DebuggerAction as ::unity::ClassIdentity>::class(),
239                "get_SourceLine",
240                0,
241                param_types,
242                false,
243            )
244        });
245        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246            match &*METHOD {
247                ::core::result::Result::Ok(mi) => *mi,
248                ::core::result::Result::Err(e) => {
249                    panic!(
250                        "method lookup failed: {}
251::{}
252: {}
253",
254                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
255                        "get_SourceLine",
256                        e
257                    )
258                },
259            }
260        }
261    }
262    #[doc(hidden)]
263    #[allow(non_snake_case)]
264    pub mod __lookup_set_source_line {
265        use super::*;
266        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
267            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
268            ::unity::lookup::method_info_on_class_with_signature(
269                <DebuggerAction as ::unity::ClassIdentity>::class(),
270                "set_SourceLine",
271                1,
272                param_types,
273                false,
274            )
275        });
276        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277            match &*METHOD {
278                ::core::result::Result::Ok(mi) => *mi,
279                ::core::result::Result::Err(e) => {
280                    panic!(
281                        "method lookup failed: {}
282::{}
283: {}
284",
285                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
286                        "set_SourceLine",
287                        e
288                    )
289                },
290            }
291        }
292    }
293    #[doc(hidden)]
294    #[allow(non_snake_case)]
295    pub mod __lookup_get_source_col {
296        use super::*;
297        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
298            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
299            ::unity::lookup::method_info_on_class_with_signature(
300                <DebuggerAction as ::unity::ClassIdentity>::class(),
301                "get_SourceCol",
302                0,
303                param_types,
304                false,
305            )
306        });
307        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308            match &*METHOD {
309                ::core::result::Result::Ok(mi) => *mi,
310                ::core::result::Result::Err(e) => {
311                    panic!(
312                        "method lookup failed: {}
313::{}
314: {}
315",
316                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
317                        "get_SourceCol",
318                        e
319                    )
320                },
321            }
322        }
323    }
324    #[doc(hidden)]
325    #[allow(non_snake_case)]
326    pub mod __lookup_set_source_col {
327        use super::*;
328        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
329            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
330            ::unity::lookup::method_info_on_class_with_signature(
331                <DebuggerAction as ::unity::ClassIdentity>::class(),
332                "set_SourceCol",
333                1,
334                param_types,
335                false,
336            )
337        });
338        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339            match &*METHOD {
340                ::core::result::Result::Ok(mi) => *mi,
341                ::core::result::Result::Err(e) => {
342                    panic!(
343                        "method lookup failed: {}
344::{}
345: {}
346",
347                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
348                        "set_SourceCol",
349                        e
350                    )
351                },
352            }
353        }
354    }
355    #[doc(hidden)]
356    #[allow(non_snake_case)]
357    pub mod __lookup_get_lines {
358        use super::*;
359        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
360            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
361            ::unity::lookup::method_info_on_class_with_signature(
362                <DebuggerAction as ::unity::ClassIdentity>::class(),
363                "get_Lines",
364                0,
365                param_types,
366                false,
367            )
368        });
369        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370            match &*METHOD {
371                ::core::result::Result::Ok(mi) => *mi,
372                ::core::result::Result::Err(e) => {
373                    panic!(
374                        "method lookup failed: {}
375::{}
376: {}
377",
378                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
379                        "get_Lines",
380                        e
381                    )
382                },
383            }
384        }
385    }
386    #[doc(hidden)]
387    #[allow(non_snake_case)]
388    pub mod __lookup_set_lines {
389        use super::*;
390        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
391            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Array<i32> as ::unity::IlType>::il_type()];
392            ::unity::lookup::method_info_on_class_with_signature(
393                <DebuggerAction as ::unity::ClassIdentity>::class(),
394                "set_Lines",
395                1,
396                param_types,
397                false,
398            )
399        });
400        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401            match &*METHOD {
402                ::core::result::Result::Ok(mi) => *mi,
403                ::core::result::Result::Err(e) => {
404                    panic!(
405                        "method lookup failed: {}
406::{}
407: {}
408",
409                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
410                        "set_Lines",
411                        e
412                    )
413                },
414            }
415        }
416    }
417    #[doc(hidden)]
418    #[allow(non_snake_case)]
419    pub mod __lookup_ctor {
420        use super::*;
421        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
422            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
423            ::unity::lookup::method_info_on_class_with_signature(<DebuggerAction as ::unity::ClassIdentity>::class(), ".ctor", 0, param_types, false)
424        });
425        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426            match &*METHOD {
427                ::core::result::Result::Ok(mi) => *mi,
428                ::core::result::Result::Err(e) => {
429                    panic!(
430                        "method lookup failed: {}
431::{}
432: {}
433",
434                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
435                        ".ctor",
436                        e
437                    )
438                },
439            }
440        }
441    }
442}
443
444#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
445pub trait IDebuggerActionMethods: IDebuggerAction {
446    #[doc = "`get_Action()` overload"]
447    fn get_action(self) -> crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType {
448        unsafe {
449            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_get_action::get_method_info().method_ptr,crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType;
451(DebuggerAction)__receiver)
452        }
453    }
454    #[doc = "`set_Action(crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType)` overload"]
455    fn set_action(
456        self,
457        value: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType>,
458    ) -> () {
459        unsafe {
460            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
461            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_set_action::get_method_info().method_ptr,();
462(DebuggerAction)__receiver,(crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction_ActionType)::core::convert::Into::into(value))
463        }
464    }
465    #[doc = "`get_SourceID()` overload"]
466    fn get_source_id(self) -> i32 {
467        unsafe {
468            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_get_source_id::get_method_info().method_ptr,i32;
470(DebuggerAction)__receiver)
471        }
472    }
473    #[doc = "`set_SourceID(i32)` overload"]
474    fn set_source_id(self, value: impl ::core::convert::Into<i32>) -> () {
475        unsafe {
476            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
477            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_set_source_id::get_method_info().method_ptr,();
478(DebuggerAction)__receiver,(i32)::core::convert::Into::into(value))
479        }
480    }
481    #[doc = "`get_SourceLine()` overload"]
482    fn get_source_line(self) -> i32 {
483        unsafe {
484            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
485            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_get_source_line::get_method_info().method_ptr,i32;
486(DebuggerAction)__receiver)
487        }
488    }
489    #[doc = "`set_SourceLine(i32)` overload"]
490    fn set_source_line(self, value: impl ::core::convert::Into<i32>) -> () {
491        unsafe {
492            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
493            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_set_source_line::get_method_info().method_ptr,();
494(DebuggerAction)__receiver,(i32)::core::convert::Into::into(value))
495        }
496    }
497    #[doc = "`get_SourceCol()` overload"]
498    fn get_source_col(self) -> i32 {
499        unsafe {
500            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
501            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_get_source_col::get_method_info().method_ptr,i32;
502(DebuggerAction)__receiver)
503        }
504    }
505    #[doc = "`set_SourceCol(i32)` overload"]
506    fn set_source_col(self, value: impl ::core::convert::Into<i32>) -> () {
507        unsafe {
508            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
509            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_set_source_col::get_method_info().method_ptr,();
510(DebuggerAction)__receiver,(i32)::core::convert::Into::into(value))
511        }
512    }
513    #[doc = "`get_Lines()` overload"]
514    fn get_lines(self) -> ::unity::Array<i32> {
515        unsafe {
516            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
517            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_get_lines::get_method_info().method_ptr, ::unity::Array<i32> ;
518(DebuggerAction)__receiver)
519        }
520    }
521    #[doc = "`set_Lines(::unity::Array<i32>)` overload"]
522    fn set_lines(self, value: impl ::core::convert::Into<::unity::Array<i32>>) -> () {
523        unsafe {
524            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_set_lines::get_method_info().method_ptr,();
526(DebuggerAction)__receiver,(::unity::Array<i32>)::core::convert::Into::into(value))
527        }
528    }
529    #[doc = "`.ctor()` overload"]
530    fn ctor(self) -> () {
531        unsafe {
532            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533            ::unity::il2cpp_call!(__DebuggerAction_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
534(DebuggerAction)__receiver)
535        }
536    }
537    #[doc = "`ToString()` overload"]
538    fn to_string(self) -> ::unity::Il2CppString {
539        unsafe {
540            let __receiver = <DebuggerAction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541            {
542                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
543                let __vi = *__vt.get(3usize).unwrap_or_else(|| {
544                    panic!(
545                        "unity: virtual slot {}
546 out of range (vtable len {}
547) on the runtime class behind {}
548 (method `{}
549`)",
550                        3usize,
551                        __vt.len(),
552                        <DebuggerAction as ::unity::ClassIdentity>::NAME,
553                        "ToString",
554                    )
555                });
556                let __inner: extern "C" fn(DebuggerAction, ::unity::OptionalMethod) -> ::unity::Il2CppString =
557                    ::core::mem::transmute(__vi.method_ptr);
558                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
559                __inner(__receiver, __mi)
560            }
561        }
562    }
563}
564
565#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
566impl<__T: IDebuggerAction> IDebuggerActionMethods for __T {}
567
568#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
569impl DebuggerAction {
570    pub fn get_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
571        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
572    }
573
574    pub fn set_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
575        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
576    }
577
578    pub fn get_source_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
579        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
580    }
581
582    pub fn set_source_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
583        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
584    }
585
586    pub fn get_source_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
587        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
588    }
589
590    pub fn set_source_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
591        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
592    }
593
594    pub fn get_source_col_method_info() -> &'static ::unity::il2cpp::MethodInfo {
595        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
596    }
597
598    pub fn set_source_col_method_info() -> &'static ::unity::il2cpp::MethodInfo {
599        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
600    }
601
602    pub fn get_lines_method_info() -> &'static ::unity::il2cpp::MethodInfo {
603        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
604    }
605
606    pub fn set_lines_method_info() -> &'static ::unity::il2cpp::MethodInfo {
607        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
608    }
609
610    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
611        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
612    }
613
614    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
615        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
616    }
617}
618
619#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
620impl DebuggerAction {
621    #[doc = "Direct (non-virtual) call to `DebuggerAction`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
622    pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
623        let __mi = Self::to_string_method_info();
624        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
625        __inner(this.into(), ::core::option::Option::None)
626    }
627}
628
629#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
630impl DebuggerAction {
631    #[doc = "`.ctor()` — no args"]
632    pub fn new() -> Self {
633        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
634            panic!(
635                "{}
636::{}
637 failed to instantiate",
638                ::core::stringify!(DebuggerAction),
639                ::core::stringify!(new),
640            )
641        });
642        <Self as IDebuggerActionMethods>::ctor(this);
643        this
644    }
645}
646
647#[cfg(feature = "moon_sharp-interpreter-debugging-debuggeraction")]
648#[doc(hidden)]
649pub mod prelude {
650    pub use super::{DebuggerAction, DebuggerAction_ActionType, IDebuggerAction, IDebuggerActionMethods};
651    #[cfg(feature = "system-object")]
652    pub use crate::system::object::IObjectMethods;
653    #[cfg(feature = "system-enum")]
654    pub use crate::system::r#enum::IEnumMethods;
655    #[cfg(feature = "system-valuetype")]
656    pub use crate::system::valuetype::IValueTypeMethods;
657    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
658}