engage/generated/app/
gmapcinemascope.rs1#[cfg(feature = "app-gmapcinemascope-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapcinemascope/GmapCinemaScope.md"))]
19 #[::unity::class(namespace = "App", name = "GmapCinemaScope")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct GmapCinemaScope {
22 #[static_field]
23 #[rename(name = "CinemaScopePath")]
24 pub cinema_scope_path: ::unity::Il2CppString,
25 #[offset(24)]
26 #[rename(name = "m_Message")]
27 pub m_message: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28 #[offset(32)]
29 #[rename(name = "m_Animator")]
30 pub m_animator: crate::unity_engine::animator::Animator,
31 #[offset(40)]
32 #[rename(name = "m_IsDestroyReserved")]
33 pub m_is_destroy_reserved: bool,
34 }
35}
36
37#[cfg(feature = "app-gmapcinemascope-types")]
38pub use __types::*;
39
40#[cfg(feature = "app-gmapcinemascope")]
41impl GmapCinemaScope {
42 #[doc = "`LoadResource()` overload"]
43 pub fn load_resource() -> () {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x2528250usize)as*mut u8,();
46 )
47 }
48 }
49
50 #[doc = "`IsLoading()` overload"]
51 pub fn is_loading() -> bool {
52 unsafe {
53 ::unity::il2cpp_call!((::unity::module_base()+0x25282f0usize)as*mut u8,bool;
54 )
55 }
56 }
57
58 #[doc = "`UnloadResource()` overload"]
59 pub fn unload_resource() -> () {
60 unsafe {
61 ::unity::il2cpp_call!((::unity::module_base()+0x2528370usize)as*mut u8,();
62 )
63 }
64 }
65
66 #[doc = "`Create()` overload"]
67 pub fn create() -> crate::app::gmapcinemascope::GmapCinemaScope {
68 unsafe {
69 ::unity::il2cpp_call!((::unity::module_base()+0x25283f0usize)as*mut u8,crate::app::gmapcinemascope::GmapCinemaScope;
70 )
71 }
72 }
73
74 #[doc = "`Destroy(crate::app::gmapcinemascope::GmapCinemaScope)` overload"]
75 pub fn destroy(cinema_scope: impl ::core::convert::Into<crate::app::gmapcinemascope::GmapCinemaScope>) -> () {
76 unsafe {
77 ::unity::il2cpp_call!((::unity::module_base()+0x2528500usize)as*mut u8,();
78(crate::app::gmapcinemascope::GmapCinemaScope)::core::convert::Into::into(cinema_scope))
79 }
80 }
81}
82
83#[cfg(feature = "app-gmapcinemascope")]
84pub trait IGmapCinemaScopeMethods: IGmapCinemaScope {
85 #[doc = "`Start()` overload"]
86 fn start(self) -> () {
87 unsafe {
88 let __receiver = <GmapCinemaScope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x2528510usize)as*mut u8,();
90(GmapCinemaScope)__receiver)
91 }
92 }
93 #[doc = "`Update()` overload"]
94 fn update(self) -> () {
95 unsafe {
96 let __receiver = <GmapCinemaScope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x25285e0usize)as*mut u8,();
98(GmapCinemaScope)__receiver)
99 }
100 }
101 #[doc = "`UpdateDestroy()` overload"]
102 fn update_destroy(self) -> () {
103 unsafe {
104 let __receiver = <GmapCinemaScope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x2528680usize)as*mut u8,();
106(GmapCinemaScope)__receiver)
107 }
108 }
109 #[doc = "`.ctor()` overload"]
110 fn ctor(self) -> () {
111 unsafe {
112 let __receiver = <GmapCinemaScope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x2528700usize)as*mut u8,();
114(GmapCinemaScope)__receiver)
115 }
116 }
117}
118
119#[cfg(feature = "app-gmapcinemascope")]
120impl<__T: IGmapCinemaScope> IGmapCinemaScopeMethods for __T {}
121
122#[cfg(feature = "app-gmapcinemascope")]
123impl GmapCinemaScope {
124 pub fn load_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
125 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
126 }
127
128 pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
130 }
131
132 pub fn unload_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
134 }
135
136 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
138 }
139
140 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
142 }
143
144 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
146 }
147
148 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
150 }
151
152 pub fn update_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
154 }
155
156 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
158 }
159}
160
161#[cfg(feature = "app-gmapcinemascope")]
162impl GmapCinemaScope {
163 #[doc = "`.ctor()` — no args"]
164 pub fn new() -> Self {
165 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
166 panic!(
167 "{}
168::{}
169 failed to instantiate",
170 ::core::stringify!(GmapCinemaScope),
171 ::core::stringify!(new),
172 )
173 });
174 <Self as IGmapCinemaScopeMethods>::ctor(this);
175 this
176 }
177}
178
179#[cfg(feature = "app-gmapcinemascope")]
180#[doc(hidden)]
181pub mod prelude {
182 pub use super::{GmapCinemaScope, IGmapCinemaScope, IGmapCinemaScopeMethods};
183 #[cfg(feature = "system-object")]
184 pub use crate::system::object::IObjectMethods;
185 #[cfg(feature = "unity_engine-behaviour")]
186 pub use crate::unity_engine::behaviour::IBehaviourMethods;
187 #[cfg(feature = "unity_engine-component")]
188 pub use crate::unity_engine::component::IComponentMethods;
189 #[cfg(feature = "unity_engine-monobehaviour")]
190 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
191 #[cfg(feature = "unity_engine-object_2")]
192 pub use crate::unity_engine::object_2::IObject_2Methods;
193 pub use crate::{
194 system::object::IObject,
195 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
196 };
197}