Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem-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/debugging/watchitem/WatchItem.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.Debugging", name = "WatchItem")]
12    #[parent(crate::system::object::Object)]
13    pub struct WatchItem {}
14}
15
16#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem-types")]
17pub use __types::*;
18
19#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
20#[doc(hidden)]
21#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
22mod __WatchItem_unity_raw {
23    use super::*;
24    #[doc(hidden)]
25    #[allow(non_snake_case)]
26    pub mod __lookup_get_address {
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            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_Address", 0, param_types, false)
31        });
32        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
33            match &*METHOD {
34                ::core::result::Result::Ok(mi) => *mi,
35                ::core::result::Result::Err(e) => {
36                    panic!(
37                        "method lookup failed: {}
38::{}
39: {}
40",
41                        <WatchItem as ::unity::ClassIdentity>::NAME,
42                        "get_Address",
43                        e
44                    )
45                },
46            }
47        }
48    }
49    #[doc(hidden)]
50    #[allow(non_snake_case)]
51    pub mod __lookup_set_address {
52        use super::*;
53        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
54            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
55            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_Address", 1, param_types, false)
56        });
57        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
58            match &*METHOD {
59                ::core::result::Result::Ok(mi) => *mi,
60                ::core::result::Result::Err(e) => {
61                    panic!(
62                        "method lookup failed: {}
63::{}
64: {}
65",
66                        <WatchItem as ::unity::ClassIdentity>::NAME,
67                        "set_Address",
68                        e
69                    )
70                },
71            }
72        }
73    }
74    #[doc(hidden)]
75    #[allow(non_snake_case)]
76    pub mod __lookup_get_base_ptr {
77        use super::*;
78        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
79            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
80            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_BasePtr", 0, param_types, false)
81        });
82        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
83            match &*METHOD {
84                ::core::result::Result::Ok(mi) => *mi,
85                ::core::result::Result::Err(e) => {
86                    panic!(
87                        "method lookup failed: {}
88::{}
89: {}
90",
91                        <WatchItem as ::unity::ClassIdentity>::NAME,
92                        "get_BasePtr",
93                        e
94                    )
95                },
96            }
97        }
98    }
99    #[doc(hidden)]
100    #[allow(non_snake_case)]
101    pub mod __lookup_set_base_ptr {
102        use super::*;
103        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
104            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
105            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_BasePtr", 1, param_types, false)
106        });
107        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108            match &*METHOD {
109                ::core::result::Result::Ok(mi) => *mi,
110                ::core::result::Result::Err(e) => {
111                    panic!(
112                        "method lookup failed: {}
113::{}
114: {}
115",
116                        <WatchItem as ::unity::ClassIdentity>::NAME,
117                        "set_BasePtr",
118                        e
119                    )
120                },
121            }
122        }
123    }
124    #[doc(hidden)]
125    #[allow(non_snake_case)]
126    pub mod __lookup_get_ret_address {
127        use super::*;
128        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
129            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
130            ::unity::lookup::method_info_on_class_with_signature(
131                <WatchItem as ::unity::ClassIdentity>::class(),
132                "get_RetAddress",
133                0,
134                param_types,
135                false,
136            )
137        });
138        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139            match &*METHOD {
140                ::core::result::Result::Ok(mi) => *mi,
141                ::core::result::Result::Err(e) => {
142                    panic!(
143                        "method lookup failed: {}
144::{}
145: {}
146",
147                        <WatchItem as ::unity::ClassIdentity>::NAME,
148                        "get_RetAddress",
149                        e
150                    )
151                },
152            }
153        }
154    }
155    #[doc(hidden)]
156    #[allow(non_snake_case)]
157    pub mod __lookup_set_ret_address {
158        use super::*;
159        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
160            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
161            ::unity::lookup::method_info_on_class_with_signature(
162                <WatchItem as ::unity::ClassIdentity>::class(),
163                "set_RetAddress",
164                1,
165                param_types,
166                false,
167            )
168        });
169        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
170            match &*METHOD {
171                ::core::result::Result::Ok(mi) => *mi,
172                ::core::result::Result::Err(e) => {
173                    panic!(
174                        "method lookup failed: {}
175::{}
176: {}
177",
178                        <WatchItem as ::unity::ClassIdentity>::NAME,
179                        "set_RetAddress",
180                        e
181                    )
182                },
183            }
184        }
185    }
186    #[doc(hidden)]
187    #[allow(non_snake_case)]
188    pub mod __lookup_get_name {
189        use super::*;
190        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
191            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
192            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_Name", 0, param_types, false)
193        });
194        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195            match &*METHOD {
196                ::core::result::Result::Ok(mi) => *mi,
197                ::core::result::Result::Err(e) => {
198                    panic!(
199                        "method lookup failed: {}
200::{}
201: {}
202",
203                        <WatchItem as ::unity::ClassIdentity>::NAME,
204                        "get_Name",
205                        e
206                    )
207                },
208            }
209        }
210    }
211    #[doc(hidden)]
212    #[allow(non_snake_case)]
213    pub mod __lookup_set_name {
214        use super::*;
215        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
216            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
217            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_Name", 1, param_types, false)
218        });
219        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220            match &*METHOD {
221                ::core::result::Result::Ok(mi) => *mi,
222                ::core::result::Result::Err(e) => {
223                    panic!(
224                        "method lookup failed: {}
225::{}
226: {}
227",
228                        <WatchItem as ::unity::ClassIdentity>::NAME,
229                        "set_Name",
230                        e
231                    )
232                },
233            }
234        }
235    }
236    #[doc(hidden)]
237    #[allow(non_snake_case)]
238    pub mod __lookup_get_value {
239        use super::*;
240        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
241            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
242            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_Value", 0, param_types, false)
243        });
244        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245            match &*METHOD {
246                ::core::result::Result::Ok(mi) => *mi,
247                ::core::result::Result::Err(e) => {
248                    panic!(
249                        "method lookup failed: {}
250::{}
251: {}
252",
253                        <WatchItem as ::unity::ClassIdentity>::NAME,
254                        "get_Value",
255                        e
256                    )
257                },
258            }
259        }
260    }
261    #[doc(hidden)]
262    #[allow(non_snake_case)]
263    pub mod __lookup_set_value {
264        use super::*;
265        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
266            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
267                &[<crate::moon_sharp::interpreter::dynvalue::DynValue as ::unity::IlType>::il_type()];
268            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_Value", 1, param_types, false)
269        });
270        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271            match &*METHOD {
272                ::core::result::Result::Ok(mi) => *mi,
273                ::core::result::Result::Err(e) => {
274                    panic!(
275                        "method lookup failed: {}
276::{}
277: {}
278",
279                        <WatchItem as ::unity::ClassIdentity>::NAME,
280                        "set_Value",
281                        e
282                    )
283                },
284            }
285        }
286    }
287    #[doc(hidden)]
288    #[allow(non_snake_case)]
289    pub mod __lookup_get_l_value {
290        use super::*;
291        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
292            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
293            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_LValue", 0, param_types, false)
294        });
295        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296            match &*METHOD {
297                ::core::result::Result::Ok(mi) => *mi,
298                ::core::result::Result::Err(e) => {
299                    panic!(
300                        "method lookup failed: {}
301::{}
302: {}
303",
304                        <WatchItem as ::unity::ClassIdentity>::NAME,
305                        "get_LValue",
306                        e
307                    )
308                },
309            }
310        }
311    }
312    #[doc(hidden)]
313    #[allow(non_snake_case)]
314    pub mod __lookup_set_l_value {
315        use super::*;
316        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
317            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
318                &[<crate::moon_sharp::interpreter::symbolref::SymbolRef as ::unity::IlType>::il_type()];
319            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_LValue", 1, param_types, false)
320        });
321        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
322            match &*METHOD {
323                ::core::result::Result::Ok(mi) => *mi,
324                ::core::result::Result::Err(e) => {
325                    panic!(
326                        "method lookup failed: {}
327::{}
328: {}
329",
330                        <WatchItem as ::unity::ClassIdentity>::NAME,
331                        "set_LValue",
332                        e
333                    )
334                },
335            }
336        }
337    }
338    #[doc(hidden)]
339    #[allow(non_snake_case)]
340    pub mod __lookup_get_is_error {
341        use super::*;
342        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
343            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
344            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "get_IsError", 0, param_types, false)
345        });
346        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347            match &*METHOD {
348                ::core::result::Result::Ok(mi) => *mi,
349                ::core::result::Result::Err(e) => {
350                    panic!(
351                        "method lookup failed: {}
352::{}
353: {}
354",
355                        <WatchItem as ::unity::ClassIdentity>::NAME,
356                        "get_IsError",
357                        e
358                    )
359                },
360            }
361        }
362    }
363    #[doc(hidden)]
364    #[allow(non_snake_case)]
365    pub mod __lookup_set_is_error {
366        use super::*;
367        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
368            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
369            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), "set_IsError", 1, param_types, false)
370        });
371        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372            match &*METHOD {
373                ::core::result::Result::Ok(mi) => *mi,
374                ::core::result::Result::Err(e) => {
375                    panic!(
376                        "method lookup failed: {}
377::{}
378: {}
379",
380                        <WatchItem as ::unity::ClassIdentity>::NAME,
381                        "set_IsError",
382                        e
383                    )
384                },
385            }
386        }
387    }
388    #[doc(hidden)]
389    #[allow(non_snake_case)]
390    pub mod __lookup_get_location {
391        use super::*;
392        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
393            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
394            ::unity::lookup::method_info_on_class_with_signature(
395                <WatchItem as ::unity::ClassIdentity>::class(),
396                "get_Location",
397                0,
398                param_types,
399                false,
400            )
401        });
402        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403            match &*METHOD {
404                ::core::result::Result::Ok(mi) => *mi,
405                ::core::result::Result::Err(e) => {
406                    panic!(
407                        "method lookup failed: {}
408::{}
409: {}
410",
411                        <WatchItem as ::unity::ClassIdentity>::NAME,
412                        "get_Location",
413                        e
414                    )
415                },
416            }
417        }
418    }
419    #[doc(hidden)]
420    #[allow(non_snake_case)]
421    pub mod __lookup_set_location {
422        use super::*;
423        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
424            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
425                &[<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef as ::unity::IlType>::il_type()];
426            ::unity::lookup::method_info_on_class_with_signature(
427                <WatchItem as ::unity::ClassIdentity>::class(),
428                "set_Location",
429                1,
430                param_types,
431                false,
432            )
433        });
434        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435            match &*METHOD {
436                ::core::result::Result::Ok(mi) => *mi,
437                ::core::result::Result::Err(e) => {
438                    panic!(
439                        "method lookup failed: {}
440::{}
441: {}
442",
443                        <WatchItem as ::unity::ClassIdentity>::NAME,
444                        "set_Location",
445                        e
446                    )
447                },
448            }
449        }
450    }
451    #[doc(hidden)]
452    #[allow(non_snake_case)]
453    pub mod __lookup_ctor {
454        use super::*;
455        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
456            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
457            ::unity::lookup::method_info_on_class_with_signature(<WatchItem as ::unity::ClassIdentity>::class(), ".ctor", 0, param_types, false)
458        });
459        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460            match &*METHOD {
461                ::core::result::Result::Ok(mi) => *mi,
462                ::core::result::Result::Err(e) => {
463                    panic!(
464                        "method lookup failed: {}
465::{}
466: {}
467",
468                        <WatchItem as ::unity::ClassIdentity>::NAME,
469                        ".ctor",
470                        e
471                    )
472                },
473            }
474        }
475    }
476}
477
478#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
479pub trait IWatchItemMethods: IWatchItem {
480    #[doc = "`get_Address()` overload"]
481    fn get_address(self) -> i32 {
482        unsafe {
483            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
484            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_address::get_method_info().method_ptr,i32;
485(WatchItem)__receiver)
486        }
487    }
488    #[doc = "`set_Address(i32)` overload"]
489    fn set_address(self, value: impl ::core::convert::Into<i32>) -> () {
490        unsafe {
491            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
492            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_address::get_method_info().method_ptr,();
493(WatchItem)__receiver,(i32)::core::convert::Into::into(value))
494        }
495    }
496    #[doc = "`get_BasePtr()` overload"]
497    fn get_base_ptr(self) -> i32 {
498        unsafe {
499            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_base_ptr::get_method_info().method_ptr,i32;
501(WatchItem)__receiver)
502        }
503    }
504    #[doc = "`set_BasePtr(i32)` overload"]
505    fn set_base_ptr(self, value: impl ::core::convert::Into<i32>) -> () {
506        unsafe {
507            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_base_ptr::get_method_info().method_ptr,();
509(WatchItem)__receiver,(i32)::core::convert::Into::into(value))
510        }
511    }
512    #[doc = "`get_RetAddress()` overload"]
513    fn get_ret_address(self) -> i32 {
514        unsafe {
515            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
516            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_ret_address::get_method_info().method_ptr,i32;
517(WatchItem)__receiver)
518        }
519    }
520    #[doc = "`set_RetAddress(i32)` overload"]
521    fn set_ret_address(self, value: impl ::core::convert::Into<i32>) -> () {
522        unsafe {
523            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
524            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_ret_address::get_method_info().method_ptr,();
525(WatchItem)__receiver,(i32)::core::convert::Into::into(value))
526        }
527    }
528    #[doc = "`get_Name()` overload"]
529    fn get_name(self) -> ::unity::Il2CppString {
530        unsafe {
531            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_name::get_method_info().method_ptr, ::unity::Il2CppString;
533(WatchItem)__receiver)
534        }
535    }
536    #[doc = "`set_Name(::unity::Il2CppString)` overload"]
537    fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
538        unsafe {
539            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_name::get_method_info().method_ptr,();
541(WatchItem)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
542        }
543    }
544    #[doc = "`get_Value()` overload"]
545    fn get_value(self) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
546        unsafe {
547            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::dynvalue::DynValue;
549(WatchItem)__receiver)
550        }
551    }
552    #[doc = "`set_Value(crate::moon_sharp::interpreter::dynvalue::DynValue)` overload"]
553    fn set_value(self, value: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>) -> () {
554        unsafe {
555            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_value::get_method_info().method_ptr,();
557(WatchItem)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(value))
558        }
559    }
560    #[doc = "`get_LValue()` overload"]
561    fn get_l_value(self) -> crate::moon_sharp::interpreter::symbolref::SymbolRef {
562        unsafe {
563            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
564            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_l_value::get_method_info().method_ptr,crate::moon_sharp::interpreter::symbolref::SymbolRef;
565(WatchItem)__receiver)
566        }
567    }
568    #[doc = "`set_LValue(crate::moon_sharp::interpreter::symbolref::SymbolRef)` overload"]
569    fn set_l_value(self, value: impl ::core::convert::Into<crate::moon_sharp::interpreter::symbolref::SymbolRef>) -> () {
570        unsafe {
571            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
572            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_l_value::get_method_info().method_ptr,();
573(WatchItem)__receiver,(crate::moon_sharp::interpreter::symbolref::SymbolRef)::core::convert::Into::into(value))
574        }
575    }
576    #[doc = "`get_IsError()` overload"]
577    fn get_is_error(self) -> bool {
578        unsafe {
579            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
580            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_is_error::get_method_info().method_ptr,bool;
581(WatchItem)__receiver)
582        }
583    }
584    #[doc = "`set_IsError(bool)` overload"]
585    fn set_is_error(self, value: impl ::core::convert::Into<bool>) -> () {
586        unsafe {
587            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
588            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_is_error::get_method_info().method_ptr,();
589(WatchItem)__receiver,(bool)::core::convert::Into::into(value))
590        }
591    }
592    #[doc = "`get_Location()` overload"]
593    fn get_location(self) -> crate::moon_sharp::interpreter::debugging::sourceref::SourceRef {
594        unsafe {
595            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
596            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_get_location::get_method_info().method_ptr,crate::moon_sharp::interpreter::debugging::sourceref::SourceRef;
597(WatchItem)__receiver)
598        }
599    }
600    #[doc = "`set_Location(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef)` overload"]
601    fn set_location(self, value: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>) -> () {
602        unsafe {
603            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
604            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_set_location::get_method_info().method_ptr,();
605(WatchItem)__receiver,(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef)::core::convert::Into::into(value))
606        }
607    }
608    #[doc = "`ToString()` overload"]
609    fn to_string(self) -> ::unity::Il2CppString {
610        unsafe {
611            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612            {
613                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
614                let __vi = *__vt.get(3usize).unwrap_or_else(|| {
615                    panic!(
616                        "unity: virtual slot {}
617 out of range (vtable len {}
618) on the runtime class behind {}
619 (method `{}
620`)",
621                        3usize,
622                        __vt.len(),
623                        <WatchItem as ::unity::ClassIdentity>::NAME,
624                        "ToString",
625                    )
626                });
627                let __inner: extern "C" fn(WatchItem, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
628                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
629                __inner(__receiver, __mi)
630            }
631        }
632    }
633    #[doc = "`.ctor()` overload"]
634    fn ctor(self) -> () {
635        unsafe {
636            let __receiver = <WatchItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
637            ::unity::il2cpp_call!(__WatchItem_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
638(WatchItem)__receiver)
639        }
640    }
641}
642
643#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
644impl<__T: IWatchItem> IWatchItemMethods for __T {}
645
646#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
647impl WatchItem {
648    pub fn get_address_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
650    }
651
652    pub fn set_address_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
654    }
655
656    pub fn get_base_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
658    }
659
660    pub fn set_base_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
662    }
663
664    pub fn get_ret_address_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
666    }
667
668    pub fn set_ret_address_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
670    }
671
672    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
674    }
675
676    pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
678    }
679
680    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
682    }
683
684    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
686    }
687
688    pub fn get_l_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
690    }
691
692    pub fn set_l_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
694    }
695
696    pub fn get_is_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
698    }
699
700    pub fn set_is_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
702    }
703
704    pub fn get_location_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
706    }
707
708    pub fn set_location_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
710    }
711
712    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
714    }
715
716    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
718    }
719}
720
721#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
722impl WatchItem {
723    #[doc = "Direct (non-virtual) call to `WatchItem`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
724    pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
725        let __mi = Self::to_string_method_info();
726        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
727        __inner(this.into(), ::core::option::Option::None)
728    }
729}
730
731#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
732impl WatchItem {
733    #[doc = "`.ctor()` — no args"]
734    pub fn new() -> Self {
735        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
736            panic!(
737                "{}
738::{}
739 failed to instantiate",
740                ::core::stringify!(WatchItem),
741                ::core::stringify!(new),
742            )
743        });
744        <Self as IWatchItemMethods>::ctor(this);
745        this
746    }
747}
748
749#[cfg(feature = "moon_sharp-interpreter-debugging-watchitem")]
750#[doc(hidden)]
751pub mod prelude {
752    pub use super::{IWatchItem, IWatchItemMethods, WatchItem};
753    pub use crate::system::object::IObject;
754    #[cfg(feature = "system-object")]
755    pub use crate::system::object::IObjectMethods;
756}