Skip to main content

engage/generated/system/reflection/
invalidfiltercriteriaexception.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-reflection-invalidfiltercriteriaexception-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/system/reflection/invalidfiltercriteriaexception/InvalidFilterCriteriaException.md"))]
10    #[::unity::class(namespace = "System.Reflection", name = "InvalidFilterCriteriaException")]
11    pub struct InvalidFilterCriteriaException {}
12}
13
14#[cfg(feature = "system-reflection-invalidfiltercriteriaexception-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-reflection-invalidfiltercriteriaexception")]
18pub trait IInvalidFilterCriteriaExceptionMethods: IInvalidFilterCriteriaException {
19    #[doc = "`.ctor()` overload"]
20    fn ctor(self) -> () {
21        unsafe {
22            let __receiver =
23                <InvalidFilterCriteriaException as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
24            ::unity::il2cpp_call!((::unity::module_base()+0x3263b10usize)as*mut u8,();
25(InvalidFilterCriteriaException)__receiver)
26        }
27    }
28    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
29    fn ctor_2(self, message: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
30        unsafe {
31            let __receiver =
32                <InvalidFilterCriteriaException as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            ::unity::il2cpp_call!((::unity::module_base()+0x3263b90usize)as*mut u8,();
34(InvalidFilterCriteriaException)__receiver,(::unity::Il2CppString)::core::convert::Into::into(message))
35        }
36    }
37}
38
39#[cfg(feature = "system-reflection-invalidfiltercriteriaexception")]
40impl<__T: IInvalidFilterCriteriaException> IInvalidFilterCriteriaExceptionMethods for __T {}
41
42#[cfg(feature = "system-reflection-invalidfiltercriteriaexception")]
43impl InvalidFilterCriteriaException {
44    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
45        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
46    }
47
48    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
49        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
50    }
51}
52
53#[cfg(feature = "system-reflection-invalidfiltercriteriaexception")]
54impl InvalidFilterCriteriaException {
55    #[doc = "`.ctor()` — no args"]
56    pub fn new() -> Self {
57        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
58            panic!(
59                "{}
60::{}
61 failed to instantiate",
62                ::core::stringify!(InvalidFilterCriteriaException),
63                ::core::stringify!(new),
64            )
65        });
66        <Self as IInvalidFilterCriteriaExceptionMethods>::ctor(this);
67        this
68    }
69
70    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
71    pub fn new_2(message: ::unity::Il2CppString) -> Self {
72        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
73            panic!(
74                "{}
75::{}
76 failed to instantiate",
77                ::core::stringify!(InvalidFilterCriteriaException),
78                ::core::stringify!(new_2),
79            )
80        });
81        <Self as IInvalidFilterCriteriaExceptionMethods>::ctor_2(this, message);
82        this
83    }
84}
85
86#[cfg(feature = "system-reflection-invalidfiltercriteriaexception")]
87#[doc(hidden)]
88pub mod prelude {
89    pub use super::{IInvalidFilterCriteriaException, IInvalidFilterCriteriaExceptionMethods, InvalidFilterCriteriaException};
90}