1#[cfg(feature = "app-hubnationdata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 structbase::{IStructBase, StructBase},
11 structdata_1::{IStructData_1, StructData_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/hubnationdata/HubNationData.md"))]
18 #[::unity::class(namespace = "App", name = "HubNationData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::hubnationdata::HubNationData>)]
20 pub struct HubNationData {}
21}
22
23#[cfg(feature = "app-hubnationdata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubnationdata")]
27impl HubNationData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x23d4830usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubnationdata")]
38pub trait IHubNationDataMethods: IHubNationData {
39 #[doc = "`get_ID()` overload"]
40 fn get_id(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x23d48e0usize)as*mut u8, ::unity::Il2CppString;
44(HubNationData)__receiver)
45 }
46 }
47 #[doc = "`set_ID(::unity::Il2CppString)` overload"]
48 fn set_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x23d48f0usize)as*mut u8,();
52(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_Name()` overload"]
56 fn get_name(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x23d4900usize)as*mut u8, ::unity::Il2CppString;
60(HubNationData)__receiver)
61 }
62 }
63 #[doc = "`set_Name(::unity::Il2CppString)` overload"]
64 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x23d4910usize)as*mut u8,();
68(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_Chapter()` overload"]
72 fn get_chapter(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x23d4920usize)as*mut u8, ::unity::Il2CppString;
76(HubNationData)__receiver)
77 }
78 }
79 #[doc = "`set_Chapter(::unity::Il2CppString)` overload"]
80 fn set_chapter(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x23d4930usize)as*mut u8,();
84(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_SymbolTexture()` overload"]
88 fn get_symbol_texture(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x23d4940usize)as*mut u8, ::unity::Il2CppString;
92(HubNationData)__receiver)
93 }
94 }
95 #[doc = "`set_SymbolTexture(::unity::Il2CppString)` overload"]
96 fn set_symbol_texture(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x23d4950usize)as*mut u8,();
100(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_LevelInfo()` overload"]
104 fn get_level_info(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x23d4960usize)as*mut u8, ::unity::Il2CppString;
108(HubNationData)__receiver)
109 }
110 }
111 #[doc = "`set_LevelInfo(::unity::Il2CppString)` overload"]
112 fn set_level_info(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x23d4970usize)as*mut u8,();
116(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_FoodstuffInfo()` overload"]
120 fn get_foodstuff_info(self) -> ::unity::Il2CppString {
121 unsafe {
122 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x23d4980usize)as*mut u8, ::unity::Il2CppString;
124(HubNationData)__receiver)
125 }
126 }
127 #[doc = "`set_FoodstuffInfo(::unity::Il2CppString)` overload"]
128 fn set_foodstuff_info(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
129 unsafe {
130 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x23d4990usize)as*mut u8,();
132(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_AnimalInfo()` overload"]
136 fn get_animal_info(self) -> ::unity::Il2CppString {
137 unsafe {
138 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x23d49a0usize)as*mut u8, ::unity::Il2CppString;
140(HubNationData)__receiver)
141 }
142 }
143 #[doc = "`set_AnimalInfo(::unity::Il2CppString)` overload"]
144 fn set_animal_info(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
145 unsafe {
146 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x23d49b0usize)as*mut u8,();
148(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`get_IsNotLevel()` overload"]
152 fn get_is_not_level(self) -> bool {
153 unsafe {
154 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x23d49c0usize)as*mut u8,bool;
156(HubNationData)__receiver)
157 }
158 }
159 #[doc = "`set_IsNotLevel(bool)` overload"]
160 fn set_is_not_level(self, value: impl ::core::convert::Into<bool>) -> () {
161 unsafe {
162 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x23d49d0usize)as*mut u8,();
164(HubNationData)__receiver,(bool)::core::convert::Into::into(value))
165 }
166 }
167 #[doc = "`IsInvestmentEnable()` overload"]
168 fn is_investment_enable(self) -> bool {
169 unsafe {
170 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x23d4a90usize)as*mut u8,bool;
172(HubNationData)__receiver)
173 }
174 }
175 #[doc = "`GetInvestmentTotal()` overload"]
176 fn get_investment_total(self) -> i32 {
177 unsafe {
178 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x23d4be0usize)as*mut u8,i32;
180(HubNationData)__receiver)
181 }
182 }
183 #[doc = "`AddInvestmentTotal(i32)` overload"]
184 fn add_investment_total(self, add: impl ::core::convert::Into<i32>) -> () {
185 unsafe {
186 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x23d4de0usize)as*mut u8,();
188(HubNationData)__receiver,(i32)::core::convert::Into::into(add))
189 }
190 }
191 #[doc = "`GetLevelAverage()` overload"]
192 fn get_level_average(self) -> i32 {
193 unsafe {
194 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x23d5040usize)as*mut u8,i32;
196(HubNationData)__receiver)
197 }
198 }
199 #[doc = "`GetLevelData(i32)` overload"]
200 fn get_level_data(self, level: impl ::core::convert::Into<i32>) -> crate::app::hubinvestmentlevel::HubInvestmentLevel {
201 unsafe {
202 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x23d52b0usize)as*mut u8,crate::app::hubinvestmentlevel::HubInvestmentLevel;
204(HubNationData)__receiver,(i32)::core::convert::Into::into(level))
205 }
206 }
207 #[doc = "`GetCurrentLevelData()` overload"]
208 fn get_current_level_data(self) -> crate::app::hubinvestmentlevel::HubInvestmentLevel {
209 unsafe {
210 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 ::unity::il2cpp_call!((::unity::module_base()+0x23d53a0usize)as*mut u8,crate::app::hubinvestmentlevel::HubInvestmentLevel;
212(HubNationData)__receiver)
213 }
214 }
215 #[doc = "`GetCurrentLevelData(i32)` overload"]
216 fn get_current_level_data_2(self, total_use_cost: impl ::core::convert::Into<i32>) -> crate::app::hubinvestmentlevel::HubInvestmentLevel {
217 unsafe {
218 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x23d5410usize)as*mut u8,crate::app::hubinvestmentlevel::HubInvestmentLevel;
220(HubNationData)__receiver,(i32)::core::convert::Into::into(total_use_cost))
221 }
222 }
223 #[doc = "`GetNextLevelData()` overload"]
224 fn get_next_level_data(self) -> crate::app::hubinvestmentlevel::HubInvestmentLevel {
225 unsafe {
226 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227 ::unity::il2cpp_call!((::unity::module_base()+0x23d55a0usize)as*mut u8,crate::app::hubinvestmentlevel::HubInvestmentLevel;
228(HubNationData)__receiver)
229 }
230 }
231 #[doc = "`GetNextLevelData(i32)` overload"]
232 fn get_next_level_data_2(self, total_use_cost: impl ::core::convert::Into<i32>) -> crate::app::hubinvestmentlevel::HubInvestmentLevel {
233 unsafe {
234 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235 ::unity::il2cpp_call!((::unity::module_base()+0x23d55e0usize)as*mut u8,crate::app::hubinvestmentlevel::HubInvestmentLevel;
236(HubNationData)__receiver,(i32)::core::convert::Into::into(total_use_cost))
237 }
238 }
239 #[doc = "`GetNextCost()` overload"]
240 fn get_next_cost(self) -> i32 {
241 unsafe {
242 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243 ::unity::il2cpp_call!((::unity::module_base()+0x23d5610usize)as*mut u8,i32;
244(HubNationData)__receiver)
245 }
246 }
247 #[doc = "`GetNextCost(i32)` overload"]
248 fn get_next_cost_2(self, total_use_cost: impl ::core::convert::Into<i32>) -> i32 {
249 unsafe {
250 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 ::unity::il2cpp_call!((::unity::module_base()+0x23d5640usize)as*mut u8,i32;
252(HubNationData)__receiver,(i32)::core::convert::Into::into(total_use_cost))
253 }
254 }
255 #[doc = "`GetCurrentLevel()` overload"]
256 fn get_current_level(self) -> i32 {
257 unsafe {
258 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x23d5780usize)as*mut u8,i32;
260(HubNationData)__receiver)
261 }
262 }
263 #[doc = "`GetCurrentLevel(i32)` overload"]
264 fn get_current_level_2(self, total_use_cost: impl ::core::convert::Into<i32>) -> i32 {
265 unsafe {
266 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 ::unity::il2cpp_call!((::unity::module_base()+0x23d5460usize)as*mut u8,i32;
268(HubNationData)__receiver,(i32)::core::convert::Into::into(total_use_cost))
269 }
270 }
271 #[doc = "`IsLevelMax()` overload"]
272 fn is_level_max(self) -> bool {
273 unsafe {
274 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275 ::unity::il2cpp_call!((::unity::module_base()+0x23d57d0usize)as*mut u8,bool;
276(HubNationData)__receiver)
277 }
278 }
279 #[doc = "`IsLevelMax(i32)` overload"]
280 fn is_level_max_2(self, total_use_cost: impl ::core::convert::Into<i32>) -> bool {
281 unsafe {
282 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
283 ::unity::il2cpp_call!((::unity::module_base()+0x23d5800usize)as*mut u8,bool;
284(HubNationData)__receiver,(i32)::core::convert::Into::into(total_use_cost))
285 }
286 }
287 #[doc = "`GetFoodstuffNum(::unity::Il2CppString)` overload"]
288 fn get_foodstuff_num(self, iid: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
289 unsafe {
290 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291 ::unity::il2cpp_call!((::unity::module_base()+0x23d58c0usize)as*mut u8,i32;
292(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(iid))
293 }
294 }
295 #[doc = "`GetAnimalAppearRate(::unity::Il2CppString)` overload"]
296 fn get_animal_appear_rate(self, anid: impl ::core::convert::Into<::unity::Il2CppString>) -> u8 {
297 unsafe {
298 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299 ::unity::il2cpp_call!((::unity::module_base()+0x23d5a30usize)as*mut u8,u8;
300(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anid))
301 }
302 }
303 #[doc = "`IsCaptureAnimal(::unity::Il2CppString)` overload"]
304 fn is_capture_animal(self, anid: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
305 unsafe {
306 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307 ::unity::il2cpp_call!((::unity::module_base()+0x23d5ba0usize)as*mut u8,bool;
308(HubNationData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anid))
309 }
310 }
311 #[doc = "`.ctor()` overload"]
312 fn ctor(self) -> () {
313 unsafe {
314 let __receiver = <HubNationData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315 ::unity::il2cpp_call!((::unity::module_base()+0x23d5d00usize)as*mut u8,();
316(HubNationData)__receiver)
317 }
318 }
319}
320
321#[cfg(feature = "app-hubnationdata")]
322impl<__T: IHubNationData> IHubNationDataMethods for __T {}
323
324#[cfg(feature = "app-hubnationdata")]
325impl HubNationData {
326 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
328 }
329
330 pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
332 }
333
334 pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
336 }
337
338 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
340 }
341
342 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
344 }
345
346 pub fn get_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
348 }
349
350 pub fn set_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
351 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
352 }
353
354 pub fn get_symbol_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
356 }
357
358 pub fn set_symbol_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
360 }
361
362 pub fn get_level_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
363 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
364 }
365
366 pub fn set_level_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
368 }
369
370 pub fn get_foodstuff_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
372 }
373
374 pub fn set_foodstuff_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
376 }
377
378 pub fn get_animal_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
380 }
381
382 pub fn set_animal_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
384 }
385
386 pub fn get_is_not_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
388 }
389
390 pub fn set_is_not_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
392 }
393
394 pub fn is_investment_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
396 }
397
398 pub fn get_investment_total_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
400 }
401
402 pub fn add_investment_total_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
404 }
405
406 pub fn get_level_average_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
408 }
409
410 pub fn get_level_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
412 }
413
414 pub fn get_current_level_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
416 }
417
418 pub fn get_current_level_data_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
420 }
421
422 pub fn get_next_level_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
424 }
425
426 pub fn get_next_level_data_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
428 }
429
430 pub fn get_next_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
432 }
433
434 pub fn get_next_cost_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
436 }
437
438 pub fn get_current_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
440 }
441
442 pub fn get_current_level_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
444 }
445
446 pub fn is_level_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
448 }
449
450 pub fn is_level_max_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
452 }
453
454 pub fn get_foodstuff_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
456 }
457
458 pub fn get_animal_appear_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
460 }
461
462 pub fn is_capture_animal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
464 }
465
466 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
468 }
469}
470
471#[cfg(feature = "app-hubnationdata")]
472impl HubNationData {
473 #[doc = "`.ctor()` — no args"]
474 pub fn new() -> Self {
475 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
476 panic!(
477 "{}
478::{}
479 failed to instantiate",
480 ::core::stringify!(HubNationData),
481 ::core::stringify!(new),
482 )
483 });
484 <Self as IHubNationDataMethods>::ctor(this);
485 this
486 }
487}
488
489#[cfg(feature = "app-hubnationdata")]
490#[doc(hidden)]
491pub mod prelude {
492 pub use super::{HubNationData, IHubNationData, IHubNationDataMethods};
493 #[cfg(feature = "app-structbase")]
494 pub use crate::app::structbase::IStructBaseMethods;
495 #[cfg(feature = "app-structdata_1")]
496 pub use crate::app::structdata_1::IStructData_1Methods;
497 #[cfg(feature = "app-structtemplate_1")]
498 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
499 #[cfg(feature = "system-object")]
500 pub use crate::system::object::IObjectMethods;
501 pub use crate::{
502 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
503 system::object::IObject,
504 };
505}