Skip to main content

engage/generated/app/
gmapspot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gmapspot-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/gmapspot/GmapSpot_Direction.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct GmapSpot_Direction {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for GmapSpot_Direction {
21        const NAME: &'static str = "GmapSpot.Direction";
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 GmapSpot_Direction {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl GmapSpot_Direction {
35        pub fn up() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn down() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn left() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn right() -> Self {
48            Self { value: 3 }
49        }
50    }
51
52    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspot/GmapSpot_EncountPersonType.md"))]
53    #[repr(C)]
54    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
55    pub struct GmapSpot_EncountPersonType {
56        pub value: i32,
57    }
58    impl ::unity::ClassIdentity for GmapSpot_EncountPersonType {
59        const NAME: &'static str = "GmapSpot.EncountPersonType";
60        const NAMESPACE: &'static str = "App";
61
62        fn class() -> ::unity::Class {
63            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
64            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
65        }
66    }
67    impl ::unity::IlType for GmapSpot_EncountPersonType {
68        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
69            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
70        }
71    }
72    impl GmapSpot_EncountPersonType {
73        pub fn none() -> Self {
74            Self { value: 0 }
75        }
76
77        pub fn morph() -> Self {
78            Self { value: 1 }
79        }
80
81        pub fn filene() -> Self {
82            Self { value: 2 }
83        }
84
85        pub fn brodia() -> Self {
86            Self { value: 3 }
87        }
88
89        pub fn solum() -> Self {
90            Self { value: 4 }
91        }
92
93        pub fn ircion() -> Self {
94            Self { value: 5 }
95        }
96
97        pub fn troublemaker() -> Self {
98            Self { value: 6 }
99        }
100    }
101
102    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspot/GmapSpot_EncountType.md"))]
103    #[repr(C)]
104    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
105    pub struct GmapSpot_EncountType {
106        pub value: i32,
107    }
108    impl ::unity::ClassIdentity for GmapSpot_EncountType {
109        const NAME: &'static str = "GmapSpot.EncountType";
110        const NAMESPACE: &'static str = "App";
111
112        fn class() -> ::unity::Class {
113            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
114            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
115        }
116    }
117    impl ::unity::IlType for GmapSpot_EncountType {
118        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
119            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
120        }
121    }
122    impl GmapSpot_EncountType {
123        pub fn none() -> Self {
124            Self { value: 0 }
125        }
126
127        pub fn exturmination() -> Self {
128            Self { value: 1 }
129        }
130
131        pub fn training_filene() -> Self {
132            Self { value: 2 }
133        }
134
135        pub fn training_brodia() -> Self {
136            Self { value: 3 }
137        }
138
139        pub fn training_solum() -> Self {
140            Self { value: 4 }
141        }
142
143        pub fn training_ircion() -> Self {
144            Self { value: 5 }
145        }
146    }
147
148    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspot/GmapSpot_State.md"))]
149    #[repr(C)]
150    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
151    pub struct GmapSpot_State {
152        pub value: i32,
153    }
154    impl ::unity::ClassIdentity for GmapSpot_State {
155        const NAME: &'static str = "GmapSpot.State";
156        const NAMESPACE: &'static str = "App";
157
158        fn class() -> ::unity::Class {
159            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
160            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
161        }
162    }
163    impl ::unity::IlType for GmapSpot_State {
164        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
165            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
166        }
167    }
168    impl GmapSpot_State {
169        pub fn reserve_hide() -> Self {
170            Self { value: 0 }
171        }
172
173        pub fn hide() -> Self {
174            Self { value: 1 }
175        }
176
177        pub fn reserve_active() -> Self {
178            Self { value: 2 }
179        }
180
181        pub fn active() -> Self {
182            Self { value: 3 }
183        }
184
185        pub fn reserve_cannot_enter() -> Self {
186            Self { value: 4 }
187        }
188
189        pub fn cannot_enter() -> Self {
190            Self { value: 5 }
191        }
192
193        pub fn reserve_broken() -> Self {
194            Self { value: 6 }
195        }
196
197        pub fn broken() -> Self {
198            Self { value: 7 }
199        }
200
201        pub fn can_search() -> Self {
202            Self { value: 8 }
203        }
204    }
205
206    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspot/GmapSpot.md"))]
207    #[::unity::class(namespace = "App", name = "GmapSpot")]
208    #[parent(crate::system::object::Object)]
209    pub struct GmapSpot {
210        #[offset(16)]
211        #[rename(name = "m_GlobalFlagName")]
212        pub m_global_flag_name: ::unity::Il2CppString,
213        #[offset(24)]
214        #[rename(name = "m_Chapters")]
215        pub m_chapters: crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData>,
216        #[offset(32)]
217        #[rename(name = "m_GameObject")]
218        pub m_game_object: crate::unity_engine::gameobject::GameObject,
219        #[offset(40)]
220        #[rename(name = "m_Controller")]
221        pub m_controller: crate::app::gmapspotcontroller::GmapSpotController,
222        #[offset(48)]
223        #[rename(name = "m_MapObject")]
224        pub m_map_object: crate::unity_engine::gameobject::GameObject,
225        #[offset(56)]
226        #[rename(name = "m_NextSpots")]
227        pub m_next_spots: ::unity::Array<crate::app::gmapspot::GmapSpot>,
228        #[offset(64)]
229        #[rename(name = "m_MobUnit")]
230        pub m_mob_unit: crate::app::gmapmobunit::GmapMobUnit,
231        #[offset(72)]
232        #[rename(name = "m_EncountIcon")]
233        pub m_encount_icon: crate::root::encounticon::EncountIcon,
234    }
235}
236
237#[cfg(feature = "app-gmapspot-types")]
238pub use __types::*;
239
240#[cfg(feature = "app-gmapspot")]
241impl GmapSpot {
242    #[doc = "`GetJob(crate::app::random_2::Random_2, i32, ::unity::Il2CppString)` overload"]
243    pub fn get_job(
244        random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
245        level: impl ::core::convert::Into<i32>,
246        ejid: impl ::core::convert::Into<::unity::Il2CppString>,
247    ) -> crate::app::jobdata::JobData {
248        unsafe {
249            ::unity::il2cpp_call!((::unity::module_base()+0x2b47330usize)as*mut u8,crate::app::jobdata::JobData;
250(crate::app::random_2::Random_2)::core::convert::Into::into(random),(i32)::core::convert::Into::into(level),(::unity::Il2CppString)::core::convert::Into::into(ejid))
251        }
252    }
253
254    #[doc = "`GetJob(crate::app::random_2::Random_2, i32, crate::app::encountjobdata::EncountJobData)` overload"]
255    pub fn get_job_2(
256        random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
257        level: impl ::core::convert::Into<i32>,
258        encount_job: impl ::core::convert::Into<crate::app::encountjobdata::EncountJobData>,
259    ) -> crate::app::jobdata::JobData {
260        unsafe {
261            ::unity::il2cpp_call!((::unity::module_base()+0x2b473d0usize)as*mut u8,crate::app::jobdata::JobData;
262(crate::app::random_2::Random_2)::core::convert::Into::into(random),(i32)::core::convert::Into::into(level),(crate::app::encountjobdata::EncountJobData)::core::convert::Into::into(encount_job))
263        }
264    }
265
266    #[doc = "`GetPidPrefix(crate::app::gmapspot::GmapSpot_EncountPersonType)` overload"]
267    pub fn get_pid_prefix(r#type: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot_EncountPersonType>) -> ::unity::Il2CppString {
268        unsafe {
269            ::unity::il2cpp_call!((::unity::module_base()+0x2b475b0usize)as*mut u8, ::unity::Il2CppString;
270(crate::app::gmapspot::GmapSpot_EncountPersonType)::core::convert::Into::into(r#type))
271        }
272    }
273
274    #[doc = "`GetPerson(crate::app::random_2::Random_2, crate::app::jobdata::JobData, ::unity::Il2CppString)` overload"]
275    pub fn get_person(
276        random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
277        job: impl ::core::convert::Into<crate::app::jobdata::JobData>,
278        pid_prefix: impl ::core::convert::Into<::unity::Il2CppString>,
279    ) -> crate::app::persondata::PersonData {
280        unsafe {
281            ::unity::il2cpp_call!((::unity::module_base()+0x2b476e0usize)as*mut u8,crate::app::persondata::PersonData;
282(crate::app::random_2::Random_2)::core::convert::Into::into(random),(crate::app::jobdata::JobData)::core::convert::Into::into(job),(::unity::Il2CppString)::core::convert::Into::into(pid_prefix))
283        }
284    }
285
286    #[doc = "`GetRarePerson(crate::app::random_2::Random_2, crate::app::jobdata::JobData, crate::app::encountunitdata::EncountUnitData_RareType)` overload"]
287    pub fn get_rare_person(
288        random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
289        job: impl ::core::convert::Into<crate::app::jobdata::JobData>,
290        rare_type: impl ::core::convert::Into<crate::app::encountunitdata::EncountUnitData_RareType>,
291    ) -> crate::app::persondata::PersonData {
292        unsafe {
293            ::unity::il2cpp_call!((::unity::module_base()+0x2b478c0usize)as*mut u8,crate::app::persondata::PersonData;
294(crate::app::random_2::Random_2)::core::convert::Into::into(random),(crate::app::jobdata::JobData)::core::convert::Into::into(job),(crate::app::encountunitdata::EncountUnitData_RareType)::core::convert::Into::into(rare_type))
295        }
296    }
297
298    #[doc = "`GetPerson(crate::app::random_2::Random_2, crate::app::jobdata::JobData, crate::app::gmapspot::GmapSpot_EncountPersonType, crate::app::encountunitdata::EncountUnitData_RareType)` overload"]
299    pub fn get_person_2(
300        random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
301        job: impl ::core::convert::Into<crate::app::jobdata::JobData>,
302        r#type: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot_EncountPersonType>,
303        rare_type: impl ::core::convert::Into<crate::app::encountunitdata::EncountUnitData_RareType>,
304    ) -> crate::app::persondata::PersonData {
305        unsafe {
306            ::unity::il2cpp_call!((::unity::module_base()+0x2b47ae0usize)as*mut u8,crate::app::persondata::PersonData;
307(crate::app::random_2::Random_2)::core::convert::Into::into(random),(crate::app::jobdata::JobData)::core::convert::Into::into(job),(crate::app::gmapspot::GmapSpot_EncountPersonType)::core::convert::Into::into(r#type),(crate::app::encountunitdata::EncountUnitData_RareType)::core::convert::Into::into(rare_type))
308        }
309    }
310
311    #[doc = "`GetGmapDirection(f32)` overload"]
312    pub fn get_gmap_direction(degree: impl ::core::convert::Into<f32>) -> i32 {
313        unsafe {
314            ::unity::il2cpp_call!((::unity::module_base()+0x2b45600usize)as*mut u8,i32;
315(f32)::core::convert::Into::into(degree))
316        }
317    }
318}
319
320#[cfg(feature = "app-gmapspot")]
321pub trait IGmapSpotMethods: IGmapSpot {
322    #[doc = "`get_SpotMob()` overload"]
323    fn get_spot_mob(self) -> crate::app::encountmob::EncountMob {
324        unsafe {
325            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326            ::unity::il2cpp_call!((::unity::module_base()+0x2b40e20usize)as*mut u8,crate::app::encountmob::EncountMob;
327(GmapSpot)__receiver)
328        }
329    }
330    #[doc = "`set_SpotMob(crate::app::encountmob::EncountMob)` overload"]
331    fn set_spot_mob(self, value: impl ::core::convert::Into<crate::app::encountmob::EncountMob>) -> () {
332        unsafe {
333            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334            ::unity::il2cpp_call!((::unity::module_base()+0x2b44a10usize)as*mut u8,();
335(GmapSpot)__receiver,(crate::app::encountmob::EncountMob)::core::convert::Into::into(value))
336        }
337    }
338    #[doc = "`get_ReserveDispos()` overload"]
339    fn get_reserve_dispos(self) -> bool {
340        unsafe {
341            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342            ::unity::il2cpp_call!((::unity::module_base()+0x2b44b60usize)as*mut u8,bool;
343(GmapSpot)__receiver)
344        }
345    }
346    #[doc = "`set_ReserveDispos(bool)` overload"]
347    fn set_reserve_dispos(self, value: impl ::core::convert::Into<bool>) -> () {
348        unsafe {
349            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350            ::unity::il2cpp_call!((::unity::module_base()+0x2b44b70usize)as*mut u8,();
351(GmapSpot)__receiver,(bool)::core::convert::Into::into(value))
352        }
353    }
354    #[doc = "`get_ReserveDeleteMob()` overload"]
355    fn get_reserve_delete_mob(self) -> bool {
356        unsafe {
357            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358            ::unity::il2cpp_call!((::unity::module_base()+0x2b44b80usize)as*mut u8,bool;
359(GmapSpot)__receiver)
360        }
361    }
362    #[doc = "`set_ReserveDeleteMob(bool)` overload"]
363    fn set_reserve_delete_mob(self, value: impl ::core::convert::Into<bool>) -> () {
364        unsafe {
365            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366            ::unity::il2cpp_call!((::unity::module_base()+0x2b44b90usize)as*mut u8,();
367(GmapSpot)__receiver,(bool)::core::convert::Into::into(value))
368        }
369    }
370    #[doc = "`.ctor(crate::app::chapterdata::ChapterData)` overload"]
371    fn ctor(self, chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>) -> () {
372        unsafe {
373            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            ::unity::il2cpp_call!((::unity::module_base()+0x2b44ba0usize)as*mut u8,();
375(GmapSpot)__receiver,(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter))
376        }
377    }
378    #[doc = "`get_SpotState()` overload"]
379    fn get_spot_state(self) -> crate::app::gmapspot::GmapSpot_State {
380        unsafe {
381            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            ::unity::il2cpp_call!((::unity::module_base()+0x2b37310usize)as*mut u8,crate::app::gmapspot::GmapSpot_State;
383(GmapSpot)__receiver)
384        }
385    }
386    #[doc = "`set_SpotState(crate::app::gmapspot::GmapSpot_State)` overload"]
387    fn set_spot_state(self, value: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot_State>) -> () {
388        unsafe {
389            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390            ::unity::il2cpp_call!((::unity::module_base()+0x2b44cb0usize)as*mut u8,();
391(GmapSpot)__receiver,(crate::app::gmapspot::GmapSpot_State)::core::convert::Into::into(value))
392        }
393    }
394    #[doc = "`SetupSpotController()` overload"]
395    fn setup_spot_controller(self) -> () {
396        unsafe {
397            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398            ::unity::il2cpp_call!((::unity::module_base()+0x2b44e80usize)as*mut u8,();
399(GmapSpot)__receiver)
400        }
401    }
402    #[doc = "`SetupMapObject(crate::unity_engine::gameobject::GameObject)` overload"]
403    fn setup_map_object(self, map_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
404        unsafe {
405            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x2b453a0usize)as*mut u8,();
407(GmapSpot)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(map_object))
408        }
409    }
410    #[doc = "`SetNextSpot(crate::unity_engine::vector3::Vector3, ::unity::Il2CppString)` overload"]
411    fn set_next_spot(
412        self,
413        next_spot_pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
414        next_spot_id: impl ::core::convert::Into<::unity::Il2CppString>,
415    ) -> bool {
416        unsafe {
417            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
418            ::unity::il2cpp_call!((::unity::module_base()+0x2b453b0usize)as*mut u8,bool;
419(GmapSpot)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(next_spot_pos),(::unity::Il2CppString)::core::convert::Into::into(next_spot_id))
420        }
421    }
422    #[doc = "`CheckNextSpot(crate::app::gmapspot::GmapSpot_Direction)` overload"]
423    fn check_next_spot(self, dir: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot_Direction>) -> crate::app::gmapspot::GmapSpot {
424        unsafe {
425            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
426            ::unity::il2cpp_call!((::unity::module_base()+0x2b3f380usize)as*mut u8,crate::app::gmapspot::GmapSpot;
427(GmapSpot)__receiver,(crate::app::gmapspot::GmapSpot_Direction)::core::convert::Into::into(dir))
428        }
429    }
430    #[doc = "`ExistsEncountMob()` overload"]
431    fn exists_encount_mob(self) -> bool {
432        unsafe {
433            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
434            ::unity::il2cpp_call!((::unity::module_base()+0x2b456a0usize)as*mut u8,bool;
435(GmapSpot)__receiver)
436        }
437    }
438    #[doc = "`ExistsTraining()` overload"]
439    fn exists_training(self) -> bool {
440        unsafe {
441            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442            ::unity::il2cpp_call!((::unity::module_base()+0x2b45720usize)as*mut u8,bool;
443(GmapSpot)__receiver)
444        }
445    }
446    #[doc = "`AddChapter(crate::app::chapterdata::ChapterData)` overload"]
447    fn add_chapter(self, chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>) -> () {
448        unsafe {
449            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450            ::unity::il2cpp_call!((::unity::module_base()+0x2b45800usize)as*mut u8,();
451(GmapSpot)__receiver,(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter))
452        }
453    }
454    #[doc = "`TryGetRootName(crate::app::gmapspot::GmapSpot)` overload"]
455    fn try_get_root_name(self, next_spot: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot>) -> ::unity::Il2CppString {
456        unsafe {
457            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458            ::unity::il2cpp_call!((::unity::module_base()+0x2b36c40usize)as*mut u8, ::unity::Il2CppString;
459(GmapSpot)__receiver,(crate::app::gmapspot::GmapSpot)::core::convert::Into::into(next_spot))
460        }
461    }
462    #[doc = "`CheckChange()` overload"]
463    fn check_change(self) -> bool {
464        unsafe {
465            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466            ::unity::il2cpp_call!((::unity::module_base()+0x2b45860usize)as*mut u8,bool;
467(GmapSpot)__receiver)
468        }
469    }
470    #[doc = "`CheckAccess(crate::unity_engine::vector3::Vector3)` overload"]
471    fn check_access(self, pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> bool {
472        unsafe {
473            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
474            ::unity::il2cpp_call!((::unity::module_base()+0x2b45890usize)as*mut u8,bool;
475(GmapSpot)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos))
476        }
477    }
478    #[doc = "`get_Position()` overload"]
479    fn get_position(self) -> crate::unity_engine::vector3::Vector3 {
480        unsafe {
481            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
482            ::unity::il2cpp_call!((::unity::module_base()+0x2b3d490usize)as*mut u8,crate::unity_engine::vector3::Vector3;
483(GmapSpot)__receiver)
484        }
485    }
486    #[doc = "`NextSpots()` overload"]
487    fn next_spots(self) -> crate::system::collections::generic::list_1::List_1<crate::app::gmapspot::GmapSpot> {
488        unsafe {
489            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
490            ::unity::il2cpp_call!((::unity::module_base()+0x2b45910usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::gmapspot::GmapSpot> ;
491(GmapSpot)__receiver)
492        }
493    }
494    #[doc = "`GetDirectionToSpot(crate::app::gmapspot::GmapSpot)` overload"]
495    fn get_direction_to_spot(self, spot: impl ::core::convert::Into<crate::app::gmapspot::GmapSpot>) -> crate::app::gmapspot::GmapSpot_Direction {
496        unsafe {
497            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
498            ::unity::il2cpp_call!((::unity::module_base()+0x2b42790usize)as*mut u8,crate::app::gmapspot::GmapSpot_Direction;
499(GmapSpot)__receiver,(crate::app::gmapspot::GmapSpot)::core::convert::Into::into(spot))
500        }
501    }
502    #[doc = "`FixChange()` overload"]
503    fn fix_change(self) -> () {
504        unsafe {
505            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
506            ::unity::il2cpp_call!((::unity::module_base()+0x2b45af0usize)as*mut u8,();
507(GmapSpot)__receiver)
508        }
509    }
510    #[doc = "`SetEnable()` overload"]
511    fn set_enable(self) -> () {
512        unsafe {
513            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
514            ::unity::il2cpp_call!((::unity::module_base()+0x2b45bd0usize)as*mut u8,();
515(GmapSpot)__receiver)
516        }
517    }
518    #[doc = "`StartAppear()` overload"]
519    fn start_appear(self) -> bool {
520        unsafe {
521            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
522            ::unity::il2cpp_call!((::unity::module_base()+0x2b45c80usize)as*mut u8,bool;
523(GmapSpot)__receiver)
524        }
525    }
526    #[doc = "`FixChangeTick()` overload"]
527    fn fix_change_tick(self) -> bool {
528        unsafe {
529            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
530            ::unity::il2cpp_call!((::unity::module_base()+0x2b45ef0usize)as*mut u8,bool;
531(GmapSpot)__receiver)
532        }
533    }
534    #[doc = "`UpdateVisible()` overload"]
535    fn update_visible(self) -> () {
536        unsafe {
537            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
538            ::unity::il2cpp_call!((::unity::module_base()+0x2b45b70usize)as*mut u8,();
539(GmapSpot)__receiver)
540        }
541    }
542    #[doc = "`SetMapObjectEnable(bool)` overload"]
543    fn set_map_object_enable(self, value: impl ::core::convert::Into<bool>) -> () {
544        unsafe {
545            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546            ::unity::il2cpp_call!((::unity::module_base()+0x2b46240usize)as*mut u8,();
547(GmapSpot)__receiver,(bool)::core::convert::Into::into(value))
548        }
549    }
550    #[doc = "`get_SpotObject()` overload"]
551    fn get_spot_object(self) -> crate::unity_engine::gameobject::GameObject {
552        unsafe {
553            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554            ::unity::il2cpp_call!((::unity::module_base()+0x2b462e0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
555(GmapSpot)__receiver)
556        }
557    }
558    #[doc = "`set_SpotObject(crate::unity_engine::gameobject::GameObject)` overload"]
559    fn set_spot_object(self, value: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
560        unsafe {
561            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
562            ::unity::il2cpp_call!((::unity::module_base()+0x2b463c0usize)as*mut u8,();
563(GmapSpot)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(value))
564        }
565    }
566    #[doc = "`get_Chapter()` overload"]
567    fn get_chapter(self) -> crate::app::chapterdata::ChapterData {
568        unsafe {
569            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
570            ::unity::il2cpp_call!((::unity::module_base()+0x2b3ffa0usize)as*mut u8,crate::app::chapterdata::ChapterData;
571(GmapSpot)__receiver)
572        }
573    }
574    #[doc = "`get_GmapSpotID()` overload"]
575    fn get_gmap_spot_id(self) -> ::unity::Il2CppString {
576        unsafe {
577            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
578            ::unity::il2cpp_call!((::unity::module_base()+0x2b35660usize)as*mut u8, ::unity::Il2CppString;
579(GmapSpot)__receiver)
580        }
581    }
582    #[doc = "`IsEqualCID(::unity::Il2CppString)` overload"]
583    fn is_equal_cid(self, cid: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
584        unsafe {
585            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
586            ::unity::il2cpp_call!((::unity::module_base()+0x2b46480usize)as*mut u8,bool;
587(GmapSpot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(cid))
588        }
589    }
590    #[doc = "`IsCompleted()` overload"]
591    fn is_completed(self) -> bool {
592        unsafe {
593            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
594            ::unity::il2cpp_call!((::unity::module_base()+0x2b464b0usize)as*mut u8,bool;
595(GmapSpot)__receiver)
596        }
597    }
598    #[doc = "`IsCompletedOpenCondSpot()` overload"]
599    fn is_completed_open_cond_spot(self) -> bool {
600        unsafe {
601            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
602            ::unity::il2cpp_call!((::unity::module_base()+0x2b465b0usize)as*mut u8,bool;
603(GmapSpot)__receiver)
604        }
605    }
606    #[doc = "`Dispos()` overload"]
607    fn dispos(self) -> bool {
608        unsafe {
609            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
610            ::unity::il2cpp_call!((::unity::module_base()+0x2b46740usize)as*mut u8,bool;
611(GmapSpot)__receiver)
612        }
613    }
614    #[doc = "`IsDispos(bool)` overload"]
615    fn is_dispos(self, ignore_exist_mob: impl ::core::convert::Into<bool>) -> bool {
616        unsafe {
617            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
618            ::unity::il2cpp_call!((::unity::module_base()+0x2b46780usize)as*mut u8,bool;
619(GmapSpot)__receiver,(bool)::core::convert::Into::into(ignore_exist_mob))
620        }
621    }
622    #[doc = "`TransformDispos()` overload"]
623    fn transform_dispos(self) -> bool {
624        unsafe {
625            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
626            ::unity::il2cpp_call!((::unity::module_base()+0x2b46ad0usize)as*mut u8,bool;
627(GmapSpot)__receiver)
628        }
629    }
630    #[doc = "`DeleteDispos()` overload"]
631    fn delete_dispos(self) -> () {
632        unsafe {
633            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
634            ::unity::il2cpp_call!((::unity::module_base()+0x2b46eb0usize)as*mut u8,();
635(GmapSpot)__receiver)
636        }
637    }
638    #[doc = "`UnloadMobUnit()` overload"]
639    fn unload_mob_unit(self) -> () {
640        unsafe {
641            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
642            ::unity::il2cpp_call!((::unity::module_base()+0x2b470c0usize)as*mut u8,();
643(GmapSpot)__receiver)
644        }
645    }
646    #[doc = "`DestroyIcon()` overload"]
647    fn destroy_icon(self) -> () {
648        unsafe {
649            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
650            ::unity::il2cpp_call!((::unity::module_base()+0x2b46f70usize)as*mut u8,();
651(GmapSpot)__receiver)
652        }
653    }
654    #[doc = "`CreateMobUnitFromSpotMob()` overload"]
655    fn create_mob_unit_from_spot_mob(self) -> () {
656        unsafe {
657            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
658            ::unity::il2cpp_call!((::unity::module_base()+0x2b47110usize)as*mut u8,();
659(GmapSpot)__receiver)
660        }
661    }
662    #[doc = "`GetPlaceName()` overload"]
663    fn get_place_name(self) -> ::unity::Il2CppString {
664        unsafe {
665            let __receiver = <GmapSpot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666            ::unity::il2cpp_call!((::unity::module_base()+0x2b47240usize)as*mut u8, ::unity::Il2CppString;
667(GmapSpot)__receiver)
668        }
669    }
670}
671
672#[cfg(feature = "app-gmapspot")]
673impl<__T: IGmapSpot> IGmapSpotMethods for __T {}
674
675#[cfg(feature = "app-gmapspot")]
676impl GmapSpot {
677    pub fn get_spot_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
679    }
680
681    pub fn set_spot_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
683    }
684
685    pub fn get_reserve_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
687    }
688
689    pub fn set_reserve_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
691    }
692
693    pub fn get_reserve_delete_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
695    }
696
697    pub fn set_reserve_delete_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
699    }
700
701    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
703    }
704
705    pub fn get_spot_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
707    }
708
709    pub fn set_spot_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
710        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
711    }
712
713    pub fn setup_spot_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
715    }
716
717    pub fn setup_map_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
718        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
719    }
720
721    pub fn set_next_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
722        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
723    }
724
725    pub fn check_next_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
727    }
728
729    pub fn exists_encount_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
730        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
731    }
732
733    pub fn exists_training_method_info() -> &'static ::unity::il2cpp::MethodInfo {
734        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
735    }
736
737    pub fn add_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
738        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
739    }
740
741    pub fn try_get_root_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
742        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
743    }
744
745    pub fn check_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
746        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
747    }
748
749    pub fn check_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
750        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
751    }
752
753    pub fn get_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
754        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
755    }
756
757    pub fn next_spots_method_info() -> &'static ::unity::il2cpp::MethodInfo {
758        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
759    }
760
761    pub fn get_direction_to_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
762        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
763    }
764
765    pub fn fix_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
766        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
767    }
768
769    pub fn set_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
770        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
771    }
772
773    pub fn start_appear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
774        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
775    }
776
777    pub fn fix_change_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
778        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
779    }
780
781    pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
782        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
783    }
784
785    pub fn set_map_object_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
786        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
787    }
788
789    pub fn get_spot_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
790        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
791    }
792
793    pub fn set_spot_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
794        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
795    }
796
797    pub fn get_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
798        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
799    }
800
801    pub fn get_gmap_spot_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
802        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
803    }
804
805    pub fn is_equal_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
806        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
807    }
808
809    pub fn is_completed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
810        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
811    }
812
813    pub fn is_completed_open_cond_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
814        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
815    }
816
817    pub fn dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
818        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
819    }
820
821    pub fn is_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
822        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
823    }
824
825    pub fn transform_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
826        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
827    }
828
829    pub fn delete_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
830        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
831    }
832
833    pub fn unload_mob_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
834        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
835    }
836
837    pub fn destroy_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
838        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
839    }
840
841    pub fn create_mob_unit_from_spot_mob_method_info() -> &'static ::unity::il2cpp::MethodInfo {
842        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
843    }
844
845    pub fn get_place_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
846        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
847    }
848
849    pub fn get_job_method_info() -> &'static ::unity::il2cpp::MethodInfo {
850        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
851    }
852
853    pub fn get_job_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
854        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
855    }
856
857    pub fn get_pid_prefix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
858        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
859    }
860
861    pub fn get_person_method_info() -> &'static ::unity::il2cpp::MethodInfo {
862        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
863    }
864
865    pub fn get_rare_person_method_info() -> &'static ::unity::il2cpp::MethodInfo {
866        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
867    }
868
869    pub fn get_person_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
870        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
871    }
872
873    pub fn get_gmap_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
874        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
875    }
876}
877
878#[cfg(feature = "app-gmapspot")]
879impl GmapSpot {
880    #[doc = "`.ctor(crate::app::chapterdata::ChapterData)` — overload selector"]
881    pub fn new(chapter: crate::app::chapterdata::ChapterData) -> Self {
882        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
883            panic!(
884                "{}
885::{}
886 failed to instantiate",
887                ::core::stringify!(GmapSpot),
888                ::core::stringify!(new),
889            )
890        });
891        <Self as IGmapSpotMethods>::ctor(this, chapter);
892        this
893    }
894}
895
896#[cfg(feature = "app-gmapspot")]
897#[doc(hidden)]
898pub mod prelude {
899    pub use super::{GmapSpot, GmapSpot_Direction, GmapSpot_EncountPersonType, GmapSpot_EncountType, GmapSpot_State, IGmapSpot, IGmapSpotMethods};
900    #[cfg(feature = "system-object")]
901    pub use crate::system::object::IObjectMethods;
902    #[cfg(feature = "system-enum")]
903    pub use crate::system::r#enum::IEnumMethods;
904    #[cfg(feature = "system-valuetype")]
905    pub use crate::system::valuetype::IValueTypeMethods;
906    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
907}