pub trait IMapHistory_ReplayMethods: IMapHistory_Replay {
Show 79 methods
// Provided methods
fn on_initialize(self) { ... }
fn on_delete(self) { ... }
fn begin(self, super_: impl Into<ProcInst>) { ... }
fn end(self) { ... }
fn split(self) { ... }
fn engage_cancel(self, unit: impl Into<Unit>) { ... }
fn god_change_cancel(self, unit: impl Into<Unit>) { ... }
fn get_command_engage(self) -> i32 { ... }
fn get_command_god_change(self) -> i32 { ... }
fn get_command_unit_item_list(self) -> i32 { ... }
fn get_unit_for_command_engage(self, command_index: impl Into<i32>) -> Unit { ... }
fn get_unit_for_command_god_change(
self,
command_index: impl Into<i32>,
) -> Unit { ... }
fn get_unit_for_command_unit_item_list(
self,
command_index: impl Into<i32>,
) -> Unit { ... }
fn after_command_stack_cancel(self, unit: impl Into<Unit>) { ... }
fn set_read_mode(self) { ... }
fn is_read_mode(self) -> bool { ... }
fn read(self) -> bool { ... }
fn has_read_data(self) -> bool { ... }
fn is_read_data_last_turn(self) -> bool { ... }
fn skip_read_data_to_last_turn(self) { ... }
fn get_read_index_about_last_turn(self) -> (i32, i32) { ... }
fn find_read_index_of_last_turn(self) -> i32 { ... }
fn find_read_index_of_prev_phase_end(
self,
phase_begin_index: impl Into<i32>,
) -> i32 { ... }
fn find_read_index_of_skipped_phase_next(
self,
start_index: impl Into<i32>,
) -> i32 { ... }
fn end_read_mode(self) { ... }
fn register_all_units(self) { ... }
fn register_appearance_unit(self, unit: impl Into<Unit>) { ... }
fn register_leaving_unit(self, unit: impl Into<Unit>) { ... }
fn leaving(self, unit: impl Into<Unit>) { ... }
fn get_appearance_and_leaving_indexes(
self,
) -> (bool, Array<i32>, Array<i32>) { ... }
fn create_appearance_unit(self, index: impl Into<i32>) -> Unit { ... }
fn get_leaving_unit(self, index: impl Into<i32>) -> Unit { ... }
fn register_relay_take_over_timing(self) { ... }
fn is_relay_take_over_timing(self) -> bool { ... }
fn do_turn_save(self, super_: impl Into<ProcInst>) { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
fn can_write(self) -> bool { ... }
fn clear_saved_command_index(self) { ... }
fn set_players_to_replay(self) { ... }
fn set_replay_player_for_relay(self) { ... }
fn serialize_initial(self, super_: impl Into<ProcInst>) { ... }
fn deserialize_initial(self) { ... }
fn dbg_dump(self) { ... }
fn phase_begin(self) { ... }
fn phase_next(self) { ... }
fn cancel_unit_command(self) { ... }
fn mind(self) { ... }
fn engage(self, unit: impl Into<Unit>, link_unit: impl Into<Unit>) { ... }
fn overwrite_engage_pos(
self,
stream: impl Into<Stream_2>,
x: impl Into<i32>,
z: impl Into<i32>,
) { ... }
fn god_change(self, unit: impl Into<Unit>) { ... }
fn overwrite_god_change_pos(
self,
stream: impl Into<Stream_2>,
x: impl Into<i32>,
z: impl Into<i32>,
) { ... }
fn toggle_god_change_enabled(self, stream: impl Into<Stream_2>) { ... }
fn trade(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>) { ... }
fn trade_2(self, unit: impl Into<Unit>) { ... }
fn equip_item(self, unit: impl Into<Unit>) { ... }
fn take_off_item(self, unit: impl Into<Unit>) { ... }
fn sort_item(self, unit: impl Into<Unit>) { ... }
fn put_off_item(self, unit: impl Into<Unit>, from_menu: impl Into<bool>) { ... }
fn unit_item_list(self, unit: impl Into<Unit>) { ... }
fn dead(self, unit: impl Into<Unit>) { ... }
fn dispos(self, unit: impl Into<Unit>) { ... }
fn vision_delete(self, unit: impl Into<Unit>) { ... }
fn surrender(self) { ... }
fn summon_delete(self, unit: impl Into<Unit>) { ... }
fn read_one(self, index: impl Into<i32>) -> MapHistory_Replay_ReadResult { ... }
fn read_phase_begin(self) -> MapHistory_Replay_ReadResult { ... }
fn read_phase_begin_2(self, random: impl Into<Random_2>) -> Force_Type { ... }
fn read_phase_next(self) -> MapHistory_Replay_ReadResult { ... }
fn read_mind(self) -> MapHistory_Replay_ReadResult { ... }
fn read_engage(self) -> MapHistory_Replay_ReadResult { ... }
fn read_engage_2(self) -> Unit { ... }
fn read_god_change(self) -> MapHistory_Replay_ReadResult { ... }
fn read_god_change_2(self) -> Unit { ... }
fn read_unit_item_list(self) -> MapHistory_Replay_ReadResult { ... }
fn read_unit_item_list_2(self) -> Unit { ... }
fn read_surrender(self) -> MapHistory_Replay_ReadResult { ... }
fn setup_mind_routes(self, unit: impl Into<Unit>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_initialize(self)
fn on_initialize(self)
OnInitialize() overload
Sourcefn engage_cancel(self, unit: impl Into<Unit>)
fn engage_cancel(self, unit: impl Into<Unit>)
EngageCancel(crate::app::unit::Unit) overload
Sourcefn god_change_cancel(self, unit: impl Into<Unit>)
fn god_change_cancel(self, unit: impl Into<Unit>)
GodChangeCancel(crate::app::unit::Unit) overload
Sourcefn get_command_engage(self) -> i32
fn get_command_engage(self) -> i32
GetCommandEngage() overload
Sourcefn get_command_god_change(self) -> i32
fn get_command_god_change(self) -> i32
GetCommandGodChange() overload
Sourcefn get_command_unit_item_list(self) -> i32
fn get_command_unit_item_list(self) -> i32
GetCommandUnitItemList() overload
Sourcefn get_unit_for_command_engage(self, command_index: impl Into<i32>) -> Unit
fn get_unit_for_command_engage(self, command_index: impl Into<i32>) -> Unit
GetUnitForCommandEngage(i32) overload
Sourcefn get_unit_for_command_god_change(self, command_index: impl Into<i32>) -> Unit
fn get_unit_for_command_god_change(self, command_index: impl Into<i32>) -> Unit
GetUnitForCommandGodChange(i32) overload
Sourcefn get_unit_for_command_unit_item_list(
self,
command_index: impl Into<i32>,
) -> Unit
fn get_unit_for_command_unit_item_list( self, command_index: impl Into<i32>, ) -> Unit
GetUnitForCommandUnitItemList(i32) overload
Sourcefn after_command_stack_cancel(self, unit: impl Into<Unit>)
fn after_command_stack_cancel(self, unit: impl Into<Unit>)
AfterCommandStackCancel(crate::app::unit::Unit) overload
Sourcefn set_read_mode(self)
fn set_read_mode(self)
SetReadMode() overload
Sourcefn is_read_mode(self) -> bool
fn is_read_mode(self) -> bool
IsReadMode() overload
Sourcefn has_read_data(self) -> bool
fn has_read_data(self) -> bool
HasReadData() overload
Sourcefn is_read_data_last_turn(self) -> bool
fn is_read_data_last_turn(self) -> bool
IsReadDataLastTurn() overload
Sourcefn skip_read_data_to_last_turn(self)
fn skip_read_data_to_last_turn(self)
SkipReadDataToLastTurn() overload
Sourcefn get_read_index_about_last_turn(self) -> (i32, i32)
fn get_read_index_about_last_turn(self) -> (i32, i32)
GetReadIndexAboutLastTurn(*muti32, *muti32) overload
Sourcefn find_read_index_of_last_turn(self) -> i32
fn find_read_index_of_last_turn(self) -> i32
FindReadIndexOfLastTurn() overload
Sourcefn find_read_index_of_prev_phase_end(
self,
phase_begin_index: impl Into<i32>,
) -> i32
fn find_read_index_of_prev_phase_end( self, phase_begin_index: impl Into<i32>, ) -> i32
FindReadIndexOfPrevPhaseEnd(i32) overload
Sourcefn find_read_index_of_skipped_phase_next(
self,
start_index: impl Into<i32>,
) -> i32
fn find_read_index_of_skipped_phase_next( self, start_index: impl Into<i32>, ) -> i32
FindReadIndexOfSkippedPhaseNext(i32) overload
Sourcefn end_read_mode(self)
fn end_read_mode(self)
EndReadMode() overload
Sourcefn register_all_units(self)
fn register_all_units(self)
RegisterAllUnits() overload
Sourcefn register_appearance_unit(self, unit: impl Into<Unit>)
fn register_appearance_unit(self, unit: impl Into<Unit>)
RegisterAppearanceUnit(crate::app::unit::Unit) overload
Sourcefn register_leaving_unit(self, unit: impl Into<Unit>)
fn register_leaving_unit(self, unit: impl Into<Unit>)
RegisterLeavingUnit(crate::app::unit::Unit) overload
Sourcefn get_appearance_and_leaving_indexes(self) -> (bool, Array<i32>, Array<i32>)
fn get_appearance_and_leaving_indexes(self) -> (bool, Array<i32>, Array<i32>)
GetAppearanceAndLeavingIndexes(*mut::unity::Array<i32>, *mut::unity::Array<i32>) overload
Sourcefn create_appearance_unit(self, index: impl Into<i32>) -> Unit
fn create_appearance_unit(self, index: impl Into<i32>) -> Unit
CreateAppearanceUnit(i32) overload
Sourcefn get_leaving_unit(self, index: impl Into<i32>) -> Unit
fn get_leaving_unit(self, index: impl Into<i32>) -> Unit
GetLeavingUnit(i32) overload
Sourcefn register_relay_take_over_timing(self)
fn register_relay_take_over_timing(self)
RegisterRelayTakeOverTiming() overload
Sourcefn is_relay_take_over_timing(self) -> bool
fn is_relay_take_over_timing(self) -> bool
IsRelayTakeOverTiming() overload
Sourcefn do_turn_save(self, super_: impl Into<ProcInst>)
fn do_turn_save(self, super_: impl Into<ProcInst>)
DoTurnSave(crate::app::procinst::ProcInst) overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn clear_saved_command_index(self)
fn clear_saved_command_index(self)
ClearSavedCommandIndex() overload
Sourcefn set_players_to_replay(self)
fn set_players_to_replay(self)
SetPlayersToReplay() overload
Sourcefn set_replay_player_for_relay(self)
fn set_replay_player_for_relay(self)
SetReplayPlayerForRelay() overload
Sourcefn serialize_initial(self, super_: impl Into<ProcInst>)
fn serialize_initial(self, super_: impl Into<ProcInst>)
SerializeInitial(crate::app::procinst::ProcInst) overload
Sourcefn deserialize_initial(self)
fn deserialize_initial(self)
DeserializeInitial() overload
Sourcefn phase_begin(self)
fn phase_begin(self)
PhaseBegin() overload
Sourcefn phase_next(self)
fn phase_next(self)
PhaseNext() overload
Sourcefn cancel_unit_command(self)
fn cancel_unit_command(self)
CancelUnitCommand() overload
Sourcefn engage(self, unit: impl Into<Unit>, link_unit: impl Into<Unit>)
fn engage(self, unit: impl Into<Unit>, link_unit: impl Into<Unit>)
Engage(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn overwrite_engage_pos(
self,
stream: impl Into<Stream_2>,
x: impl Into<i32>,
z: impl Into<i32>,
)
fn overwrite_engage_pos( self, stream: impl Into<Stream_2>, x: impl Into<i32>, z: impl Into<i32>, )
OverwriteEngagePos(crate::app::stream_2::Stream_2, i32, i32) overload
Sourcefn god_change(self, unit: impl Into<Unit>)
fn god_change(self, unit: impl Into<Unit>)
GodChange(crate::app::unit::Unit) overload
Sourcefn overwrite_god_change_pos(
self,
stream: impl Into<Stream_2>,
x: impl Into<i32>,
z: impl Into<i32>,
)
fn overwrite_god_change_pos( self, stream: impl Into<Stream_2>, x: impl Into<i32>, z: impl Into<i32>, )
OverwriteGodChangePos(crate::app::stream_2::Stream_2, i32, i32) overload
Sourcefn toggle_god_change_enabled(self, stream: impl Into<Stream_2>)
fn toggle_god_change_enabled(self, stream: impl Into<Stream_2>)
ToggleGodChangeEnabled(crate::app::stream_2::Stream_2) overload
Sourcefn trade(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>)
fn trade(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>)
Trade(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn equip_item(self, unit: impl Into<Unit>)
fn equip_item(self, unit: impl Into<Unit>)
EquipItem(crate::app::unit::Unit) overload
Sourcefn take_off_item(self, unit: impl Into<Unit>)
fn take_off_item(self, unit: impl Into<Unit>)
TakeOffItem(crate::app::unit::Unit) overload
Sourcefn put_off_item(self, unit: impl Into<Unit>, from_menu: impl Into<bool>)
fn put_off_item(self, unit: impl Into<Unit>, from_menu: impl Into<bool>)
PutOffItem(crate::app::unit::Unit, bool) overload
Sourcefn unit_item_list(self, unit: impl Into<Unit>)
fn unit_item_list(self, unit: impl Into<Unit>)
UnitItemList(crate::app::unit::Unit) overload
Sourcefn vision_delete(self, unit: impl Into<Unit>)
fn vision_delete(self, unit: impl Into<Unit>)
VisionDelete(crate::app::unit::Unit) overload
Sourcefn summon_delete(self, unit: impl Into<Unit>)
fn summon_delete(self, unit: impl Into<Unit>)
SummonDelete(crate::app::unit::Unit) overload
Sourcefn read_one(self, index: impl Into<i32>) -> MapHistory_Replay_ReadResult
fn read_one(self, index: impl Into<i32>) -> MapHistory_Replay_ReadResult
ReadOne(i32) overload
Sourcefn read_phase_begin(self) -> MapHistory_Replay_ReadResult
fn read_phase_begin(self) -> MapHistory_Replay_ReadResult
ReadPhaseBegin() overload
Sourcefn read_phase_begin_2(self, random: impl Into<Random_2>) -> Force_Type
fn read_phase_begin_2(self, random: impl Into<Random_2>) -> Force_Type
ReadPhaseBegin(*mutcrate::app::force::Force_Type, crate::app::random_2::Random_2) overload
Sourcefn read_phase_next(self) -> MapHistory_Replay_ReadResult
fn read_phase_next(self) -> MapHistory_Replay_ReadResult
ReadPhaseNext() overload
Sourcefn read_mind(self) -> MapHistory_Replay_ReadResult
fn read_mind(self) -> MapHistory_Replay_ReadResult
ReadMind() overload
Sourcefn read_engage(self) -> MapHistory_Replay_ReadResult
fn read_engage(self) -> MapHistory_Replay_ReadResult
ReadEngage() overload
Sourcefn read_engage_2(self) -> Unit
fn read_engage_2(self) -> Unit
ReadEngage(*mutcrate::app::unit::Unit) overload
Sourcefn read_god_change(self) -> MapHistory_Replay_ReadResult
fn read_god_change(self) -> MapHistory_Replay_ReadResult
ReadGodChange() overload
Sourcefn read_god_change_2(self) -> Unit
fn read_god_change_2(self) -> Unit
ReadGodChange(*mutcrate::app::unit::Unit) overload
Sourcefn read_unit_item_list(self) -> MapHistory_Replay_ReadResult
fn read_unit_item_list(self) -> MapHistory_Replay_ReadResult
ReadUnitItemList() overload
Sourcefn read_unit_item_list_2(self) -> Unit
fn read_unit_item_list_2(self) -> Unit
ReadUnitItemList(*mutcrate::app::unit::Unit) overload
Sourcefn read_surrender(self) -> MapHistory_Replay_ReadResult
fn read_surrender(self) -> MapHistory_Replay_ReadResult
ReadSurrender() overload
Sourcefn setup_mind_routes(self, unit: impl Into<Unit>)
fn setup_mind_routes(self, unit: impl Into<Unit>)
SetupMindRoutes(crate::app::unit::Unit) 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: IMapHistory_Replay> IMapHistory_ReplayMethods for __T
app-maphistory only.