1#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8
9 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/debugging/idebugger/IDebugger.md"))]
10 #[::unity::class(namespace = "MoonSharp.Interpreter.Debugging", name = "IDebugger")]
11 pub struct IDebugger {}
12}
13
14#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger-types")]
15pub use __types::*;
16
17#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger")]
18pub trait IIDebuggerMethods: IIDebugger {
19 #[doc = "`GetDebuggerCaps()` overload"]
20 fn get_debugger_caps(self) -> crate::moon_sharp::interpreter::debugging::debuggercaps::DebuggerCaps {
21 unsafe {
22 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
23 {
24 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
25 let __vi = *__vt.get(0usize).unwrap_or_else(|| {
26 panic!(
27 "unity: virtual slot {}
28 out of range (vtable len {}
29) on the runtime class behind {}
30 (method `{}
31`)",
32 0usize,
33 __vt.len(),
34 <IDebugger as ::unity::ClassIdentity>::NAME,
35 "GetDebuggerCaps",
36 )
37 });
38 let __inner: extern "C" fn(
39 IDebugger,
40 ::unity::OptionalMethod,
41 ) -> crate::moon_sharp::interpreter::debugging::debuggercaps::DebuggerCaps = ::core::mem::transmute(__vi.method_ptr);
42 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
43 __inner(__receiver, __mi)
44 }
45 }
46 }
47 #[doc = "`SetDebugService(crate::moon_sharp::interpreter::debugging::debugservice::DebugService)` overload"]
48 fn set_debug_service(
49 self,
50 debug_service: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::debugservice::DebugService>,
51 ) -> () {
52 unsafe {
53 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54 {
55 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
56 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
57 panic!(
58 "unity: virtual slot {}
59 out of range (vtable len {}
60) on the runtime class behind {}
61 (method `{}
62`)",
63 1usize,
64 __vt.len(),
65 <IDebugger as ::unity::ClassIdentity>::NAME,
66 "SetDebugService",
67 )
68 });
69 let __inner: extern "C" fn(
70 IDebugger,
71 crate::moon_sharp::interpreter::debugging::debugservice::DebugService,
72 ::unity::OptionalMethod,
73 ) -> () = ::core::mem::transmute(__vi.method_ptr);
74 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
75 __inner(__receiver, ::core::convert::Into::into(debug_service), __mi)
76 }
77 }
78 }
79 #[doc = "`SetSourceCode(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode)` overload"]
80 fn set_source_code(self, source_code: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode>) -> () {
81 unsafe {
82 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 {
84 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
85 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
86 panic!(
87 "unity: virtual slot {}
88 out of range (vtable len {}
89) on the runtime class behind {}
90 (method `{}
91`)",
92 2usize,
93 __vt.len(),
94 <IDebugger as ::unity::ClassIdentity>::NAME,
95 "SetSourceCode",
96 )
97 });
98 let __inner: extern "C" fn(
99 IDebugger,
100 crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode,
101 ::unity::OptionalMethod,
102 ) -> () = ::core::mem::transmute(__vi.method_ptr);
103 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
104 __inner(__receiver, ::core::convert::Into::into(source_code), __mi)
105 }
106 }
107 }
108 #[doc = "`SetByteCode(::unity::Array<::unity::Il2CppString>)` overload"]
109 fn set_byte_code(self, byte_code: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
110 unsafe {
111 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112 {
113 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
114 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
115 panic!(
116 "unity: virtual slot {}
117 out of range (vtable len {}
118) on the runtime class behind {}
119 (method `{}
120`)",
121 3usize,
122 __vt.len(),
123 <IDebugger as ::unity::ClassIdentity>::NAME,
124 "SetByteCode",
125 )
126 });
127 let __inner: extern "C" fn(IDebugger, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> () =
128 ::core::mem::transmute(__vi.method_ptr);
129 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
130 __inner(__receiver, ::core::convert::Into::into(byte_code), __mi)
131 }
132 }
133 }
134 #[doc = "`IsPauseRequested()` overload"]
135 fn is_pause_requested(self) -> bool {
136 unsafe {
137 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 {
139 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
140 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
141 panic!(
142 "unity: virtual slot {}
143 out of range (vtable len {}
144) on the runtime class behind {}
145 (method `{}
146`)",
147 4usize,
148 __vt.len(),
149 <IDebugger as ::unity::ClassIdentity>::NAME,
150 "IsPauseRequested",
151 )
152 });
153 let __inner: extern "C" fn(IDebugger, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
154 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
155 __inner(__receiver, __mi)
156 }
157 }
158 }
159 #[doc = "`SignalRuntimeException(crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException)` overload"]
160 fn signal_runtime_exception(
161 self,
162 ex: impl ::core::convert::Into<crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException>,
163 ) -> bool {
164 unsafe {
165 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 {
167 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
168 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
169 panic!(
170 "unity: virtual slot {}
171 out of range (vtable len {}
172) on the runtime class behind {}
173 (method `{}
174`)",
175 5usize,
176 __vt.len(),
177 <IDebugger as ::unity::ClassIdentity>::NAME,
178 "SignalRuntimeException",
179 )
180 });
181 let __inner: extern "C" fn(
182 IDebugger,
183 crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException,
184 ::unity::OptionalMethod,
185 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
186 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
187 __inner(__receiver, ::core::convert::Into::into(ex), __mi)
188 }
189 }
190 }
191 #[doc = "`GetAction(i32, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef)` overload"]
192 fn get_action(
193 self,
194 ip: impl ::core::convert::Into<i32>,
195 sourceref: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>,
196 ) -> crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction {
197 unsafe {
198 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199 {
200 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
201 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
202 panic!(
203 "unity: virtual slot {}
204 out of range (vtable len {}
205) on the runtime class behind {}
206 (method `{}
207`)",
208 6usize,
209 __vt.len(),
210 <IDebugger as ::unity::ClassIdentity>::NAME,
211 "GetAction",
212 )
213 });
214 let __inner: extern "C" fn(
215 IDebugger,
216 i32,
217 crate::moon_sharp::interpreter::debugging::sourceref::SourceRef,
218 ::unity::OptionalMethod,
219 ) -> crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction = ::core::mem::transmute(__vi.method_ptr);
220 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
221 __inner(__receiver, ::core::convert::Into::into(ip), ::core::convert::Into::into(sourceref), __mi)
222 }
223 }
224 }
225 #[doc = "`SignalExecutionEnded()` overload"]
226 fn signal_execution_ended(self) -> () {
227 unsafe {
228 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229 {
230 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
231 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
232 panic!(
233 "unity: virtual slot {}
234 out of range (vtable len {}
235) on the runtime class behind {}
236 (method `{}
237`)",
238 7usize,
239 __vt.len(),
240 <IDebugger as ::unity::ClassIdentity>::NAME,
241 "SignalExecutionEnded",
242 )
243 });
244 let __inner: extern "C" fn(IDebugger, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
245 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
246 __inner(__receiver, __mi)
247 }
248 }
249 }
250 #[doc = "`Update(crate::moon_sharp::interpreter::debugging::watchtype::WatchType, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>)` overload"]
251 fn update(
252 self,
253 watch_type: impl ::core::convert::Into<crate::moon_sharp::interpreter::debugging::watchtype::WatchType>,
254 items: impl ::core::convert::Into<
255 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>,
256 >,
257 ) -> () {
258 unsafe {
259 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260 {
261 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
262 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
263 panic!(
264 "unity: virtual slot {}
265 out of range (vtable len {}
266) on the runtime class behind {}
267 (method `{}
268`)",
269 8usize,
270 __vt.len(),
271 <IDebugger as ::unity::ClassIdentity>::NAME,
272 "Update",
273 )
274 });
275 let __inner: extern "C" fn(
276 IDebugger,
277 crate::moon_sharp::interpreter::debugging::watchtype::WatchType,
278 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>,
279 ::unity::OptionalMethod,
280 ) -> () = ::core::mem::transmute(__vi.method_ptr);
281 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
282 __inner(
283 __receiver,
284 ::core::convert::Into::into(watch_type),
285 ::core::convert::Into::into(items),
286 __mi,
287 )
288 }
289 }
290 }
291 #[doc = "`GetWatchItems()` overload"]
292 fn get_watch_items(
293 self,
294 ) -> crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression> {
295 unsafe {
296 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 {
298 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
299 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
300 panic!(
301 "unity: virtual slot {}
302 out of range (vtable len {}
303) on the runtime class behind {}
304 (method `{}
305`)",
306 9usize,
307 __vt.len(),
308 <IDebugger as ::unity::ClassIdentity>::NAME,
309 "GetWatchItems",
310 )
311 });
312 let __inner: extern "C" fn(
313 IDebugger,
314 ::unity::OptionalMethod,
315 ) -> crate::system::collections::generic::list_1::List_1<
316 crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression,
317 > = ::core::mem::transmute(__vi.method_ptr);
318 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
319 __inner(__receiver, __mi)
320 }
321 }
322 }
323 #[doc = "`RefreshBreakpoints(crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>)` overload"]
324 fn refresh_breakpoints(
325 self,
326 refs: impl ::core::convert::Into<
327 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>,
328 >,
329 ) -> () {
330 unsafe {
331 let __receiver = <IDebugger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 {
333 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
334 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
335 panic!(
336 "unity: virtual slot {}
337 out of range (vtable len {}
338) on the runtime class behind {}
339 (method `{}
340`)",
341 10usize,
342 __vt.len(),
343 <IDebugger as ::unity::ClassIdentity>::NAME,
344 "RefreshBreakpoints",
345 )
346 });
347 let __inner: extern "C" fn(
348 IDebugger,
349 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>,
350 ::unity::OptionalMethod,
351 ) -> () = ::core::mem::transmute(__vi.method_ptr);
352 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
353 __inner(__receiver, ::core::convert::Into::into(refs), __mi)
354 }
355 }
356 }
357}
358
359#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger")]
360impl<__T: IIDebugger> IIDebuggerMethods for __T {}
361
362#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger")]
363impl IDebugger {
364 pub fn get_debugger_caps_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
366 }
367
368 pub fn set_debug_service_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
370 }
371
372 pub fn set_source_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
374 }
375
376 pub fn set_byte_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
378 }
379
380 pub fn is_pause_requested_method_info() -> &'static ::unity::il2cpp::MethodInfo {
381 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
382 }
383
384 pub fn signal_runtime_exception_method_info() -> &'static ::unity::il2cpp::MethodInfo {
385 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
386 }
387
388 pub fn get_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
389 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
390 }
391
392 pub fn signal_execution_ended_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
394 }
395
396 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
398 }
399
400 pub fn get_watch_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
402 }
403
404 pub fn refresh_breakpoints_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
406 }
407}
408
409#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger")]
410impl IDebugger {
411 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `GetDebuggerCaps`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
412 pub unsafe fn get_debugger_caps(
413 this: impl ::core::convert::Into<::unity::IlInstance>,
414 ) -> crate::moon_sharp::interpreter::debugging::debuggercaps::DebuggerCaps {
415 let __mi = Self::get_debugger_caps_method_info();
416 let __inner: extern "C" fn(
417 ::unity::IlInstance,
418 ::unity::OptionalMethod,
419 ) -> crate::moon_sharp::interpreter::debugging::debuggercaps::DebuggerCaps = ::core::mem::transmute(__mi.method_ptr);
420 __inner(this.into(), ::core::option::Option::None)
421 }
422
423 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `SetDebugService`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
424 pub unsafe fn set_debug_service(
425 this: impl ::core::convert::Into<::unity::IlInstance>,
426 debug_service: crate::moon_sharp::interpreter::debugging::debugservice::DebugService,
427 ) -> () {
428 let __mi = Self::set_debug_service_method_info();
429 let __inner: extern "C" fn(
430 ::unity::IlInstance,
431 crate::moon_sharp::interpreter::debugging::debugservice::DebugService,
432 ::unity::OptionalMethod,
433 ) -> () = ::core::mem::transmute(__mi.method_ptr);
434 __inner(this.into(), debug_service, ::core::option::Option::None)
435 }
436
437 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `SetSourceCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
438 pub unsafe fn set_source_code(
439 this: impl ::core::convert::Into<::unity::IlInstance>,
440 source_code: crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode,
441 ) -> () {
442 let __mi = Self::set_source_code_method_info();
443 let __inner: extern "C" fn(
444 ::unity::IlInstance,
445 crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode,
446 ::unity::OptionalMethod,
447 ) -> () = ::core::mem::transmute(__mi.method_ptr);
448 __inner(this.into(), source_code, ::core::option::Option::None)
449 }
450
451 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `SetByteCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
452 pub unsafe fn set_byte_code(this: impl ::core::convert::Into<::unity::IlInstance>, byte_code: ::unity::Array<::unity::Il2CppString>) -> () {
453 let __mi = Self::set_byte_code_method_info();
454 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> () =
455 ::core::mem::transmute(__mi.method_ptr);
456 __inner(this.into(), byte_code, ::core::option::Option::None)
457 }
458
459 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `IsPauseRequested`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
460 pub unsafe fn is_pause_requested(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
461 let __mi = Self::is_pause_requested_method_info();
462 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
463 __inner(this.into(), ::core::option::Option::None)
464 }
465
466 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `SignalRuntimeException`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
467 pub unsafe fn signal_runtime_exception(
468 this: impl ::core::convert::Into<::unity::IlInstance>,
469 ex: crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException,
470 ) -> bool {
471 let __mi = Self::signal_runtime_exception_method_info();
472 let __inner: extern "C" fn(
473 ::unity::IlInstance,
474 crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException,
475 ::unity::OptionalMethod,
476 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
477 __inner(this.into(), ex, ::core::option::Option::None)
478 }
479
480 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `GetAction`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
481 pub unsafe fn get_action(
482 this: impl ::core::convert::Into<::unity::IlInstance>,
483 ip: i32,
484 sourceref: crate::moon_sharp::interpreter::debugging::sourceref::SourceRef,
485 ) -> crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction {
486 let __mi = Self::get_action_method_info();
487 let __inner: extern "C" fn(
488 ::unity::IlInstance,
489 i32,
490 crate::moon_sharp::interpreter::debugging::sourceref::SourceRef,
491 ::unity::OptionalMethod,
492 ) -> crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction = ::core::mem::transmute(__mi.method_ptr);
493 __inner(this.into(), ip, sourceref, ::core::option::Option::None)
494 }
495
496 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `SignalExecutionEnded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
497 pub unsafe fn signal_execution_ended(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
498 let __mi = Self::signal_execution_ended_method_info();
499 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
500 __inner(this.into(), ::core::option::Option::None)
501 }
502
503 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `Update`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
504 pub unsafe fn update(
505 this: impl ::core::convert::Into<::unity::IlInstance>,
506 watch_type: crate::moon_sharp::interpreter::debugging::watchtype::WatchType,
507 items: crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>,
508 ) -> () {
509 let __mi = Self::update_method_info();
510 let __inner: extern "C" fn(
511 ::unity::IlInstance,
512 crate::moon_sharp::interpreter::debugging::watchtype::WatchType,
513 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>,
514 ::unity::OptionalMethod,
515 ) -> () = ::core::mem::transmute(__mi.method_ptr);
516 __inner(this.into(), watch_type, items, ::core::option::Option::None)
517 }
518
519 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `GetWatchItems`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
520 pub unsafe fn get_watch_items(
521 this: impl ::core::convert::Into<::unity::IlInstance>,
522 ) -> crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression> {
523 let __mi = Self::get_watch_items_method_info();
524 let __inner: extern "C" fn(
525 ::unity::IlInstance,
526 ::unity::OptionalMethod,
527 ) -> crate::system::collections::generic::list_1::List_1<
528 crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression,
529 > = ::core::mem::transmute(__mi.method_ptr);
530 __inner(this.into(), ::core::option::Option::None)
531 }
532
533 #[doc = "Direct (non-virtual) call to `IDebugger`'s own `RefreshBreakpoints`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
534 pub unsafe fn refresh_breakpoints(
535 this: impl ::core::convert::Into<::unity::IlInstance>,
536 refs: crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>,
537 ) -> () {
538 let __mi = Self::refresh_breakpoints_method_info();
539 let __inner: extern "C" fn(
540 ::unity::IlInstance,
541 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>,
542 ::unity::OptionalMethod,
543 ) -> () = ::core::mem::transmute(__mi.method_ptr);
544 __inner(this.into(), refs, ::core::option::Option::None)
545 }
546}
547
548#[cfg(feature = "moon_sharp-interpreter-debugging-idebugger")]
549#[doc(hidden)]
550pub mod prelude {
551 pub use super::{IDebugger, IIDebugger, IIDebuggerMethods};
552}