engage/generated/app/
versusutil.rs1#[cfg(feature = "app-versusutil-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/versusutil/VersusUtil.md"))]
11 #[::unity::class(namespace = "App", name = "VersusUtil")]
12 #[parent(crate::system::object::Object)]
13 pub struct VersusUtil {}
14}
15
16#[cfg(feature = "app-versusutil-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-versusutil")]
20impl VersusUtil {
21 #[doc = "`AddEncountCounter()` overload"]
22 pub fn add_encount_counter() -> () {
23 unsafe {
24 ::unity::il2cpp_call!((::unity::module_base()+0x21bc770usize)as*mut u8,();
25 )
26 }
27 }
28
29 #[doc = "`AddAchieveCount()` overload"]
30 pub fn add_achieve_count() -> () {
31 unsafe {
32 ::unity::il2cpp_call!((::unity::module_base()+0x21bc810usize)as*mut u8,();
33 )
34 }
35 }
36
37 #[doc = "`AddPlayReportStartCount()` overload"]
38 pub fn add_play_report_start_count() -> () {
39 unsafe {
40 ::unity::il2cpp_call!((::unity::module_base()+0x21bc900usize)as*mut u8,();
41 )
42 }
43 }
44
45 #[doc = "`AddPlayReportResultCount()` overload"]
46 pub fn add_play_report_result_count() -> () {
47 unsafe {
48 ::unity::il2cpp_call!((::unity::module_base()+0x21bca20usize)as*mut u8,();
49 )
50 }
51 }
52
53 #[doc = "`AddPlayReportResultCountDefense(crate::app::versus::Versus_MapResult)` overload"]
54 pub fn add_play_report_result_count_defense(result: impl ::core::convert::Into<crate::app::versus::Versus_MapResult>) -> () {
55 unsafe {
56 ::unity::il2cpp_call!((::unity::module_base()+0x21bcba0usize)as*mut u8,();
57(crate::app::versus::Versus_MapResult)::core::convert::Into::into(result))
58 }
59 }
60
61 #[doc = "`AddProfilePlayCount()` overload"]
62 pub fn add_profile_play_count() -> () {
63 unsafe {
64 ::unity::il2cpp_call!((::unity::module_base()+0x21bcc70usize)as*mut u8,();
65 )
66 }
67 }
68}
69
70#[cfg(feature = "app-versusutil")]
71pub trait IVersusUtilMethods: IVersusUtil {
72 #[doc = "`.ctor()` overload"]
73 fn ctor(self) -> () {
74 unsafe {
75 let __receiver = <VersusUtil as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76 ::unity::il2cpp_call!((::unity::module_base()+0x21bcd00usize)as*mut u8,();
77(VersusUtil)__receiver)
78 }
79 }
80}
81
82#[cfg(feature = "app-versusutil")]
83impl<__T: IVersusUtil> IVersusUtilMethods for __T {}
84
85#[cfg(feature = "app-versusutil")]
86impl VersusUtil {
87 pub fn add_encount_counter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
88 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
89 }
90
91 pub fn add_achieve_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
92 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
93 }
94
95 pub fn add_play_report_start_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
96 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
97 }
98
99 pub fn add_play_report_result_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
101 }
102
103 pub fn add_play_report_result_count_defense_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
105 }
106
107 pub fn add_profile_play_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
109 }
110
111 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
113 }
114}
115
116#[cfg(feature = "app-versusutil")]
117impl VersusUtil {
118 #[doc = "`.ctor()` — no args"]
119 pub fn new() -> Self {
120 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
121 panic!(
122 "{}
123::{}
124 failed to instantiate",
125 ::core::stringify!(VersusUtil),
126 ::core::stringify!(new),
127 )
128 });
129 <Self as IVersusUtilMethods>::ctor(this);
130 this
131 }
132}
133
134#[cfg(feature = "app-versusutil")]
135#[doc(hidden)]
136pub mod prelude {
137 pub use super::{IVersusUtil, IVersusUtilMethods, VersusUtil};
138 pub use crate::system::object::IObject;
139 #[cfg(feature = "system-object")]
140 pub use crate::system::object::IObjectMethods;
141}