Skip to main content

engage/generated/app/
telopinstance.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-telopinstance-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/telopinstance/TelopInstance.md"))]
19    #[::unity::class(namespace = "App", name = "TelopInstance")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct TelopInstance {
22        #[offset(24)]
23        #[rename(name = "m_IsKeyWait")]
24        pub m_is_key_wait: bool,
25        #[offset(32)]
26        #[rename(name = "m_StartSoundEvent")]
27        pub m_start_sound_event: ::unity::Il2CppString,
28        #[offset(40)]
29        #[rename(name = "m_KeySoundEvent")]
30        pub m_key_sound_event: ::unity::Il2CppString,
31        #[offset(48)]
32        #[rename(name = "m_SkipableTime")]
33        pub m_skipable_time: f32,
34        #[offset(52)]
35        #[rename(name = "m_MvpWaitTime")]
36        pub m_mvp_wait_time: f32,
37        #[static_field]
38        #[rename(name = "AnimeLayerMain")]
39        pub anime_layer_main: i32,
40        #[static_field]
41        #[rename(name = "AnimeLayerLoopColor")]
42        pub anime_layer_loop_color: i32,
43        #[static_field]
44        #[rename(name = "AnimeLayerLoopSRT")]
45        pub anime_layer_loop_srt: i32,
46        #[static_field]
47        #[rename(name = "FadeTime")]
48        pub fade_time: f32,
49        #[offset(56)]
50        #[rename(name = "m_Animator")]
51        pub m_animator: crate::unity_engine::animator::Animator,
52        #[offset(64)]
53        #[rename(name = "m_CanvasGroup")]
54        pub m_canvas_group: crate::unity_engine::canvasgroup::CanvasGroup,
55        #[offset(72)]
56        #[rename(name = "m_FadeTime")]
57        pub m_fade_time: f32,
58        #[offset(76)]
59        #[rename(name = "m_ElapsedTime")]
60        pub m_elapsed_time: f32,
61        #[offset(80)]
62        #[rename(name = "m_MVPRoot")]
63        pub m_mvp_root: crate::root::mvproot::MVPRoot,
64        #[offset(88)]
65        #[rename(name = "m_IsKeyLock")]
66        pub m_is_key_lock: bool,
67        #[offset(89)]
68        #[rename(name = "m_IsForcedPlayOut")]
69        pub m_is_forced_play_out: bool,
70    }
71}
72
73#[cfg(feature = "app-telopinstance-types")]
74pub use __types::*;
75
76#[cfg(feature = "app-telopinstance")]
77pub trait ITelopInstanceMethods: ITelopInstance {
78    #[doc = "`SetKeyLock()` overload"]
79    fn set_key_lock(self) -> () {
80        unsafe {
81            let __receiver = <TelopInstance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x21df600usize)as*mut u8,();
83(TelopInstance)__receiver)
84        }
85    }
86    #[doc = "`PlayOut()` overload"]
87    fn play_out(self) -> () {
88        unsafe {
89            let __receiver = <TelopInstance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90            ::unity::il2cpp_call!((::unity::module_base()+0x21df610usize)as*mut u8,();
91(TelopInstance)__receiver)
92        }
93    }
94    #[doc = "`Start()` overload"]
95    fn start(self) -> () {
96        unsafe {
97            let __receiver = <TelopInstance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x21df620usize)as*mut u8,();
99(TelopInstance)__receiver)
100        }
101    }
102    #[doc = "`Update()` overload"]
103    fn update(self) -> () {
104        unsafe {
105            let __receiver = <TelopInstance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
106            ::unity::il2cpp_call!((::unity::module_base()+0x21df8d0usize)as*mut u8,();
107(TelopInstance)__receiver)
108        }
109    }
110    #[doc = "`.ctor()` overload"]
111    fn ctor(self) -> () {
112        unsafe {
113            let __receiver = <TelopInstance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114            ::unity::il2cpp_call!((::unity::module_base()+0x21dfe70usize)as*mut u8,();
115(TelopInstance)__receiver)
116        }
117    }
118}
119
120#[cfg(feature = "app-telopinstance")]
121impl<__T: ITelopInstance> ITelopInstanceMethods for __T {}
122
123#[cfg(feature = "app-telopinstance")]
124impl TelopInstance {
125    pub fn set_key_lock_method_info() -> &'static ::unity::il2cpp::MethodInfo {
126        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
127    }
128
129    pub fn play_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
131    }
132
133    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
135    }
136
137    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
139    }
140
141    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
143    }
144}
145
146#[cfg(feature = "app-telopinstance")]
147impl TelopInstance {
148    #[doc = "`.ctor()` — no args"]
149    pub fn new() -> Self {
150        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
151            panic!(
152                "{}
153::{}
154 failed to instantiate",
155                ::core::stringify!(TelopInstance),
156                ::core::stringify!(new),
157            )
158        });
159        <Self as ITelopInstanceMethods>::ctor(this);
160        this
161    }
162}
163
164#[cfg(feature = "app-telopinstance")]
165#[doc(hidden)]
166pub mod prelude {
167    pub use super::{ITelopInstance, ITelopInstanceMethods, TelopInstance};
168    #[cfg(feature = "system-object")]
169    pub use crate::system::object::IObjectMethods;
170    #[cfg(feature = "unity_engine-behaviour")]
171    pub use crate::unity_engine::behaviour::IBehaviourMethods;
172    #[cfg(feature = "unity_engine-component")]
173    pub use crate::unity_engine::component::IComponentMethods;
174    #[cfg(feature = "unity_engine-monobehaviour")]
175    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
176    #[cfg(feature = "unity_engine-object_2")]
177    pub use crate::unity_engine::object_2::IObject_2Methods;
178    pub use crate::{
179        system::object::IObject,
180        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
181    };
182}