engage/generated/app/
relayshowdatasequence.rs1#[cfg(feature = "app-relayshowdatasequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayshowdatasequence/RelayShowDataSequence.md"))]
18 #[::unity::class(namespace = "App", name = "RelayShowDataSequence")]
19 #[parent(crate::app::procinst::ProcInst)]
20 pub struct RelayShowDataSequence {
21 #[offset(112)]
22 #[rename(name = "m_MetaData")]
23 pub m_meta_data: crate::app::relayservermetadata::RelayServerMetaData,
24 #[offset(120)]
25 #[rename(name = "m_Mode")]
26 pub m_mode: crate::app::relayshowdatadialog::RelayShowDataDialog_Mode,
27 #[offset(124)]
28 #[rename(name = "m_IsNewPlay")]
29 pub m_is_new_play: bool,
30 }
31
32 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayshowdatasequence/RelayShowDataSequence_Label.md"))]
33 #[repr(C)]
34 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
35 pub struct RelayShowDataSequence_Label {
36 pub value: i32,
37 }
38 impl ::unity::ClassIdentity for RelayShowDataSequence_Label {
39 const NAME: &'static str = "RelayShowDataSequence.Label";
40 const NAMESPACE: &'static str = "App";
41
42 fn class() -> ::unity::Class {
43 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
44 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
45 }
46 }
47 impl ::unity::IlType for RelayShowDataSequence_Label {
48 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
49 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
50 }
51 }
52 impl RelayShowDataSequence_Label {
53 pub fn show() -> Self {
54 Self { value: 0 }
55 }
56
57 pub fn end() -> Self {
58 Self { value: 1 }
59 }
60 }
61}
62
63#[cfg(feature = "app-relayshowdatasequence-types")]
64pub use __types::*;
65
66#[cfg(feature = "app-relayshowdatasequence")]
67impl RelayShowDataSequence {
68 #[doc = "`CreateBindTakeOver(crate::app::procinst::ProcInst, crate::app::relayservermetadata::RelayServerMetaData)` overload"]
69 pub fn create_bind_take_over(
70 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
71 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
72 ) -> () {
73 unsafe {
74 ::unity::il2cpp_call!((::unity::module_base()+0x200ac10usize)as*mut u8,();
75(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data))
76 }
77 }
78
79 #[doc = "`CreateBindUpload(crate::app::procinst::ProcInst, crate::app::relayservermetadata::RelayServerMetaData, bool)` overload"]
80 pub fn create_bind_upload(
81 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
82 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
83 is_new_play: impl ::core::convert::Into<bool>,
84 ) -> () {
85 unsafe {
86 ::unity::il2cpp_call!((::unity::module_base()+0x200b0c0usize)as*mut u8,();
87(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(bool)::core::convert::Into::into(is_new_play))
88 }
89 }
90
91 #[doc = "`CreateBindImpl(crate::app::procinst::ProcInst, crate::app::relayshowdatadialog::RelayShowDataDialog_Mode, crate::app::relayservermetadata::RelayServerMetaData, bool)` overload"]
92 pub fn create_bind_impl(
93 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
94 mode: impl ::core::convert::Into<crate::app::relayshowdatadialog::RelayShowDataDialog_Mode>,
95 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
96 is_new_play: impl ::core::convert::Into<bool>,
97 ) -> () {
98 unsafe {
99 ::unity::il2cpp_call!((::unity::module_base()+0x200ac20usize)as*mut u8,();
100(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)::core::convert::Into::into(mode),(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(bool)::core::convert::Into::into(is_new_play))
101 }
102 }
103}
104
105#[cfg(feature = "app-relayshowdatasequence")]
106pub trait IRelayShowDataSequenceMethods: IRelayShowDataSequence {
107 #[doc = "`.ctor(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode, crate::app::relayservermetadata::RelayServerMetaData, bool)` overload"]
108 fn ctor(
109 self,
110 mode: impl ::core::convert::Into<crate::app::relayshowdatadialog::RelayShowDataDialog_Mode>,
111 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
112 is_new_play: impl ::core::convert::Into<bool>,
113 ) -> () {
114 unsafe {
115 let __receiver = <RelayShowDataSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116 ::unity::il2cpp_call!((::unity::module_base()+0x200aa80usize)as*mut u8,();
117(RelayShowDataSequence)__receiver,(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)::core::convert::Into::into(mode),(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(bool)::core::convert::Into::into(is_new_play))
118 }
119 }
120 #[doc = "`IsSkipTutorial()` overload"]
121 fn is_skip_tutorial(self) -> bool {
122 unsafe {
123 let __receiver = <RelayShowDataSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
124 ::unity::il2cpp_call!((::unity::module_base()+0x200aae0usize)as*mut u8,bool;
125(RelayShowDataSequence)__receiver)
126 }
127 }
128 #[doc = "`Show()` overload"]
129 fn show(self) -> () {
130 unsafe {
131 let __receiver = <RelayShowDataSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
132 ::unity::il2cpp_call!((::unity::module_base()+0x200ab10usize)as*mut u8,();
133(RelayShowDataSequence)__receiver)
134 }
135 }
136 #[doc = "`IsSetPublishMode()` overload"]
137 fn is_set_publish_mode(self) -> bool {
138 unsafe {
139 let __receiver = <RelayShowDataSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x200abc0usize)as*mut u8,bool;
141(RelayShowDataSequence)__receiver)
142 }
143 }
144 #[doc = "`SetPublishMode()` overload"]
145 fn set_publish_mode(self) -> () {
146 unsafe {
147 let __receiver = <RelayShowDataSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x200ac00usize)as*mut u8,();
149(RelayShowDataSequence)__receiver)
150 }
151 }
152}
153
154#[cfg(feature = "app-relayshowdatasequence")]
155impl<__T: IRelayShowDataSequence> IRelayShowDataSequenceMethods for __T {}
156
157#[cfg(feature = "app-relayshowdatasequence")]
158impl RelayShowDataSequence {
159 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
161 }
162
163 pub fn is_skip_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
165 }
166
167 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
169 }
170
171 pub fn is_set_publish_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
173 }
174
175 pub fn set_publish_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
177 }
178
179 pub fn create_bind_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
181 }
182
183 pub fn create_bind_upload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
185 }
186
187 pub fn create_bind_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
189 }
190}
191
192#[cfg(feature = "app-relayshowdatasequence")]
193impl RelayShowDataSequence {
194 #[doc = "`.ctor(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode, crate::app::relayservermetadata::RelayServerMetaData, bool)` — overload selector"]
195 pub fn new(
196 mode: crate::app::relayshowdatadialog::RelayShowDataDialog_Mode,
197 meta_data: crate::app::relayservermetadata::RelayServerMetaData,
198 is_new_play: bool,
199 ) -> Self {
200 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
201 panic!(
202 "{}
203::{}
204 failed to instantiate",
205 ::core::stringify!(RelayShowDataSequence),
206 ::core::stringify!(new),
207 )
208 });
209 <Self as IRelayShowDataSequenceMethods>::ctor(this, mode, meta_data, is_new_play);
210 this
211 }
212}
213
214#[cfg(feature = "app-relayshowdatasequence")]
215#[doc(hidden)]
216pub mod prelude {
217 pub use super::{IRelayShowDataSequence, IRelayShowDataSequenceMethods, RelayShowDataSequence, RelayShowDataSequence_Label};
218 #[cfg(feature = "app-procinst")]
219 pub use crate::app::procinst::IProcInstMethods;
220 #[cfg(feature = "system-object")]
221 pub use crate::system::object::IObjectMethods;
222 #[cfg(feature = "system-enum")]
223 pub use crate::system::r#enum::IEnumMethods;
224 #[cfg(feature = "system-valuetype")]
225 pub use crate::system::valuetype::IValueTypeMethods;
226 pub use crate::{
227 app::procinst::IProcInst,
228 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
229 };
230}