Skip to main content

IMapHistory_ReplayMethods

Trait IMapHistory_ReplayMethods 

Source
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§

Source

fn on_initialize(self)

OnInitialize() overload

Source

fn on_delete(self)

OnDelete() overload

Source

fn begin(self, super_: impl Into<ProcInst>)

Begin(crate::app::procinst::ProcInst) overload

Source

fn end(self)

End() overload

Source

fn split(self)

Split() overload

Source

fn engage_cancel(self, unit: impl Into<Unit>)

EngageCancel(crate::app::unit::Unit) overload

Source

fn god_change_cancel(self, unit: impl Into<Unit>)

GodChangeCancel(crate::app::unit::Unit) overload

Source

fn get_command_engage(self) -> i32

GetCommandEngage() overload

Source

fn get_command_god_change(self) -> i32

GetCommandGodChange() overload

Source

fn get_command_unit_item_list(self) -> i32

GetCommandUnitItemList() overload

Source

fn get_unit_for_command_engage(self, command_index: impl Into<i32>) -> Unit

GetUnitForCommandEngage(i32) overload

Source

fn get_unit_for_command_god_change(self, command_index: impl Into<i32>) -> Unit

GetUnitForCommandGodChange(i32) overload

Source

fn get_unit_for_command_unit_item_list( self, command_index: impl Into<i32>, ) -> Unit

GetUnitForCommandUnitItemList(i32) overload

Source

fn after_command_stack_cancel(self, unit: impl Into<Unit>)

AfterCommandStackCancel(crate::app::unit::Unit) overload

Source

fn set_read_mode(self)

SetReadMode() overload

Source

fn is_read_mode(self) -> bool

IsReadMode() overload

Source

fn read(self) -> bool

Read() overload

Source

fn has_read_data(self) -> bool

HasReadData() overload

Source

fn is_read_data_last_turn(self) -> bool

IsReadDataLastTurn() overload

Source

fn skip_read_data_to_last_turn(self)

SkipReadDataToLastTurn() overload

Source

fn get_read_index_about_last_turn(self) -> (i32, i32)

GetReadIndexAboutLastTurn(*muti32, *muti32) overload

Source

fn find_read_index_of_last_turn(self) -> i32

FindReadIndexOfLastTurn() overload

Source

fn find_read_index_of_prev_phase_end( self, phase_begin_index: impl Into<i32>, ) -> i32

FindReadIndexOfPrevPhaseEnd(i32) overload

Source

fn find_read_index_of_skipped_phase_next( self, start_index: impl Into<i32>, ) -> i32

FindReadIndexOfSkippedPhaseNext(i32) overload

Source

fn end_read_mode(self)

EndReadMode() overload

Source

fn register_all_units(self)

RegisterAllUnits() overload

Source

fn register_appearance_unit(self, unit: impl Into<Unit>)

RegisterAppearanceUnit(crate::app::unit::Unit) overload

Source

fn register_leaving_unit(self, unit: impl Into<Unit>)

RegisterLeavingUnit(crate::app::unit::Unit) overload

Source

fn leaving(self, unit: impl Into<Unit>)

Leaving(crate::app::unit::Unit) overload

Source

fn get_appearance_and_leaving_indexes(self) -> (bool, Array<i32>, Array<i32>)

GetAppearanceAndLeavingIndexes(*mut::unity::Array<i32>, *mut::unity::Array<i32>) overload

Source

fn create_appearance_unit(self, index: impl Into<i32>) -> Unit

CreateAppearanceUnit(i32) overload

Source

fn get_leaving_unit(self, index: impl Into<i32>) -> Unit

GetLeavingUnit(i32) overload

Source

fn register_relay_take_over_timing(self)

RegisterRelayTakeOverTiming() overload

Source

fn is_relay_take_over_timing(self) -> bool

IsRelayTakeOverTiming() overload

Source

fn do_turn_save(self, super_: impl Into<ProcInst>)

DoTurnSave(crate::app::procinst::ProcInst) overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn can_write(self) -> bool

CanWrite() overload

Source

fn clear_saved_command_index(self)

ClearSavedCommandIndex() overload

Source

fn set_players_to_replay(self)

SetPlayersToReplay() overload

Source

fn set_replay_player_for_relay(self)

SetReplayPlayerForRelay() overload

Source

fn serialize_initial(self, super_: impl Into<ProcInst>)

SerializeInitial(crate::app::procinst::ProcInst) overload

Source

fn deserialize_initial(self)

DeserializeInitial() overload

Source

fn dbg_dump(self)

DbgDump() overload

Source

fn phase_begin(self)

PhaseBegin() overload

Source

fn phase_next(self)

PhaseNext() overload

Source

fn cancel_unit_command(self)

CancelUnitCommand() overload

Source

fn mind(self)

Mind() overload

Source

fn engage(self, unit: impl Into<Unit>, link_unit: impl Into<Unit>)

Engage(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

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

Source

fn god_change(self, unit: impl Into<Unit>)

GodChange(crate::app::unit::Unit) overload

Source

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

Source

fn toggle_god_change_enabled(self, stream: impl Into<Stream_2>)

ToggleGodChangeEnabled(crate::app::stream_2::Stream_2) overload

Source

fn trade(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>)

Trade(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn trade_2(self, unit: impl Into<Unit>)

Trade(crate::app::unit::Unit) overload

Source

fn equip_item(self, unit: impl Into<Unit>)

EquipItem(crate::app::unit::Unit) overload

Source

fn take_off_item(self, unit: impl Into<Unit>)

TakeOffItem(crate::app::unit::Unit) overload

Source

fn sort_item(self, unit: impl Into<Unit>)

SortItem(crate::app::unit::Unit) overload

Source

fn put_off_item(self, unit: impl Into<Unit>, from_menu: impl Into<bool>)

PutOffItem(crate::app::unit::Unit, bool) overload

Source

fn unit_item_list(self, unit: impl Into<Unit>)

UnitItemList(crate::app::unit::Unit) overload

Source

fn dead(self, unit: impl Into<Unit>)

Dead(crate::app::unit::Unit) overload

Source

fn dispos(self, unit: impl Into<Unit>)

Dispos(crate::app::unit::Unit) overload

Source

fn vision_delete(self, unit: impl Into<Unit>)

VisionDelete(crate::app::unit::Unit) overload

Source

fn surrender(self)

Surrender() overload

Source

fn summon_delete(self, unit: impl Into<Unit>)

SummonDelete(crate::app::unit::Unit) overload

Source

fn read_one(self, index: impl Into<i32>) -> MapHistory_Replay_ReadResult

ReadOne(i32) overload

Source

fn read_phase_begin(self) -> MapHistory_Replay_ReadResult

ReadPhaseBegin() overload

Source

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

Source

fn read_phase_next(self) -> MapHistory_Replay_ReadResult

ReadPhaseNext() overload

Source

fn read_mind(self) -> MapHistory_Replay_ReadResult

ReadMind() overload

Source

fn read_engage(self) -> MapHistory_Replay_ReadResult

ReadEngage() overload

Source

fn read_engage_2(self) -> Unit

ReadEngage(*mutcrate::app::unit::Unit) overload

Source

fn read_god_change(self) -> MapHistory_Replay_ReadResult

ReadGodChange() overload

Source

fn read_god_change_2(self) -> Unit

ReadGodChange(*mutcrate::app::unit::Unit) overload

Source

fn read_unit_item_list(self) -> MapHistory_Replay_ReadResult

ReadUnitItemList() overload

Source

fn read_unit_item_list_2(self) -> Unit

ReadUnitItemList(*mutcrate::app::unit::Unit) overload

Source

fn read_surrender(self) -> MapHistory_Replay_ReadResult

ReadSurrender() overload

Source

fn setup_mind_routes(self, unit: impl Into<Unit>)

SetupMindRoutes(crate::app::unit::Unit) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IMapHistory_Replay> IMapHistory_ReplayMethods for __T

Available on crate feature app-maphistory only.