Skip to main content

IBattleInfoParamMethods

Trait IBattleInfoParamMethods 

Source
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§

Source

fn get_max_hp(self) -> i32

get_MaxHp() overload

Source

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

set_MaxHp(i32) overload

Source

fn get_attack(self) -> i32

get_Attack() overload

Source

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

set_Attack(i32) overload

Source

fn get_hit(self) -> i32

get_Hit() overload

Source

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

set_Hit(i32) overload

Source

fn get_critical(self) -> i32

get_Critical() overload

Source

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

set_Critical(i32) overload

Source

fn get_avoid(self) -> i32

get_Avoid() overload

Source

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

set_Avoid(i32) overload

Source

fn get_secure(self) -> i32

get_Secure() overload

Source

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

set_Secure(i32) overload

Source

fn get_continuous(self) -> i32

get_Continuous() overload

Source

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

set_Continuous(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_avoid(self) -> i32

get_SupportAvoid() overload

Source

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

set_SupportAvoid(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_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 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

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: IBattleInfoParam> IBattleInfoParamMethods for __T

Available on crate feature app-battleinfoparam only.