engage/generated/app/
playreportstruct.rs1#[cfg(feature = "app-playreportstruct-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/playreportstruct/PlayReportStruct.md"))]
11 #[::unity::class(namespace = "App", name = "PlayReportStruct")]
12 #[parent(crate::system::object::Object)]
13 pub struct PlayReportStruct {
14 #[static_field]
15 #[rename(name = "s_KeyValueCount")]
16 pub s_key_value_count: i32,
17 }
18}
19
20#[cfg(feature = "app-playreportstruct-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-playreportstruct")]
24impl PlayReportStruct {
25 #[doc = "`SetBuffer(i64)` overload"]
26 pub fn set_buffer(buffer_size: impl ::core::convert::Into<i64>) -> () {
27 unsafe {
28 ::unity::il2cpp_call!((::unity::module_base()+0x2813140usize)as*mut u8,();
29(i64)::core::convert::Into::into(buffer_size))
30 }
31 }
32
33 #[doc = "`GetKeyValueCount()` overload"]
34 pub fn get_key_value_count() -> i32 {
35 unsafe {
36 ::unity::il2cpp_call!((::unity::module_base()+0x2814160usize)as*mut u8,i32;
37 )
38 }
39 }
40
41 #[doc = "`Add(::unity::Il2CppString, i64)` overload"]
42 pub fn add(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<i64>) -> () {
43 unsafe {
44 ::unity::il2cpp_call!((::unity::module_base()+0x2813270usize)as*mut u8,();
45(::unity::Il2CppString)::core::convert::Into::into(key),(i64)::core::convert::Into::into(val))
46 }
47 }
48
49 #[doc = "`Add(::unity::Il2CppString, u64)` overload"]
50 pub fn add_2(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<u64>) -> () {
51 unsafe {
52 ::unity::il2cpp_call!((::unity::module_base()+0x2814200usize)as*mut u8,();
53(::unity::Il2CppString)::core::convert::Into::into(key),(u64)::core::convert::Into::into(val))
54 }
55 }
56
57 #[doc = "`Add(::unity::Il2CppString, f32)` overload"]
58 pub fn add_3(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<f32>) -> () {
59 unsafe {
60 ::unity::il2cpp_call!((::unity::module_base()+0x28142b0usize)as*mut u8,();
61(::unity::Il2CppString)::core::convert::Into::into(key),(f32)::core::convert::Into::into(val))
62 }
63 }
64
65 #[doc = "`Add(::unity::Il2CppString, f64)` overload"]
66 pub fn add_4(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<f64>) -> () {
67 unsafe {
68 ::unity::il2cpp_call!((::unity::module_base()+0x2814360usize)as*mut u8,();
69(::unity::Il2CppString)::core::convert::Into::into(key),(f64)::core::convert::Into::into(val))
70 }
71 }
72
73 #[doc = "`Add(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
74 pub fn add_5(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
75 unsafe {
76 ::unity::il2cpp_call!((::unity::module_base()+0x28131c0usize)as*mut u8,();
77(::unity::Il2CppString)::core::convert::Into::into(key),(::unity::Il2CppString)::core::convert::Into::into(val))
78 }
79 }
80
81 #[doc = "`Add(::unity::Il2CppString, bool)` overload"]
82 pub fn add_6(key: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<bool>) -> () {
83 unsafe {
84 ::unity::il2cpp_call!((::unity::module_base()+0x2813320usize)as*mut u8,();
85(::unity::Il2CppString)::core::convert::Into::into(key),(bool)::core::convert::Into::into(val))
86 }
87 }
88
89 #[doc = "`.cctor()` overload"]
90 pub fn cctor() -> () {
91 unsafe {
92 ::unity::il2cpp_call!((::unity::module_base()+0x2814420usize)as*mut u8,();
93 )
94 }
95 }
96}
97
98#[cfg(feature = "app-playreportstruct")]
99pub trait IPlayReportStructMethods: IPlayReportStruct {
100 #[doc = "`.ctor()` overload"]
101 fn ctor(self) -> () {
102 unsafe {
103 let __receiver = <PlayReportStruct as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x2814410usize)as*mut u8,();
105(PlayReportStruct)__receiver)
106 }
107 }
108}
109
110#[cfg(feature = "app-playreportstruct")]
111impl<__T: IPlayReportStruct> IPlayReportStructMethods for __T {}
112
113#[cfg(feature = "app-playreportstruct")]
114impl PlayReportStruct {
115 pub fn set_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
117 }
118
119 pub fn get_key_value_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
121 }
122
123 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
125 }
126
127 pub fn add_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
129 }
130
131 pub fn add_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
133 }
134
135 pub fn add_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
137 }
138
139 pub fn add_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
141 }
142
143 pub fn add_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
145 }
146
147 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
149 }
150
151 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
153 }
154}
155
156#[cfg(feature = "app-playreportstruct")]
157impl PlayReportStruct {
158 #[doc = "`.ctor()` — no args"]
159 pub fn new() -> Self {
160 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
161 panic!(
162 "{}
163::{}
164 failed to instantiate",
165 ::core::stringify!(PlayReportStruct),
166 ::core::stringify!(new),
167 )
168 });
169 <Self as IPlayReportStructMethods>::ctor(this);
170 this
171 }
172}
173
174#[cfg(feature = "app-playreportstruct")]
175#[doc(hidden)]
176pub mod prelude {
177 pub use super::{IPlayReportStruct, IPlayReportStructMethods, PlayReportStruct};
178 pub use crate::system::object::IObject;
179 #[cfg(feature = "system-object")]
180 pub use crate::system::object::IObjectMethods;
181}