pub trait IRelayMethods: IRelay {
Show 62 methods
// Provided methods
fn on_create(self) { ... }
fn dispos_player_counts(self, super_: impl Into<ProcInst>) { ... }
fn can_select_new(self, cid: impl Into<Il2CppString>) -> bool { ... }
fn can_select_take_over(
self,
meta_data: impl Into<RelayServerMetaData>,
principal_id: impl Into<u64>,
current_unix_time: impl Into<i64>,
) -> (bool, Relay_CstoResult) { ... }
fn initialize_for_new(self, cid: impl Into<Il2CppString>) { ... }
fn initialize_for_take_over(self, meta_data: impl Into<RelayServerMetaData>) { ... }
fn initialize_for_replay(
self,
meta_data: impl Into<RelayServerMetaData>,
reinit_meta: impl Into<bool>,
) { ... }
fn try_reinitialize_for_replay(
self,
new_meta_data: impl Into<RelayServerMetaData>,
) -> Relay_TrfrResult { ... }
fn set_playing_done(self) { ... }
fn delete_god_link(self) { ... }
fn initialize_for_sortie(self) { ... }
fn setup_for_sortie(self) { ... }
fn get_sortie_count(self) -> (i32, i32) { ... }
fn get_sortie_count_2(
self,
mode: impl Into<Relay_Modes>,
cid: impl Into<Il2CppString>,
pids: impl Into<List_1<Il2CppString>>,
) -> (i32, i32, i32, i32) { ... }
fn get_sortie_count_from_data(
self,
mode: impl Into<Relay_Modes>,
cid: impl Into<Il2CppString>,
) -> (i32, i32) { ... }
fn get_player_unit_count(
self,
mode: impl Into<Relay_Modes>,
pids: impl Into<List_1<Il2CppString>>,
) -> (i32, i32) { ... }
fn decide_to_battle(self) { ... }
fn map_begin(self) { ... }
fn map_end(self) { ... }
fn complete(self) { ... }
fn game_over(self) { ... }
fn add_entered_battle(
self,
new_battle: impl Into<RelayUserData_EnteredBattle>,
) { ... }
fn get_entered_battle(
self,
data_id: impl Into<u64>,
) -> RelayUserData_EnteredBattle { ... }
fn clear_current_battle(self) { ... }
fn get_player_name(self, player_index: impl Into<i32>) -> Il2CppString { ... }
fn get_last_player_name(self) -> Il2CppString { ... }
fn get_replay_player_name(self) -> Il2CppString { ... }
fn next_replay_player(self) { ... }
fn set_replay_player_for_skip(self, player_index: impl Into<i32>) { ... }
fn dbg_fake_awardee(self) { ... }
fn get_meta_data(self) -> RelayServerMetaData { ... }
fn get_data(self) -> RelayServerData { ... }
fn get_selected_meta_data(self) -> RelayServerMetaData { ... }
fn get_backup_data_for_replay(self) -> RelayBackupData { ... }
fn get_backup_data_for_all(self) -> RelayBackupData { ... }
fn get_flag(self) -> Relay_FlagsField { ... }
fn get_is_new(self) -> bool { ... }
fn get_is_take_over(self) -> bool { ... }
fn get_is_replay(self) -> bool { ... }
fn get_max_turn(self) -> i32 { ... }
fn get_limit_turn(self) -> i32 { ... }
fn get_sortie(self) -> RelaySortie { ... }
fn get_appearance_units(self) -> List_1<Unit> { ... }
fn get_leaving_units(self) -> List_1<Unit> { ... }
fn get_current_player_index(self) -> i32 { ... }
fn set_current_player_index(self, value: impl Into<i32>) { ... }
fn get_current_battle(self) -> RelayUserData_EnteredBattle { ... }
fn get_pool_units(self) -> List_1<Il2CppString> { ... }
fn get_pool_gods(self) -> List_1<Il2CppString> { ... }
fn delete_unneeded_units(self) { ... }
fn delete_unneeded_god_units_and_bonds(self) { ... }
fn delete_unneeded_rings(self) { ... }
fn choose_awardee(self) { ... }
fn clear(self) { ... }
fn save_temp_pool_unit(self) { ... }
fn dbg_log_begin(self) { ... }
fn dbg_log_end(self) { ... }
fn dbg_log_append_line(self, str: impl Into<Il2CppString>) { ... }
fn dbg_log_begin_impl(self) { ... }
fn dbg_log_end_impl(self) { ... }
fn dbg_log_append_line_impl(self, str: impl Into<Il2CppString>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn dispos_player_counts(self, super_: impl Into<ProcInst>)
fn dispos_player_counts(self, super_: impl Into<ProcInst>)
DisposPlayerCounts(crate::app::procinst::ProcInst) overload
Sourcefn can_select_new(self, cid: impl Into<Il2CppString>) -> bool
fn can_select_new(self, cid: impl Into<Il2CppString>) -> bool
CanSelectNew(::unity::Il2CppString) overload
Sourcefn can_select_take_over(
self,
meta_data: impl Into<RelayServerMetaData>,
principal_id: impl Into<u64>,
current_unix_time: impl Into<i64>,
) -> (bool, Relay_CstoResult)
fn can_select_take_over( self, meta_data: impl Into<RelayServerMetaData>, principal_id: impl Into<u64>, current_unix_time: impl Into<i64>, ) -> (bool, Relay_CstoResult)
CanSelectTakeOver(crate::app::relayservermetadata::RelayServerMetaData, u64, i64, *mutcrate::app::relay::Relay_CstoResult) overload
Sourcefn initialize_for_new(self, cid: impl Into<Il2CppString>)
fn initialize_for_new(self, cid: impl Into<Il2CppString>)
InitializeForNew(::unity::Il2CppString) overload
Sourcefn initialize_for_take_over(self, meta_data: impl Into<RelayServerMetaData>)
fn initialize_for_take_over(self, meta_data: impl Into<RelayServerMetaData>)
InitializeForTakeOver(crate::app::relayservermetadata::RelayServerMetaData) overload
Sourcefn initialize_for_replay(
self,
meta_data: impl Into<RelayServerMetaData>,
reinit_meta: impl Into<bool>,
)
fn initialize_for_replay( self, meta_data: impl Into<RelayServerMetaData>, reinit_meta: impl Into<bool>, )
InitializeForReplay(crate::app::relayservermetadata::RelayServerMetaData, bool) overload
Sourcefn try_reinitialize_for_replay(
self,
new_meta_data: impl Into<RelayServerMetaData>,
) -> Relay_TrfrResult
fn try_reinitialize_for_replay( self, new_meta_data: impl Into<RelayServerMetaData>, ) -> Relay_TrfrResult
TryReinitializeForReplay(crate::app::relayservermetadata::RelayServerMetaData) overload
Sourcefn set_playing_done(self)
fn set_playing_done(self)
SetPlayingDone() overload
Sourcefn delete_god_link(self)
fn delete_god_link(self)
DeleteGodLink() overload
Sourcefn initialize_for_sortie(self)
fn initialize_for_sortie(self)
InitializeForSortie() overload
Sourcefn setup_for_sortie(self)
fn setup_for_sortie(self)
SetupForSortie() overload
Sourcefn get_sortie_count(self) -> (i32, i32)
fn get_sortie_count(self) -> (i32, i32)
GetSortieCount(*muti32, *muti32) overload
Sourcefn get_sortie_count_2(
self,
mode: impl Into<Relay_Modes>,
cid: impl Into<Il2CppString>,
pids: impl Into<List_1<Il2CppString>>,
) -> (i32, i32, i32, i32)
fn get_sortie_count_2( self, mode: impl Into<Relay_Modes>, cid: impl Into<Il2CppString>, pids: impl Into<List_1<Il2CppString>>, ) -> (i32, i32, i32, i32)
GetSortieCount(crate::app::relay::Relay_Modes, ::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, *muti32, *muti32, *muti32, *muti32) overload
Sourcefn get_sortie_count_from_data(
self,
mode: impl Into<Relay_Modes>,
cid: impl Into<Il2CppString>,
) -> (i32, i32)
fn get_sortie_count_from_data( self, mode: impl Into<Relay_Modes>, cid: impl Into<Il2CppString>, ) -> (i32, i32)
GetSortieCountFromData(crate::app::relay::Relay_Modes, ::unity::Il2CppString, *muti32, *muti32) overload
Sourcefn get_player_unit_count(
self,
mode: impl Into<Relay_Modes>,
pids: impl Into<List_1<Il2CppString>>,
) -> (i32, i32)
fn get_player_unit_count( self, mode: impl Into<Relay_Modes>, pids: impl Into<List_1<Il2CppString>>, ) -> (i32, i32)
GetPlayerUnitCount(crate::app::relay::Relay_Modes, crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, *muti32, *muti32) overload
Sourcefn decide_to_battle(self)
fn decide_to_battle(self)
DecideToBattle() overload
Sourcefn add_entered_battle(self, new_battle: impl Into<RelayUserData_EnteredBattle>)
fn add_entered_battle(self, new_battle: impl Into<RelayUserData_EnteredBattle>)
AddEnteredBattle(crate::app::relayuserdata::RelayUserData_EnteredBattle) overload
Sourcefn get_entered_battle(
self,
data_id: impl Into<u64>,
) -> RelayUserData_EnteredBattle
fn get_entered_battle( self, data_id: impl Into<u64>, ) -> RelayUserData_EnteredBattle
GetEnteredBattle(u64) overload
Sourcefn clear_current_battle(self)
fn clear_current_battle(self)
ClearCurrentBattle() overload
Sourcefn get_player_name(self, player_index: impl Into<i32>) -> Il2CppString
fn get_player_name(self, player_index: impl Into<i32>) -> Il2CppString
GetPlayerName(i32) overload
Sourcefn get_last_player_name(self) -> Il2CppString
fn get_last_player_name(self) -> Il2CppString
GetLastPlayerName() overload
Sourcefn get_replay_player_name(self) -> Il2CppString
fn get_replay_player_name(self) -> Il2CppString
GetReplayPlayerName() overload
Sourcefn next_replay_player(self)
fn next_replay_player(self)
NextReplayPlayer() overload
Sourcefn set_replay_player_for_skip(self, player_index: impl Into<i32>)
fn set_replay_player_for_skip(self, player_index: impl Into<i32>)
SetReplayPlayerForSkip(i32) overload
Sourcefn dbg_fake_awardee(self)
fn dbg_fake_awardee(self)
DbgFakeAwardee() overload
Sourcefn get_meta_data(self) -> RelayServerMetaData
fn get_meta_data(self) -> RelayServerMetaData
get_MetaData() overload
Sourcefn get_data(self) -> RelayServerData
fn get_data(self) -> RelayServerData
get_Data() overload
Sourcefn get_selected_meta_data(self) -> RelayServerMetaData
fn get_selected_meta_data(self) -> RelayServerMetaData
get_SelectedMetaData() overload
Sourcefn get_backup_data_for_replay(self) -> RelayBackupData
fn get_backup_data_for_replay(self) -> RelayBackupData
get_BackupDataForReplay() overload
Sourcefn get_backup_data_for_all(self) -> RelayBackupData
fn get_backup_data_for_all(self) -> RelayBackupData
get_BackupDataForAll() overload
Sourcefn get_flag(self) -> Relay_FlagsField
fn get_flag(self) -> Relay_FlagsField
get_Flag() overload
Sourcefn get_is_new(self) -> bool
fn get_is_new(self) -> bool
get_IsNew() overload
Sourcefn get_is_take_over(self) -> bool
fn get_is_take_over(self) -> bool
get_IsTakeOver() overload
Sourcefn get_is_replay(self) -> bool
fn get_is_replay(self) -> bool
get_IsReplay() overload
Sourcefn get_max_turn(self) -> i32
fn get_max_turn(self) -> i32
get_MaxTurn() overload
Sourcefn get_limit_turn(self) -> i32
fn get_limit_turn(self) -> i32
get_LimitTurn() overload
Sourcefn get_sortie(self) -> RelaySortie
fn get_sortie(self) -> RelaySortie
get_Sortie() overload
Sourcefn get_appearance_units(self) -> List_1<Unit>
fn get_appearance_units(self) -> List_1<Unit>
get_AppearanceUnits() overload
Sourcefn get_leaving_units(self) -> List_1<Unit>
fn get_leaving_units(self) -> List_1<Unit>
get_LeavingUnits() overload
Sourcefn get_current_player_index(self) -> i32
fn get_current_player_index(self) -> i32
get_CurrentPlayerIndex() overload
Sourcefn set_current_player_index(self, value: impl Into<i32>)
fn set_current_player_index(self, value: impl Into<i32>)
set_CurrentPlayerIndex(i32) overload
Sourcefn get_current_battle(self) -> RelayUserData_EnteredBattle
fn get_current_battle(self) -> RelayUserData_EnteredBattle
get_CurrentBattle() overload
Sourcefn get_pool_units(self) -> List_1<Il2CppString>
fn get_pool_units(self) -> List_1<Il2CppString>
get_PoolUnits() overload
Sourcefn get_pool_gods(self) -> List_1<Il2CppString>
fn get_pool_gods(self) -> List_1<Il2CppString>
get_PoolGods() overload
Sourcefn delete_unneeded_units(self)
fn delete_unneeded_units(self)
DeleteUnneededUnits() overload
Sourcefn delete_unneeded_god_units_and_bonds(self)
fn delete_unneeded_god_units_and_bonds(self)
DeleteUnneededGodUnitsAndBonds() overload
Sourcefn delete_unneeded_rings(self)
fn delete_unneeded_rings(self)
DeleteUnneededRings() overload
Sourcefn choose_awardee(self)
fn choose_awardee(self)
ChooseAwardee() overload
Sourcefn save_temp_pool_unit(self)
fn save_temp_pool_unit(self)
SaveTempPoolUnit() overload
Sourcefn dbg_log_begin(self)
fn dbg_log_begin(self)
DbgLogBegin() overload
Sourcefn dbg_log_end(self)
fn dbg_log_end(self)
DbgLogEnd() overload
Sourcefn dbg_log_append_line(self, str: impl Into<Il2CppString>)
fn dbg_log_append_line(self, str: impl Into<Il2CppString>)
DbgLogAppendLine(::unity::Il2CppString) overload
Sourcefn dbg_log_begin_impl(self)
fn dbg_log_begin_impl(self)
DbgLogBeginImpl() overload
Sourcefn dbg_log_end_impl(self)
fn dbg_log_end_impl(self)
DbgLogEndImpl() overload
Sourcefn dbg_log_append_line_impl(self, str: impl Into<Il2CppString>)
fn dbg_log_append_line_impl(self, str: impl Into<Il2CppString>)
DbgLogAppendLineImpl(::unity::Il2CppString) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IRelay> IRelayMethods for __T
app-relay only.