engage/generated/app/
relayshowdatadialogcontent.rs1#[cfg(feature = "app-relayshowdatadialogcontent-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::gamemessagecontent::{GameMessageContent, IGameMessageContent},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayshowdatadialogcontent/RelayShowDataDialogContent.md"))]
20 #[::unity::class(namespace = "App", name = "RelayShowDataDialogContent")]
21 #[parent(crate::app::gamemessagecontent::GameMessageContent)]
22 pub struct RelayShowDataDialogContent {
23 #[static_field]
24 #[rename(name = "PrefabPath")]
25 pub prefab_path: ::unity::Il2CppString,
26 #[offset(72)]
27 #[rename(name = "m_MapHelp")]
28 pub m_map_help: crate::app::relaywdwmaphelp::RelayWdwMapHelp,
29 #[offset(80)]
30 #[rename(name = "m_PlayerList")]
31 pub m_player_list: crate::app::relaywdwplayerlist::RelayWdwPlayerList,
32 #[offset(88)]
33 #[rename(name = "m_Play")]
34 pub m_play: crate::unity_engine::gameobject::GameObject,
35 #[offset(96)]
36 #[rename(name = "m_StampRoot")]
37 pub m_stamp_root: crate::unity_engine::gameobject::GameObject,
38 #[offset(104)]
39 #[rename(name = "m_PlayStamp")]
40 pub m_play_stamp: crate::app::relaymessagemenuitemcontent::RelayMessageMenuItemContent,
41 #[offset(112)]
42 #[rename(name = "m_PlayEnd")]
43 pub m_play_end: crate::unity_engine::gameobject::GameObject,
44 #[offset(120)]
45 #[rename(name = "m_PlayEndWin")]
46 pub m_play_end_win: crate::unity_engine::gameobject::GameObject,
47 #[offset(128)]
48 #[rename(name = "m_PlayEndLose")]
49 pub m_play_end_lose: crate::unity_engine::gameobject::GameObject,
50 #[offset(136)]
51 #[rename(name = "m_TakeOverTitle")]
52 pub m_take_over_title: crate::unity_engine::gameobject::GameObject,
53 }
54}
55
56#[cfg(feature = "app-relayshowdatadialogcontent-types")]
57pub use __types::*;
58
59#[cfg(feature = "app-relayshowdatadialogcontent")]
60impl RelayShowDataDialogContent {
61 #[doc = "`LoadPrefabAsync()` overload"]
62 pub fn load_prefab_async() -> () {
63 unsafe {
64 ::unity::il2cpp_call!((::unity::module_base()+0x200a260usize)as*mut u8,();
65 )
66 }
67 }
68
69 #[doc = "`IsLoadingPrefab()` overload"]
70 pub fn is_loading_prefab() -> bool {
71 unsafe {
72 ::unity::il2cpp_call!((::unity::module_base()+0x200a300usize)as*mut u8,bool;
73 )
74 }
75 }
76
77 #[doc = "`UnloadPrefab()` overload"]
78 pub fn unload_prefab() -> () {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x200a380usize)as*mut u8,();
81 )
82 }
83 }
84
85 #[doc = "`Create(crate::app::relayservermetadata::RelayServerMetaData, crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)` overload"]
86 pub fn create(
87 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
88 mode: impl ::core::convert::Into<crate::app::relayshowdatadialog::RelayShowDataDialog_Mode>,
89 ) -> crate::app::relayshowdatadialogcontent::RelayShowDataDialogContent {
90 unsafe {
91 ::unity::il2cpp_call!((::unity::module_base()+0x200a110usize)as*mut u8,crate::app::relayshowdatadialogcontent::RelayShowDataDialogContent;
92(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)::core::convert::Into::into(mode))
93 }
94 }
95}
96
97#[cfg(feature = "app-relayshowdatadialogcontent")]
98pub trait IRelayShowDataDialogContentMethods: IRelayShowDataDialogContent {
99 #[doc = "`Setup(crate::app::relayservermetadata::RelayServerMetaData, crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)` overload"]
100 fn setup(
101 self,
102 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
103 mode: impl ::core::convert::Into<crate::app::relayshowdatadialog::RelayShowDataDialog_Mode>,
104 ) -> () {
105 unsafe {
106 let __receiver =
107 <RelayShowDataDialogContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 ::unity::il2cpp_call!((::unity::module_base()+0x200a400usize)as*mut u8,();
109(RelayShowDataDialogContent)__receiver,(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(crate::app::relayshowdatadialog::RelayShowDataDialog_Mode)::core::convert::Into::into(mode))
110 }
111 }
112 #[doc = "`.ctor()` overload"]
113 fn ctor(self) -> () {
114 unsafe {
115 let __receiver =
116 <RelayShowDataDialogContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 ::unity::il2cpp_call!((::unity::module_base()+0x200aa10usize)as*mut u8,();
118(RelayShowDataDialogContent)__receiver)
119 }
120 }
121}
122
123#[cfg(feature = "app-relayshowdatadialogcontent")]
124impl<__T: IRelayShowDataDialogContent> IRelayShowDataDialogContentMethods for __T {}
125
126#[cfg(feature = "app-relayshowdatadialogcontent")]
127impl RelayShowDataDialogContent {
128 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
130 }
131
132 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
134 }
135
136 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
138 }
139
140 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
142 }
143
144 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
146 }
147
148 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
150 }
151}
152
153#[cfg(feature = "app-relayshowdatadialogcontent")]
154impl RelayShowDataDialogContent {
155 #[doc = "`.ctor()` — no args"]
156 pub fn new() -> Self {
157 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
158 panic!(
159 "{}
160::{}
161 failed to instantiate",
162 ::core::stringify!(RelayShowDataDialogContent),
163 ::core::stringify!(new),
164 )
165 });
166 <Self as IRelayShowDataDialogContentMethods>::ctor(this);
167 this
168 }
169}
170
171#[cfg(feature = "app-relayshowdatadialogcontent")]
172#[doc(hidden)]
173pub mod prelude {
174 pub use super::{IRelayShowDataDialogContent, IRelayShowDataDialogContentMethods, RelayShowDataDialogContent};
175 #[cfg(feature = "app-gamemessagecontent")]
176 pub use crate::app::gamemessagecontent::IGameMessageContentMethods;
177 #[cfg(feature = "system-object")]
178 pub use crate::system::object::IObjectMethods;
179 #[cfg(feature = "unity_engine-behaviour")]
180 pub use crate::unity_engine::behaviour::IBehaviourMethods;
181 #[cfg(feature = "unity_engine-component")]
182 pub use crate::unity_engine::component::IComponentMethods;
183 #[cfg(feature = "unity_engine-monobehaviour")]
184 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
185 #[cfg(feature = "unity_engine-object_2")]
186 pub use crate::unity_engine::object_2::IObject_2Methods;
187 pub use crate::{
188 app::gamemessagecontent::IGameMessageContent,
189 system::object::IObject,
190 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
191 };
192}