1#[cfg(feature = "app-shopcore-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopcore/ShopCore_Result.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct ShopCore_Result {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for ShopCore_Result {
21 const NAME: &'static str = "ShopCore.Result";
22 const NAMESPACE: &'static str = "App";
23
24 fn class() -> ::unity::Class {
25 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27 }
28 }
29 impl ::unity::IlType for ShopCore_Result {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl ShopCore_Result {
35 pub fn failed() -> Self {
36 Self { value: 0 }
37 }
38
39 pub fn unit() -> Self {
40 Self { value: 1 }
41 }
42
43 pub fn transporter() -> Self {
44 Self { value: 2 }
45 }
46
47 pub fn inventory() -> Self {
48 Self { value: 3 }
49 }
50 }
51
52 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopcore/ShopCore.md"))]
53 #[::unity::class(namespace = "App", name = "ShopCore")]
54 #[parent(crate::system::object::Object)]
55 pub struct ShopCore {}
56}
57
58#[cfg(feature = "app-shopcore-types")]
59pub use __types::*;
60
61#[cfg(feature = "app-shopcore")]
62impl ShopCore {
63 #[doc = "`BuyOnWeaponShop(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
64 pub fn buy_on_weapon_shop(
65 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
66 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
67 ) -> bool {
68 unsafe {
69 ::unity::il2cpp_call!((::unity::module_base()+0x21ae700usize)as*mut u8,bool;
70(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
71 }
72 }
73
74 #[doc = "`BuyOnItemShop(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
75 pub fn buy_on_item_shop(
76 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
77 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
78 ) -> bool {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x21aec90usize)as*mut u8,bool;
81(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
82 }
83 }
84
85 #[doc = "`BuyOnFleaMarket(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
86 pub fn buy_on_flea_market(
87 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
88 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
89 ) -> bool {
90 unsafe {
91 ::unity::il2cpp_call!((::unity::module_base()+0x21aee00usize)as*mut u8,bool;
92(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
93 }
94 }
95
96 #[doc = "`BuyOnAccessoryShop(crate::app::accessorydata::AccessoryData)` overload"]
97 pub fn buy_on_accessory_shop(accessory_data: impl ::core::convert::Into<crate::app::accessorydata::AccessoryData>) -> () {
98 unsafe {
99 ::unity::il2cpp_call!((::unity::module_base()+0x21aeef0usize)as*mut u8,();
100(crate::app::accessorydata::AccessoryData)::core::convert::Into::into(accessory_data))
101 }
102 }
103
104 #[doc = "`Sell(crate::app::unit::Unit, i32, bool)` overload"]
105 pub fn sell(
106 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
107 item_index: impl ::core::convert::Into<i32>,
108 closeup: impl ::core::convert::Into<bool>,
109 ) -> () {
110 unsafe {
111 ::unity::il2cpp_call!((::unity::module_base()+0x21af020usize)as*mut u8,();
112(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(item_index),(bool)::core::convert::Into::into(closeup))
113 }
114 }
115
116 #[doc = "`Refine(crate::app::unit::Unit, i32, i32)` overload"]
117 pub fn refine(
118 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
119 item_index: impl ::core::convert::Into<i32>,
120 refine_level: impl ::core::convert::Into<i32>,
121 ) -> crate::app::unititem::UnitItem {
122 unsafe {
123 ::unity::il2cpp_call!((::unity::module_base()+0x21af310usize)as*mut u8,crate::app::unititem::UnitItem;
124(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(item_index),(i32)::core::convert::Into::into(refine_level))
125 }
126 }
127
128 #[doc = "`GetNeededIronToRefine(crate::app::unititem::UnitItem, i32)` overload"]
129 pub fn get_needed_iron_to_refine(
130 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
131 new_refine_level: impl ::core::convert::Into<i32>,
132 ) -> i32 {
133 unsafe {
134 ::unity::il2cpp_call!((::unity::module_base()+0x21af6e0usize)as*mut u8,i32;
135(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(i32)::core::convert::Into::into(new_refine_level))
136 }
137 }
138
139 #[doc = "`GetNeededSteelToRefine(crate::app::unititem::UnitItem, i32)` overload"]
140 pub fn get_needed_steel_to_refine(
141 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
142 new_refine_level: impl ::core::convert::Into<i32>,
143 ) -> i32 {
144 unsafe {
145 ::unity::il2cpp_call!((::unity::module_base()+0x21af800usize)as*mut u8,i32;
146(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(i32)::core::convert::Into::into(new_refine_level))
147 }
148 }
149
150 #[doc = "`GetNeededSilverToRefine(crate::app::unititem::UnitItem, i32)` overload"]
151 pub fn get_needed_silver_to_refine(
152 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
153 new_refine_level: impl ::core::convert::Into<i32>,
154 ) -> i32 {
155 unsafe {
156 ::unity::il2cpp_call!((::unity::module_base()+0x21af920usize)as*mut u8,i32;
157(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(i32)::core::convert::Into::into(new_refine_level))
158 }
159 }
160
161 #[doc = "`GetNeededMoneyToRefine(crate::app::unititem::UnitItem, i32)` overload"]
162 pub fn get_needed_money_to_refine(
163 unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
164 new_refine_level: impl ::core::convert::Into<i32>,
165 ) -> i32 {
166 unsafe {
167 ::unity::il2cpp_call!((::unity::module_base()+0x21afa40usize)as*mut u8,i32;
168(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item),(i32)::core::convert::Into::into(new_refine_level))
169 }
170 }
171
172 #[doc = "`Evolve(crate::app::unit::Unit, i32, i32)` overload"]
173 pub fn evolve(
174 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
175 item_index: impl ::core::convert::Into<i32>,
176 evolve_data_index: impl ::core::convert::Into<i32>,
177 ) -> crate::app::unititem::UnitItem {
178 unsafe {
179 ::unity::il2cpp_call!((::unity::module_base()+0x21afd50usize)as*mut u8,crate::app::unititem::UnitItem;
180(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(item_index),(i32)::core::convert::Into::into(evolve_data_index))
181 }
182 }
183
184 #[doc = "`Engrave(crate::app::unit::Unit, i32, crate::app::goddata::GodData)` overload"]
185 pub fn engrave(
186 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
187 item_index: impl ::core::convert::Into<i32>,
188 god_data: impl ::core::convert::Into<crate::app::goddata::GodData>,
189 ) -> crate::app::unititem::UnitItem {
190 unsafe {
191 ::unity::il2cpp_call!((::unity::module_base()+0x21b0080usize)as*mut u8,crate::app::unititem::UnitItem;
192(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(item_index),(crate::app::goddata::GodData)::core::convert::Into::into(god_data))
193 }
194 }
195
196 #[doc = "`GetEngraveCost(crate::app::itemdata::ItemData)` overload"]
197 pub fn get_engrave_cost(item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> i32 {
198 unsafe {
199 ::unity::il2cpp_call!((::unity::module_base()+0x21b0310usize)as*mut u8,i32;
200(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
201 }
202 }
203
204 #[doc = "`Exchange(crate::app::itemrefineexchangedata::ItemRefineExchangeData, crate::app::itemrefineexchangedata::ItemRefineExchangeData, i32)` overload"]
205 pub fn exchange(
206 source_material_data: impl ::core::convert::Into<crate::app::itemrefineexchangedata::ItemRefineExchangeData>,
207 target_material_data: impl ::core::convert::Into<crate::app::itemrefineexchangedata::ItemRefineExchangeData>,
208 source_material_count: impl ::core::convert::Into<i32>,
209 ) -> i32 {
210 unsafe {
211 ::unity::il2cpp_call!((::unity::module_base()+0x21b0390usize)as*mut u8,i32;
212(crate::app::itemrefineexchangedata::ItemRefineExchangeData)::core::convert::Into::into(source_material_data),(crate::app::itemrefineexchangedata::ItemRefineExchangeData)::core::convert::Into::into(target_material_data),(i32)::core::convert::Into::into(source_material_count))
213 }
214 }
215
216 #[doc = "`GetUnitItemEmptyCount(crate::app::unit::Unit)` overload"]
217 pub fn get_unit_item_empty_count(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> i32 {
218 unsafe {
219 ::unity::il2cpp_call!((::unity::module_base()+0x21b0a00usize)as*mut u8,i32;
220(crate::app::unit::Unit)::core::convert::Into::into(unit))
221 }
222 }
223
224 #[doc = "`GetUnitItem(crate::app::unit::Unit, i32)` overload"]
225 pub fn get_unit_item(
226 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
227 item_index: impl ::core::convert::Into<i32>,
228 ) -> crate::app::unititem::UnitItem {
229 unsafe {
230 ::unity::il2cpp_call!((::unity::module_base()+0x21af620usize)as*mut u8,crate::app::unititem::UnitItem;
231(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(item_index))
232 }
233 }
234
235 #[doc = "`IsPriceDown()` overload"]
236 pub fn is_price_down() -> bool {
237 unsafe {
238 ::unity::il2cpp_call!((::unity::module_base()+0x21b0a30usize)as*mut u8,bool;
239 )
240 }
241 }
242
243 #[doc = "`GetPrice(crate::app::itemdata::ItemData, bool)` overload"]
244 pub fn get_price(
245 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
246 is_discountable_shop: impl ::core::convert::Into<bool>,
247 ) -> i32 {
248 unsafe {
249 ::unity::il2cpp_call!((::unity::module_base()+0x21ac000usize)as*mut u8,i32;
250(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data),(bool)::core::convert::Into::into(is_discountable_shop))
251 }
252 }
253
254 #[doc = "`CanAdd(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
255 pub fn can_add(
256 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
257 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
258 ) -> bool {
259 unsafe {
260 ::unity::il2cpp_call!((::unity::module_base()+0x21b0b30usize)as*mut u8,bool;
261(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
262 }
263 }
264
265 #[doc = "`CalcAdd(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
266 pub fn calc_add(
267 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
268 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
269 ) -> crate::app::shopcore::ShopCore_Result {
270 unsafe {
271 ::unity::il2cpp_call!((::unity::module_base()+0x21b0b50usize)as*mut u8,crate::app::shopcore::ShopCore_Result;
272(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
273 }
274 }
275
276 #[doc = "`IsInventoryMax(crate::app::itemdata::ItemData)` overload"]
277 pub fn is_inventory_max(item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> bool {
278 unsafe {
279 ::unity::il2cpp_call!((::unity::module_base()+0x21b0c40usize)as*mut u8,bool;
280(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
281 }
282 }
283
284 #[doc = "`AddItem(crate::app::unit::Unit, crate::app::itemdata::ItemData)` overload"]
285 pub fn add_item(
286 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
287 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
288 ) -> crate::app::shopcore::ShopCore_Result {
289 unsafe {
290 ::unity::il2cpp_call!((::unity::module_base()+0x21ae870usize)as*mut u8,crate::app::shopcore::ShopCore_Result;
291(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data))
292 }
293 }
294
295 #[doc = "`GetRefineMaterialCount(crate::app::itemrefineexchangedata::ItemRefineExchangeData)` overload"]
296 pub fn get_refine_material_count(material_data: impl ::core::convert::Into<crate::app::itemrefineexchangedata::ItemRefineExchangeData>) -> i32 {
297 unsafe {
298 ::unity::il2cpp_call!((::unity::module_base()+0x21b0790usize)as*mut u8,i32;
299(crate::app::itemrefineexchangedata::ItemRefineExchangeData)::core::convert::Into::into(material_data))
300 }
301 }
302
303 #[doc = "`GetRefineMaterialMax(crate::app::itemrefineexchangedata::ItemRefineExchangeData)` overload"]
304 pub fn get_refine_material_max(material_data: impl ::core::convert::Into<crate::app::itemrefineexchangedata::ItemRefineExchangeData>) -> i32 {
305 unsafe {
306 ::unity::il2cpp_call!((::unity::module_base()+0x21b0920usize)as*mut u8,i32;
307(crate::app::itemrefineexchangedata::ItemRefineExchangeData)::core::convert::Into::into(material_data))
308 }
309 }
310
311 #[doc = "`AddAchievementOnBuy(crate::app::itemdata::ItemData, i32)` overload"]
312 pub fn add_achievement_on_buy(
313 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
314 count: impl ::core::convert::Into<i32>,
315 ) -> () {
316 unsafe {
317 ::unity::il2cpp_call!((::unity::module_base()+0x21aea30usize)as*mut u8,();
318(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data),(i32)::core::convert::Into::into(count))
319 }
320 }
321
322 #[doc = "`AddAchievementOnSell(crate::app::itemdata::ItemData, i32)` overload"]
323 pub fn add_achievement_on_sell(
324 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
325 count: impl ::core::convert::Into<i32>,
326 ) -> () {
327 unsafe {
328 ::unity::il2cpp_call!((::unity::module_base()+0x21af230usize)as*mut u8,();
329(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data),(i32)::core::convert::Into::into(count))
330 }
331 }
332
333 #[doc = "`AddAchievementOnRefine(crate::app::itemdata::ItemData, i32)` overload"]
334 pub fn add_achievement_on_refine(
335 item_data: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
336 count: impl ::core::convert::Into<i32>,
337 ) -> () {
338 unsafe {
339 ::unity::il2cpp_call!((::unity::module_base()+0x21afb60usize)as*mut u8,();
340(crate::app::itemdata::ItemData)::core::convert::Into::into(item_data),(i32)::core::convert::Into::into(count))
341 }
342 }
343
344 #[doc = "`AddAchievementOnBuyAccessory()` overload"]
345 pub fn add_achievement_on_buy_accessory() -> () {
346 unsafe {
347 ::unity::il2cpp_call!((::unity::module_base()+0x21b0cb0usize)as*mut u8,();
348 )
349 }
350 }
351
352 #[doc = "`GetUnknownName(crate::app::unititem::UnitItem)` overload"]
353 pub fn get_unknown_name(unititem: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> ::unity::Il2CppString {
354 unsafe {
355 ::unity::il2cpp_call!((::unity::module_base()+0x21adc90usize)as*mut u8, ::unity::Il2CppString;
356(crate::app::unititem::UnitItem)::core::convert::Into::into(unititem))
357 }
358 }
359}
360
361#[cfg(feature = "app-shopcore")]
362pub trait IShopCoreMethods: IShopCore {
363 #[doc = "`.ctor()` overload"]
364 fn ctor(self) -> () {
365 unsafe {
366 let __receiver = <ShopCore as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367 ::unity::il2cpp_call!((::unity::module_base()+0x21b0d20usize)as*mut u8,();
368(ShopCore)__receiver)
369 }
370 }
371}
372
373#[cfg(feature = "app-shopcore")]
374impl<__T: IShopCore> IShopCoreMethods for __T {}
375
376#[cfg(feature = "app-shopcore")]
377impl ShopCore {
378 pub fn buy_on_weapon_shop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
380 }
381
382 pub fn buy_on_item_shop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
384 }
385
386 pub fn buy_on_flea_market_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
388 }
389
390 pub fn buy_on_accessory_shop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
392 }
393
394 pub fn sell_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
396 }
397
398 pub fn refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
400 }
401
402 pub fn get_needed_iron_to_refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
404 }
405
406 pub fn get_needed_steel_to_refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
408 }
409
410 pub fn get_needed_silver_to_refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
412 }
413
414 pub fn get_needed_money_to_refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
416 }
417
418 pub fn evolve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
420 }
421
422 pub fn engrave_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
424 }
425
426 pub fn get_engrave_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
428 }
429
430 pub fn exchange_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
432 }
433
434 pub fn get_unit_item_empty_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
436 }
437
438 pub fn get_unit_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
440 }
441
442 pub fn is_price_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
444 }
445
446 pub fn get_price_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
448 }
449
450 pub fn can_add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
452 }
453
454 pub fn calc_add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
456 }
457
458 pub fn is_inventory_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
460 }
461
462 pub fn add_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
464 }
465
466 pub fn get_refine_material_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
468 }
469
470 pub fn get_refine_material_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
472 }
473
474 pub fn add_achievement_on_buy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
475 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
476 }
477
478 pub fn add_achievement_on_sell_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
480 }
481
482 pub fn add_achievement_on_refine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
484 }
485
486 pub fn add_achievement_on_buy_accessory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
488 }
489
490 pub fn get_unknown_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
492 }
493
494 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
496 }
497}
498
499#[cfg(feature = "app-shopcore")]
500impl ShopCore {
501 #[doc = "`.ctor()` — no args"]
502 pub fn new() -> Self {
503 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
504 panic!(
505 "{}
506::{}
507 failed to instantiate",
508 ::core::stringify!(ShopCore),
509 ::core::stringify!(new),
510 )
511 });
512 <Self as IShopCoreMethods>::ctor(this);
513 this
514 }
515}
516
517#[cfg(feature = "app-shopcore")]
518#[doc(hidden)]
519pub mod prelude {
520 pub use super::{IShopCore, IShopCoreMethods, ShopCore, ShopCore_Result};
521 #[cfg(feature = "system-object")]
522 pub use crate::system::object::IObjectMethods;
523 #[cfg(feature = "system-enum")]
524 pub use crate::system::r#enum::IEnumMethods;
525 #[cfg(feature = "system-valuetype")]
526 pub use crate::system::valuetype::IValueTypeMethods;
527 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
528}