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§
Sourcefn 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( 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
Sourcefn 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 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
Sourcefn is_reserved(self) -> bool
fn is_reserved(self) -> bool
IsReserved() overload
Sourcefn enumerate_candidates(
self,
is_original_think_break: impl Into<bool>,
is_original_think_chain: impl Into<bool>,
)
fn enumerate_candidates( self, is_original_think_break: impl Into<bool>, is_original_think_chain: impl Into<bool>, )
EnumerateCandidates(bool, bool) overload
Sourcefn decide_attacker(self, is_add_moved_original: impl Into<bool>) -> bool
fn decide_attacker(self, is_add_moved_original: impl Into<bool>) -> bool
DecideAttacker(bool) overload
Sourcefn get_attack_score(
self,
actor: impl Into<Unit>,
flag: impl Into<i32>,
bullet_pattern: impl Into<i32>,
) -> (bool, AIInterruptAttack_AttackScoreResult)
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
Sourcefn get_max_attack_count(self) -> i32
fn get_max_attack_count(self) -> i32
GetMaxAttackCount() overload
Sourcefn add_moved_original_to_image(self)
fn add_moved_original_to_image(self)
AddMovedOriginalToImage() overload
Sourcefn delete_moved_original_from_image(self)
fn delete_moved_original_from_image(self)
DeleteMovedOriginalFromImage() overload
Sourcefn 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 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
Sourcefn dbg_log(self, msg: impl Into<Il2CppString>)
fn dbg_log(self, msg: impl Into<Il2CppString>)
DbgLog(::unity::Il2CppString) overload
Sourcefn dbg_log_orignal_and_target(self)
fn dbg_log_orignal_and_target(self)
DbgLogOrignalAndTarget() overload
Sourcefn dbg_log_candidates(self)
fn dbg_log_candidates(self)
DbgLogCandidates() overload
Sourcefn 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_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
Sourcefn dbg_log_exist(
self,
method_name: impl Into<Il2CppString>,
attacker: impl Into<Unit>,
move_x: impl Into<i32>,
move_z: 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>, )
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§
impl<__T: IAIInterruptAttack> IAIInterruptAttackMethods for __T
app-aiinterruptattack only.