pub trait IAIInterruptAttack_CandidateListMethods: IAIInterruptAttack_CandidateList {
// Provided methods
fn ctor(self) { ... }
fn add(
self,
unit: impl Into<Unit>,
is_think_break: impl Into<bool>,
is_think_chain: impl Into<bool>,
dist: impl Into<i32>,
) { ... }
fn sort(self) { ... }
fn clear(self) { ... }
fn has_attacker(self) -> bool { ... }
fn get_attacker(self) -> AIInterruptAttack_Candidate { ... }
fn get_count(self) -> i32 { ... }
fn get_item(self, index: impl Into<i32>) -> AIInterruptAttack_Candidate { ... }
}Provided Methods§
Sourcefn add(
self,
unit: impl Into<Unit>,
is_think_break: impl Into<bool>,
is_think_chain: impl Into<bool>,
dist: impl Into<i32>,
)
fn add( self, unit: impl Into<Unit>, is_think_break: impl Into<bool>, is_think_chain: impl Into<bool>, dist: impl Into<i32>, )
Add(crate::app::unit::Unit, bool, bool, i32) overload
Sourcefn has_attacker(self) -> bool
fn has_attacker(self) -> bool
HasAttacker() overload
Sourcefn get_attacker(self) -> AIInterruptAttack_Candidate
fn get_attacker(self) -> AIInterruptAttack_Candidate
GetAttacker() overload
Sourcefn get_item(self, index: impl Into<i32>) -> AIInterruptAttack_Candidate
fn get_item(self, index: impl Into<i32>) -> AIInterruptAttack_Candidate
get_Item(i32) 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: IAIInterruptAttack_CandidateList> IAIInterruptAttack_CandidateListMethods for __T
Available on crate feature
app-aiinterruptattack only.