Skip to main content

engage/generated/combat/
combatstyleexmethods.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-combatstyleexmethods-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/combat/combatstyleexmethods/CombatStyleExMethods.md"))]
11    #[::unity::class(namespace = "Combat", name = "CombatStyleExMethods")]
12    #[parent(crate::system::object::Object)]
13    pub struct CombatStyleExMethods {}
14}
15
16#[cfg(feature = "combat-combatstyleexmethods-types")]
17pub use __types::*;
18
19#[cfg(feature = "combat-combatstyleexmethods")]
20impl CombatStyleExMethods {
21    #[doc = "`Any(crate::combat::combatstyle::CombatStyle, crate::combat::combatstyle::CombatStyle)` overload"]
22    pub fn any(
23        lhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
24        rhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
25    ) -> bool {
26        unsafe {
27            ::unity::il2cpp_call!((::unity::module_base()+0x29228a0usize)as*mut u8,bool;
28(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(lhs),(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(rhs))
29        }
30    }
31
32    #[doc = "`NoneOf(crate::combat::combatstyle::CombatStyle, crate::combat::combatstyle::CombatStyle)` overload"]
33    pub fn none_of(
34        lhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
35        rhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
36    ) -> bool {
37        unsafe {
38            ::unity::il2cpp_call!((::unity::module_base()+0x2927c50usize)as*mut u8,bool;
39(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(lhs),(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(rhs))
40        }
41    }
42
43    #[doc = "`All(crate::combat::combatstyle::CombatStyle, crate::combat::combatstyle::CombatStyle)` overload"]
44    pub fn all(
45        lhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
46        rhs: impl ::core::convert::Into<crate::combat::combatstyle::CombatStyle>,
47    ) -> bool {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x2927c60usize)as*mut u8,bool;
50(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(lhs),(crate::combat::combatstyle::CombatStyle)::core::convert::Into::into(rhs))
51        }
52    }
53}
54
55#[cfg(feature = "combat-combatstyleexmethods")]
56impl CombatStyleExMethods {
57    pub fn any_method_info() -> &'static ::unity::il2cpp::MethodInfo {
58        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
59    }
60
61    pub fn none_of_method_info() -> &'static ::unity::il2cpp::MethodInfo {
62        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
63    }
64
65    pub fn all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
66        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
67    }
68}
69
70#[cfg(feature = "combat-combatstyleexmethods")]
71#[doc(hidden)]
72pub mod prelude {
73    pub use super::{CombatStyleExMethods, ICombatStyleExMethods};
74    pub use crate::system::object::IObject;
75    #[cfg(feature = "system-object")]
76    pub use crate::system::object::IObjectMethods;
77}