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§
Sourcefn copy(self, src: impl Into<BattleDetail>)
fn copy(self, src: impl Into<BattleDetail>)
Copy(crate::app::battledetail::BattleDetail) overload
Sourcefn calc_battle(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_battle( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcBattle(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_interference_rod(self, current: impl Into<BattleInfoSide>)
fn calc_interference_rod(self, current: impl Into<BattleInfoSide>)
CalcInterferenceRod(crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn get_capability(self) -> CapabilityInt
fn get_capability(self) -> CapabilityInt
get_Capability() overload
Sourcefn set_capability(self, value: impl Into<CapabilityInt>)
fn set_capability(self, value: impl Into<CapabilityInt>)
set_Capability(crate::app::capabilityint::CapabilityInt) overload
Sourcefn calc_capability(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_capability( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcCapability(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn get_battle_count(self) -> i32
fn get_battle_count(self) -> i32
get_BattleCount() overload
Sourcefn set_battle_count(self, value: impl Into<i32>)
fn set_battle_count(self, value: impl Into<i32>)
set_BattleCount(i32) overload
Sourcefn get_action_count(self) -> i32
fn get_action_count(self) -> i32
get_ActionCount() overload
Sourcefn set_action_count(self, value: impl Into<i32>)
fn set_action_count(self, value: impl Into<i32>)
set_ActionCount(i32) overload
Sourcefn get_attack_count(self) -> i32
fn get_attack_count(self) -> i32
get_AttackCount() overload
Sourcefn set_attack_count(self, value: impl Into<i32>)
fn set_attack_count(self, value: impl Into<i32>)
set_AttackCount(i32) overload
Sourcefn get_terrain_defense(self) -> i32
fn get_terrain_defense(self) -> i32
get_TerrainDefense() overload
Sourcefn set_terrain_defense(self, value: impl Into<i32>)
fn set_terrain_defense(self, value: impl Into<i32>)
set_TerrainDefense(i32) overload
Sourcefn get_terrain_avoid(self) -> i32
fn get_terrain_avoid(self) -> i32
get_TerrainAvoid() overload
Sourcefn set_terrain_avoid(self, value: impl Into<i32>)
fn set_terrain_avoid(self, value: impl Into<i32>)
set_TerrainAvoid(i32) overload
Sourcefn get_support_hit(self) -> i32
fn get_support_hit(self) -> i32
get_SupportHit() overload
Sourcefn set_support_hit(self, value: impl Into<i32>)
fn set_support_hit(self, value: impl Into<i32>)
set_SupportHit(i32) overload
Sourcefn get_support_avoid(self) -> i32
fn get_support_avoid(self) -> i32
get_SupportAvoid() overload
Sourcefn set_support_avoid(self, value: impl Into<i32>)
fn set_support_avoid(self, value: impl Into<i32>)
set_SupportAvoid(i32) overload
Sourcefn get_support_critical(self) -> i32
fn get_support_critical(self) -> i32
get_SupportCritical() overload
Sourcefn set_support_critical(self, value: impl Into<i32>)
fn set_support_critical(self, value: impl Into<i32>)
set_SupportCritical(i32) overload
Sourcefn get_support_secure(self) -> i32
fn get_support_secure(self) -> i32
get_SupportSecure() overload
Sourcefn set_support_secure(self, value: impl Into<i32>)
fn set_support_secure(self, value: impl Into<i32>)
set_SupportSecure(i32) overload
Sourcefn get_weapon_attack(self) -> i32
fn get_weapon_attack(self) -> i32
get_WeaponAttack() overload
Sourcefn set_weapon_attack(self, value: impl Into<i32>)
fn set_weapon_attack(self, value: impl Into<i32>)
set_WeaponAttack(i32) overload
Sourcefn get_weapon_efficacy(self) -> i32
fn get_weapon_efficacy(self) -> i32
get_WeaponEfficacy() overload
Sourcefn set_weapon_efficacy(self, value: impl Into<i32>)
fn set_weapon_efficacy(self, value: impl Into<i32>)
set_WeaponEfficacy(i32) overload
Sourcefn get_weapon_hit(self) -> i32
fn get_weapon_hit(self) -> i32
get_WeaponHit() overload
Sourcefn set_weapon_hit(self, value: impl Into<i32>)
fn set_weapon_hit(self, value: impl Into<i32>)
set_WeaponHit(i32) overload
Sourcefn get_weapon_avoid(self) -> i32
fn get_weapon_avoid(self) -> i32
get_WeaponAvoid() overload
Sourcefn set_weapon_avoid(self, value: impl Into<i32>)
fn set_weapon_avoid(self, value: impl Into<i32>)
set_WeaponAvoid(i32) overload
Sourcefn get_weapon_critical(self) -> i32
fn get_weapon_critical(self) -> i32
get_WeaponCritical() overload
Sourcefn set_weapon_critical(self, value: impl Into<i32>)
fn set_weapon_critical(self, value: impl Into<i32>)
set_WeaponCritical(i32) overload
Sourcefn get_weapon_secure(self) -> i32
fn get_weapon_secure(self) -> i32
get_WeaponSecure() overload
Sourcefn set_weapon_secure(self, value: impl Into<i32>)
fn set_weapon_secure(self, value: impl Into<i32>)
set_WeaponSecure(i32) overload
Sourcefn get_weapon_weight(self) -> i32
fn get_weapon_weight(self) -> i32
get_WeaponWeight() overload
Sourcefn set_weapon_weight(self, value: impl Into<i32>)
fn set_weapon_weight(self, value: impl Into<i32>)
set_WeaponWeight(i32) overload
Sourcefn get_skill_correct(self) -> i32
fn get_skill_correct(self) -> i32
get_SkillCorrect() overload
Sourcefn set_skill_correct(self, value: impl Into<i32>)
fn set_skill_correct(self, value: impl Into<i32>)
set_SkillCorrect(i32) overload
Sourcefn get_god_skill_correct(self) -> i32
fn get_god_skill_correct(self) -> i32
get_GodSkillCorrect() overload
Sourcefn set_god_skill_correct(self, value: impl Into<i32>)
fn set_god_skill_correct(self, value: impl Into<i32>)
set_GodSkillCorrect(i32) overload
Sourcefn get_blow_ratio(self) -> i32
fn get_blow_ratio(self) -> i32
get_BlowRatio() overload
Sourcefn set_blow_ratio(self, value: impl Into<i32>)
fn set_blow_ratio(self, value: impl Into<i32>)
set_BlowRatio(i32) overload
Sourcefn get_blow_distance(self) -> i32
fn get_blow_distance(self) -> i32
get_BlowDistance() overload
Sourcefn set_blow_distance(self, value: impl Into<i32>)
fn set_blow_distance(self, value: impl Into<i32>)
set_BlowDistance(i32) overload
Sourcefn get_unit_attack(self) -> BattleParam
fn get_unit_attack(self) -> BattleParam
get_UnitAttack() overload
Sourcefn get_unit_defense(self) -> BattleParam
fn get_unit_defense(self) -> BattleParam
get_UnitDefense() overload
Sourcefn get_attack(self) -> BattleParam
fn get_attack(self) -> BattleParam
get_Attack() overload
Sourcefn get_defense(self) -> BattleParam
fn get_defense(self) -> BattleParam
get_Defense() overload
Sourcefn get_hit(self) -> BattleParam
fn get_hit(self) -> BattleParam
get_Hit() overload
Sourcefn get_avoid(self) -> BattleParam
fn get_avoid(self) -> BattleParam
get_Avoid() overload
Sourcefn get_critical(self) -> BattleParam
fn get_critical(self) -> BattleParam
get_Critical() overload
Sourcefn get_secure(self) -> BattleParam
fn get_secure(self) -> BattleParam
get_Secure() overload
Sourcefn get_continuous(self) -> BattleParam
fn get_continuous(self) -> BattleParam
get_Continuous() overload
Sourcefn get_simple_power(self) -> BattleParam
fn get_simple_power(self) -> BattleParam
get_SimplePower() overload
Sourcefn get_simple_hit(self) -> BattleParam
fn get_simple_hit(self) -> BattleParam
get_SimpleHit() overload
Sourcefn get_simple_critical(self) -> BattleParam
fn get_simple_critical(self) -> BattleParam
get_SimpleCritical() overload
Sourcefn calc_attack(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_attack( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcAttack(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn is_efficacy(self) -> bool
fn is_efficacy(self) -> bool
IsEfficacy() overload
Sourcefn calc_defense(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_defense( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcDefense(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_hit(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_hit( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcHit(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_avoid(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_avoid( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcAvoid(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_critical(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_critical( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcCritical(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_secure(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_secure( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcSecure(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_continuous(
self,
current: impl Into<BattleInfoSide>,
reverse: impl Into<BattleInfoSide>,
)
fn calc_continuous( self, current: impl Into<BattleInfoSide>, reverse: impl Into<BattleInfoSide>, )
CalcContinuous(crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn get_attack_attribute(self) -> BattleCalculator_Attributes
fn get_attack_attribute(self) -> BattleCalculator_Attributes
get_AttackAttribute() overload
Sourcefn set_attack_attribute(self, value: impl Into<BattleCalculator_Attributes>)
fn set_attack_attribute(self, value: impl Into<BattleCalculator_Attributes>)
set_AttackAttribute(crate::app::battlecalculator::BattleCalculator_Attributes) overload
Sourcefn get_skill_layers(self) -> SkillData_Layers
fn get_skill_layers(self) -> SkillData_Layers
get_SkillLayers() overload
Sourcefn set_skill_layers(self, value: impl Into<SkillData_Layers>)
fn set_skill_layers(self, value: impl Into<SkillData_Layers>)
set_SkillLayers(crate::app::skilldata::SkillData_Layers) overload
Sourcefn get_active_skill(self) -> SkillArray
fn get_active_skill(self) -> SkillArray
get_ActiveSkill() overload
Sourcefn is_enable(self, skill: impl Into<SkillData>) -> bool
fn is_enable(self, skill: impl Into<SkillData>) -> bool
IsEnable(crate::app::skilldata::SkillData) overload
Sourcefn add_active_skill(self, skill: impl Into<SkillData>)
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§
impl<__T: IBattleDetail> IBattleDetailMethods for __T
app-battledetail only.