pub trait IThrowingMethods: IThrowing {
Show 13 methods
// Provided methods
fn on_character_setup(self, owner: impl Into<Character>) { ... }
fn on_enter_attack(self) { ... }
fn on_hit_time_predicted(self, world_hit_time: impl Into<f32>) { ... }
fn on_reached(self) { ... }
fn flying_hit_reaction(self, phase: impl Into<Phase>) { ... }
fn on_hit(self) { ... }
fn on_miss(self) { ... }
fn on_guard(self) { ... }
fn on_knockoff(self) { ... }
fn 発射(self) { ... }
fn calc_aim_position(
self,
enemy: impl Into<Character>,
knockoff_attack: impl Into<i32>,
) -> Vector3 { ... }
fn recalc_flying_time(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_character_setup(self, owner: impl Into<Character>)
fn on_character_setup(self, owner: impl Into<Character>)
OnCharacterSetup(crate::combat::character::Character) overload
Sourcefn on_enter_attack(self)
fn on_enter_attack(self)
OnEnterAttack() overload
Sourcefn on_hit_time_predicted(self, world_hit_time: impl Into<f32>)
fn on_hit_time_predicted(self, world_hit_time: impl Into<f32>)
OnHitTimePredicted(f32) overload
Sourcefn on_reached(self)
fn on_reached(self)
OnReached() overload
Sourcefn flying_hit_reaction(self, phase: impl Into<Phase>)
fn flying_hit_reaction(self, phase: impl Into<Phase>)
FlyingHitReaction(crate::combat::phase::Phase) overload
Sourcefn on_knockoff(self)
fn on_knockoff(self)
OnKnockoff() overload
Sourcefn calc_aim_position(
self,
enemy: impl Into<Character>,
knockoff_attack: impl Into<i32>,
) -> Vector3
fn calc_aim_position( self, enemy: impl Into<Character>, knockoff_attack: impl Into<i32>, ) -> Vector3
CalcAimPosition(crate::combat::character::Character, i32) overload
Sourcefn recalc_flying_time(self)
fn recalc_flying_time(self)
RecalcFlyingTime() 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: IThrowing> IThrowingMethods for __T
Available on crate feature
combat-throwing only.