pub trait IBattleInfoParamMethods: IBattleInfoParam {
Show 28 methods
// Provided methods
fn get_max_hp(self) -> i32 { ... }
fn set_max_hp(self, value: impl Into<i32>) { ... }
fn get_attack(self) -> i32 { ... }
fn set_attack(self, value: impl Into<i32>) { ... }
fn get_hit(self) -> i32 { ... }
fn set_hit(self, value: impl Into<i32>) { ... }
fn get_critical(self) -> i32 { ... }
fn set_critical(self, value: impl Into<i32>) { ... }
fn get_avoid(self) -> i32 { ... }
fn set_avoid(self, value: impl Into<i32>) { ... }
fn get_secure(self) -> i32 { ... }
fn set_secure(self, value: impl Into<i32>) { ... }
fn get_continuous(self) -> i32 { ... }
fn set_continuous(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_avoid(self) -> i32 { ... }
fn set_support_avoid(self, value: impl Into<i32>) { ... }
fn get_support_hit(self) -> i32 { ... }
fn set_support_hit(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 calc_simple(
self,
unit: impl Into<Unit>,
info: impl Into<BattleInfo>,
flags: impl Into<BattleInfo_Flags>,
item: impl Into<UnitItem>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_max_hp(self) -> i32
fn get_max_hp(self) -> i32
get_MaxHp() overload
Sourcefn set_max_hp(self, value: impl Into<i32>)
fn set_max_hp(self, value: impl Into<i32>)
set_MaxHp(i32) overload
Sourcefn get_attack(self) -> i32
fn get_attack(self) -> i32
get_Attack() overload
Sourcefn set_attack(self, value: impl Into<i32>)
fn set_attack(self, value: impl Into<i32>)
set_Attack(i32) overload
Sourcefn get_critical(self) -> i32
fn get_critical(self) -> i32
get_Critical() overload
Sourcefn set_critical(self, value: impl Into<i32>)
fn set_critical(self, value: impl Into<i32>)
set_Critical(i32) overload
Sourcefn get_secure(self) -> i32
fn get_secure(self) -> i32
get_Secure() overload
Sourcefn set_secure(self, value: impl Into<i32>)
fn set_secure(self, value: impl Into<i32>)
set_Secure(i32) overload
Sourcefn get_continuous(self) -> i32
fn get_continuous(self) -> i32
get_Continuous() overload
Sourcefn set_continuous(self, value: impl Into<i32>)
fn set_continuous(self, value: impl Into<i32>)
set_Continuous(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_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_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_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 calc_simple(
self,
unit: impl Into<Unit>,
info: impl Into<BattleInfo>,
flags: impl Into<BattleInfo_Flags>,
item: impl Into<UnitItem>,
)
fn calc_simple( self, unit: impl Into<Unit>, info: impl Into<BattleInfo>, flags: impl Into<BattleInfo_Flags>, item: impl Into<UnitItem>, )
CalcSimple(crate::app::unit::Unit, crate::app::battleinfo::BattleInfo, crate::app::battleinfo::BattleInfo_Flags, crate::app::unititem::UnitItem) 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: IBattleInfoParam> IBattleInfoParamMethods for __T
app-battleinfoparam only.