Skip to main content

IAIOrderMethods

Trait IAIOrderMethods 

Source
pub trait IAIOrderMethods: IAIOrder {
Show 52 methods // Provided methods fn ctor(self) { ... } fn set_engage_or_god_change(self, unit_index: impl Into<i32>) { ... } fn is_engage_or_god_change(self) -> bool { ... } fn set_remove(self, unit_index: impl Into<i32>) { ... } fn is_remove(self) -> bool { ... } fn set_remagic(self, unit_index: impl Into<i32>) { ... } fn is_remagic(self) -> bool { ... } fn set_rerewarp(self, unit_index: impl Into<i32>) { ... } fn is_rerewarp(self) -> bool { ... } fn set_move_over(self, unit_index: impl Into<i32>) { ... } fn is_move_over(self) -> bool { ... } fn is_allow_idle(self) -> bool { ... } fn processing(self) { ... } fn get_unit(self) -> Unit { ... } fn next(self) { ... } fn get_distance_from_enemy(self, actor: impl Into<Unit>) -> i32 { ... } fn has_long_range_weapon(self, unit: impl Into<Unit>) -> bool { ... } fn get_enchant_priority( self, unit: impl Into<Unit>, is_entrust: impl Into<bool>, ) -> i32 { ... } fn allow_idle(self) { ... } fn sort_descend(self) { ... } fn sort_ascend(self) { ... } fn enumerate_all(self) { ... } fn enumerate_priority(self) { ... } fn enumerate_attack_long_range(self) { ... } fn enumerate_attack(self) { ... } fn enumerate_move(self) { ... } fn enumerate_entrust(self) { ... } fn enumerate_uncontroll(self) { ... } fn update_ask_heal(self) { ... } fn update_target(self) { ... } fn priority(self) { ... } fn cause(self) { ... } fn mind(self) { ... } fn attack_crossfire(self) { ... } fn attack_long_range(self) { ... } fn attack_high(self) { ... } fn attack_middle(self) { ... } fn attack_low(self) { ... } fn move(self) { ... } fn turn_end(self) { ... } fn entrust_update_idle(self) { ... } fn entrust_heal(self) { ... } fn entrust_update_cannon(self) { ... } fn entrust_attack(self) { ... } fn entrust_move(self) { ... } fn entrust_hero_rush_move(self) { ... } fn entrust_fixed(self) { ... } fn uncontroll_update_idle(self) { ... } fn uncontroll_heal(self) { ... } fn uncontroll_attack(self) { ... } fn uncontroll_move(self) { ... } fn uncontroll_fixed(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn set_engage_or_god_change(self, unit_index: impl Into<i32>)

SetEngageOrGodChange(i32) overload

Source

fn is_engage_or_god_change(self) -> bool

IsEngageOrGodChange() overload

Source

fn set_remove(self, unit_index: impl Into<i32>)

SetRemove(i32) overload

Source

fn is_remove(self) -> bool

IsRemove() overload

Source

fn set_remagic(self, unit_index: impl Into<i32>)

SetRemagic(i32) overload

Source

fn is_remagic(self) -> bool

IsRemagic() overload

Source

fn set_rerewarp(self, unit_index: impl Into<i32>)

SetRerewarp(i32) overload

Source

fn is_rerewarp(self) -> bool

IsRerewarp() overload

Source

fn set_move_over(self, unit_index: impl Into<i32>)

SetMoveOver(i32) overload

Source

fn is_move_over(self) -> bool

IsMoveOver() overload

Source

fn is_allow_idle(self) -> bool

IsAllowIdle() overload

Source

fn processing(self)

Processing() overload

Source

fn get_unit(self) -> Unit

GetUnit() overload

Source

fn next(self)

Next() overload

Source

fn get_distance_from_enemy(self, actor: impl Into<Unit>) -> i32

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

Source

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

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

Source

fn get_enchant_priority( self, unit: impl Into<Unit>, is_entrust: impl Into<bool>, ) -> i32

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

Source

fn allow_idle(self)

AllowIdle() overload

Source

fn sort_descend(self)

SortDescend() overload

Source

fn sort_ascend(self)

SortAscend() overload

Source

fn enumerate_all(self)

EnumerateAll() overload

Source

fn enumerate_priority(self)

EnumeratePriority() overload

Source

fn enumerate_attack_long_range(self)

EnumerateAttackLongRange() overload

Source

fn enumerate_attack(self)

EnumerateAttack() overload

Source

fn enumerate_move(self)

EnumerateMove() overload

Source

fn enumerate_entrust(self)

EnumerateEntrust() overload

Source

fn enumerate_uncontroll(self)

EnumerateUncontroll() overload

Source

fn update_ask_heal(self)

UpdateAskHeal() overload

Source

fn update_target(self)

UpdateTarget() overload

Source

fn priority(self)

Priority() overload

Source

fn cause(self)

Cause() overload

Source

fn mind(self)

Mind() overload

Source

fn attack_crossfire(self)

AttackCrossfire() overload

Source

fn attack_long_range(self)

AttackLongRange() overload

Source

fn attack_high(self)

AttackHigh() overload

Source

fn attack_middle(self)

AttackMiddle() overload

Source

fn attack_low(self)

AttackLow() overload

Source

fn move(self)

Move() overload

Source

fn turn_end(self)

TurnEnd() overload

Source

fn entrust_update_idle(self)

EntrustUpdateIdle() overload

Source

fn entrust_heal(self)

EntrustHeal() overload

Source

fn entrust_update_cannon(self)

EntrustUpdateCannon() overload

Source

fn entrust_attack(self)

EntrustAttack() overload

Source

fn entrust_move(self)

EntrustMove() overload

Source

fn entrust_hero_rush_move(self)

EntrustHeroRushMove() overload

Source

fn entrust_fixed(self)

EntrustFixed() overload

Source

fn uncontroll_update_idle(self)

UncontrollUpdateIdle() overload

Source

fn uncontroll_heal(self)

UncontrollHeal() overload

Source

fn uncontroll_attack(self)

UncontrollAttack() overload

Source

fn uncontroll_move(self)

UncontrollMove() overload

Source

fn uncontroll_fixed(self)

UncontrollFixed() 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: IAIOrder> IAIOrderMethods for __T

Available on crate feature app-aiorder only.