Skip to main content

engage/generated/app/
gmapspotmanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gmapspotmanager-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::singletonclass_1::{ISingletonClass_1, SingletonClass_1},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspotmanager/GmapSpotManager.md"))]
14    #[::unity::class(namespace = "App", name = "GmapSpotManager")]
15    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::gmapspotmanager::GmapSpotManager>)]
16    pub struct GmapSpotManager {
17        #[offset(32)]
18        #[rename(name = "m_SpotArray")]
19        pub m_spot_array: ::unity::Array<crate::app::gmapspot::GmapSpot>,
20        #[static_field]
21        #[rename(name = "EncountMobMax")]
22        pub encount_mob_max: i32,
23        #[static_field]
24        #[rename(name = "StateFlagNameM017")]
25        pub state_flag_name_m017: ::unity::Il2CppString,
26    }
27}
28
29#[cfg(feature = "app-gmapspotmanager-types")]
30pub use __types::*;
31
32#[cfg(feature = "app-gmapspotmanager")]
33impl GmapSpotManager {
34    #[doc = "`ForEachImpl(crate::system::func_2::Func_2<crate::app::gmapspot::GmapSpot,bool>, crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)` overload"]
35    pub fn for_each_impl(
36        cond: impl ::core::convert::Into<crate::system::func_2::Func_2<crate::app::gmapspot::GmapSpot, bool>>,
37        func: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>>,
38    ) -> () {
39        unsafe {
40            ::unity::il2cpp_call!((::unity::module_base()+0x2b495a0usize)as*mut u8,();
41(crate::system::func_2::Func_2<crate::app::gmapspot::GmapSpot,bool>)::core::convert::Into::into(cond),(crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)::core::convert::Into::into(func))
42        }
43    }
44
45    #[doc = "`ForEach(crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)` overload"]
46    pub fn for_each(func: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>>) -> () {
47        unsafe {
48            ::unity::il2cpp_call!((::unity::module_base()+0x2b48ac0usize)as*mut u8,();
49(crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)::core::convert::Into::into(func))
50        }
51    }
52
53    #[doc = "`ForEachOnGmap(crate::app::gmapmode::GmapMode_Mode, crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)` overload"]
54    pub fn for_each_on_gmap(
55        mode: impl ::core::convert::Into<crate::app::gmapmode::GmapMode_Mode>,
56        func: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>>,
57    ) -> () {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x2b48880usize)as*mut u8,();
60(crate::app::gmapmode::GmapMode_Mode)::core::convert::Into::into(mode),(crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)::core::convert::Into::into(func))
61        }
62    }
63
64    #[doc = "`ForEachAtChapter(crate::app::gmapmode::GmapMode_Mode, crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)` overload"]
65    pub fn for_each_at_chapter(
66        mode: impl ::core::convert::Into<crate::app::gmapmode::GmapMode_Mode>,
67        func: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>>,
68    ) -> () {
69        unsafe {
70            ::unity::il2cpp_call!((::unity::module_base()+0x2b48d20usize)as*mut u8,();
71(crate::app::gmapmode::GmapMode_Mode)::core::convert::Into::into(mode),(crate::system::action_1::Action_1<crate::app::gmapspot::GmapSpot>)::core::convert::Into::into(func))
72        }
73    }
74
75    #[doc = "`SetState(::unity::Il2CppString, crate::app::gmapspot::GmapSpot_State)` overload"]
76    pub fn set_state(
77        cid: impl ::core::convert::Into<::unity::Il2CppString>,
78        state: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot_State>,
79    ) -> () {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x2b49700usize)as*mut u8,();
82(::unity::Il2CppString)::core::convert::Into::into(cid),(crate::app::gmapspot::GmapSpot_State)::core::convert::Into::into(state))
83        }
84    }
85
86    #[doc = "`GetKizunaScriptName()` overload"]
87    pub fn get_kizuna_script_name() -> ::unity::Il2CppString {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x2b49a70usize)as*mut u8, ::unity::Il2CppString;
90            )
91        }
92    }
93
94    #[doc = "`InitActiveSpots()` overload"]
95    pub fn init_active_spots() -> () {
96        unsafe {
97            ::unity::il2cpp_call!((::unity::module_base()+0x2b3c0c0usize)as*mut u8,();
98            )
99        }
100    }
101
102    #[doc = "`UpdateStateM017Model()` overload"]
103    pub fn update_state_m017_model() -> () {
104        unsafe {
105            ::unity::il2cpp_call!((::unity::module_base()+0x2b3d650usize)as*mut u8,();
106            )
107        }
108    }
109
110    #[doc = "`SetStateM017Model()` overload"]
111    pub fn set_state_m017_model() -> () {
112        unsafe {
113            ::unity::il2cpp_call!((::unity::module_base()+0x2b409d0usize)as*mut u8,();
114            )
115        }
116    }
117
118    #[doc = "`OpenNextChapters(crate::app::chapterdata::ChapterData)` overload"]
119    pub fn open_next_chapters(chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>) -> () {
120        unsafe {
121            ::unity::il2cpp_call!((::unity::module_base()+0x2b49ac0usize)as*mut u8,();
122(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter))
123        }
124    }
125
126    #[doc = "`.cctor()` overload"]
127    pub fn cctor() -> () {
128        unsafe {
129            ::unity::il2cpp_call!((::unity::module_base()+0x2b49db0usize)as*mut u8,();
130            )
131        }
132    }
133}
134
135#[cfg(feature = "app-gmapspotmanager")]
136pub trait IGmapSpotManagerMethods: IGmapSpotManager {
137    #[doc = "`OnCreate()` overload"]
138    fn on_create(self) -> () {
139        unsafe {
140            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            {
142                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
143                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
144                    panic!(
145                        "unity: virtual slot {}
146 out of range (vtable len {}
147) on the runtime class behind {}
148 (method `{}
149`)",
150                        5usize,
151                        __vt.len(),
152                        <GmapSpotManager as ::unity::ClassIdentity>::NAME,
153                        "OnCreate",
154                    )
155                });
156                let __inner: extern "C" fn(GmapSpotManager, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
157                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
158                __inner(__receiver, __mi)
159            }
160        }
161    }
162    #[doc = "`AttachChapterToSpot()` overload"]
163    fn attach_chapter_to_spot(self) -> () {
164        unsafe {
165            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166            ::unity::il2cpp_call!((::unity::module_base()+0x2b39700usize)as*mut u8,();
167(GmapSpotManager)__receiver)
168        }
169    }
170    #[doc = "`AttachModels()` overload"]
171    fn attach_models(self) -> () {
172        unsafe {
173            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x2b3c380usize)as*mut u8,();
175(GmapSpotManager)__receiver)
176        }
177    }
178    #[doc = "`AttachModelsChapter(crate::app::gmapspot::GmapSpot)` overload"]
179    fn attach_models_chapter(self, spot: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot>) -> () {
180        unsafe {
181            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182            ::unity::il2cpp_call!((::unity::module_base()+0x2b486f0usize)as*mut u8,();
183(GmapSpotManager)__receiver,(crate::app::gmapspot::GmapSpot)::core::convert::Into::into(spot))
184        }
185    }
186    #[doc = "`SetNextSpots(crate::app::gmap::gmappathcollection::GmapPathCollection)` overload"]
187    fn set_next_spots(self, paths: impl ::core::convert::Into<crate::app::gmap::gmappathcollection::GmapPathCollection>) -> () {
188        unsafe {
189            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            ::unity::il2cpp_call!((::unity::module_base()+0x2b3c3f0usize)as*mut u8,();
191(GmapSpotManager)__receiver,(crate::app::gmap::gmappathcollection::GmapPathCollection)::core::convert::Into::into(paths))
192        }
193    }
194    #[doc = "`CheckChange()` overload"]
195    fn check_change(self) -> crate::app::gmapspot::GmapSpot {
196        unsafe {
197            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198            ::unity::il2cpp_call!((::unity::module_base()+0x2b37160usize)as*mut u8,crate::app::gmapspot::GmapSpot;
199(GmapSpotManager)__receiver)
200        }
201    }
202    #[doc = "`FindSpotBySpotID(::unity::Il2CppString)` overload"]
203    fn find_spot_by_spot_id(self, spot_id: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::gmapspot::GmapSpot {
204        unsafe {
205            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206            ::unity::il2cpp_call!((::unity::module_base()+0x2b3ac60usize)as*mut u8,crate::app::gmapspot::GmapSpot;
207(GmapSpotManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(spot_id))
208        }
209    }
210    #[doc = "`FindSpotByCID(::unity::Il2CppString)` overload"]
211    fn find_spot_by_cid(self, cid: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::gmapspot::GmapSpot {
212        unsafe {
213            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214            ::unity::il2cpp_call!((::unity::module_base()+0x2b48990usize)as*mut u8,crate::app::gmapspot::GmapSpot;
215(GmapSpotManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(cid))
216        }
217    }
218    #[doc = "`FindSpot(crate::app::chapterdata::ChapterData)` overload"]
219    fn find_spot(self, chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>) -> crate::app::gmapspot::GmapSpot {
220        unsafe {
221            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            ::unity::il2cpp_call!((::unity::module_base()+0x2b48aa0usize)as*mut u8,crate::app::gmapspot::GmapSpot;
223(GmapSpotManager)__receiver,(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter))
224        }
225    }
226    #[doc = "`GetNewestSpot()` overload"]
227    fn get_newest_spot(self) -> crate::app::gmapspot::GmapSpot {
228        unsafe {
229            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230            ::unity::il2cpp_call!((::unity::module_base()+0x2b3f640usize)as*mut u8,crate::app::gmapspot::GmapSpot;
231(GmapSpotManager)__receiver)
232        }
233    }
234    #[doc = "`GetEncountSpotOne()` overload"]
235    fn get_encount_spot_one(self) -> crate::app::gmapspot::GmapSpot {
236        unsafe {
237            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238            ::unity::il2cpp_call!((::unity::module_base()+0x2b3fcf0usize)as*mut u8,crate::app::gmapspot::GmapSpot;
239(GmapSpotManager)__receiver)
240        }
241    }
242    #[doc = "`GetEncountCount(crate::app::gmapmode::GmapMode_Mode, crate::app::encountunitdata::EncountUnitData_RareType)` overload"]
243    fn get_encount_count(
244        self,
245        mode: impl ::core::convert::Into<crate::app::gmapmode::GmapMode_Mode>,
246        rare_type: impl ::core::convert::Into<crate::app::encountunitdata::EncountUnitData_RareType>,
247    ) -> i32 {
248        unsafe {
249            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250            ::unity::il2cpp_call!((::unity::module_base()+0x2b48c10usize)as*mut u8,i32;
251(GmapSpotManager)__receiver,(crate::app::gmapmode::GmapMode_Mode)::core::convert::Into::into(mode),(crate::app::encountunitdata::EncountUnitData_RareType)::core::convert::Into::into(rare_type))
252        }
253    }
254    #[doc = "`GetSubSpotOne()` overload"]
255    fn get_sub_spot_one(self) -> crate::app::gmapspot::GmapSpot {
256        unsafe {
257            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258            ::unity::il2cpp_call!((::unity::module_base()+0x2b3fe00usize)as*mut u8,crate::app::gmapspot::GmapSpot;
259(GmapSpotManager)__receiver)
260        }
261    }
262    #[doc = "`GetRoute(crate::app::gmapspot::GmapSpot, crate::app::gmapspot::GmapSpot)` overload"]
263    fn get_route(
264        self,
265        start: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot>,
266        end: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot>,
267    ) -> crate::system::collections::generic::list_1::List_1<crate::app::gmapspot::GmapSpot> {
268        unsafe {
269            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270            ::unity::il2cpp_call!((::unity::module_base()+0x2b40220usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::gmapspot::GmapSpot> ;
271(GmapSpotManager)__receiver,(crate::app::gmapspot::GmapSpot)::core::convert::Into::into(start),(crate::app::gmapspot::GmapSpot)::core::convert::Into::into(end))
272        }
273    }
274    #[doc = "`PutMobUnits()` overload"]
275    fn put_mob_units(self) -> () {
276        unsafe {
277            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278            ::unity::il2cpp_call!((::unity::module_base()+0x2b3d2b0usize)as*mut u8,();
279(GmapSpotManager)__receiver)
280        }
281    }
282    #[doc = "`UnloadMobUnits()` overload"]
283    fn unload_mob_units(self) -> () {
284        unsafe {
285            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286            ::unity::il2cpp_call!((::unity::module_base()+0x2b48e30usize)as*mut u8,();
287(GmapSpotManager)__receiver)
288        }
289    }
290    #[doc = "`GetSettableSpotCount()` overload"]
291    fn get_settable_spot_count(self) -> i32 {
292        unsafe {
293            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294            ::unity::il2cpp_call!((::unity::module_base()+0x2b48ec0usize)as*mut u8,i32;
295(GmapSpotManager)__receiver)
296        }
297    }
298    #[doc = "`GetDisposCount()` overload"]
299    fn get_dispos_count(self) -> i32 {
300        unsafe {
301            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302            ::unity::il2cpp_call!((::unity::module_base()+0x2b48fc0usize)as*mut u8,i32;
303(GmapSpotManager)__receiver)
304        }
305    }
306    #[doc = "`CalculateDisposCount()` overload"]
307    fn calculate_dispos_count(self) -> i32 {
308        unsafe {
309            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310            ::unity::il2cpp_call!((::unity::module_base()+0x2b49060usize)as*mut u8,i32;
311(GmapSpotManager)__receiver)
312        }
313    }
314    #[doc = "`SetDispos()` overload"]
315    fn set_dispos(self) -> () {
316        unsafe {
317            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318            ::unity::il2cpp_call!((::unity::module_base()+0x2b49110usize)as*mut u8,();
319(GmapSpotManager)__receiver)
320        }
321    }
322    #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
323    fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
324        unsafe {
325            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326            {
327                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
328                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
329                    panic!(
330                        "unity: virtual slot {}
331 out of range (vtable len {}
332) on the runtime class behind {}
333 (method `{}
334`)",
335                        11usize,
336                        __vt.len(),
337                        <GmapSpotManager as ::unity::ClassIdentity>::NAME,
338                        "OnSerialize",
339                    )
340                });
341                let __inner: extern "C" fn(GmapSpotManager, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
342                    ::core::mem::transmute(__vi.method_ptr);
343                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
344                __inner(__receiver, ::core::convert::Into::into(stream), __mi)
345            }
346        }
347    }
348    #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
349    fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
350        unsafe {
351            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352            {
353                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
354                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
355                    panic!(
356                        "unity: virtual slot {}
357 out of range (vtable len {}
358) on the runtime class behind {}
359 (method `{}
360`)",
361                        12usize,
362                        __vt.len(),
363                        <GmapSpotManager as ::unity::ClassIdentity>::NAME,
364                        "OnDeserialize",
365                    )
366                });
367                let __inner: extern "C" fn(GmapSpotManager, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
368                    ::core::mem::transmute(__vi.method_ptr);
369                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
370                __inner(
371                    __receiver,
372                    ::core::convert::Into::into(stream),
373                    ::core::convert::Into::into(version),
374                    __mi,
375                )
376            }
377        }
378    }
379    #[doc = "`.ctor()` overload"]
380    fn ctor(self) -> () {
381        unsafe {
382            let __receiver = <GmapSpotManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
383            ::unity::il2cpp_call!((::unity::module_base()+0x2b49d30usize)as*mut u8,();
384(GmapSpotManager)__receiver)
385        }
386    }
387}
388
389#[cfg(feature = "app-gmapspotmanager")]
390impl<__T: IGmapSpotManager> IGmapSpotManagerMethods for __T {}
391
392#[cfg(feature = "app-gmapspotmanager")]
393impl GmapSpotManager {
394    pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
396    }
397
398    pub fn attach_chapter_to_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
400    }
401
402    pub fn attach_models_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
404    }
405
406    pub fn attach_models_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
408    }
409
410    pub fn set_next_spots_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
412    }
413
414    pub fn check_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
416    }
417
418    pub fn find_spot_by_spot_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
420    }
421
422    pub fn find_spot_by_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
424    }
425
426    pub fn find_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
428    }
429
430    pub fn get_newest_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
432    }
433
434    pub fn get_encount_spot_one_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
436    }
437
438    pub fn get_encount_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
440    }
441
442    pub fn get_sub_spot_one_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
444    }
445
446    pub fn get_route_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
448    }
449
450    pub fn put_mob_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
452    }
453
454    pub fn unload_mob_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
456    }
457
458    pub fn get_settable_spot_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
460    }
461
462    pub fn get_dispos_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
464    }
465
466    pub fn calculate_dispos_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
468    }
469
470    pub fn set_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
471        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
472    }
473
474    pub fn for_each_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
475        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
476    }
477
478    pub fn for_each_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
480    }
481
482    pub fn for_each_on_gmap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
484    }
485
486    pub fn for_each_at_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
488    }
489
490    pub fn set_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
492    }
493
494    pub fn get_kizuna_script_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
496    }
497
498    pub fn init_active_spots_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
500    }
501
502    pub fn update_state_m017_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
504    }
505
506    pub fn set_state_m017_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
508    }
509
510    pub fn open_next_chapters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
512    }
513
514    pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
516    }
517
518    pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
520    }
521
522    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
524    }
525
526    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
528    }
529}
530
531#[cfg(feature = "app-gmapspotmanager")]
532impl GmapSpotManager {
533    #[doc = "Direct (non-virtual) call to `GmapSpotManager`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
534    pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
535        let __mi = Self::on_create_method_info();
536        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
537        __inner(this.into(), ::core::option::Option::None)
538    }
539
540    #[doc = "Direct (non-virtual) call to `GmapSpotManager`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
541    pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
542        let __mi = Self::on_serialize_method_info();
543        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
544            ::core::mem::transmute(__mi.method_ptr);
545        __inner(this.into(), stream, ::core::option::Option::None)
546    }
547
548    #[doc = "Direct (non-virtual) call to `GmapSpotManager`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
549    pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
550        let __mi = Self::on_deserialize_method_info();
551        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
552            ::core::mem::transmute(__mi.method_ptr);
553        __inner(this.into(), stream, version, ::core::option::Option::None)
554    }
555}
556
557#[cfg(feature = "app-gmapspotmanager")]
558impl GmapSpotManager {
559    #[doc = "`.ctor()` — no args"]
560    pub fn new() -> Self {
561        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
562            panic!(
563                "{}
564::{}
565 failed to instantiate",
566                ::core::stringify!(GmapSpotManager),
567                ::core::stringify!(new),
568            )
569        });
570        <Self as IGmapSpotManagerMethods>::ctor(this);
571        this
572    }
573}
574
575#[cfg(feature = "app-gmapspotmanager")]
576#[doc(hidden)]
577pub mod prelude {
578    pub use super::{GmapSpotManager, IGmapSpotManager, IGmapSpotManagerMethods};
579    #[cfg(feature = "app-singletonclass_1")]
580    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
581    #[cfg(feature = "system-object")]
582    pub use crate::system::object::IObjectMethods;
583    pub use crate::{app::singletonclass_1::ISingletonClass_1, system::object::IObject};
584}