Skip to main content

IBattleDetailMethods

Trait IBattleDetailMethods 

Source
pub trait IBattleDetailMethods: IBattleDetail {
Show 77 methods // Provided methods fn ctor(self) { ... } fn on_enter(self) { ... } fn on_exit(self) { ... } fn clear(self) { ... } fn copy(self, src: impl Into<BattleDetail>) { ... } fn calc_battle( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_interference_rod(self, current: impl Into<BattleInfoSide>) { ... } fn get_capability(self) -> CapabilityInt { ... } fn set_capability(self, value: impl Into<CapabilityInt>) { ... } fn calc_capability( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn get_battle_count(self) -> i32 { ... } fn set_battle_count(self, value: impl Into<i32>) { ... } fn get_action_count(self) -> i32 { ... } fn set_action_count(self, value: impl Into<i32>) { ... } fn get_attack_count(self) -> i32 { ... } fn set_attack_count(self, value: impl Into<i32>) { ... } fn get_terrain_defense(self) -> i32 { ... } fn set_terrain_defense(self, value: impl Into<i32>) { ... } fn get_terrain_avoid(self) -> i32 { ... } fn set_terrain_avoid(self, value: impl Into<i32>) { ... } fn get_support_hit(self) -> i32 { ... } fn set_support_hit(self, value: impl Into<i32>) { ... } fn get_support_avoid(self) -> i32 { ... } fn set_support_avoid(self, value: impl Into<i32>) { ... } fn get_support_critical(self) -> i32 { ... } fn set_support_critical(self, value: impl Into<i32>) { ... } fn get_support_secure(self) -> i32 { ... } fn set_support_secure(self, value: impl Into<i32>) { ... } fn get_weapon_attack(self) -> i32 { ... } fn set_weapon_attack(self, value: impl Into<i32>) { ... } fn get_weapon_efficacy(self) -> i32 { ... } fn set_weapon_efficacy(self, value: impl Into<i32>) { ... } fn get_weapon_hit(self) -> i32 { ... } fn set_weapon_hit(self, value: impl Into<i32>) { ... } fn get_weapon_avoid(self) -> i32 { ... } fn set_weapon_avoid(self, value: impl Into<i32>) { ... } fn get_weapon_critical(self) -> i32 { ... } fn set_weapon_critical(self, value: impl Into<i32>) { ... } fn get_weapon_secure(self) -> i32 { ... } fn set_weapon_secure(self, value: impl Into<i32>) { ... } fn get_weapon_weight(self) -> i32 { ... } fn set_weapon_weight(self, value: impl Into<i32>) { ... } fn get_skill_correct(self) -> i32 { ... } fn set_skill_correct(self, value: impl Into<i32>) { ... } fn get_god_skill_correct(self) -> i32 { ... } fn set_god_skill_correct(self, value: impl Into<i32>) { ... } fn get_blow_ratio(self) -> i32 { ... } fn set_blow_ratio(self, value: impl Into<i32>) { ... } fn get_blow_distance(self) -> i32 { ... } fn set_blow_distance(self, value: impl Into<i32>) { ... } fn get_unit_attack(self) -> BattleParam { ... } fn get_unit_defense(self) -> BattleParam { ... } fn get_attack(self) -> BattleParam { ... } fn get_defense(self) -> BattleParam { ... } fn get_hit(self) -> BattleParam { ... } fn get_avoid(self) -> BattleParam { ... } fn get_critical(self) -> BattleParam { ... } fn get_secure(self) -> BattleParam { ... } fn get_continuous(self) -> BattleParam { ... } fn get_simple_power(self) -> BattleParam { ... } fn get_simple_hit(self) -> BattleParam { ... } fn get_simple_critical(self) -> BattleParam { ... } fn calc_attack( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn is_efficacy(self) -> bool { ... } fn calc_defense( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_hit( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_avoid( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_critical( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_secure( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn calc_continuous( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, ) { ... } fn get_attack_attribute(self) -> BattleCalculator_Attributes { ... } fn set_attack_attribute(self, value: impl Into<BattleCalculator_Attributes>) { ... } fn get_skill_layers(self) -> SkillData_Layers { ... } fn set_skill_layers(self, value: impl Into<SkillData_Layers>) { ... } fn get_active_skill(self) -> SkillArray { ... } fn is_enable(self, skill: impl Into<SkillData>) -> bool { ... } fn add_active_skill(self, skill: impl Into<SkillData>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn on_enter(self)

OnEnter() overload

Source

fn on_exit(self)

OnExit() overload

Source

fn clear(self)

Clear() overload

Source

fn copy(self, src: impl Into<BattleDetail>)

Copy(crate::app::battledetail::BattleDetail) overload

Source

fn calc_battle( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcBattle(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_interference_rod(self, current: impl Into<BattleInfoSide>)

CalcInterferenceRod(crate::app::battleinfoside::BattleInfoSide) overload

Source

fn get_capability(self) -> CapabilityInt

get_Capability() overload

Source

fn set_capability(self, value: impl Into<CapabilityInt>)

set_Capability(crate::app::capabilityint::CapabilityInt) overload

Source

fn calc_capability( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcCapability(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn get_battle_count(self) -> i32

get_BattleCount() overload

Source

fn set_battle_count(self, value: impl Into<i32>)

set_BattleCount(i32) overload

Source

fn get_action_count(self) -> i32

get_ActionCount() overload

Source

fn set_action_count(self, value: impl Into<i32>)

set_ActionCount(i32) overload

Source

fn get_attack_count(self) -> i32

get_AttackCount() overload

Source

fn set_attack_count(self, value: impl Into<i32>)

set_AttackCount(i32) overload

Source

fn get_terrain_defense(self) -> i32

get_TerrainDefense() overload

Source

fn set_terrain_defense(self, value: impl Into<i32>)

set_TerrainDefense(i32) overload

Source

fn get_terrain_avoid(self) -> i32

get_TerrainAvoid() overload

Source

fn set_terrain_avoid(self, value: impl Into<i32>)

set_TerrainAvoid(i32) overload

Source

fn get_support_hit(self) -> i32

get_SupportHit() overload

Source

fn set_support_hit(self, value: impl Into<i32>)

set_SupportHit(i32) overload

Source

fn get_support_avoid(self) -> i32

get_SupportAvoid() overload

Source

fn set_support_avoid(self, value: impl Into<i32>)

set_SupportAvoid(i32) overload

Source

fn get_support_critical(self) -> i32

get_SupportCritical() overload

Source

fn set_support_critical(self, value: impl Into<i32>)

set_SupportCritical(i32) overload

Source

fn get_support_secure(self) -> i32

get_SupportSecure() overload

Source

fn set_support_secure(self, value: impl Into<i32>)

set_SupportSecure(i32) overload

Source

fn get_weapon_attack(self) -> i32

get_WeaponAttack() overload

Source

fn set_weapon_attack(self, value: impl Into<i32>)

set_WeaponAttack(i32) overload

Source

fn get_weapon_efficacy(self) -> i32

get_WeaponEfficacy() overload

Source

fn set_weapon_efficacy(self, value: impl Into<i32>)

set_WeaponEfficacy(i32) overload

Source

fn get_weapon_hit(self) -> i32

get_WeaponHit() overload

Source

fn set_weapon_hit(self, value: impl Into<i32>)

set_WeaponHit(i32) overload

Source

fn get_weapon_avoid(self) -> i32

get_WeaponAvoid() overload

Source

fn set_weapon_avoid(self, value: impl Into<i32>)

set_WeaponAvoid(i32) overload

Source

fn get_weapon_critical(self) -> i32

get_WeaponCritical() overload

Source

fn set_weapon_critical(self, value: impl Into<i32>)

set_WeaponCritical(i32) overload

Source

fn get_weapon_secure(self) -> i32

get_WeaponSecure() overload

Source

fn set_weapon_secure(self, value: impl Into<i32>)

set_WeaponSecure(i32) overload

Source

fn get_weapon_weight(self) -> i32

get_WeaponWeight() overload

Source

fn set_weapon_weight(self, value: impl Into<i32>)

set_WeaponWeight(i32) overload

Source

fn get_skill_correct(self) -> i32

get_SkillCorrect() overload

Source

fn set_skill_correct(self, value: impl Into<i32>)

set_SkillCorrect(i32) overload

Source

fn get_god_skill_correct(self) -> i32

get_GodSkillCorrect() overload

Source

fn set_god_skill_correct(self, value: impl Into<i32>)

set_GodSkillCorrect(i32) overload

Source

fn get_blow_ratio(self) -> i32

get_BlowRatio() overload

Source

fn set_blow_ratio(self, value: impl Into<i32>)

set_BlowRatio(i32) overload

Source

fn get_blow_distance(self) -> i32

get_BlowDistance() overload

Source

fn set_blow_distance(self, value: impl Into<i32>)

set_BlowDistance(i32) overload

Source

fn get_unit_attack(self) -> BattleParam

get_UnitAttack() overload

Source

fn get_unit_defense(self) -> BattleParam

get_UnitDefense() overload

Source

fn get_attack(self) -> BattleParam

get_Attack() overload

Source

fn get_defense(self) -> BattleParam

get_Defense() overload

Source

fn get_hit(self) -> BattleParam

get_Hit() overload

Source

fn get_avoid(self) -> BattleParam

get_Avoid() overload

Source

fn get_critical(self) -> BattleParam

get_Critical() overload

Source

fn get_secure(self) -> BattleParam

get_Secure() overload

Source

fn get_continuous(self) -> BattleParam

get_Continuous() overload

Source

fn get_simple_power(self) -> BattleParam

get_SimplePower() overload

Source

fn get_simple_hit(self) -> BattleParam

get_SimpleHit() overload

Source

fn get_simple_critical(self) -> BattleParam

get_SimpleCritical() overload

Source

fn calc_attack( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcAttack(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn is_efficacy(self) -> bool

IsEfficacy() overload

Source

fn calc_defense( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcDefense(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_hit( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcHit(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_avoid( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcAvoid(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_critical( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcCritical(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_secure( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcSecure(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calc_continuous( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )

CalcContinuous(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn get_attack_attribute(self) -> BattleCalculator_Attributes

get_AttackAttribute() overload

Source

fn set_attack_attribute(self, value: impl Into<BattleCalculator_Attributes>)

set_AttackAttribute(crate::app::battlecalculator::BattleCalculator_Attributes) overload

Source

fn get_skill_layers(self) -> SkillData_Layers

get_SkillLayers() overload

Source

fn set_skill_layers(self, value: impl Into<SkillData_Layers>)

set_SkillLayers(crate::app::skilldata::SkillData_Layers) overload

Source

fn get_active_skill(self) -> SkillArray

get_ActiveSkill() overload

Source

fn is_enable(self, skill: impl Into<SkillData>) -> bool

IsEnable(crate::app::skilldata::SkillData) overload

Source

fn add_active_skill(self, skill: impl Into<SkillData>)

AddActiveSkill(crate::app::skilldata::SkillData) 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: IBattleDetail> IBattleDetailMethods for __T

Available on crate feature app-battledetail only.