engage/generated/combat/
exmethods.rs1#[cfg(feature = "combat-exmethods-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/exmethods/ExMethods.md"))]
11 #[::unity::class(namespace = "Combat", name = "ExMethods")]
12 #[parent(crate::system::object::Object)]
13 pub struct ExMethods {}
14}
15
16#[cfg(feature = "combat-exmethods-types")]
17pub use __types::*;
18
19#[cfg(feature = "combat-exmethods")]
20impl ExMethods {
21 #[doc = "`Any(crate::combat::phase::Phase_HitType, crate::combat::phase::Phase_HitType)` overload"]
22 pub fn any(
23 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
24 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
25 ) -> bool {
26 unsafe {
27 ::unity::il2cpp_call!((::unity::module_base()+0x24e4cb0usize)as*mut u8,bool;
28(crate::combat::phase::Phase_HitType)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_HitType)::core::convert::Into::into(rhs))
29 }
30 }
31
32 #[doc = "`NoneOf(crate::combat::phase::Phase_HitType, crate::combat::phase::Phase_HitType)` overload"]
33 pub fn none_of(
34 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
35 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
36 ) -> bool {
37 unsafe {
38 ::unity::il2cpp_call!((::unity::module_base()+0x24e4cc0usize)as*mut u8,bool;
39(crate::combat::phase::Phase_HitType)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_HitType)::core::convert::Into::into(rhs))
40 }
41 }
42
43 #[doc = "`All(crate::combat::phase::Phase_HitType, crate::combat::phase::Phase_HitType)` overload"]
44 pub fn all(
45 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
46 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
47 ) -> bool {
48 unsafe {
49 ::unity::il2cpp_call!((::unity::module_base()+0x24e4cd0usize)as*mut u8,bool;
50(crate::combat::phase::Phase_HitType)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_HitType)::core::convert::Into::into(rhs))
51 }
52 }
53
54 #[doc = "`Change(*mutcrate::combat::phase::Phase_HitType, crate::combat::phase::Phase_HitType, crate::combat::phase::Phase_HitType)` overload"]
55 pub fn change(
56 src: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
57 dst: impl ::core::convert::Into<crate::combat::phase::Phase_HitType>,
58 ) -> crate::combat::phase::Phase_HitType {
59 unsafe {
60 let mut __out_0 = ::core::mem::MaybeUninit::<crate::combat::phase::Phase_HitType>::uninit();
61 ::unity::il2cpp_call!((::unity::module_base()+0x24e4ce0usize)as*mut u8,();
62(*mut crate::combat::phase::Phase_HitType)__out_0.as_mut_ptr(),(crate::combat::phase::Phase_HitType)::core::convert::Into::into(src),(crate::combat::phase::Phase_HitType)::core::convert::Into::into(dst));
63 __out_0.assume_init()
64 }
65 }
66
67 #[doc = "`Any(crate::combat::phase::Phase_Detail, crate::combat::phase::Phase_Detail)` overload"]
68 pub fn any_2(
69 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
70 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
71 ) -> bool {
72 unsafe {
73 ::unity::il2cpp_call!((::unity::module_base()+0x24e4d00usize)as*mut u8,bool;
74(crate::combat::phase::Phase_Detail)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_Detail)::core::convert::Into::into(rhs))
75 }
76 }
77
78 #[doc = "`NoneOf(crate::combat::phase::Phase_Detail, crate::combat::phase::Phase_Detail)` overload"]
79 pub fn none_of_2(
80 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
81 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
82 ) -> bool {
83 unsafe {
84 ::unity::il2cpp_call!((::unity::module_base()+0x24e4d10usize)as*mut u8,bool;
85(crate::combat::phase::Phase_Detail)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_Detail)::core::convert::Into::into(rhs))
86 }
87 }
88
89 #[doc = "`All(crate::combat::phase::Phase_Detail, crate::combat::phase::Phase_Detail)` overload"]
90 pub fn all_2(
91 lhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
92 rhs: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
93 ) -> bool {
94 unsafe {
95 ::unity::il2cpp_call!((::unity::module_base()+0x24e4d20usize)as*mut u8,bool;
96(crate::combat::phase::Phase_Detail)::core::convert::Into::into(lhs),(crate::combat::phase::Phase_Detail)::core::convert::Into::into(rhs))
97 }
98 }
99
100 #[doc = "`Change(*mutcrate::combat::phase::Phase_Detail, crate::combat::phase::Phase_Detail, crate::combat::phase::Phase_Detail)` overload"]
101 pub fn change_2(
102 src: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
103 dst: impl ::core::convert::Into<crate::combat::phase::Phase_Detail>,
104 ) -> crate::combat::phase::Phase_Detail {
105 unsafe {
106 let mut __out_0 = ::core::mem::MaybeUninit::<crate::combat::phase::Phase_Detail>::uninit();
107 ::unity::il2cpp_call!((::unity::module_base()+0x24e4d30usize)as*mut u8,();
108(*mut crate::combat::phase::Phase_Detail)__out_0.as_mut_ptr(),(crate::combat::phase::Phase_Detail)::core::convert::Into::into(src),(crate::combat::phase::Phase_Detail)::core::convert::Into::into(dst));
109 __out_0.assume_init()
110 }
111 }
112}
113
114#[cfg(feature = "combat-exmethods")]
115impl ExMethods {
116 pub fn any_method_info() -> &'static ::unity::il2cpp::MethodInfo {
117 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
118 }
119
120 pub fn none_of_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
122 }
123
124 pub fn all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
125 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
126 }
127
128 pub fn change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
130 }
131
132 pub fn any_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
134 }
135
136 pub fn none_of_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
138 }
139
140 pub fn all_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
142 }
143
144 pub fn change_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
146 }
147}
148
149#[cfg(feature = "combat-exmethods")]
150#[doc(hidden)]
151pub mod prelude {
152 pub use super::{ExMethods, IExMethods};
153 pub use crate::system::object::IObject;
154 #[cfg(feature = "system-object")]
155 pub use crate::system::object::IObjectMethods;
156}