Skip to main content

engage/generated/app/
movieplayerbase.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-movieplayerbase-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/movieplayerbase/MoviePlayerBase_TitleLogo.md"))]
11    #[::unity::class(namespace = "App", name = "MoviePlayerBase.TitleLogo")]
12    #[parent(crate::system::object::Object)]
13    pub struct MoviePlayerBase_TitleLogo {
14        #[offset(16)]
15        #[rename(name = "m_Image")]
16        pub m_image: crate::unity_engine::ui::image::Image,
17        #[offset(24)]
18        #[rename(name = "m_Animator")]
19        pub m_animator: crate::unity_engine::animator::Animator,
20        #[offset(32)]
21        #[rename(name = "m_Time")]
22        pub m_time: f32,
23        #[offset(36)]
24        #[rename(name = "m_Duration")]
25        pub m_duration: f32,
26        #[offset(40)]
27        #[rename(name = "m_TextureResourceHandle")]
28        pub m_texture_resource_handle: crate::app::tresourcehandle_1::TResourceHandle_1<crate::unity_engine::sprite::Sprite>,
29    }
30
31    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/movieplayerbase/MoviePlayerBase.md"))]
32    #[::unity::class(namespace = "App", name = "MoviePlayerBase")]
33    #[parent(crate::system::object::Object)]
34    pub struct MoviePlayerBase {
35        #[static_field]
36        #[rename(name = "UseFileExtName")]
37        pub use_file_ext_name: ::unity::Il2CppString,
38        #[static_field]
39        #[rename(name = "UseSceneName")]
40        pub use_scene_name: ::unity::Il2CppString,
41        #[static_field]
42        #[rename(name = "HeroFemalePostfix")]
43        pub hero_female_postfix: ::unity::Il2CppString,
44        #[offset(16)]
45        #[rename(name = "m_ScreenObject")]
46        pub m_screen_object: crate::unity_engine::gameobject::GameObject,
47        #[offset(24)]
48        #[rename(name = "m_CanvasObject")]
49        pub m_canvas_object: crate::unity_engine::gameobject::GameObject,
50        #[offset(32)]
51        #[rename(name = "m_Caption")]
52        pub m_caption: crate::app::movieplayerbase::MoviePlayerBase_Caption,
53        #[offset(40)]
54        #[rename(name = "m_TitleLogo")]
55        pub m_title_logo: crate::app::movieplayerbase::MoviePlayerBase_TitleLogo,
56        #[offset(48)]
57        #[rename(name = "m_KeyHelp")]
58        pub m_key_help: crate::app::movieplayerbase::MoviePlayerBase_KeyHelp,
59        #[offset(56)]
60        #[rename(name = "m_IsMovieFileNameDirect")]
61        pub m_is_movie_file_name_direct: bool,
62        #[offset(64)]
63        #[rename(name = "m_BaseMovieFileName")]
64        pub m_base_movie_file_name: ::unity::Il2CppString,
65        #[offset(72)]
66        #[rename(name = "m_MovieFileName")]
67        pub m_movie_file_name: ::unity::Il2CppString,
68        #[offset(80)]
69        #[rename(name = "m_SoundBankName")]
70        pub m_sound_bank_name: ::unity::Il2CppString,
71        #[offset(88)]
72        #[rename(name = "m_PrevPlayTime")]
73        pub m_prev_play_time: f64,
74        #[offset(96)]
75        #[rename(name = "m_IsErrorOccured")]
76        pub m_is_error_occured: bool,
77        #[offset(104)]
78        #[rename(name = "m_SoundEventOnStartViewer1")]
79        pub m_sound_event_on_start_viewer1: ::unity::Il2CppString,
80        #[offset(112)]
81        #[rename(name = "m_SoundEventOnStartViewer2")]
82        pub m_sound_event_on_start_viewer2: ::unity::Il2CppString,
83        #[offset(120)]
84        #[rename(name = "m_SoundEventOnStartViewer3")]
85        pub m_sound_event_on_start_viewer3: ::unity::Il2CppString,
86    }
87
88    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/movieplayerbase/MoviePlayerBase_KeyHelp.md"))]
89    #[::unity::class(namespace = "App", name = "MoviePlayerBase.KeyHelp")]
90    #[parent(crate::system::object::Object)]
91    pub struct MoviePlayerBase_KeyHelp {
92        #[offset(16)]
93        #[rename(name = "m_RootObject")]
94        pub m_root_object: crate::unity_engine::gameobject::GameObject,
95        #[offset(24)]
96        #[rename(name = "m_KeyHelpController")]
97        pub m_key_help_controller: crate::app::keyhelpcontroller::KeyHelpController,
98        #[offset(32)]
99        #[rename(name = "m_IsShow")]
100        pub m_is_show: bool,
101        #[offset(36)]
102        #[rename(name = "m_DispTimer")]
103        pub m_disp_timer: f32,
104    }
105
106    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/movieplayerbase/MoviePlayerBase_Caption.md"))]
107    #[::unity::class(namespace = "App", name = "MoviePlayerBase.Caption")]
108    #[parent(crate::system::object::Object)]
109    pub struct MoviePlayerBase_Caption {
110        #[offset(16)]
111        #[rename(name = "m_Text")]
112        pub m_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
113        #[offset(24)]
114        #[rename(name = "m_Time")]
115        pub m_time: f32,
116        #[offset(28)]
117        #[rename(name = "m_Duration")]
118        pub m_duration: f32,
119        #[offset(32)]
120        #[rename(name = "m_IsShow")]
121        pub m_is_show: bool,
122        #[offset(33)]
123        #[rename(name = "m_IsShowOld")]
124        pub m_is_show_old: bool,
125    }
126}
127
128#[cfg(feature = "app-movieplayerbase-types")]
129pub use __types::*;
130
131#[cfg(feature = "app-movieplayerbase")]
132pub trait IMoviePlayerBase_TitleLogoMethods: IMoviePlayerBase_TitleLogo {
133    #[doc = "`.ctor(crate::unity_engine::ui::image::Image, crate::unity_engine::animator::Animator)` overload"]
134    fn ctor(
135        self,
136        image: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>,
137        animator: impl ::core::convert::Into<crate::unity_engine::animator::Animator>,
138    ) -> () {
139        unsafe {
140            let __receiver =
141                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x2090bd0usize)as*mut u8,();
143(MoviePlayerBase_TitleLogo)__receiver,(crate::unity_engine::ui::image::Image)::core::convert::Into::into(image),(crate::unity_engine::animator::Animator)::core::convert::Into::into(animator))
144        }
145    }
146    #[doc = "`Finalize()` overload"]
147    fn finalize(self) -> () {
148        unsafe {
149            let __receiver =
150                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            {
152                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
153                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
154                    panic!(
155                        "unity: virtual slot {}
156 out of range (vtable len {}
157) on the runtime class behind {}
158 (method `{}
159`)",
160                        1usize,
161                        __vt.len(),
162                        <MoviePlayerBase_TitleLogo as ::unity::ClassIdentity>::NAME,
163                        "Finalize",
164                    )
165                });
166                let __inner: extern "C" fn(MoviePlayerBase_TitleLogo, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
167                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
168                __inner(__receiver, __mi)
169            }
170        }
171    }
172    #[doc = "`Dispose()` overload"]
173    fn dispose(self) -> () {
174        unsafe {
175            let __receiver =
176                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177            {
178                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
179                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
180                    panic!(
181                        "unity: virtual slot {}
182 out of range (vtable len {}
183) on the runtime class behind {}
184 (method `{}
185`)",
186                        4usize,
187                        __vt.len(),
188                        <MoviePlayerBase_TitleLogo as ::unity::ClassIdentity>::NAME,
189                        "Dispose",
190                    )
191                });
192                let __inner: extern "C" fn(MoviePlayerBase_TitleLogo, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
193                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
194                __inner(__receiver, __mi)
195            }
196        }
197    }
198    #[doc = "`Reset()` overload"]
199    fn reset(self) -> () {
200        unsafe {
201            let __receiver =
202                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203            ::unity::il2cpp_call!((::unity::module_base()+0x2090ef0usize)as*mut u8,();
204(MoviePlayerBase_TitleLogo)__receiver)
205        }
206    }
207    #[doc = "`Show(i32)` overload"]
208    fn show(self, msec: impl ::core::convert::Into<i32>) -> () {
209        unsafe {
210            let __receiver =
211                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212            ::unity::il2cpp_call!((::unity::module_base()+0x2090f00usize)as*mut u8,();
213(MoviePlayerBase_TitleLogo)__receiver,(i32)::core::convert::Into::into(msec))
214        }
215    }
216    #[doc = "`Hide()` overload"]
217    fn hide(self) -> () {
218        unsafe {
219            let __receiver =
220                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x2090e40usize)as*mut u8,();
222(MoviePlayerBase_TitleLogo)__receiver)
223        }
224    }
225    #[doc = "`Tick()` overload"]
226    fn tick(self) -> () {
227        unsafe {
228            let __receiver =
229                <MoviePlayerBase_TitleLogo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230            ::unity::il2cpp_call!((::unity::module_base()+0x2090f90usize)as*mut u8,();
231(MoviePlayerBase_TitleLogo)__receiver)
232        }
233    }
234}
235
236#[cfg(feature = "app-movieplayerbase")]
237impl<__T: IMoviePlayerBase_TitleLogo> IMoviePlayerBase_TitleLogoMethods for __T {}
238
239#[cfg(feature = "app-movieplayerbase")]
240impl MoviePlayerBase_TitleLogo {
241    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
243    }
244
245    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
247    }
248
249    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
251    }
252
253    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
255    }
256
257    pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
259    }
260
261    pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
263    }
264
265    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
267    }
268}
269
270#[cfg(feature = "app-movieplayerbase")]
271impl MoviePlayerBase_TitleLogo {
272    #[doc = "Direct (non-virtual) call to `MoviePlayerBase_TitleLogo`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
273    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
274        let __mi = Self::finalize_method_info();
275        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
276        __inner(this.into(), ::core::option::Option::None)
277    }
278
279    #[doc = "Direct (non-virtual) call to `MoviePlayerBase_TitleLogo`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
280    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
281        let __mi = Self::dispose_method_info();
282        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
283        __inner(this.into(), ::core::option::Option::None)
284    }
285}
286
287#[cfg(feature = "app-movieplayerbase")]
288impl MoviePlayerBase_TitleLogo {
289    #[doc = "`.ctor(crate::unity_engine::ui::image::Image, crate::unity_engine::animator::Animator)` — overload selector"]
290    pub fn new(image: crate::unity_engine::ui::image::Image, animator: crate::unity_engine::animator::Animator) -> Self {
291        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
292            panic!(
293                "{}
294::{}
295 failed to instantiate",
296                ::core::stringify!(MoviePlayerBase_TitleLogo),
297                ::core::stringify!(new),
298            )
299        });
300        <Self as IMoviePlayerBase_TitleLogoMethods>::ctor(this, image, animator);
301        this
302    }
303}
304
305#[cfg(feature = "app-movieplayerbase")]
306impl MoviePlayerBase {
307    #[doc = "`ResolveMovieFileName(*mut::unity::Il2CppString, *mut::unity::Il2CppString, bool)` overload"]
308    pub fn resolve_movie_file_name(is_movie_file_name_direct: impl ::core::convert::Into<bool>) -> (::unity::Il2CppString, ::unity::Il2CppString) {
309        unsafe {
310            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
311            let mut __out_1 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
312            ::unity::il2cpp_call!((::unity::module_base()+0x277ec30usize)as*mut u8,();
313(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(*mut::unity::Il2CppString)__out_1.as_mut_ptr(),(bool)::core::convert::Into::into(is_movie_file_name_direct));
314            (__out_0.assume_init(), __out_1.assume_init())
315        }
316    }
317
318    #[doc = "`GetMovieFilePath(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
319    pub fn get_movie_file_path_2(
320        base_movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>,
321        movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>,
322    ) -> ::unity::Il2CppString {
323        unsafe {
324            ::unity::il2cpp_call!((::unity::module_base()+0x277efb0usize)as*mut u8, ::unity::Il2CppString;
325(::unity::Il2CppString)::core::convert::Into::into(base_movie_file_name),(::unity::Il2CppString)::core::convert::Into::into(movie_file_name))
326        }
327    }
328
329    #[doc = "`PostSoundEventOnEnd(::unity::Il2CppString)` overload"]
330    pub fn post_sound_event_on_end_2(movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
331        unsafe {
332            ::unity::il2cpp_call!((::unity::module_base()+0x277fb10usize)as*mut u8,();
333(::unity::Il2CppString)::core::convert::Into::into(movie_file_name))
334        }
335    }
336
337    #[doc = "`PostSoundEvent(::unity::Il2CppString)` overload"]
338    pub fn post_sound_event(sound_event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
339        unsafe {
340            ::unity::il2cpp_call!((::unity::module_base()+0x277fa70usize)as*mut u8,();
341(::unity::Il2CppString)::core::convert::Into::into(sound_event_name))
342        }
343    }
344
345    #[doc = "`GetSoundEventNameOnStart(::unity::Il2CppString)` overload"]
346    pub fn get_sound_event_name_on_start(movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
347        unsafe {
348            ::unity::il2cpp_call!((::unity::module_base()+0x277e3f0usize)as*mut u8, ::unity::Il2CppString;
349(::unity::Il2CppString)::core::convert::Into::into(movie_file_name))
350        }
351    }
352}
353
354#[cfg(feature = "app-movieplayerbase")]
355pub trait IMoviePlayerBaseMethods: IMoviePlayerBase {
356    #[doc = "`.ctor(::unity::Il2CppString, bool)` overload"]
357    fn ctor(
358        self,
359        movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>,
360        is_movie_file_name_direct: impl ::core::convert::Into<bool>,
361    ) -> () {
362        unsafe {
363            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364            ::unity::il2cpp_call!((::unity::module_base()+0x277d870usize)as*mut u8,();
365(MoviePlayerBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(movie_file_name),(bool)::core::convert::Into::into(is_movie_file_name_direct))
366        }
367    }
368    #[doc = "`Load(::unity::Il2CppString, bool)` overload"]
369    fn load(
370        self,
371        movie_file_name: impl ::core::convert::Into<::unity::Il2CppString>,
372        is_movie_file_name_direct: impl ::core::convert::Into<bool>,
373    ) -> () {
374        unsafe {
375            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376            ::unity::il2cpp_call!((::unity::module_base()+0x277ea10usize)as*mut u8,();
377(MoviePlayerBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(movie_file_name),(bool)::core::convert::Into::into(is_movie_file_name_direct))
378        }
379    }
380    #[doc = "`Unload()` overload"]
381    fn unload(self) -> () {
382        unsafe {
383            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x277ee90usize)as*mut u8,();
385(MoviePlayerBase)__receiver)
386        }
387    }
388    #[doc = "`GetMovieFilePath()` overload"]
389    fn get_movie_file_path(self) -> ::unity::Il2CppString {
390        unsafe {
391            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392            ::unity::il2cpp_call!((::unity::module_base()+0x277ded0usize)as*mut u8, ::unity::Il2CppString;
393(MoviePlayerBase)__receiver)
394        }
395    }
396    #[doc = "`LoadSceneBind(crate::app::procinst::ProcInst)` overload"]
397    fn load_scene_bind(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
398        unsafe {
399            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400            ::unity::il2cpp_call!((::unity::module_base()+0x277f310usize)as*mut u8,();
401(MoviePlayerBase)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
402        }
403    }
404    #[doc = "`UnloadSceneBind(crate::app::procinst::ProcInst)` overload"]
405    fn unload_scene_bind(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
406        unsafe {
407            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408            ::unity::il2cpp_call!((::unity::module_base()+0x277f3a0usize)as*mut u8,();
409(MoviePlayerBase)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
410        }
411    }
412    #[doc = "`SetupAfterLoadScene()` overload"]
413    fn setup_after_load_scene(self) -> bool {
414        unsafe {
415            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416            {
417                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
418                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
419                    panic!(
420                        "unity: virtual slot {}
421 out of range (vtable len {}
422) on the runtime class behind {}
423 (method `{}
424`)",
425                        4usize,
426                        __vt.len(),
427                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
428                        "SetupAfterLoadScene",
429                    )
430                });
431                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
432                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
433                __inner(__receiver, __mi)
434            }
435        }
436    }
437    #[doc = "`SetupByMovieCanvasPrefab(crate::unity_engine::gameobject::GameObject)` overload"]
438    fn setup_by_movie_canvas_prefab(self, canvas_prefab: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> bool {
439        unsafe {
440            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
441            {
442                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
443                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
444                    panic!(
445                        "unity: virtual slot {}
446 out of range (vtable len {}
447) on the runtime class behind {}
448 (method `{}
449`)",
450                        5usize,
451                        __vt.len(),
452                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
453                        "SetupByMovieCanvasPrefab",
454                    )
455                });
456                let __inner: extern "C" fn(MoviePlayerBase, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> bool =
457                    ::core::mem::transmute(__vi.method_ptr);
458                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
459                __inner(__receiver, ::core::convert::Into::into(canvas_prefab), __mi)
460            }
461        }
462    }
463    #[doc = "`SetupCommon()` overload"]
464    fn setup_common(self) -> bool {
465        unsafe {
466            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
467            ::unity::il2cpp_call!((::unity::module_base()+0x277f430usize)as*mut u8,bool;
468(MoviePlayerBase)__receiver)
469        }
470    }
471    #[doc = "`SetMovieFilePathToVideoPlayer()` overload"]
472    fn set_movie_file_path_to_video_player(self) -> bool {
473        unsafe {
474            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475            {
476                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
477                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
478                    panic!(
479                        "unity: virtual slot {}
480 out of range (vtable len {}
481) on the runtime class behind {}
482 (method `{}
483`)",
484                        6usize,
485                        __vt.len(),
486                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
487                        "SetMovieFilePathToVideoPlayer",
488                    )
489                });
490                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
491                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
492                __inner(__receiver, __mi)
493            }
494        }
495    }
496    #[doc = "`EnableScene()` overload"]
497    fn enable_scene(self) -> () {
498        unsafe {
499            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500            ::unity::il2cpp_call!((::unity::module_base()+0x277f840usize)as*mut u8,();
501(MoviePlayerBase)__receiver)
502        }
503    }
504    #[doc = "`DisableScene()` overload"]
505    fn disable_scene(self) -> () {
506        unsafe {
507            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508            ::unity::il2cpp_call!((::unity::module_base()+0x277f950usize)as*mut u8,();
509(MoviePlayerBase)__receiver)
510        }
511    }
512    #[doc = "`SetSceneActive(bool)` overload"]
513    fn set_scene_active(self, is_active: impl ::core::convert::Into<bool>) -> () {
514        unsafe {
515            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
516            ::unity::il2cpp_call!((::unity::module_base()+0x277f850usize)as*mut u8,();
517(MoviePlayerBase)__receiver,(bool)::core::convert::Into::into(is_active))
518        }
519    }
520    #[doc = "`EnableCanvas()` overload"]
521    fn enable_canvas(self) -> () {
522        unsafe {
523            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
524            ::unity::il2cpp_call!((::unity::module_base()+0x277f960usize)as*mut u8,();
525(MoviePlayerBase)__receiver)
526        }
527    }
528    #[doc = "`DisableCanvas()` overload"]
529    fn disable_canvas(self) -> () {
530        unsafe {
531            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532            ::unity::il2cpp_call!((::unity::module_base()+0x277f980usize)as*mut u8,();
533(MoviePlayerBase)__receiver)
534        }
535    }
536    #[doc = "`ShowHelp()` overload"]
537    fn show_help(self) -> () {
538        unsafe {
539            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540            ::unity::il2cpp_call!((::unity::module_base()+0x277f9a0usize)as*mut u8,();
541(MoviePlayerBase)__receiver)
542        }
543    }
544    #[doc = "`HideHelp()` overload"]
545    fn hide_help(self) -> () {
546        unsafe {
547            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548            ::unity::il2cpp_call!((::unity::module_base()+0x277f9b0usize)as*mut u8,();
549(MoviePlayerBase)__receiver)
550        }
551    }
552    #[doc = "`IsShowCaption()` overload"]
553    fn is_show_caption(self) -> bool {
554        unsafe {
555            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556            ::unity::il2cpp_call!((::unity::module_base()+0x277f9c0usize)as*mut u8,bool;
557(MoviePlayerBase)__receiver)
558        }
559    }
560    #[doc = "`SetCaption(::unity::Il2CppString, i32)` overload"]
561    fn set_caption(self, mid: impl ::core::convert::Into<::unity::Il2CppString>, msec: impl ::core::convert::Into<i32>) -> () {
562        unsafe {
563            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
564            ::unity::il2cpp_call!((::unity::module_base()+0x277f9d0usize)as*mut u8,();
565(MoviePlayerBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(mid),(i32)::core::convert::Into::into(msec))
566        }
567    }
568    #[doc = "`SwitchCaptionOnOff()` overload"]
569    fn switch_caption_on_off(self) -> () {
570        unsafe {
571            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
572            ::unity::il2cpp_call!((::unity::module_base()+0x277fa40usize)as*mut u8,();
573(MoviePlayerBase)__receiver)
574        }
575    }
576    #[doc = "`ShowTitleLogo(i32)` overload"]
577    fn show_title_logo(self, msec: impl ::core::convert::Into<i32>) -> () {
578        unsafe {
579            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
580            ::unity::il2cpp_call!((::unity::module_base()+0x277fa50usize)as*mut u8,();
581(MoviePlayerBase)__receiver,(i32)::core::convert::Into::into(msec))
582        }
583    }
584    #[doc = "`PostSoundEventOnStartViewer()` overload"]
585    fn post_sound_event_on_start_viewer(self) -> () {
586        unsafe {
587            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
588            ::unity::il2cpp_call!((::unity::module_base()+0x277e600usize)as*mut u8,();
589(MoviePlayerBase)__receiver)
590        }
591    }
592    #[doc = "`PostSoundEventOnEnd()` overload"]
593    fn post_sound_event_on_end(self) -> () {
594        unsafe {
595            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
596            ::unity::il2cpp_call!((::unity::module_base()+0x277fb00usize)as*mut u8,();
597(MoviePlayerBase)__receiver)
598        }
599    }
600    #[doc = "`GetScreenObjectName()` overload"]
601    fn get_screen_object_name(self) -> ::unity::Il2CppString {
602        unsafe {
603            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
604            {
605                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
606                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
607                    panic!(
608                        "unity: virtual slot {}
609 out of range (vtable len {}
610) on the runtime class behind {}
611 (method `{}
612`)",
613                        7usize,
614                        __vt.len(),
615                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
616                        "GetScreenObjectName",
617                    )
618                });
619                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> ::unity::Il2CppString =
620                    ::core::mem::transmute(__vi.method_ptr);
621                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
622                __inner(__receiver, __mi)
623            }
624        }
625    }
626    #[doc = "`IsPaused()` overload"]
627    fn is_paused(self) -> bool {
628        unsafe {
629            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630            {
631                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
632                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
633                    panic!(
634                        "unity: virtual slot {}
635 out of range (vtable len {}
636) on the runtime class behind {}
637 (method `{}
638`)",
639                        8usize,
640                        __vt.len(),
641                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
642                        "IsPaused",
643                    )
644                });
645                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
646                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
647                __inner(__receiver, __mi)
648            }
649        }
650    }
651    #[doc = "`IsPlaying()` overload"]
652    fn is_playing(self) -> bool {
653        unsafe {
654            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
655            {
656                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
657                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
658                    panic!(
659                        "unity: virtual slot {}
660 out of range (vtable len {}
661) on the runtime class behind {}
662 (method `{}
663`)",
664                        9usize,
665                        __vt.len(),
666                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
667                        "IsPlaying",
668                    )
669                });
670                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
671                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
672                __inner(__receiver, __mi)
673            }
674        }
675    }
676    #[doc = "`IsPlayEnd()` overload"]
677    fn is_play_end(self) -> bool {
678        unsafe {
679            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
680            {
681                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
682                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
683                    panic!(
684                        "unity: virtual slot {}
685 out of range (vtable len {}
686) on the runtime class behind {}
687 (method `{}
688`)",
689                        10usize,
690                        __vt.len(),
691                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
692                        "IsPlayEnd",
693                    )
694                });
695                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
696                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
697                __inner(__receiver, __mi)
698            }
699        }
700    }
701    #[doc = "`IsErrorOccured()` overload"]
702    fn is_error_occured(self) -> bool {
703        unsafe {
704            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
705            {
706                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
707                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
708                    panic!(
709                        "unity: virtual slot {}
710 out of range (vtable len {}
711) on the runtime class behind {}
712 (method `{}
713`)",
714                        11usize,
715                        __vt.len(),
716                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
717                        "IsErrorOccured",
718                    )
719                });
720                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
721                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
722                __inner(__receiver, __mi)
723            }
724        }
725    }
726    #[doc = "`GetMovieLength()` overload"]
727    fn get_movie_length(self) -> f32 {
728        unsafe {
729            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
730            {
731                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
732                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
733                    panic!(
734                        "unity: virtual slot {}
735 out of range (vtable len {}
736) on the runtime class behind {}
737 (method `{}
738`)",
739                        12usize,
740                        __vt.len(),
741                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
742                        "GetMovieLength",
743                    )
744                });
745                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
746                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
747                __inner(__receiver, __mi)
748            }
749        }
750    }
751    #[doc = "`GetPlayingPosition()` overload"]
752    fn get_playing_position(self) -> f32 {
753        unsafe {
754            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
755            {
756                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
757                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
758                    panic!(
759                        "unity: virtual slot {}
760 out of range (vtable len {}
761) on the runtime class behind {}
762 (method `{}
763`)",
764                        13usize,
765                        __vt.len(),
766                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
767                        "GetPlayingPosition",
768                    )
769                });
770                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
771                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
772                __inner(__receiver, __mi)
773            }
774        }
775    }
776    #[doc = "`Persistent()` overload"]
777    fn persistent(self) -> () {
778        unsafe {
779            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
780            {
781                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
782                let __vi = *__vt.get(14usize).unwrap_or_else(|| {
783                    panic!(
784                        "unity: virtual slot {}
785 out of range (vtable len {}
786) on the runtime class behind {}
787 (method `{}
788`)",
789                        14usize,
790                        __vt.len(),
791                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
792                        "Persistent",
793                    )
794                });
795                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
796                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
797                __inner(__receiver, __mi)
798            }
799        }
800    }
801    #[doc = "`Tick()` overload"]
802    fn tick(self) -> () {
803        unsafe {
804            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
805            {
806                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
807                let __vi = *__vt.get(15usize).unwrap_or_else(|| {
808                    panic!(
809                        "unity: virtual slot {}
810 out of range (vtable len {}
811) on the runtime class behind {}
812 (method `{}
813`)",
814                        15usize,
815                        __vt.len(),
816                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
817                        "Tick",
818                    )
819                });
820                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
821                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
822                __inner(__receiver, __mi)
823            }
824        }
825    }
826    #[doc = "`Prepare()` overload"]
827    fn prepare(self) -> () {
828        unsafe {
829            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
830            {
831                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
832                let __vi = *__vt.get(16usize).unwrap_or_else(|| {
833                    panic!(
834                        "unity: virtual slot {}
835 out of range (vtable len {}
836) on the runtime class behind {}
837 (method `{}
838`)",
839                        16usize,
840                        __vt.len(),
841                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
842                        "Prepare",
843                    )
844                });
845                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
846                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
847                __inner(__receiver, __mi)
848            }
849        }
850    }
851    #[doc = "`IsPrepared()` overload"]
852    fn is_prepared(self) -> bool {
853        unsafe {
854            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
855            {
856                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
857                let __vi = *__vt.get(17usize).unwrap_or_else(|| {
858                    panic!(
859                        "unity: virtual slot {}
860 out of range (vtable len {}
861) on the runtime class behind {}
862 (method `{}
863`)",
864                        17usize,
865                        __vt.len(),
866                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
867                        "IsPrepared",
868                    )
869                });
870                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
871                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
872                __inner(__receiver, __mi)
873            }
874        }
875    }
876    #[doc = "`Play()` overload"]
877    fn play(self) -> () {
878        unsafe {
879            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
880            {
881                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
882                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
883                    panic!(
884                        "unity: virtual slot {}
885 out of range (vtable len {}
886) on the runtime class behind {}
887 (method `{}
888`)",
889                        18usize,
890                        __vt.len(),
891                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
892                        "Play",
893                    )
894                });
895                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
896                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
897                __inner(__receiver, __mi)
898            }
899        }
900    }
901    #[doc = "`Stop()` overload"]
902    fn stop(self) -> () {
903        unsafe {
904            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
905            {
906                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
907                let __vi = *__vt.get(19usize).unwrap_or_else(|| {
908                    panic!(
909                        "unity: virtual slot {}
910 out of range (vtable len {}
911) on the runtime class behind {}
912 (method `{}
913`)",
914                        19usize,
915                        __vt.len(),
916                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
917                        "Stop",
918                    )
919                });
920                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
921                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
922                __inner(__receiver, __mi)
923            }
924        }
925    }
926    #[doc = "`SuspendOn()` overload"]
927    fn suspend_on(self) -> () {
928        unsafe {
929            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
930            {
931                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
932                let __vi = *__vt.get(20usize).unwrap_or_else(|| {
933                    panic!(
934                        "unity: virtual slot {}
935 out of range (vtable len {}
936) on the runtime class behind {}
937 (method `{}
938`)",
939                        20usize,
940                        __vt.len(),
941                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
942                        "SuspendOn",
943                    )
944                });
945                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
946                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
947                __inner(__receiver, __mi)
948            }
949        }
950    }
951    #[doc = "`SuspendOff()` overload"]
952    fn suspend_off(self) -> () {
953        unsafe {
954            let __receiver = <MoviePlayerBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
955            {
956                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
957                let __vi = *__vt.get(21usize).unwrap_or_else(|| {
958                    panic!(
959                        "unity: virtual slot {}
960 out of range (vtable len {}
961) on the runtime class behind {}
962 (method `{}
963`)",
964                        21usize,
965                        __vt.len(),
966                        <MoviePlayerBase as ::unity::ClassIdentity>::NAME,
967                        "SuspendOff",
968                    )
969                });
970                let __inner: extern "C" fn(MoviePlayerBase, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
971                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
972                __inner(__receiver, __mi)
973            }
974        }
975    }
976}
977
978#[cfg(feature = "app-movieplayerbase")]
979impl<__T: IMoviePlayerBase> IMoviePlayerBaseMethods for __T {}
980
981#[cfg(feature = "app-movieplayerbase")]
982impl MoviePlayerBase {
983    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
984        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
985    }
986
987    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
988        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
989    }
990
991    pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
992        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
993    }
994
995    pub fn resolve_movie_file_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
996        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
997    }
998
999    pub fn get_movie_file_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1000        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1001    }
1002
1003    pub fn get_movie_file_path_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1004        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1005    }
1006
1007    pub fn load_scene_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1009    }
1010
1011    pub fn unload_scene_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1012        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1013    }
1014
1015    pub fn setup_after_load_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1016        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1017    }
1018
1019    pub fn setup_by_movie_canvas_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1020        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1021    }
1022
1023    pub fn setup_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1024        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1025    }
1026
1027    pub fn set_movie_file_path_to_video_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1028        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1029    }
1030
1031    pub fn enable_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1032        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1033    }
1034
1035    pub fn disable_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1036        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1037    }
1038
1039    pub fn set_scene_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1040        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1041    }
1042
1043    pub fn enable_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1044        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1045    }
1046
1047    pub fn disable_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1048        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1049    }
1050
1051    pub fn show_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1053    }
1054
1055    pub fn hide_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1056        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1057    }
1058
1059    pub fn is_show_caption_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1060        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1061    }
1062
1063    pub fn set_caption_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1064        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1065    }
1066
1067    pub fn switch_caption_on_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1068        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1069    }
1070
1071    pub fn show_title_logo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1072        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1073    }
1074
1075    pub fn post_sound_event_on_start_viewer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1076        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1077    }
1078
1079    pub fn post_sound_event_on_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1080        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1081    }
1082
1083    pub fn post_sound_event_on_end_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1084        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1085    }
1086
1087    pub fn post_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1088        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1089    }
1090
1091    pub fn get_sound_event_name_on_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1092        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1093    }
1094
1095    pub fn get_screen_object_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1096        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1097    }
1098
1099    pub fn is_paused_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1101    }
1102
1103    pub fn is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1105    }
1106
1107    pub fn is_play_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1109    }
1110
1111    pub fn is_error_occured_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1113    }
1114
1115    pub fn get_movie_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1117    }
1118
1119    pub fn get_playing_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1121    }
1122
1123    pub fn persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1125    }
1126
1127    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1129    }
1130
1131    pub fn prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1133    }
1134
1135    pub fn is_prepared_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1137    }
1138
1139    pub fn play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1141    }
1142
1143    pub fn stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1145    }
1146
1147    pub fn suspend_on_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1149    }
1150
1151    pub fn suspend_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1153    }
1154}
1155
1156#[cfg(feature = "app-movieplayerbase")]
1157impl MoviePlayerBase {
1158    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `SetupAfterLoadScene`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1159    pub unsafe fn setup_after_load_scene(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1160        let __mi = Self::setup_after_load_scene_method_info();
1161        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1162        __inner(this.into(), ::core::option::Option::None)
1163    }
1164
1165    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `SetupByMovieCanvasPrefab`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1166    pub unsafe fn setup_by_movie_canvas_prefab(
1167        this: impl ::core::convert::Into<::unity::IlInstance>,
1168        canvas_prefab: crate::unity_engine::gameobject::GameObject,
1169    ) -> bool {
1170        let __mi = Self::setup_by_movie_canvas_prefab_method_info();
1171        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> bool =
1172            ::core::mem::transmute(__mi.method_ptr);
1173        __inner(this.into(), canvas_prefab, ::core::option::Option::None)
1174    }
1175
1176    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `SetMovieFilePathToVideoPlayer`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1177    pub unsafe fn set_movie_file_path_to_video_player(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1178        let __mi = Self::set_movie_file_path_to_video_player_method_info();
1179        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1180        __inner(this.into(), ::core::option::Option::None)
1181    }
1182
1183    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `GetScreenObjectName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1184    pub unsafe fn get_screen_object_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1185        let __mi = Self::get_screen_object_name_method_info();
1186        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1187        __inner(this.into(), ::core::option::Option::None)
1188    }
1189
1190    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `IsPaused`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1191    pub unsafe fn is_paused(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1192        let __mi = Self::is_paused_method_info();
1193        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1194        __inner(this.into(), ::core::option::Option::None)
1195    }
1196
1197    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `IsPlaying`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1198    pub unsafe fn is_playing(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1199        let __mi = Self::is_playing_method_info();
1200        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1201        __inner(this.into(), ::core::option::Option::None)
1202    }
1203
1204    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `IsPlayEnd`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1205    pub unsafe fn is_play_end(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1206        let __mi = Self::is_play_end_method_info();
1207        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1208        __inner(this.into(), ::core::option::Option::None)
1209    }
1210
1211    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `IsErrorOccured`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1212    pub unsafe fn is_error_occured(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1213        let __mi = Self::is_error_occured_method_info();
1214        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1215        __inner(this.into(), ::core::option::Option::None)
1216    }
1217
1218    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `GetMovieLength`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1219    pub unsafe fn get_movie_length(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
1220        let __mi = Self::get_movie_length_method_info();
1221        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
1222        __inner(this.into(), ::core::option::Option::None)
1223    }
1224
1225    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `GetPlayingPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1226    pub unsafe fn get_playing_position(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
1227        let __mi = Self::get_playing_position_method_info();
1228        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
1229        __inner(this.into(), ::core::option::Option::None)
1230    }
1231
1232    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `Persistent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1233    pub unsafe fn persistent(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1234        let __mi = Self::persistent_method_info();
1235        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1236        __inner(this.into(), ::core::option::Option::None)
1237    }
1238
1239    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `Tick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1240    pub unsafe fn tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1241        let __mi = Self::tick_method_info();
1242        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1243        __inner(this.into(), ::core::option::Option::None)
1244    }
1245
1246    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `Prepare`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1247    pub unsafe fn prepare(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1248        let __mi = Self::prepare_method_info();
1249        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1250        __inner(this.into(), ::core::option::Option::None)
1251    }
1252
1253    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `IsPrepared`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1254    pub unsafe fn is_prepared(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1255        let __mi = Self::is_prepared_method_info();
1256        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1257        __inner(this.into(), ::core::option::Option::None)
1258    }
1259
1260    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `Play`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1261    pub unsafe fn play(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1262        let __mi = Self::play_method_info();
1263        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1264        __inner(this.into(), ::core::option::Option::None)
1265    }
1266
1267    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `Stop`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1268    pub unsafe fn stop(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1269        let __mi = Self::stop_method_info();
1270        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1271        __inner(this.into(), ::core::option::Option::None)
1272    }
1273
1274    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `SuspendOn`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1275    pub unsafe fn suspend_on(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1276        let __mi = Self::suspend_on_method_info();
1277        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1278        __inner(this.into(), ::core::option::Option::None)
1279    }
1280
1281    #[doc = "Direct (non-virtual) call to `MoviePlayerBase`'s own `SuspendOff`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1282    pub unsafe fn suspend_off(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1283        let __mi = Self::suspend_off_method_info();
1284        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1285        __inner(this.into(), ::core::option::Option::None)
1286    }
1287}
1288
1289#[cfg(feature = "app-movieplayerbase")]
1290impl MoviePlayerBase {
1291    #[doc = "`.ctor(::unity::Il2CppString, bool)` — overload selector"]
1292    pub fn new(movie_file_name: ::unity::Il2CppString, is_movie_file_name_direct: bool) -> Self {
1293        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1294            panic!(
1295                "{}
1296::{}
1297 failed to instantiate",
1298                ::core::stringify!(MoviePlayerBase),
1299                ::core::stringify!(new),
1300            )
1301        });
1302        <Self as IMoviePlayerBaseMethods>::ctor(this, movie_file_name, is_movie_file_name_direct);
1303        this
1304    }
1305}
1306
1307#[cfg(feature = "app-movieplayerbase")]
1308pub trait IMoviePlayerBase_KeyHelpMethods: IMoviePlayerBase_KeyHelp {
1309    #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
1310    fn ctor(self, root_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1311        unsafe {
1312            let __receiver =
1313                <MoviePlayerBase_KeyHelp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1314            ::unity::il2cpp_call!((::unity::module_base()+0x2090a00usize)as*mut u8,();
1315(MoviePlayerBase_KeyHelp)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root_object))
1316        }
1317    }
1318    #[doc = "`Show()` overload"]
1319    fn show(self) -> () {
1320        unsafe {
1321            let __receiver =
1322                <MoviePlayerBase_KeyHelp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1323            ::unity::il2cpp_call!((::unity::module_base()+0x2090a90usize)as*mut u8,();
1324(MoviePlayerBase_KeyHelp)__receiver)
1325        }
1326    }
1327    #[doc = "`Hide()` overload"]
1328    fn hide(self) -> () {
1329        unsafe {
1330            let __receiver =
1331                <MoviePlayerBase_KeyHelp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1332            ::unity::il2cpp_call!((::unity::module_base()+0x2090b00usize)as*mut u8,();
1333(MoviePlayerBase_KeyHelp)__receiver)
1334        }
1335    }
1336    #[doc = "`Tick()` overload"]
1337    fn tick(self) -> () {
1338        unsafe {
1339            let __receiver =
1340                <MoviePlayerBase_KeyHelp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1341            ::unity::il2cpp_call!((::unity::module_base()+0x2090b20usize)as*mut u8,();
1342(MoviePlayerBase_KeyHelp)__receiver)
1343        }
1344    }
1345}
1346
1347#[cfg(feature = "app-movieplayerbase")]
1348impl<__T: IMoviePlayerBase_KeyHelp> IMoviePlayerBase_KeyHelpMethods for __T {}
1349
1350#[cfg(feature = "app-movieplayerbase")]
1351impl MoviePlayerBase_KeyHelp {
1352    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1354    }
1355
1356    pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1358    }
1359
1360    pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1362    }
1363
1364    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1366    }
1367}
1368
1369#[cfg(feature = "app-movieplayerbase")]
1370impl MoviePlayerBase_KeyHelp {
1371    #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
1372    pub fn new(root_object: crate::unity_engine::gameobject::GameObject) -> Self {
1373        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1374            panic!(
1375                "{}
1376::{}
1377 failed to instantiate",
1378                ::core::stringify!(MoviePlayerBase_KeyHelp),
1379                ::core::stringify!(new),
1380            )
1381        });
1382        <Self as IMoviePlayerBase_KeyHelpMethods>::ctor(this, root_object);
1383        this
1384    }
1385}
1386
1387#[cfg(feature = "app-movieplayerbase")]
1388pub trait IMoviePlayerBase_CaptionMethods: IMoviePlayerBase_Caption {
1389    #[doc = "`.ctor(crate::tm_pro::textmeshprougui::TextMeshProUGUI)` overload"]
1390    fn ctor(self, text: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>) -> () {
1391        unsafe {
1392            let __receiver =
1393                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1394            ::unity::il2cpp_call!((::unity::module_base()+0x20906b0usize)as*mut u8,();
1395(MoviePlayerBase_Caption)__receiver,(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(text))
1396        }
1397    }
1398    #[doc = "`Finalize()` overload"]
1399    fn finalize(self) -> () {
1400        unsafe {
1401            let __receiver =
1402                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1403            {
1404                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1405                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
1406                    panic!(
1407                        "unity: virtual slot {}
1408 out of range (vtable len {}
1409) on the runtime class behind {}
1410 (method `{}
1411`)",
1412                        1usize,
1413                        __vt.len(),
1414                        <MoviePlayerBase_Caption as ::unity::ClassIdentity>::NAME,
1415                        "Finalize",
1416                    )
1417                });
1418                let __inner: extern "C" fn(MoviePlayerBase_Caption, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1419                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1420                __inner(__receiver, __mi)
1421            }
1422        }
1423    }
1424    #[doc = "`Reset()` overload"]
1425    fn reset(self) -> () {
1426        unsafe {
1427            let __receiver =
1428                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1429            ::unity::il2cpp_call!((::unity::module_base()+0x20907c0usize)as*mut u8,();
1430(MoviePlayerBase_Caption)__receiver)
1431        }
1432    }
1433    #[doc = "`SetText(::unity::Il2CppString, i32)` overload"]
1434    fn set_text(self, mid: impl ::core::convert::Into<::unity::Il2CppString>, msec: impl ::core::convert::Into<i32>) -> () {
1435        unsafe {
1436            let __receiver =
1437                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1438            ::unity::il2cpp_call!((::unity::module_base()+0x20907d0usize)as*mut u8,();
1439(MoviePlayerBase_Caption)__receiver,(::unity::Il2CppString)::core::convert::Into::into(mid),(i32)::core::convert::Into::into(msec))
1440        }
1441    }
1442    #[doc = "`ClearText()` overload"]
1443    fn clear_text(self) -> () {
1444        unsafe {
1445            let __receiver =
1446                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1447            ::unity::il2cpp_call!((::unity::module_base()+0x2090740usize)as*mut u8,();
1448(MoviePlayerBase_Caption)__receiver)
1449        }
1450    }
1451    #[doc = "`IsShow()` overload"]
1452    fn is_show(self) -> bool {
1453        unsafe {
1454            let __receiver =
1455                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1456            ::unity::il2cpp_call!((::unity::module_base()+0x2090890usize)as*mut u8,bool;
1457(MoviePlayerBase_Caption)__receiver)
1458        }
1459    }
1460    #[doc = "`Show()` overload"]
1461    fn show(self) -> () {
1462        unsafe {
1463            let __receiver =
1464                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1465            ::unity::il2cpp_call!((::unity::module_base()+0x20908a0usize)as*mut u8,();
1466(MoviePlayerBase_Caption)__receiver)
1467        }
1468    }
1469    #[doc = "`Hide()` overload"]
1470    fn hide(self) -> () {
1471        unsafe {
1472            let __receiver =
1473                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1474            ::unity::il2cpp_call!((::unity::module_base()+0x20908b0usize)as*mut u8,();
1475(MoviePlayerBase_Caption)__receiver)
1476        }
1477    }
1478    #[doc = "`SwitchShow()` overload"]
1479    fn switch_show(self) -> () {
1480        unsafe {
1481            let __receiver =
1482                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1483            ::unity::il2cpp_call!((::unity::module_base()+0x20908c0usize)as*mut u8,();
1484(MoviePlayerBase_Caption)__receiver)
1485        }
1486    }
1487    #[doc = "`Tick()` overload"]
1488    fn tick(self) -> () {
1489        unsafe {
1490            let __receiver =
1491                <MoviePlayerBase_Caption as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1492            ::unity::il2cpp_call!((::unity::module_base()+0x20908d0usize)as*mut u8,();
1493(MoviePlayerBase_Caption)__receiver)
1494        }
1495    }
1496}
1497
1498#[cfg(feature = "app-movieplayerbase")]
1499impl<__T: IMoviePlayerBase_Caption> IMoviePlayerBase_CaptionMethods for __T {}
1500
1501#[cfg(feature = "app-movieplayerbase")]
1502impl MoviePlayerBase_Caption {
1503    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1505    }
1506
1507    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1509    }
1510
1511    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1513    }
1514
1515    pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1516        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1517    }
1518
1519    pub fn clear_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1520        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1521    }
1522
1523    pub fn is_show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1524        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1525    }
1526
1527    pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1528        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1529    }
1530
1531    pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1532        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1533    }
1534
1535    pub fn switch_show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1536        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1537    }
1538
1539    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1540        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1541    }
1542}
1543
1544#[cfg(feature = "app-movieplayerbase")]
1545impl MoviePlayerBase_Caption {
1546    #[doc = "Direct (non-virtual) call to `MoviePlayerBase_Caption`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1547    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1548        let __mi = Self::finalize_method_info();
1549        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1550        __inner(this.into(), ::core::option::Option::None)
1551    }
1552}
1553
1554#[cfg(feature = "app-movieplayerbase")]
1555impl MoviePlayerBase_Caption {
1556    #[doc = "`.ctor(crate::tm_pro::textmeshprougui::TextMeshProUGUI)` — overload selector"]
1557    pub fn new(text: crate::tm_pro::textmeshprougui::TextMeshProUGUI) -> Self {
1558        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1559            panic!(
1560                "{}
1561::{}
1562 failed to instantiate",
1563                ::core::stringify!(MoviePlayerBase_Caption),
1564                ::core::stringify!(new),
1565            )
1566        });
1567        <Self as IMoviePlayerBase_CaptionMethods>::ctor(this, text);
1568        this
1569    }
1570}
1571
1572#[cfg(feature = "app-movieplayerbase")]
1573#[doc(hidden)]
1574pub mod prelude {
1575    pub use super::{
1576        IMoviePlayerBase, IMoviePlayerBaseMethods, IMoviePlayerBase_Caption, IMoviePlayerBase_CaptionMethods, IMoviePlayerBase_KeyHelp,
1577        IMoviePlayerBase_KeyHelpMethods, IMoviePlayerBase_TitleLogo, IMoviePlayerBase_TitleLogoMethods, MoviePlayerBase, MoviePlayerBase_Caption,
1578        MoviePlayerBase_KeyHelp, MoviePlayerBase_TitleLogo,
1579    };
1580    pub use crate::system::object::IObject;
1581    #[cfg(feature = "system-object")]
1582    pub use crate::system::object::IObjectMethods;
1583}