Skip to main content

engage/generated/app/
debuguserexceptionhandler.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-debuguserexceptionhandler-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/app/debuguserexceptionhandler/DebugUserExceptionHandler.md"))]
11    #[::unity::class(namespace = "App", name = "DebugUserExceptionHandler")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugUserExceptionHandler {}
14}
15
16#[cfg(feature = "app-debuguserexceptionhandler-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-debuguserexceptionhandler")]
20impl DebugUserExceptionHandler {
21    #[doc = "`Initialize()` overload"]
22    pub fn initialize() -> () {
23        unsafe {
24            ::unity::il2cpp_call!((::unity::module_base()+0x2a11a30usize)as*mut u8,();
25            )
26        }
27    }
28
29    #[doc = "`ExceptionHandler(::unity::Il2CppString)` overload"]
30    pub fn exception_handler(exception_info: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
31        unsafe {
32            ::unity::il2cpp_call!((::unity::module_base()+0x2a118b0usize)as*mut u8,();
33(::unity::Il2CppString)::core::convert::Into::into(exception_info))
34        }
35    }
36}
37
38#[cfg(feature = "app-debuguserexceptionhandler")]
39impl DebugUserExceptionHandler {
40    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
41        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
42    }
43
44    pub fn exception_handler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
45        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
46    }
47}
48
49#[cfg(feature = "app-debuguserexceptionhandler")]
50#[doc(hidden)]
51pub mod prelude {
52    pub use super::{DebugUserExceptionHandler, IDebugUserExceptionHandler};
53    pub use crate::system::object::IObject;
54    #[cfg(feature = "system-object")]
55    pub use crate::system::object::IObjectMethods;
56}