1#[cfg(feature = "app-relay-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 bitfield32::{BitField32, IBitField32},
11 bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12 bitfieldtemplate32_1::{BitFieldTemplate32_1, IBitFieldTemplate32_1},
13 procinst::{IProcInst, ProcInst},
14 singletonclass_1::{ISingletonClass_1, SingletonClass_1},
15 },
16 system::{
17 object::{IObject, Object},
18 r#enum::{Enum, IEnum},
19 valuetype::{IValueType, ValueType},
20 },
21 };
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_DisposPlayerCountsSequence_Label.md"))]
24 #[repr(C)]
25 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
26 pub struct Relay_DisposPlayerCountsSequence_Label {
27 pub value: i32,
28 }
29 impl ::unity::ClassIdentity for Relay_DisposPlayerCountsSequence_Label {
30 const NAME: &'static str = "Relay.DisposPlayerCountsSequence.Label";
31 const NAMESPACE: &'static str = "App";
32
33 fn class() -> ::unity::Class {
34 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
35 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
36 }
37 }
38 impl ::unity::IlType for Relay_DisposPlayerCountsSequence_Label {
39 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
40 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
41 }
42 }
43 impl Relay_DisposPlayerCountsSequence_Label {
44 pub fn loading() -> Self {
45 Self { value: 0 }
46 }
47
48 pub fn end() -> Self {
49 Self { value: 1 }
50 }
51 }
52
53 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_Modes.md"))]
54 #[repr(C)]
55 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
56 pub struct Relay_Modes {
57 pub value: i32,
58 }
59 impl ::unity::ClassIdentity for Relay_Modes {
60 const NAME: &'static str = "Relay.Modes";
61 const NAMESPACE: &'static str = "App";
62
63 fn class() -> ::unity::Class {
64 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
65 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
66 }
67 }
68 impl ::unity::IlType for Relay_Modes {
69 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
70 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
71 }
72 }
73 impl Relay_Modes {
74 pub fn new() -> Self {
75 Self { value: 0 }
76 }
77
78 pub fn take_over() -> Self {
79 Self { value: 1 }
80 }
81
82 pub fn replay() -> Self {
83 Self { value: 2 }
84 }
85 }
86
87 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay.md"))]
88 #[::unity::class(namespace = "App", name = "Relay")]
89 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::relay::Relay>)]
90 pub struct Relay {
91 #[offset(32)]
92 #[rename(name = "m_MetaData")]
93 pub m_meta_data: crate::app::relayservermetadata::RelayServerMetaData,
94 #[offset(40)]
95 #[rename(name = "m_Data")]
96 pub m_data: crate::app::relayserverdata::RelayServerData,
97 #[offset(48)]
98 #[rename(name = "m_SelectedMetaData")]
99 pub m_selected_meta_data: crate::app::relayservermetadata::RelayServerMetaData,
100 #[offset(56)]
101 #[rename(name = "m_BackupDataForReplay")]
102 pub m_backup_data_for_replay: crate::app::relaybackupdata::RelayBackupData,
103 #[offset(64)]
104 #[rename(name = "m_BackupDataForAll")]
105 pub m_backup_data_for_all: crate::app::relaybackupdata::RelayBackupData,
106 #[offset(72)]
107 #[rename(name = "m_CopiedUserData")]
108 pub m_copied_user_data: crate::app::relayuserdata::RelayUserData,
109 #[offset(80)]
110 #[rename(name = "m_Mode")]
111 pub m_mode: crate::app::relay::Relay_Modes,
112 #[offset(88)]
113 #[rename(name = "m_Flag")]
114 pub m_flag: crate::app::relay::Relay_FlagsField,
115 #[offset(96)]
116 #[rename(name = "m_DisposPlayerCounts")]
117 pub m_dispos_player_counts: crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, i32>,
118 #[offset(104)]
119 #[rename(name = "m_Sortie")]
120 pub m_sortie: crate::app::relaysortie::RelaySortie,
121 #[offset(112)]
122 #[rename(name = "m_AppearanceUnits")]
123 pub m_appearance_units: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>,
124 #[offset(120)]
125 #[rename(name = "m_LeavingUnits")]
126 pub m_leaving_units: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>,
127 #[offset(128)]
128 #[rename(name = "m_MaxTurn")]
129 pub m_max_turn: i32,
130 #[offset(132)]
131 #[rename(name = "m_LimitTurn")]
132 pub m_limit_turn: i32,
133 #[offset(136)]
134 #[rename(name = "m_CurrentPlayerIndex")]
135 pub m_current_player_index: i32,
136 #[offset(144)]
137 #[rename(name = "m_CurrentBattle")]
138 pub m_current_battle: crate::app::relayuserdata::RelayUserData_EnteredBattle,
139 #[offset(152)]
140 #[rename(name = "m_ReplayPlayerIndex")]
141 pub m_replay_player_index: i32,
142 #[offset(160)]
143 #[rename(name = "m_PlayingTermHolder")]
144 pub m_playing_term_holder: crate::app::gameparam::GameParam_Holder,
145 #[offset(168)]
146 #[rename(name = "m_PoolUnits")]
147 pub m_pool_units: crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>,
148 #[offset(176)]
149 #[rename(name = "m_PoolGods")]
150 pub m_pool_gods: crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>,
151 }
152
153 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_TrfrResult.md"))]
154 #[repr(C)]
155 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
156 pub struct Relay_TrfrResult {
157 pub value: i32,
158 }
159 impl ::unity::ClassIdentity for Relay_TrfrResult {
160 const NAME: &'static str = "Relay.TrfrResult";
161 const NAMESPACE: &'static str = "App";
162
163 fn class() -> ::unity::Class {
164 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
165 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
166 }
167 }
168 impl ::unity::IlType for Relay_TrfrResult {
169 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
170 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
171 }
172 }
173 impl Relay_TrfrResult {
174 pub fn no_changed() -> Self {
175 Self { value: 0 }
176 }
177
178 pub fn done() -> Self {
179 Self { value: 1 }
180 }
181
182 pub fn failed() -> Self {
183 Self { value: 2 }
184 }
185 }
186
187 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_FlagsField.md"))]
188 #[::unity::class(namespace = "App", name = "Relay.FlagsField")]
189 #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::relay::Relay_Flags>)]
190 pub struct Relay_FlagsField {}
191
192 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_DisposPlayerCountsSequence.md"))]
193 #[::unity::class(namespace = "App", name = "Relay.DisposPlayerCountsSequence")]
194 #[parent(crate::app::procinst::ProcInst)]
195 pub struct Relay_DisposPlayerCountsSequence {
196 #[offset(112)]
197 #[rename(name = "m_Index")]
198 pub m_index: i32,
199 #[offset(120)]
200 #[rename(name = "m_Cid")]
201 pub m_cid: ::unity::Il2CppString,
202 }
203
204 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_TakeOverModes.md"))]
205 #[repr(C)]
206 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
207 pub struct Relay_TakeOverModes {
208 pub value: i32,
209 }
210 impl ::unity::ClassIdentity for Relay_TakeOverModes {
211 const NAME: &'static str = "Relay.TakeOverModes";
212 const NAMESPACE: &'static str = "App";
213
214 fn class() -> ::unity::Class {
215 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
216 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
217 }
218 }
219 impl ::unity::IlType for Relay_TakeOverModes {
220 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
221 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
222 }
223 }
224 impl Relay_TakeOverModes {
225 pub fn random() -> Self {
226 Self { value: 0 }
227 }
228
229 pub fn data_code() -> Self {
230 Self { value: 1 }
231 }
232 }
233
234 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_Flags.md"))]
235 #[repr(C)]
236 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
237 pub struct Relay_Flags {
238 pub value: i32,
239 }
240 impl ::unity::ClassIdentity for Relay_Flags {
241 const NAME: &'static str = "Relay.Flags";
242 const NAMESPACE: &'static str = "App";
243
244 fn class() -> ::unity::Class {
245 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
246 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
247 }
248 }
249 impl ::unity::IlType for Relay_Flags {
250 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
251 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
252 }
253 }
254 impl Relay_Flags {
255 pub fn need_to_upload() -> Self {
256 Self { value: 1 }
257 }
258
259 pub fn uploaded() -> Self {
260 Self { value: 2 }
261 }
262
263 pub fn global_saved() -> Self {
264 Self { value: 4 }
265 }
266
267 pub fn show_win_rule() -> Self {
268 Self { value: 8 }
269 }
270 }
271
272 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_CstoResult.md"))]
273 #[repr(C)]
274 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
275 pub struct Relay_CstoResult {
276 pub value: i32,
277 }
278 impl ::unity::ClassIdentity for Relay_CstoResult {
279 const NAME: &'static str = "Relay.CstoResult";
280 const NAMESPACE: &'static str = "App";
281
282 fn class() -> ::unity::Class {
283 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
284 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
285 }
286 }
287 impl ::unity::IlType for Relay_CstoResult {
288 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
289 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
290 }
291 }
292 impl Relay_CstoResult {
293 pub fn ok() -> Self {
294 Self { value: 0 }
295 }
296
297 pub fn ng_end() -> Self {
298 Self { value: 1 }
299 }
300
301 pub fn ng_other_playing() -> Self {
302 Self { value: 2 }
303 }
304
305 pub fn ng_already_played() -> Self {
306 Self { value: 3 }
307 }
308
309 pub fn ng_lack_of_unit() -> Self {
310 Self { value: 4 }
311 }
312
313 pub fn ng_unknown() -> Self {
314 Self { value: 5 }
315 }
316 }
317
318 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relay/Relay_ChooseAwardeeData.md"))]
319 #[repr(C)]
320 #[derive(::core::clone::Clone, ::core::marker::Copy)]
321 pub struct Relay_ChooseAwardeeData {
322 pub unit: crate::app::unit::Unit,
323 pub leaving_unit_data: crate::app::relayleavingunitdata::RelayLeavingUnitData,
324 pub count: i32,
325 }
326 impl ::unity::ClassIdentity for Relay_ChooseAwardeeData {
327 const NAME: &'static str = "Relay.ChooseAwardeeData";
328 const NAMESPACE: &'static str = "App";
329
330 fn class() -> ::unity::Class {
331 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
332 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
333 }
334 }
335 impl ::unity::IlType for Relay_ChooseAwardeeData {
336 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
337 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
338 }
339 }
340}
341
342#[cfg(feature = "app-relay-types")]
343pub use __types::*;
344
345#[cfg(feature = "app-relay")]
346impl Relay {
347 #[doc = "`IsValid()` overload"]
348 pub fn is_valid() -> bool {
349 unsafe {
350 ::unity::il2cpp_call!((::unity::module_base()+0x22c8830usize)as*mut u8,bool;
351 )
352 }
353 }
354
355 #[doc = "`IsMyUnit(crate::app::unit::Unit)` overload"]
356 pub fn is_my_unit(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
357 unsafe {
358 ::unity::il2cpp_call!((::unity::module_base()+0x22cc2d0usize)as*mut u8,bool;
359(crate::app::unit::Unit)::core::convert::Into::into(unit))
360 }
361 }
362
363 #[doc = "`IsOthersUnit(crate::app::unit::Unit)` overload"]
364 pub fn is_others_unit(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
365 unsafe {
366 ::unity::il2cpp_call!((::unity::module_base()+0x22cc340usize)as*mut u8,bool;
367(crate::app::unit::Unit)::core::convert::Into::into(unit))
368 }
369 }
370
371 #[doc = "`IsNoCountUnit(crate::app::unit::Unit)` overload"]
372 pub fn is_no_count_unit(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
373 unsafe {
374 ::unity::il2cpp_call!((::unity::module_base()+0x22cc3b0usize)as*mut u8,bool;
375(crate::app::unit::Unit)::core::convert::Into::into(unit))
376 }
377 }
378
379 #[doc = "`GetNickname()` overload"]
380 pub fn get_nickname() -> ::unity::Il2CppString {
381 unsafe {
382 ::unity::il2cpp_call!((::unity::module_base()+0x22cbdd0usize)as*mut u8, ::unity::Il2CppString;
383 )
384 }
385 }
386
387 #[doc = "`ConvertToKinds(crate::app::persondata::PersonData_Country)` overload"]
388 pub fn convert_to_kinds(
389 country: impl ::core::convert::Into<crate::app::persondata::PersonData_Country>,
390 ) -> crate::app::relaystampdata::RelayStampData_Kinds {
391 unsafe {
392 ::unity::il2cpp_call!((::unity::module_base()+0x22cc5a0usize)as*mut u8,crate::app::relaystampdata::RelayStampData_Kinds;
393(crate::app::persondata::PersonData_Country)::core::convert::Into::into(country))
394 }
395 }
396
397 #[doc = "`GetMaxTurnFromRelayData(::unity::Il2CppString)` overload"]
398 pub fn get_max_turn_from_relay_data(cid: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
399 unsafe {
400 ::unity::il2cpp_call!((::unity::module_base()+0x22c9370usize)as*mut u8,i32;
401(::unity::Il2CppString)::core::convert::Into::into(cid))
402 }
403 }
404
405 #[doc = "`GetPlayTurnFromRelayData(::unity::Il2CppString, bool)` overload"]
406 pub fn get_play_turn_from_relay_data(cid: impl ::core::convert::Into<::unity::Il2CppString>, is_new: impl ::core::convert::Into<bool>) -> i32 {
407 unsafe {
408 ::unity::il2cpp_call!((::unity::module_base()+0x22c9420usize)as*mut u8,i32;
409(::unity::Il2CppString)::core::convert::Into::into(cid),(bool)::core::convert::Into::into(is_new))
410 }
411 }
412}
413
414#[cfg(feature = "app-relay")]
415pub trait IRelayMethods: IRelay {
416 #[doc = "`OnCreate()` overload"]
417 fn on_create(self) -> () {
418 unsafe {
419 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 {
421 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
422 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
423 panic!(
424 "unity: virtual slot {}
425 out of range (vtable len {}
426) on the runtime class behind {}
427 (method `{}
428`)",
429 5usize,
430 __vt.len(),
431 <Relay as ::unity::ClassIdentity>::NAME,
432 "OnCreate",
433 )
434 });
435 let __inner: extern "C" fn(Relay, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
436 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
437 __inner(__receiver, __mi)
438 }
439 }
440 }
441 #[doc = "`DisposPlayerCounts(crate::app::procinst::ProcInst)` overload"]
442 fn dispos_player_counts(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
443 unsafe {
444 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 ::unity::il2cpp_call!((::unity::module_base()+0x22c8d70usize)as*mut u8,();
446(Relay)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
447 }
448 }
449 #[doc = "`CanSelectNew(::unity::Il2CppString)` overload"]
450 fn can_select_new(self, cid: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
451 unsafe {
452 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
453 ::unity::il2cpp_call!((::unity::module_base()+0x22c8df0usize)as*mut u8,bool;
454(Relay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(cid))
455 }
456 }
457 #[doc = "`CanSelectTakeOver(crate::app::relayservermetadata::RelayServerMetaData, u64, i64, *mutcrate::app::relay::Relay_CstoResult)` overload"]
458 fn can_select_take_over(
459 self,
460 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
461 principal_id: impl ::core::convert::Into<u64>,
462 current_unix_time: impl ::core::convert::Into<i64>,
463 ) -> (bool, crate::app::relay::Relay_CstoResult) {
464 unsafe {
465 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::relay::Relay_CstoResult>::uninit();
467 let __ret = {
468 ::unity::il2cpp_call!((::unity::module_base()+0x22c8ea0usize)as*mut u8,bool;
469(Relay)__receiver,(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(u64)::core::convert::Into::into(principal_id),(i64)::core::convert::Into::into(current_unix_time),(*mut crate::app::relay::Relay_CstoResult)__out_0.as_mut_ptr())
470 };
471 (__ret, __out_0.assume_init())
472 }
473 }
474 #[doc = "`InitializeForNew(::unity::Il2CppString)` overload"]
475 fn initialize_for_new(self, cid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
476 unsafe {
477 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x22c90b0usize)as*mut u8,();
479(Relay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(cid))
480 }
481 }
482 #[doc = "`InitializeForTakeOver(crate::app::relayservermetadata::RelayServerMetaData)` overload"]
483 fn initialize_for_take_over(self, meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>) -> () {
484 unsafe {
485 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x22c9920usize)as*mut u8,();
487(Relay)__receiver,(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data))
488 }
489 }
490 #[doc = "`InitializeForReplay(crate::app::relayservermetadata::RelayServerMetaData, bool)` overload"]
491 fn initialize_for_replay(
492 self,
493 meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
494 reinit_meta: impl ::core::convert::Into<bool>,
495 ) -> () {
496 unsafe {
497 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
498 ::unity::il2cpp_call!((::unity::module_base()+0x22c9b20usize)as*mut u8,();
499(Relay)__receiver,(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(meta_data),(bool)::core::convert::Into::into(reinit_meta))
500 }
501 }
502 #[doc = "`TryReinitializeForReplay(crate::app::relayservermetadata::RelayServerMetaData)` overload"]
503 fn try_reinitialize_for_replay(
504 self,
505 new_meta_data: impl ::core::convert::Into<crate::app::relayservermetadata::RelayServerMetaData>,
506 ) -> crate::app::relay::Relay_TrfrResult {
507 unsafe {
508 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
509 ::unity::il2cpp_call!((::unity::module_base()+0x22c9d10usize)as*mut u8,crate::app::relay::Relay_TrfrResult;
510(Relay)__receiver,(crate::app::relayservermetadata::RelayServerMetaData)::core::convert::Into::into(new_meta_data))
511 }
512 }
513 #[doc = "`SetPlayingDone()` overload"]
514 fn set_playing_done(self) -> () {
515 unsafe {
516 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
517 ::unity::il2cpp_call!((::unity::module_base()+0x22c9d90usize)as*mut u8,();
518(Relay)__receiver)
519 }
520 }
521 #[doc = "`DeleteGodLink()` overload"]
522 fn delete_god_link(self) -> () {
523 unsafe {
524 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525 ::unity::il2cpp_call!((::unity::module_base()+0x22c9df0usize)as*mut u8,();
526(Relay)__receiver)
527 }
528 }
529 #[doc = "`InitializeForSortie()` overload"]
530 fn initialize_for_sortie(self) -> () {
531 unsafe {
532 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533 ::unity::il2cpp_call!((::unity::module_base()+0x22ca0d0usize)as*mut u8,();
534(Relay)__receiver)
535 }
536 }
537 #[doc = "`SetupForSortie()` overload"]
538 fn setup_for_sortie(self) -> () {
539 unsafe {
540 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 ::unity::il2cpp_call!((::unity::module_base()+0x22ca150usize)as*mut u8,();
542(Relay)__receiver)
543 }
544 }
545 #[doc = "`GetSortieCount(*muti32, *muti32)` overload"]
546 fn get_sortie_count(self) -> (i32, i32) {
547 unsafe {
548 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
549 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
550 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
551 ::unity::il2cpp_call!((::unity::module_base()+0x22ca160usize)as*mut u8,();
552(Relay)__receiver,(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr());
553 (__out_0.assume_init(), __out_1.assume_init())
554 }
555 }
556 #[doc = "`GetSortieCount(crate::app::relay::Relay_Modes, ::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, *muti32, *muti32, *muti32, *muti32)` overload"]
557 fn get_sortie_count_2(
558 self,
559 mode: impl ::core::convert::Into<crate::app::relay::Relay_Modes>,
560 cid: impl ::core::convert::Into<::unity::Il2CppString>,
561 pids: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>>,
562 ) -> (i32, i32, i32, i32) {
563 unsafe {
564 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
565 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
566 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
567 let mut __out_2 = ::core::mem::MaybeUninit::<i32>::uninit();
568 let mut __out_3 = ::core::mem::MaybeUninit::<i32>::uninit();
569 ::unity::il2cpp_call!((::unity::module_base()+0x22c8fd0usize)as*mut u8,();
570(Relay)__receiver,(crate::app::relay::Relay_Modes)::core::convert::Into::into(mode),(::unity::Il2CppString)::core::convert::Into::into(cid),(crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString>)::core::convert::Into::into(pids),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr(),(*mut i32)__out_2.as_mut_ptr(),(*mut i32)__out_3.as_mut_ptr());
571 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init(), __out_3.assume_init())
572 }
573 }
574 #[doc = "`GetSortieCountFromData(crate::app::relay::Relay_Modes, ::unity::Il2CppString, *muti32, *muti32)` overload"]
575 fn get_sortie_count_from_data(
576 self,
577 mode: impl ::core::convert::Into<crate::app::relay::Relay_Modes>,
578 cid: impl ::core::convert::Into<::unity::Il2CppString>,
579 ) -> (i32, i32) {
580 unsafe {
581 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
583 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
584 ::unity::il2cpp_call!((::unity::module_base()+0x22ca1b0usize)as*mut u8,();
585(Relay)__receiver,(crate::app::relay::Relay_Modes)::core::convert::Into::into(mode),(::unity::Il2CppString)::core::convert::Into::into(cid),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr());
586 (__out_0.assume_init(), __out_1.assume_init())
587 }
588 }
589 #[doc = "`GetPlayerUnitCount(crate::app::relay::Relay_Modes, crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, *muti32, *muti32)` overload"]
590 fn get_player_unit_count(
591 self,
592 mode: impl ::core::convert::Into<crate::app::relay::Relay_Modes>,
593 pids: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>>,
594 ) -> (i32, i32) {
595 unsafe {
596 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
597 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
598 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
599 ::unity::il2cpp_call!((::unity::module_base()+0x22ca2e0usize)as*mut u8,();
600(Relay)__receiver,(crate::app::relay::Relay_Modes)::core::convert::Into::into(mode),(crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString>)::core::convert::Into::into(pids),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr());
601 (__out_0.assume_init(), __out_1.assume_init())
602 }
603 }
604 #[doc = "`DecideToBattle()` overload"]
605 fn decide_to_battle(self) -> () {
606 unsafe {
607 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 ::unity::il2cpp_call!((::unity::module_base()+0x22ca3f0usize)as*mut u8,();
609(Relay)__receiver)
610 }
611 }
612 #[doc = "`MapBegin()` overload"]
613 fn map_begin(self) -> () {
614 unsafe {
615 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
616 ::unity::il2cpp_call!((::unity::module_base()+0x22cae90usize)as*mut u8,();
617(Relay)__receiver)
618 }
619 }
620 #[doc = "`MapEnd()` overload"]
621 fn map_end(self) -> () {
622 unsafe {
623 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
624 ::unity::il2cpp_call!((::unity::module_base()+0x22cafe0usize)as*mut u8,();
625(Relay)__receiver)
626 }
627 }
628 #[doc = "`Complete()` overload"]
629 fn complete(self) -> () {
630 unsafe {
631 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
632 ::unity::il2cpp_call!((::unity::module_base()+0x22cb320usize)as*mut u8,();
633(Relay)__receiver)
634 }
635 }
636 #[doc = "`GameOver()` overload"]
637 fn game_over(self) -> () {
638 unsafe {
639 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
640 ::unity::il2cpp_call!((::unity::module_base()+0x22cbc70usize)as*mut u8,();
641(Relay)__receiver)
642 }
643 }
644 #[doc = "`AddEnteredBattle(crate::app::relayuserdata::RelayUserData_EnteredBattle)` overload"]
645 fn add_entered_battle(self, new_battle: impl ::core::convert::Into<crate::app::relayuserdata::RelayUserData_EnteredBattle>) -> () {
646 unsafe {
647 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
648 ::unity::il2cpp_call!((::unity::module_base()+0x22cbcc0usize)as*mut u8,();
649(Relay)__receiver,(crate::app::relayuserdata::RelayUserData_EnteredBattle)::core::convert::Into::into(new_battle))
650 }
651 }
652 #[doc = "`GetEnteredBattle(u64)` overload"]
653 fn get_entered_battle(self, data_id: impl ::core::convert::Into<u64>) -> crate::app::relayuserdata::RelayUserData_EnteredBattle {
654 unsafe {
655 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
656 ::unity::il2cpp_call!((::unity::module_base()+0x22cbcd0usize)as*mut u8,crate::app::relayuserdata::RelayUserData_EnteredBattle;
657(Relay)__receiver,(u64)::core::convert::Into::into(data_id))
658 }
659 }
660 #[doc = "`ClearCurrentBattle()` overload"]
661 fn clear_current_battle(self) -> () {
662 unsafe {
663 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
664 ::unity::il2cpp_call!((::unity::module_base()+0x22cbce0usize)as*mut u8,();
665(Relay)__receiver)
666 }
667 }
668 #[doc = "`GetPlayerName(i32)` overload"]
669 fn get_player_name(self, player_index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
670 unsafe {
671 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
672 ::unity::il2cpp_call!((::unity::module_base()+0x22cbcf0usize)as*mut u8, ::unity::Il2CppString;
673(Relay)__receiver,(i32)::core::convert::Into::into(player_index))
674 }
675 }
676 #[doc = "`GetLastPlayerName()` overload"]
677 fn get_last_player_name(self) -> ::unity::Il2CppString {
678 unsafe {
679 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
680 ::unity::il2cpp_call!((::unity::module_base()+0x22cbe50usize)as*mut u8, ::unity::Il2CppString;
681(Relay)__receiver)
682 }
683 }
684 #[doc = "`GetReplayPlayerName()` overload"]
685 fn get_replay_player_name(self) -> ::unity::Il2CppString {
686 unsafe {
687 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
688 ::unity::il2cpp_call!((::unity::module_base()+0x22cbea0usize)as*mut u8, ::unity::Il2CppString;
689(Relay)__receiver)
690 }
691 }
692 #[doc = "`NextReplayPlayer()` overload"]
693 fn next_replay_player(self) -> () {
694 unsafe {
695 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
696 ::unity::il2cpp_call!((::unity::module_base()+0x22cbeb0usize)as*mut u8,();
697(Relay)__receiver)
698 }
699 }
700 #[doc = "`SetReplayPlayerForSkip(i32)` overload"]
701 fn set_replay_player_for_skip(self, player_index: impl ::core::convert::Into<i32>) -> () {
702 unsafe {
703 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
704 ::unity::il2cpp_call!((::unity::module_base()+0x22cbf30usize)as*mut u8,();
705(Relay)__receiver,(i32)::core::convert::Into::into(player_index))
706 }
707 }
708 #[doc = "`DbgFakeAwardee()` overload"]
709 fn dbg_fake_awardee(self) -> () {
710 unsafe {
711 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
712 ::unity::il2cpp_call!((::unity::module_base()+0x22cbfb0usize)as*mut u8,();
713(Relay)__receiver)
714 }
715 }
716 #[doc = "`get_MetaData()` overload"]
717 fn get_meta_data(self) -> crate::app::relayservermetadata::RelayServerMetaData {
718 unsafe {
719 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
720 ::unity::il2cpp_call!((::unity::module_base()+0x22cc470usize)as*mut u8,crate::app::relayservermetadata::RelayServerMetaData;
721(Relay)__receiver)
722 }
723 }
724 #[doc = "`get_Data()` overload"]
725 fn get_data(self) -> crate::app::relayserverdata::RelayServerData {
726 unsafe {
727 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
728 ::unity::il2cpp_call!((::unity::module_base()+0x22cc480usize)as*mut u8,crate::app::relayserverdata::RelayServerData;
729(Relay)__receiver)
730 }
731 }
732 #[doc = "`get_SelectedMetaData()` overload"]
733 fn get_selected_meta_data(self) -> crate::app::relayservermetadata::RelayServerMetaData {
734 unsafe {
735 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
736 ::unity::il2cpp_call!((::unity::module_base()+0x22cc490usize)as*mut u8,crate::app::relayservermetadata::RelayServerMetaData;
737(Relay)__receiver)
738 }
739 }
740 #[doc = "`get_BackupDataForReplay()` overload"]
741 fn get_backup_data_for_replay(self) -> crate::app::relaybackupdata::RelayBackupData {
742 unsafe {
743 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
744 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4a0usize)as*mut u8,crate::app::relaybackupdata::RelayBackupData;
745(Relay)__receiver)
746 }
747 }
748 #[doc = "`get_BackupDataForAll()` overload"]
749 fn get_backup_data_for_all(self) -> crate::app::relaybackupdata::RelayBackupData {
750 unsafe {
751 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
752 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4b0usize)as*mut u8,crate::app::relaybackupdata::RelayBackupData;
753(Relay)__receiver)
754 }
755 }
756 #[doc = "`get_Flag()` overload"]
757 fn get_flag(self) -> crate::app::relay::Relay_FlagsField {
758 unsafe {
759 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
760 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4c0usize)as*mut u8,crate::app::relay::Relay_FlagsField;
761(Relay)__receiver)
762 }
763 }
764 #[doc = "`get_IsNew()` overload"]
765 fn get_is_new(self) -> bool {
766 unsafe {
767 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
768 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4d0usize)as*mut u8,bool;
769(Relay)__receiver)
770 }
771 }
772 #[doc = "`get_IsTakeOver()` overload"]
773 fn get_is_take_over(self) -> bool {
774 unsafe {
775 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
776 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4e0usize)as*mut u8,bool;
777(Relay)__receiver)
778 }
779 }
780 #[doc = "`get_IsReplay()` overload"]
781 fn get_is_replay(self) -> bool {
782 unsafe {
783 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
784 ::unity::il2cpp_call!((::unity::module_base()+0x22cc4f0usize)as*mut u8,bool;
785(Relay)__receiver)
786 }
787 }
788 #[doc = "`get_MaxTurn()` overload"]
789 fn get_max_turn(self) -> i32 {
790 unsafe {
791 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
792 ::unity::il2cpp_call!((::unity::module_base()+0x22cc500usize)as*mut u8,i32;
793(Relay)__receiver)
794 }
795 }
796 #[doc = "`get_LimitTurn()` overload"]
797 fn get_limit_turn(self) -> i32 {
798 unsafe {
799 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800 ::unity::il2cpp_call!((::unity::module_base()+0x22cc510usize)as*mut u8,i32;
801(Relay)__receiver)
802 }
803 }
804 #[doc = "`get_Sortie()` overload"]
805 fn get_sortie(self) -> crate::app::relaysortie::RelaySortie {
806 unsafe {
807 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
808 ::unity::il2cpp_call!((::unity::module_base()+0x22cc520usize)as*mut u8,crate::app::relaysortie::RelaySortie;
809(Relay)__receiver)
810 }
811 }
812 #[doc = "`get_AppearanceUnits()` overload"]
813 fn get_appearance_units(self) -> crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit> {
814 unsafe {
815 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
816 ::unity::il2cpp_call!((::unity::module_base()+0x22cc530usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit> ;
817(Relay)__receiver)
818 }
819 }
820 #[doc = "`get_LeavingUnits()` overload"]
821 fn get_leaving_units(self) -> crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit> {
822 unsafe {
823 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
824 ::unity::il2cpp_call!((::unity::module_base()+0x22cc540usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit> ;
825(Relay)__receiver)
826 }
827 }
828 #[doc = "`get_CurrentPlayerIndex()` overload"]
829 fn get_current_player_index(self) -> i32 {
830 unsafe {
831 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
832 ::unity::il2cpp_call!((::unity::module_base()+0x22cc550usize)as*mut u8,i32;
833(Relay)__receiver)
834 }
835 }
836 #[doc = "`set_CurrentPlayerIndex(i32)` overload"]
837 fn set_current_player_index(self, value: impl ::core::convert::Into<i32>) -> () {
838 unsafe {
839 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
840 ::unity::il2cpp_call!((::unity::module_base()+0x22cc560usize)as*mut u8,();
841(Relay)__receiver,(i32)::core::convert::Into::into(value))
842 }
843 }
844 #[doc = "`get_CurrentBattle()` overload"]
845 fn get_current_battle(self) -> crate::app::relayuserdata::RelayUserData_EnteredBattle {
846 unsafe {
847 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
848 ::unity::il2cpp_call!((::unity::module_base()+0x22cc570usize)as*mut u8,crate::app::relayuserdata::RelayUserData_EnteredBattle;
849(Relay)__receiver)
850 }
851 }
852 #[doc = "`get_PoolUnits()` overload"]
853 fn get_pool_units(self) -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
854 unsafe {
855 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
856 ::unity::il2cpp_call!((::unity::module_base()+0x22cc580usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
857(Relay)__receiver)
858 }
859 }
860 #[doc = "`get_PoolGods()` overload"]
861 fn get_pool_gods(self) -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
862 unsafe {
863 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
864 ::unity::il2cpp_call!((::unity::module_base()+0x22cc590usize)as*mut u8,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
865(Relay)__receiver)
866 }
867 }
868 #[doc = "`DeleteUnneededUnits()` overload"]
869 fn delete_unneeded_units(self) -> () {
870 unsafe {
871 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
872 ::unity::il2cpp_call!((::unity::module_base()+0x22ca7e0usize)as*mut u8,();
873(Relay)__receiver)
874 }
875 }
876 #[doc = "`DeleteUnneededGodUnitsAndBonds()` overload"]
877 fn delete_unneeded_god_units_and_bonds(self) -> () {
878 unsafe {
879 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
880 ::unity::il2cpp_call!((::unity::module_base()+0x22ca950usize)as*mut u8,();
881(Relay)__receiver)
882 }
883 }
884 #[doc = "`DeleteUnneededRings()` overload"]
885 fn delete_unneeded_rings(self) -> () {
886 unsafe {
887 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
888 ::unity::il2cpp_call!((::unity::module_base()+0x22cac70usize)as*mut u8,();
889(Relay)__receiver)
890 }
891 }
892 #[doc = "`ChooseAwardee()` overload"]
893 fn choose_awardee(self) -> () {
894 unsafe {
895 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
896 ::unity::il2cpp_call!((::unity::module_base()+0x22cb380usize)as*mut u8,();
897(Relay)__receiver)
898 }
899 }
900 #[doc = "`Clear()` overload"]
901 fn clear(self) -> () {
902 unsafe {
903 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
904 ::unity::il2cpp_call!((::unity::module_base()+0x22c9250usize)as*mut u8,();
905(Relay)__receiver)
906 }
907 }
908 #[doc = "`SaveTempPoolUnit()` overload"]
909 fn save_temp_pool_unit(self) -> () {
910 unsafe {
911 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
912 ::unity::il2cpp_call!((::unity::module_base()+0x22c94e0usize)as*mut u8,();
913(Relay)__receiver)
914 }
915 }
916 #[doc = "`DbgLogBegin()` overload"]
917 fn dbg_log_begin(self) -> () {
918 unsafe {
919 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
920 ::unity::il2cpp_call!((::unity::module_base()+0x22ccb50usize)as*mut u8,();
921(Relay)__receiver)
922 }
923 }
924 #[doc = "`DbgLogEnd()` overload"]
925 fn dbg_log_end(self) -> () {
926 unsafe {
927 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
928 ::unity::il2cpp_call!((::unity::module_base()+0x22ccb70usize)as*mut u8,();
929(Relay)__receiver)
930 }
931 }
932 #[doc = "`DbgLogAppendLine(::unity::Il2CppString)` overload"]
933 fn dbg_log_append_line(self, str: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
934 unsafe {
935 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936 ::unity::il2cpp_call!((::unity::module_base()+0x22ccb90usize)as*mut u8,();
937(Relay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str))
938 }
939 }
940 #[doc = "`DbgLogBeginImpl()` overload"]
941 fn dbg_log_begin_impl(self) -> () {
942 unsafe {
943 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
944 ::unity::il2cpp_call!((::unity::module_base()+0x22ccb60usize)as*mut u8,();
945(Relay)__receiver)
946 }
947 }
948 #[doc = "`DbgLogEndImpl()` overload"]
949 fn dbg_log_end_impl(self) -> () {
950 unsafe {
951 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
952 ::unity::il2cpp_call!((::unity::module_base()+0x22ccb80usize)as*mut u8,();
953(Relay)__receiver)
954 }
955 }
956 #[doc = "`DbgLogAppendLineImpl(::unity::Il2CppString)` overload"]
957 fn dbg_log_append_line_impl(self, str: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
958 unsafe {
959 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
960 ::unity::il2cpp_call!((::unity::module_base()+0x22ccba0usize)as*mut u8,();
961(Relay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str))
962 }
963 }
964 #[doc = "`.ctor()` overload"]
965 fn ctor(self) -> () {
966 unsafe {
967 let __receiver = <Relay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
968 ::unity::il2cpp_call!((::unity::module_base()+0x22ccbb0usize)as*mut u8,();
969(Relay)__receiver)
970 }
971 }
972}
973
974#[cfg(feature = "app-relay")]
975impl<__T: IRelay> IRelayMethods for __T {}
976
977#[cfg(feature = "app-relay")]
978impl Relay {
979 pub fn is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
980 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
981 }
982
983 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
984 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
985 }
986
987 pub fn dispos_player_counts_method_info() -> &'static ::unity::il2cpp::MethodInfo {
988 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
989 }
990
991 pub fn can_select_new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
992 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
993 }
994
995 pub fn can_select_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
996 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
997 }
998
999 pub fn initialize_for_new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1000 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1001 }
1002
1003 pub fn initialize_for_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1004 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1005 }
1006
1007 pub fn initialize_for_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1009 }
1010
1011 pub fn try_reinitialize_for_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1012 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1013 }
1014
1015 pub fn set_playing_done_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1016 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1017 }
1018
1019 pub fn delete_god_link_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1020 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1021 }
1022
1023 pub fn initialize_for_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1024 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1025 }
1026
1027 pub fn setup_for_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1028 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1029 }
1030
1031 pub fn get_sortie_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1032 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1033 }
1034
1035 pub fn get_sortie_count_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1036 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1037 }
1038
1039 pub fn get_sortie_count_from_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1040 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1041 }
1042
1043 pub fn get_player_unit_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1044 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1045 }
1046
1047 pub fn decide_to_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1048 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1049 }
1050
1051 pub fn map_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1053 }
1054
1055 pub fn map_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1056 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1057 }
1058
1059 pub fn complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1060 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1061 }
1062
1063 pub fn game_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1064 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1065 }
1066
1067 pub fn add_entered_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1068 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1069 }
1070
1071 pub fn get_entered_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1072 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1073 }
1074
1075 pub fn clear_current_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1076 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1077 }
1078
1079 pub fn get_player_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1080 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1081 }
1082
1083 pub fn get_last_player_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1084 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1085 }
1086
1087 pub fn get_replay_player_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1088 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1089 }
1090
1091 pub fn next_replay_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1092 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1093 }
1094
1095 pub fn set_replay_player_for_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1096 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1097 }
1098
1099 pub fn dbg_fake_awardee_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1101 }
1102
1103 pub fn is_my_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1105 }
1106
1107 pub fn is_others_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1109 }
1110
1111 pub fn is_no_count_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1113 }
1114
1115 pub fn get_nickname_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1117 }
1118
1119 pub fn get_meta_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1121 }
1122
1123 pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1125 }
1126
1127 pub fn get_selected_meta_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1129 }
1130
1131 pub fn get_backup_data_for_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1133 }
1134
1135 pub fn get_backup_data_for_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1137 }
1138
1139 pub fn get_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1141 }
1142
1143 pub fn get_is_new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1145 }
1146
1147 pub fn get_is_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1149 }
1150
1151 pub fn get_is_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1153 }
1154
1155 pub fn get_max_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1157 }
1158
1159 pub fn get_limit_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1161 }
1162
1163 pub fn get_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1165 }
1166
1167 pub fn get_appearance_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1169 }
1170
1171 pub fn get_leaving_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1173 }
1174
1175 pub fn get_current_player_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1177 }
1178
1179 pub fn set_current_player_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1181 }
1182
1183 pub fn get_current_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1185 }
1186
1187 pub fn get_pool_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1189 }
1190
1191 pub fn get_pool_gods_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1193 }
1194
1195 pub fn convert_to_kinds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1197 }
1198
1199 pub fn delete_unneeded_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1201 }
1202
1203 pub fn delete_unneeded_god_units_and_bonds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1205 }
1206
1207 pub fn delete_unneeded_rings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1209 }
1210
1211 pub fn choose_awardee_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1213 }
1214
1215 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1217 }
1218
1219 pub fn save_temp_pool_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1221 }
1222
1223 pub fn get_max_turn_from_relay_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1225 }
1226
1227 pub fn get_play_turn_from_relay_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1229 }
1230
1231 pub fn dbg_log_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1233 }
1234
1235 pub fn dbg_log_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1237 }
1238
1239 pub fn dbg_log_append_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1241 }
1242
1243 pub fn dbg_log_begin_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1245 }
1246
1247 pub fn dbg_log_end_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1249 }
1250
1251 pub fn dbg_log_append_line_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1252 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1253 }
1254
1255 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1257 }
1258}
1259
1260#[cfg(feature = "app-relay")]
1261impl Relay {
1262 #[doc = "Direct (non-virtual) call to `Relay`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1263 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1264 let __mi = Self::on_create_method_info();
1265 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1266 __inner(this.into(), ::core::option::Option::None)
1267 }
1268}
1269
1270#[cfg(feature = "app-relay")]
1271impl Relay {
1272 #[doc = "`.ctor()` — no args"]
1273 pub fn new() -> Self {
1274 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1275 panic!(
1276 "{}
1277::{}
1278 failed to instantiate",
1279 ::core::stringify!(Relay),
1280 ::core::stringify!(new),
1281 )
1282 });
1283 <Self as IRelayMethods>::ctor(this);
1284 this
1285 }
1286}
1287
1288#[cfg(feature = "app-relay")]
1289pub trait IRelay_FlagsFieldMethods: IRelay_FlagsField {
1290 #[doc = "`ToInt(crate::app::relay::Relay_Flags)` overload"]
1291 fn to_int(self, value: impl ::core::convert::Into<crate::app::relay::Relay_Flags>) -> i32 {
1292 unsafe {
1293 let __receiver = <Relay_FlagsField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1294 {
1295 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1296 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1297 panic!(
1298 "unity: virtual slot {}
1299 out of range (vtable len {}
1300) on the runtime class behind {}
1301 (method `{}
1302`)",
1303 5usize,
1304 __vt.len(),
1305 <Relay_FlagsField as ::unity::ClassIdentity>::NAME,
1306 "ToInt",
1307 )
1308 });
1309 let __inner: extern "C" fn(Relay_FlagsField, crate::app::relay::Relay_Flags, ::unity::OptionalMethod) -> i32 =
1310 ::core::mem::transmute(__vi.method_ptr);
1311 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1312 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1313 }
1314 }
1315 }
1316 #[doc = "`.ctor()` overload"]
1317 fn ctor(self) -> () {
1318 unsafe {
1319 let __receiver = <Relay_FlagsField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1320 ::unity::il2cpp_call!((::unity::module_base()+0x1b04950usize)as*mut u8,();
1321(Relay_FlagsField)__receiver)
1322 }
1323 }
1324}
1325
1326#[cfg(feature = "app-relay")]
1327impl<__T: IRelay_FlagsField> IRelay_FlagsFieldMethods for __T {}
1328
1329#[cfg(feature = "app-relay")]
1330impl Relay_FlagsField {
1331 pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1333 }
1334
1335 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1336 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1337 }
1338}
1339
1340#[cfg(feature = "app-relay")]
1341impl Relay_FlagsField {
1342 #[doc = "Direct (non-virtual) call to `Relay_FlagsField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1343 pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::relay::Relay_Flags) -> i32 {
1344 let __mi = Self::to_int_method_info();
1345 let __inner: extern "C" fn(::unity::IlInstance, crate::app::relay::Relay_Flags, ::unity::OptionalMethod) -> i32 =
1346 ::core::mem::transmute(__mi.method_ptr);
1347 __inner(this.into(), value, ::core::option::Option::None)
1348 }
1349}
1350
1351#[cfg(feature = "app-relay")]
1352impl Relay_FlagsField {
1353 #[doc = "`.ctor()` — no args"]
1354 pub fn new() -> Self {
1355 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1356 panic!(
1357 "{}
1358::{}
1359 failed to instantiate",
1360 ::core::stringify!(Relay_FlagsField),
1361 ::core::stringify!(new),
1362 )
1363 });
1364 <Self as IRelay_FlagsFieldMethods>::ctor(this);
1365 this
1366 }
1367}
1368
1369#[cfg(feature = "app-relay")]
1370impl Relay_DisposPlayerCountsSequence {
1371 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
1372 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
1373 unsafe {
1374 ::unity::il2cpp_call!((::unity::module_base()+0x1b04610usize)as*mut u8,();
1375(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
1376 }
1377 }
1378}
1379
1380#[cfg(feature = "app-relay")]
1381pub trait IRelay_DisposPlayerCountsSequenceMethods: IRelay_DisposPlayerCountsSequence {
1382 #[doc = "`LoadFirst()` overload"]
1383 fn load_first(self) -> () {
1384 unsafe {
1385 let __receiver =
1386 <Relay_DisposPlayerCountsSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1387 ::unity::il2cpp_call!((::unity::module_base()+0x1b04200usize)as*mut u8,();
1388(Relay_DisposPlayerCountsSequence)__receiver)
1389 }
1390 }
1391 #[doc = "`LoadDone()` overload"]
1392 fn load_done(self) -> () {
1393 unsafe {
1394 let __receiver =
1395 <Relay_DisposPlayerCountsSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1396 ::unity::il2cpp_call!((::unity::module_base()+0x1b04310usize)as*mut u8,();
1397(Relay_DisposPlayerCountsSequence)__receiver)
1398 }
1399 }
1400 #[doc = "`GetChapter()` overload"]
1401 fn get_chapter(self) -> crate::app::chapterdata::ChapterData {
1402 unsafe {
1403 let __receiver =
1404 <Relay_DisposPlayerCountsSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1405 ::unity::il2cpp_call!((::unity::module_base()+0x1b04500usize)as*mut u8,crate::app::chapterdata::ChapterData;
1406(Relay_DisposPlayerCountsSequence)__receiver)
1407 }
1408 }
1409 #[doc = "`Load()` overload"]
1410 fn load(self) -> bool {
1411 unsafe {
1412 let __receiver =
1413 <Relay_DisposPlayerCountsSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1414 ::unity::il2cpp_call!((::unity::module_base()+0x1b042c0usize)as*mut u8,bool;
1415(Relay_DisposPlayerCountsSequence)__receiver)
1416 }
1417 }
1418 #[doc = "`.ctor()` overload"]
1419 fn ctor(self) -> () {
1420 unsafe {
1421 let __receiver =
1422 <Relay_DisposPlayerCountsSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1423 ::unity::il2cpp_call!((::unity::module_base()+0x1b04930usize)as*mut u8,();
1424(Relay_DisposPlayerCountsSequence)__receiver)
1425 }
1426 }
1427}
1428
1429#[cfg(feature = "app-relay")]
1430impl<__T: IRelay_DisposPlayerCountsSequence> IRelay_DisposPlayerCountsSequenceMethods for __T {}
1431
1432#[cfg(feature = "app-relay")]
1433impl Relay_DisposPlayerCountsSequence {
1434 pub fn load_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1436 }
1437
1438 pub fn load_done_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1440 }
1441
1442 pub fn get_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1444 }
1445
1446 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1448 }
1449
1450 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1452 }
1453
1454 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1456 }
1457}
1458
1459#[cfg(feature = "app-relay")]
1460impl Relay_DisposPlayerCountsSequence {
1461 #[doc = "`.ctor()` — no args"]
1462 pub fn new() -> Self {
1463 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1464 panic!(
1465 "{}
1466::{}
1467 failed to instantiate",
1468 ::core::stringify!(Relay_DisposPlayerCountsSequence),
1469 ::core::stringify!(new),
1470 )
1471 });
1472 <Self as IRelay_DisposPlayerCountsSequenceMethods>::ctor(this);
1473 this
1474 }
1475}
1476
1477#[cfg(feature = "app-relay")]
1478impl Relay_ChooseAwardeeData {
1479 #[doc = "`CompareAndSwap(crate::app::unit::Unit, i32, crate::app::relayawarddata::RelayAwardData_CompareOp)` overload"]
1480 pub fn compare_and_swap(
1481 &mut self,
1482 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
1483 count: impl ::core::convert::Into<i32>,
1484 op: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_CompareOp>,
1485 ) -> () {
1486 unsafe {
1487 ::unity::il2cpp_call!((::unity::module_base()+0x1b03c60usize)as*mut u8,();
1488(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(count),(crate::app::relayawarddata::RelayAwardData_CompareOp)::core::convert::Into::into(op))
1489 }
1490 }
1491
1492 #[doc = "`CompareAndSwap(crate::app::relayleavingunitdata::RelayLeavingUnitData, i32, crate::app::relayawarddata::RelayAwardData_CompareOp)` overload"]
1493 pub fn compare_and_swap_2(
1494 &mut self,
1495 leaving_unit_data: impl ::core::convert::Into<crate::app::relayleavingunitdata::RelayLeavingUnitData>,
1496 count: impl ::core::convert::Into<i32>,
1497 op: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_CompareOp>,
1498 ) -> () {
1499 unsafe {
1500 ::unity::il2cpp_call!((::unity::module_base()+0x1b04020usize)as*mut u8,();
1501(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(crate::app::relayleavingunitdata::RelayLeavingUnitData)::core::convert::Into::into(leaving_unit_data),(i32)::core::convert::Into::into(count),(crate::app::relayawarddata::RelayAwardData_CompareOp)::core::convert::Into::into(op))
1502 }
1503 }
1504
1505 #[doc = "`Compare(i32, crate::app::relayawarddata::RelayAwardData_CompareOp)` overload"]
1506 pub fn compare(
1507 &mut self,
1508 count: impl ::core::convert::Into<i32>,
1509 op: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_CompareOp>,
1510 ) -> bool {
1511 unsafe {
1512 ::unity::il2cpp_call!((::unity::module_base()+0x1b03f60usize)as*mut u8,bool;
1513(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(i32)::core::convert::Into::into(count),(crate::app::relayawarddata::RelayAwardData_CompareOp)::core::convert::Into::into(op))
1514 }
1515 }
1516
1517 #[doc = "`CompareGreater(i32)` overload"]
1518 pub fn compare_greater(&mut self, count: impl ::core::convert::Into<i32>) -> bool {
1519 unsafe {
1520 ::unity::il2cpp_call!((::unity::module_base()+0x1b040a0usize)as*mut u8,bool;
1521(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(i32)::core::convert::Into::into(count))
1522 }
1523 }
1524
1525 #[doc = "`CompareLess(i32)` overload"]
1526 pub fn compare_less(&mut self, count: impl ::core::convert::Into<i32>) -> bool {
1527 unsafe {
1528 ::unity::il2cpp_call!((::unity::module_base()+0x1b04100usize)as*mut u8,bool;
1529(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(i32)::core::convert::Into::into(count))
1530 }
1531 }
1532
1533 #[doc = "`CompareZero(i32)` overload"]
1534 pub fn compare_zero(&mut self, count: impl ::core::convert::Into<i32>) -> bool {
1535 unsafe {
1536 ::unity::il2cpp_call!((::unity::module_base()+0x1b04160usize)as*mut u8,bool;
1537(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData,(i32)::core::convert::Into::into(count))
1538 }
1539 }
1540
1541 #[doc = "`IsRandom()` overload"]
1542 pub fn is_random(&mut self) -> bool {
1543 unsafe {
1544 ::unity::il2cpp_call!((::unity::module_base()+0x1b041d0usize)as*mut u8,bool;
1545(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData)
1546 }
1547 }
1548
1549 #[doc = "`IsValid()` overload"]
1550 pub fn is_valid(&mut self) -> bool {
1551 unsafe {
1552 ::unity::il2cpp_call!((::unity::module_base()+0x1b041b0usize)as*mut u8,bool;
1553(*mut Relay_ChooseAwardeeData)self as*mut Relay_ChooseAwardeeData)
1554 }
1555 }
1556}
1557
1558#[cfg(feature = "app-relay")]
1559impl Relay_ChooseAwardeeData {
1560 pub fn compare_and_swap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1562 }
1563
1564 pub fn compare_and_swap_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1566 }
1567
1568 pub fn compare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1570 }
1571
1572 pub fn compare_greater_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1574 }
1575
1576 pub fn compare_less_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1578 }
1579
1580 pub fn compare_zero_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1582 }
1583
1584 pub fn is_random_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1586 }
1587
1588 pub fn is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1590 }
1591}
1592
1593#[cfg(feature = "app-relay")]
1594#[doc(hidden)]
1595pub mod prelude {
1596 pub use super::{
1597 IRelay, IRelayMethods, IRelay_DisposPlayerCountsSequence, IRelay_DisposPlayerCountsSequenceMethods, IRelay_FlagsField,
1598 IRelay_FlagsFieldMethods, Relay, Relay_ChooseAwardeeData, Relay_CstoResult, Relay_DisposPlayerCountsSequence,
1599 Relay_DisposPlayerCountsSequence_Label, Relay_Flags, Relay_FlagsField, Relay_Modes, Relay_TakeOverModes, Relay_TrfrResult,
1600 };
1601 #[cfg(feature = "app-bitfield32")]
1602 pub use crate::app::bitfield32::IBitField32Methods;
1603 #[cfg(feature = "app-bitfieldcommon")]
1604 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
1605 #[cfg(feature = "app-bitfieldtemplate32_1")]
1606 pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
1607 #[cfg(feature = "app-procinst")]
1608 pub use crate::app::procinst::IProcInstMethods;
1609 #[cfg(feature = "app-singletonclass_1")]
1610 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1611 #[cfg(feature = "system-object")]
1612 pub use crate::system::object::IObjectMethods;
1613 #[cfg(feature = "system-enum")]
1614 pub use crate::system::r#enum::IEnumMethods;
1615 #[cfg(feature = "system-valuetype")]
1616 pub use crate::system::valuetype::IValueTypeMethods;
1617 pub use crate::{
1618 app::{
1619 bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1, procinst::IProcInst,
1620 singletonclass_1::ISingletonClass_1,
1621 },
1622 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1623 };
1624}