Skip to main content

IAIInterruptAttack_CandidateListMethods

Trait IAIInterruptAttack_CandidateListMethods 

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

Source

fn ctor(self)

.ctor() overload

Source

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

Source

fn sort(self)

Sort() overload

Source

fn clear(self)

Clear() overload

Source

fn has_attacker(self) -> bool

HasAttacker() overload

Source

fn get_attacker(self) -> AIInterruptAttack_Candidate

GetAttacker() overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

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§

Source§

impl<__T: IAIInterruptAttack_CandidateList> IAIInterruptAttack_CandidateListMethods for __T

Available on crate feature app-aiinterruptattack only.