engage/generated/app/
hubinvestmentanimal.rs1#[cfg(feature = "app-hubinvestmentanimal-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 structbase::{IStructBase, StructBase},
11 structdataarray_1::{IStructDataArray_1, StructDataArray_1},
12 structtemplate_1::{IStructTemplate_1, StructTemplate_1},
13 },
14 system::object::{IObject, Object},
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubinvestmentanimal/HubInvestmentAnimal.md"))]
18 #[::unity::class(namespace = "App", name = "HubInvestmentAnimal")]
19 #[parent(crate::app::structdataarray_1::StructDataArray_1<crate::app::hubinvestmentanimal::HubInvestmentAnimal>)]
20 pub struct HubInvestmentAnimal {}
21}
22
23#[cfg(feature = "app-hubinvestmentanimal-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubinvestmentanimal")]
27impl HubInvestmentAnimal {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x28aa500usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubinvestmentanimal")]
38pub trait IHubInvestmentAnimalMethods: IHubInvestmentAnimal {
39 #[doc = "`get_ANID()` overload"]
40 fn get_anid(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x28aa5b0usize)as*mut u8, ::unity::Il2CppString;
44(HubInvestmentAnimal)__receiver)
45 }
46 }
47 #[doc = "`set_ANID(::unity::Il2CppString)` overload"]
48 fn set_anid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x28aa5c0usize)as*mut u8,();
52(HubInvestmentAnimal)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_AppearRateLv1()` overload"]
56 fn get_appear_rate_lv1(self) -> u8 {
57 unsafe {
58 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x28aa5d0usize)as*mut u8,u8;
60(HubInvestmentAnimal)__receiver)
61 }
62 }
63 #[doc = "`set_AppearRateLv1(u8)` overload"]
64 fn set_appear_rate_lv1(self, value: impl ::core::convert::Into<u8>) -> () {
65 unsafe {
66 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x28aa5e0usize)as*mut u8,();
68(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_AppearRateLv2()` overload"]
72 fn get_appear_rate_lv2(self) -> u8 {
73 unsafe {
74 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x28aa5f0usize)as*mut u8,u8;
76(HubInvestmentAnimal)__receiver)
77 }
78 }
79 #[doc = "`set_AppearRateLv2(u8)` overload"]
80 fn set_appear_rate_lv2(self, value: impl ::core::convert::Into<u8>) -> () {
81 unsafe {
82 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x28aa600usize)as*mut u8,();
84(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_AppearRateLv3()` overload"]
88 fn get_appear_rate_lv3(self) -> u8 {
89 unsafe {
90 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x28aa610usize)as*mut u8,u8;
92(HubInvestmentAnimal)__receiver)
93 }
94 }
95 #[doc = "`set_AppearRateLv3(u8)` overload"]
96 fn set_appear_rate_lv3(self, value: impl ::core::convert::Into<u8>) -> () {
97 unsafe {
98 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x28aa620usize)as*mut u8,();
100(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_AppearRateLv4()` overload"]
104 fn get_appear_rate_lv4(self) -> u8 {
105 unsafe {
106 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x28aa630usize)as*mut u8,u8;
108(HubInvestmentAnimal)__receiver)
109 }
110 }
111 #[doc = "`set_AppearRateLv4(u8)` overload"]
112 fn set_appear_rate_lv4(self, value: impl ::core::convert::Into<u8>) -> () {
113 unsafe {
114 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x28aa640usize)as*mut u8,();
116(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_AppearRateLv5()` overload"]
120 fn get_appear_rate_lv5(self) -> u8 {
121 unsafe {
122 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x28aa650usize)as*mut u8,u8;
124(HubInvestmentAnimal)__receiver)
125 }
126 }
127 #[doc = "`set_AppearRateLv5(u8)` overload"]
128 fn set_appear_rate_lv5(self, value: impl ::core::convert::Into<u8>) -> () {
129 unsafe {
130 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x28aa660usize)as*mut u8,();
132(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_CaptureLevel()` overload"]
136 fn get_capture_level(self) -> u8 {
137 unsafe {
138 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x28aa670usize)as*mut u8,u8;
140(HubInvestmentAnimal)__receiver)
141 }
142 }
143 #[doc = "`set_CaptureLevel(u8)` overload"]
144 fn set_capture_level(self, value: impl ::core::convert::Into<u8>) -> () {
145 unsafe {
146 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x28aa680usize)as*mut u8,();
148(HubInvestmentAnimal)__receiver,(u8)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`GetAppearRate(i32)` overload"]
152 fn get_appear_rate(self, level: impl ::core::convert::Into<i32>) -> u8 {
153 unsafe {
154 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x28aa690usize)as*mut u8,u8;
156(HubInvestmentAnimal)__receiver,(i32)::core::convert::Into::into(level))
157 }
158 }
159 #[doc = "`.ctor()` overload"]
160 fn ctor(self) -> () {
161 unsafe {
162 let __receiver = <HubInvestmentAnimal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x28aa6f0usize)as*mut u8,();
164(HubInvestmentAnimal)__receiver)
165 }
166 }
167}
168
169#[cfg(feature = "app-hubinvestmentanimal")]
170impl<__T: IHubInvestmentAnimal> IHubInvestmentAnimalMethods for __T {}
171
172#[cfg(feature = "app-hubinvestmentanimal")]
173impl HubInvestmentAnimal {
174 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
176 }
177
178 pub fn get_anid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
180 }
181
182 pub fn set_anid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
184 }
185
186 pub fn get_appear_rate_lv1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
188 }
189
190 pub fn set_appear_rate_lv1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
192 }
193
194 pub fn get_appear_rate_lv2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
196 }
197
198 pub fn set_appear_rate_lv2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
200 }
201
202 pub fn get_appear_rate_lv3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
204 }
205
206 pub fn set_appear_rate_lv3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
208 }
209
210 pub fn get_appear_rate_lv4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
212 }
213
214 pub fn set_appear_rate_lv4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
216 }
217
218 pub fn get_appear_rate_lv5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
220 }
221
222 pub fn set_appear_rate_lv5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
224 }
225
226 pub fn get_capture_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
228 }
229
230 pub fn set_capture_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
232 }
233
234 pub fn get_appear_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
236 }
237
238 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
240 }
241}
242
243#[cfg(feature = "app-hubinvestmentanimal")]
244impl HubInvestmentAnimal {
245 #[doc = "`.ctor()` — no args"]
246 pub fn new() -> Self {
247 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
248 panic!(
249 "{}
250::{}
251 failed to instantiate",
252 ::core::stringify!(HubInvestmentAnimal),
253 ::core::stringify!(new),
254 )
255 });
256 <Self as IHubInvestmentAnimalMethods>::ctor(this);
257 this
258 }
259}
260
261#[cfg(feature = "app-hubinvestmentanimal")]
262#[doc(hidden)]
263pub mod prelude {
264 pub use super::{HubInvestmentAnimal, IHubInvestmentAnimal, IHubInvestmentAnimalMethods};
265 #[cfg(feature = "app-structbase")]
266 pub use crate::app::structbase::IStructBaseMethods;
267 #[cfg(feature = "app-structdataarray_1")]
268 pub use crate::app::structdataarray_1::IStructDataArray_1Methods;
269 #[cfg(feature = "app-structtemplate_1")]
270 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
271 #[cfg(feature = "system-object")]
272 pub use crate::system::object::IObjectMethods;
273 pub use crate::{
274 app::{structbase::IStructBase, structdataarray_1::IStructDataArray_1, structtemplate_1::IStructTemplate_1},
275 system::object::IObject,
276 };
277}