engage/generated/app/gmap/
gmappathcollection.rs1#[cfg(feature = "app-gmap-gmappathcollection-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmap/gmappathcollection/GmapPathCollection.md"))]
11 #[::unity::class(namespace = "App.Gmap", name = "GmapPathCollection")]
12 #[parent(crate::system::object::Object)]
13 pub struct GmapPathCollection {
14 #[offset(16)]
15 #[rename(name = "m_Root")]
16 pub m_root: crate::unity_engine::gameobject::GameObject,
17 #[offset(24)]
18 #[rename(name = "m_PathList")]
19 pub m_path_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
20 }
21}
22
23#[cfg(feature = "app-gmap-gmappathcollection-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-gmap-gmappathcollection")]
27pub trait IGmapPathCollectionMethods: IGmapPathCollection {
28 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
29 fn ctor(self, root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
30 unsafe {
31 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x2b366b0usize)as*mut u8,();
33(GmapPathCollection)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root))
34 }
35 }
36 #[doc = "`UpdateVisible()` overload"]
37 fn update_visible(self) -> () {
38 unsafe {
39 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 ::unity::il2cpp_call!((::unity::module_base()+0x2b36840usize)as*mut u8,();
41(GmapPathCollection)__receiver)
42 }
43 }
44 #[doc = "`SetChild(crate::unity_engine::gameobject::GameObject)` overload"]
45 fn set_child(self, path_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
46 unsafe {
47 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48 ::unity::il2cpp_call!((::unity::module_base()+0x2b36940usize)as*mut u8,();
49(GmapPathCollection)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(path_object))
50 }
51 }
52 #[doc = "`ForEach(crate::system::action_1::Action_1<crate::unity_engine::gameobject::GameObject>)` overload"]
53 fn for_each(self, action: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::unity_engine::gameobject::GameObject>>) -> () {
54 unsafe {
55 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56 ::unity::il2cpp_call!((::unity::module_base()+0x2b36990usize)as*mut u8,();
57(GmapPathCollection)__receiver,(crate::system::action_1::Action_1<crate::unity_engine::gameobject::GameObject>)::core::convert::Into::into(action))
58 }
59 }
60 #[doc = "`UpdatePathList()` overload"]
61 fn update_path_list(self) -> () {
62 unsafe {
63 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64 ::unity::il2cpp_call!((::unity::module_base()+0x2b36760usize)as*mut u8,();
65(GmapPathCollection)__receiver)
66 }
67 }
68 #[doc = "`CheckAppearGmapPath(*mutcrate::app::gmapspot::GmapSpot, *mutcrate::app::gmapspot::GmapSpot)` overload"]
69 fn check_appear_gmap_path(
70 self,
71 ) -> (
72 crate::unity_engine::gameobject::GameObject,
73 crate::app::gmapspot::GmapSpot,
74 crate::app::gmapspot::GmapSpot,
75 ) {
76 unsafe {
77 let __receiver = <GmapPathCollection as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::gmapspot::GmapSpot>::uninit();
79 let mut __out_1 = ::core::mem::MaybeUninit::<crate::app::gmapspot::GmapSpot>::uninit();
80 let __ret = {
81 ::unity::il2cpp_call!((::unity::module_base()+0x2b36d80usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
82(GmapPathCollection)__receiver,(*mut crate::app::gmapspot::GmapSpot)__out_0.as_mut_ptr(),(*mut crate::app::gmapspot::GmapSpot)__out_1.as_mut_ptr())
83 };
84 (__ret, __out_0.assume_init(), __out_1.assume_init())
85 }
86 }
87}
88
89#[cfg(feature = "app-gmap-gmappathcollection")]
90impl<__T: IGmapPathCollection> IGmapPathCollectionMethods for __T {}
91
92#[cfg(feature = "app-gmap-gmappathcollection")]
93impl GmapPathCollection {
94 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
96 }
97
98 pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
100 }
101
102 pub fn set_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
104 }
105
106 pub fn for_each_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
108 }
109
110 pub fn update_path_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
111 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
112 }
113
114 pub fn check_appear_gmap_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
115 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
116 }
117}
118
119#[cfg(feature = "app-gmap-gmappathcollection")]
120impl GmapPathCollection {
121 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
122 pub fn new(root: crate::unity_engine::gameobject::GameObject) -> Self {
123 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
124 panic!(
125 "{}
126::{}
127 failed to instantiate",
128 ::core::stringify!(GmapPathCollection),
129 ::core::stringify!(new),
130 )
131 });
132 <Self as IGmapPathCollectionMethods>::ctor(this, root);
133 this
134 }
135}
136
137#[cfg(feature = "app-gmap-gmappathcollection")]
138#[doc(hidden)]
139pub mod prelude {
140 pub use super::{GmapPathCollection, IGmapPathCollection, IGmapPathCollectionMethods};
141 pub use crate::system::object::IObject;
142 #[cfg(feature = "system-object")]
143 pub use crate::system::object::IObjectMethods;
144}