pub trait IAIMethods: IAI {
Show 32 methods
// Provided methods
fn ctor(self) { ... }
fn get_order(self) -> AIOrder { ... }
fn get_think(self) -> AIThink { ... }
fn get_cannon(self) -> AICannon { ... }
fn get_interrupt_attack(self) -> AIInterruptAttack { ... }
fn set_seq(self, seq: impl Into<AI_Seq>) { ... }
fn set_crossfire(self, enable: impl Into<bool>) { ... }
fn is_versus(self) -> bool { ... }
fn is_versus_casual(self) -> bool { ... }
fn is_versus_ranked_or_mock(self) -> bool { ... }
fn processing(self) { ... }
fn setup_for_engage_or_god_change(self, unit: impl Into<Unit>) { ... }
fn is_order_unit_engage_or_god_change(self) -> bool { ... }
fn setup_for_remove(self, unit: impl Into<Unit>) { ... }
fn is_order_unit_remove(self) -> bool { ... }
fn setup_for_remagic(self, unit: impl Into<Unit>) { ... }
fn is_order_unit_remagic(self) -> bool { ... }
fn setup_for_rerewarp(self, unit: impl Into<Unit>) { ... }
fn is_order_unit_rerewarp(self) -> bool { ... }
fn i_initialize(self) { ... }
fn i_processing(self) -> bool { ... }
fn i_processing_remove(self) -> bool { ... }
fn i_processing_remagic(self) -> bool { ... }
fn i_processing_rerewarp(self) -> bool { ... }
fn i_crossfire(self) -> bool { ... }
fn i_interrupt_attack(self) -> bool { ... }
fn completion(self, unit: impl Into<Unit>) { ... }
fn i_finalize(self) { ... }
fn dbg_plc_prepare(self) { ... }
fn dbg_plc_add_log(self) { ... }
fn dbg_plc_unknown_seq(self) { ... }
fn dbg_plc_check_loop_count(self) { ... }
}Provided Methods§
Sourcefn get_cannon(self) -> AICannon
fn get_cannon(self) -> AICannon
get_Cannon() overload
Sourcefn get_interrupt_attack(self) -> AIInterruptAttack
fn get_interrupt_attack(self) -> AIInterruptAttack
get_InterruptAttack() overload
Sourcefn set_crossfire(self, enable: impl Into<bool>)
fn set_crossfire(self, enable: impl Into<bool>)
SetCrossfire(bool) overload
Sourcefn is_versus_casual(self) -> bool
fn is_versus_casual(self) -> bool
IsVersusCasual() overload
Sourcefn is_versus_ranked_or_mock(self) -> bool
fn is_versus_ranked_or_mock(self) -> bool
IsVersusRankedOrMock() overload
Sourcefn processing(self)
fn processing(self)
Processing() overload
Sourcefn setup_for_engage_or_god_change(self, unit: impl Into<Unit>)
fn setup_for_engage_or_god_change(self, unit: impl Into<Unit>)
SetupForEngageOrGodChange(crate::app::unit::Unit) overload
Sourcefn is_order_unit_engage_or_god_change(self) -> bool
fn is_order_unit_engage_or_god_change(self) -> bool
IsOrderUnitEngageOrGodChange() overload
Sourcefn setup_for_remove(self, unit: impl Into<Unit>)
fn setup_for_remove(self, unit: impl Into<Unit>)
SetupForRemove(crate::app::unit::Unit) overload
Sourcefn is_order_unit_remove(self) -> bool
fn is_order_unit_remove(self) -> bool
IsOrderUnitRemove() overload
Sourcefn setup_for_remagic(self, unit: impl Into<Unit>)
fn setup_for_remagic(self, unit: impl Into<Unit>)
SetupForRemagic(crate::app::unit::Unit) overload
Sourcefn is_order_unit_remagic(self) -> bool
fn is_order_unit_remagic(self) -> bool
IsOrderUnitRemagic() overload
Sourcefn setup_for_rerewarp(self, unit: impl Into<Unit>)
fn setup_for_rerewarp(self, unit: impl Into<Unit>)
SetupForRerewarp(crate::app::unit::Unit) overload
Sourcefn is_order_unit_rerewarp(self) -> bool
fn is_order_unit_rerewarp(self) -> bool
IsOrderUnitRerewarp() overload
Sourcefn i_initialize(self)
fn i_initialize(self)
iInitialize() overload
Sourcefn i_processing(self) -> bool
fn i_processing(self) -> bool
iProcessing() overload
Sourcefn i_processing_remove(self) -> bool
fn i_processing_remove(self) -> bool
iProcessingRemove() overload
Sourcefn i_processing_remagic(self) -> bool
fn i_processing_remagic(self) -> bool
iProcessingRemagic() overload
Sourcefn i_processing_rerewarp(self) -> bool
fn i_processing_rerewarp(self) -> bool
iProcessingRerewarp() overload
Sourcefn i_crossfire(self) -> bool
fn i_crossfire(self) -> bool
iCrossfire() overload
Sourcefn i_interrupt_attack(self) -> bool
fn i_interrupt_attack(self) -> bool
iInterruptAttack() overload
Sourcefn completion(self, unit: impl Into<Unit>)
fn completion(self, unit: impl Into<Unit>)
Completion(crate::app::unit::Unit) overload
Sourcefn i_finalize(self)
fn i_finalize(self)
iFinalize() overload
Sourcefn dbg_plc_prepare(self)
fn dbg_plc_prepare(self)
DbgPLCPrepare() overload
Sourcefn dbg_plc_add_log(self)
fn dbg_plc_add_log(self)
DbgPLCAddLog() overload
Sourcefn dbg_plc_unknown_seq(self)
fn dbg_plc_unknown_seq(self)
DbgPLCUnknownSeq() overload
Sourcefn dbg_plc_check_loop_count(self)
fn dbg_plc_check_loop_count(self)
DbgPLCCheckLoopCount() 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: IAI> IAIMethods for __T
app-ai only.