Skip to main content

IAIInterruptAttackMethods

Trait IAIInterruptAttackMethods 

Source
pub trait IAIInterruptAttackMethods: IAIInterruptAttack {
Show 20 methods // Provided methods fn ctor(self) { ... } fn think( self, actor: impl Into<Unit>, target: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> bool { ... } fn think_impl( self, actor: impl Into<Unit>, target: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> bool { ... } fn attack(self) -> bool { ... } fn is_reserved(self) -> bool { ... } fn clear(self) { ... } fn enumerate_candidates( self, is_original_think_break: impl Into<bool>, is_original_think_chain: impl Into<bool>, ) { ... } fn decide_attacker(self, is_add_moved_original: impl Into<bool>) -> bool { ... } fn deploy(self, unit: impl Into<Unit>) { ... } fn get_attack_score( self, actor: impl Into<Unit>, flag: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> (bool, AIInterruptAttack_AttackScoreResult) { ... } fn get_range(self, unit: impl Into<Unit>) -> i32 { ... } fn get_max_attack_count(self) -> i32 { ... } fn add_moved_original_to_image(self) { ... } fn delete_moved_original_from_image(self) { ... } fn mind( self, attacker: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, bullet_pattern: impl Into<i32>, ) { ... } fn dbg_log(self, msg: impl Into<Il2CppString>) { ... } fn dbg_log_orignal_and_target(self) { ... } fn dbg_log_candidates(self) { ... } fn dbg_log_attacker( self, msg: impl Into<Il2CppString>, unit: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, bullet_pattern: impl Into<i32>, ) { ... } fn dbg_log_exist( self, method_name: impl Into<Il2CppString>, attacker: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, ) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn think( self, actor: impl Into<Unit>, target: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> bool

Think(crate::app::unit::Unit, crate::app::unit::Unit, i32, i32, i32, i32, i32, i32, i32, i32) overload

Source

fn think_impl( self, actor: impl Into<Unit>, target: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> bool

ThinkImpl(crate::app::unit::Unit, crate::app::unit::Unit, i32, i32, i32, i32, i32, i32, i32, i32) overload

Source

fn attack(self) -> bool

Attack() overload

Source

fn is_reserved(self) -> bool

IsReserved() overload

Source

fn clear(self)

Clear() overload

Source

fn enumerate_candidates( self, is_original_think_break: impl Into<bool>, is_original_think_chain: impl Into<bool>, )

EnumerateCandidates(bool, bool) overload

Source

fn decide_attacker(self, is_add_moved_original: impl Into<bool>) -> bool

DecideAttacker(bool) overload

Source

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

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

Source

fn get_attack_score( self, actor: impl Into<Unit>, flag: impl Into<i32>, bullet_pattern: impl Into<i32>, ) -> (bool, AIInterruptAttack_AttackScoreResult)

GetAttackScore(crate::app::unit::Unit, i32, i32, *mutcrate::app::aiinterruptattack::AIInterruptAttack_AttackScoreResult) overload

Source

fn get_range(self, unit: impl Into<Unit>) -> i32

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

Source

fn get_max_attack_count(self) -> i32

GetMaxAttackCount() overload

Source

fn add_moved_original_to_image(self)

AddMovedOriginalToImage() overload

Source

fn delete_moved_original_from_image(self)

DeleteMovedOriginalFromImage() overload

Source

fn mind( self, attacker: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, bullet_pattern: impl Into<i32>, )

Mind(crate::app::unit::Unit, i32, i32, i32, i32, i32, i32) overload

Source

fn dbg_log(self, msg: impl Into<Il2CppString>)

DbgLog(::unity::Il2CppString) overload

Source

fn dbg_log_orignal_and_target(self)

DbgLogOrignalAndTarget() overload

Source

fn dbg_log_candidates(self)

DbgLogCandidates() overload

Source

fn dbg_log_attacker( self, msg: impl Into<Il2CppString>, unit: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, item_index: impl Into<i32>, bullet_pattern: impl Into<i32>, )

DbgLogAttacker(::unity::Il2CppString, crate::app::unit::Unit, i32, i32, i32, i32, i32, i32) overload

Source

fn dbg_log_exist( self, method_name: impl Into<Il2CppString>, attacker: impl Into<Unit>, move_x: impl Into<i32>, move_z: impl Into<i32>, )

DbgLogExist(::unity::Il2CppString, crate::app::unit::Unit, i32, 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> IAIInterruptAttackMethods for __T

Available on crate feature app-aiinterruptattack only.