Skip to main content

IRelaySortieMethods

Trait IRelaySortieMethods 

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

Source

fn initialize(self)

Initialize() overload

Source

fn setup(self)

Setup() overload

Source

fn count_units(self)

CountUnits() overload

Source

fn setup_units(self)

SetupUnits() overload

Source

fn create_sortie_position(self)

CreateSortiePosition() overload

Source

fn prerelocation_units(self)

PrerelocationUnits() overload

Source

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

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

Source

fn find_empty_sortie_position(self) -> (bool, i32, i32)

FindEmptySortiePosition(*muti32, *muti32) overload

Source

fn count_empty_sortie_position(self) -> i32

CountEmptySortiePosition() overload

Source

fn find_sortie_position_nearby_friends(self) -> (bool, i32, i32)

FindSortiePositionNearbyFriends(*muti32, *muti32) overload

Source

fn is_ignore(self, unit: impl Into<Unit>) -> bool

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

Source

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

Source

fn can_sortie(self, unit: impl Into<Unit>) -> bool

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

Source

fn can_toggle(self, unit: impl Into<Unit>) -> bool

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

Source

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

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

Source

fn can_start_battle(self) -> bool

CanStartBattle() overload

Source

fn can_back_to(self) -> bool

CanBackTo() overload

Source

fn get_max_total_count(self) -> i32

get_MaxTotalCount() overload

Source

fn get_req_my_count(self) -> i32

get_ReqMyCount() overload

Source

fn get_req_total_count_no_clamp(self) -> i32

get_ReqTotalCountNoClamp() overload

Source

fn get_req_total_count(self) -> i32

get_ReqTotalCount() overload

Source

fn get_total_count(self) -> i32

get_TotalCount() overload

Source

fn set_total_count(self, value: impl Into<i32>)

set_TotalCount(i32) overload

Source

fn get_my_count(self) -> i32

get_MyCount() overload

Source

fn set_my_count(self, value: impl Into<i32>)

set_MyCount(i32) overload

Source

fn get_other_count(self) -> i32

get_OtherCount() 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: IRelaySortie> IRelaySortieMethods for __T

Available on crate feature app-relaysortie only.