pub trait IRelaySortieMethods: IRelaySortie {
Show 27 methods
// Provided methods
fn initialize(self) { ... }
fn setup(self) { ... }
fn count_units(self) { ... }
fn setup_units(self) { ... }
fn create_sortie_position(self) { ... }
fn prerelocation_units(self) { ... }
fn relocation_unit_for_take_over(self, unit: impl Into<Unit>) { ... }
fn find_empty_sortie_position(self) -> (bool, i32, i32) { ... }
fn count_empty_sortie_position(self) -> i32 { ... }
fn find_sortie_position_nearby_friends(self) -> (bool, i32, i32) { ... }
fn is_ignore(self, unit: impl Into<Unit>) -> bool { ... }
fn is_ignore_for_troop(
self,
unit: impl Into<Unit>,
is_in_battle_map: impl Into<bool>,
) -> bool { ... }
fn can_sortie(self, unit: impl Into<Unit>) -> bool { ... }
fn can_toggle(self, unit: impl Into<Unit>) -> bool { ... }
fn toggle(self, unit: impl Into<Unit>) { ... }
fn can_start_battle(self) -> bool { ... }
fn can_back_to(self) -> bool { ... }
fn get_max_total_count(self) -> i32 { ... }
fn get_req_my_count(self) -> i32 { ... }
fn get_req_total_count_no_clamp(self) -> i32 { ... }
fn get_req_total_count(self) -> i32 { ... }
fn get_total_count(self) -> i32 { ... }
fn set_total_count(self, value: impl Into<i32>) { ... }
fn get_my_count(self) -> i32 { ... }
fn set_my_count(self, value: impl Into<i32>) { ... }
fn get_other_count(self) -> i32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn initialize(self)
fn initialize(self)
Initialize() overload
Sourcefn count_units(self)
fn count_units(self)
CountUnits() overload
Sourcefn setup_units(self)
fn setup_units(self)
SetupUnits() overload
Sourcefn create_sortie_position(self)
fn create_sortie_position(self)
CreateSortiePosition() overload
Sourcefn prerelocation_units(self)
fn prerelocation_units(self)
PrerelocationUnits() overload
Sourcefn relocation_unit_for_take_over(self, unit: impl Into<Unit>)
fn relocation_unit_for_take_over(self, unit: impl Into<Unit>)
RelocationUnitForTakeOver(crate::app::unit::Unit) overload
Sourcefn find_empty_sortie_position(self) -> (bool, i32, i32)
fn find_empty_sortie_position(self) -> (bool, i32, i32)
FindEmptySortiePosition(*muti32, *muti32) overload
Sourcefn count_empty_sortie_position(self) -> i32
fn count_empty_sortie_position(self) -> i32
CountEmptySortiePosition() overload
Sourcefn find_sortie_position_nearby_friends(self) -> (bool, i32, i32)
fn find_sortie_position_nearby_friends(self) -> (bool, i32, i32)
FindSortiePositionNearbyFriends(*muti32, *muti32) overload
Sourcefn is_ignore_for_troop(
self,
unit: impl Into<Unit>,
is_in_battle_map: impl Into<bool>,
) -> bool
fn is_ignore_for_troop( self, unit: impl Into<Unit>, is_in_battle_map: impl Into<bool>, ) -> bool
IsIgnoreForTroop(crate::app::unit::Unit, bool) overload
Sourcefn can_sortie(self, unit: impl Into<Unit>) -> bool
fn can_sortie(self, unit: impl Into<Unit>) -> bool
CanSortie(crate::app::unit::Unit) overload
Sourcefn can_toggle(self, unit: impl Into<Unit>) -> bool
fn can_toggle(self, unit: impl Into<Unit>) -> bool
CanToggle(crate::app::unit::Unit) overload
Sourcefn can_start_battle(self) -> bool
fn can_start_battle(self) -> bool
CanStartBattle() overload
Sourcefn can_back_to(self) -> bool
fn can_back_to(self) -> bool
CanBackTo() overload
Sourcefn get_max_total_count(self) -> i32
fn get_max_total_count(self) -> i32
get_MaxTotalCount() overload
Sourcefn get_req_my_count(self) -> i32
fn get_req_my_count(self) -> i32
get_ReqMyCount() overload
Sourcefn get_req_total_count_no_clamp(self) -> i32
fn get_req_total_count_no_clamp(self) -> i32
get_ReqTotalCountNoClamp() overload
Sourcefn get_req_total_count(self) -> i32
fn get_req_total_count(self) -> i32
get_ReqTotalCount() overload
Sourcefn get_total_count(self) -> i32
fn get_total_count(self) -> i32
get_TotalCount() overload
Sourcefn set_total_count(self, value: impl Into<i32>)
fn set_total_count(self, value: impl Into<i32>)
set_TotalCount(i32) overload
Sourcefn get_my_count(self) -> i32
fn get_my_count(self) -> i32
get_MyCount() overload
Sourcefn set_my_count(self, value: impl Into<i32>)
fn set_my_count(self, value: impl Into<i32>)
set_MyCount(i32) overload
Sourcefn get_other_count(self) -> i32
fn get_other_count(self) -> i32
get_OtherCount() 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: IRelaySortie> IRelaySortieMethods for __T
app-relaysortie only.