Skip to main content

IPhaseMethods

Trait IPhaseMethods 

Source
pub trait IPhaseMethods: IPhase {
Show 32 methods // Provided methods fn get_is_standing_die(self) -> bool { ... } fn get_prev(self) -> Phase { ... } fn set_prev(self, value: impl Into<Phase>) { ... } fn get_next(self) -> Phase { ... } fn set_next(self, value: impl Into<Phase>) { ... } fn make_pair(self, prev: impl Into<Phase>) { ... } fn get_is_critical(self) -> bool { ... } fn get_damage_side(self) -> i32 { ... } fn get_guard_side(self) -> i32 { ... } fn is_dead_someone(self) -> bool { ... } fn find_die_side(self) -> i32 { ... } fn is_dead_damager(self) -> bool { ... } fn is_dead(self, side: impl Into<i32>) -> bool { ... } fn is_self_damage(self) -> bool { ... } fn is_suicide(self) -> bool { ... } fn is_heal(self) -> bool { ... } fn get_damage_ratio(self) -> f32 { ... } fn set_damage_ratio(self, value: impl Into<f32>) { ... } fn get_damage_effect_level(self) -> i32 { ... } fn get_is_damage_high(self) -> bool { ... } fn get_prev_continuous_attack(self) -> i32 { ... } fn get_prev_continuous_damage(self) -> i32 { ... } fn get_is_combo_from_prev(self) -> bool { ... } fn get_is_combo_to_next(self) -> bool { ... } fn get_is_first_attack(self) -> bool { ... } fn get_is_last_attack(self) -> bool { ... } fn get_is_player_side_attack(self) -> bool { ... } fn get_is_enemy_side_attack(self) -> bool { ... } fn get_attacker(self) -> Character { ... } fn get_damager(self) -> Character { ... } fn get_chain_attack_count(self) -> i32 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_is_standing_die(self) -> bool

get_IsStandingDie() overload

Source

fn get_prev(self) -> Phase

get_Prev() overload

Source

fn set_prev(self, value: impl Into<Phase>)

set_Prev(crate::combat::phase::Phase) overload

Source

fn get_next(self) -> Phase

get_Next() overload

Source

fn set_next(self, value: impl Into<Phase>)

set_Next(crate::combat::phase::Phase) overload

Source

fn make_pair(self, prev: impl Into<Phase>)

MakePair(crate::combat::phase::Phase) overload

Source

fn get_is_critical(self) -> bool

get_IsCritical() overload

Source

fn get_damage_side(self) -> i32

get_DamageSide() overload

Source

fn get_guard_side(self) -> i32

GetGuardSide() overload

Source

fn is_dead_someone(self) -> bool

IsDeadSomeone() overload

Source

fn find_die_side(self) -> i32

FindDieSide() overload

Source

fn is_dead_damager(self) -> bool

IsDeadDamager() overload

Source

fn is_dead(self, side: impl Into<i32>) -> bool

IsDead(i32) overload

Source

fn is_self_damage(self) -> bool

IsSelfDamage() overload

Source

fn is_suicide(self) -> bool

IsSuicide() overload

Source

fn is_heal(self) -> bool

IsHeal() overload

Source

fn get_damage_ratio(self) -> f32

get_DamageRatio() overload

Source

fn set_damage_ratio(self, value: impl Into<f32>)

set_DamageRatio(f32) overload

Source

fn get_damage_effect_level(self) -> i32

get_DamageEffectLevel() overload

Source

fn get_is_damage_high(self) -> bool

get_IsDamageHigh() overload

Source

fn get_prev_continuous_attack(self) -> i32

get_PrevContinuousAttack() overload

Source

fn get_prev_continuous_damage(self) -> i32

get_PrevContinuousDamage() overload

Source

fn get_is_combo_from_prev(self) -> bool

get_IsComboFromPrev() overload

Source

fn get_is_combo_to_next(self) -> bool

get_IsComboToNext() overload

Source

fn get_is_first_attack(self) -> bool

get_IsFirstAttack() overload

Source

fn get_is_last_attack(self) -> bool

get_IsLastAttack() overload

Source

fn get_is_player_side_attack(self) -> bool

get_IsPlayerSideAttack() overload

Source

fn get_is_enemy_side_attack(self) -> bool

get_IsEnemySideAttack() overload

Source

fn get_attacker(self) -> Character

get_Attacker() overload

Source

fn get_damager(self) -> Character

get_Damager() overload

Source

fn get_chain_attack_count(self) -> i32

get_ChainAttackCount() overload

Source

fn ctor(self)

.ctor() 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: IPhase> IPhaseMethods for __T

Available on crate feature combat-phase only.