pub trait IBattleInfoMethods: IBattleInfo {
Show 75 methods
// Provided methods
fn get_range(self) -> i32 { ... }
fn set_range(self, value: impl Into<i32>) { ... }
fn get_battle_count(self) -> i32 { ... }
fn set_battle_count(self, value: impl Into<i32>) { ... }
fn get_scene_result(self) -> BattleScene_Result { ... }
fn set_scene_result(self, value: impl Into<BattleScene_Result>) { ... }
fn get_chain_attack_side(self) -> BattleSide_Type { ... }
fn set_chain_attack_side(self, value: impl Into<BattleSide_Type>) { ... }
fn get_chain_attack_count(self) -> i32 { ... }
fn set_chain_attack_count(self, value: impl Into<i32>) { ... }
fn get_chain_guard_count(self) -> i32 { ... }
fn set_chain_guard_count(self, value: impl Into<i32>) { ... }
fn get_chain_attack_defeat(self) -> i32 { ... }
fn set_chain_attack_defeat(self, value: impl Into<i32>) { ... }
fn get_chain_attack_hit(self) -> i32 { ... }
fn set_chain_attack_hit(self, value: impl Into<i32>) { ... }
fn get_chain_attack_critical(self) -> i32 { ... }
fn set_chain_attack_critical(self, value: impl Into<i32>) { ... }
fn get_chain_attack_damage(self) -> i32 { ... }
fn set_chain_attack_damage(self, value: impl Into<i32>) { ... }
fn get_temp_skills(self) -> List_1<SkillData> { ... }
fn get_summon_rank(self) -> PersonData_Ranks { ... }
fn set_summon_rank(self, value: impl Into<PersonData_Ranks>) { ... }
fn get_summon_color(self) -> PersonData_Colors { ... }
fn set_summon_color(self, value: impl Into<PersonData_Colors>) { ... }
fn ctor(self) { ... }
fn finalize(self) { ... }
fn dispose(self) { ... }
fn reset(self, flags: impl Into<BattleInfo_Flags>) { ... }
fn calc_simple(
self,
offense: impl Into<Unit>,
flag: impl Into<BattleInfo_Flags>,
) -> BattleInfo { ... }
fn calc_simple_2(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
flag: impl Into<BattleInfo_Flags>,
) { ... }
fn calc_simple_3(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
) { ... }
fn calc_simple_4(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
) { ... }
fn calc_simple_5(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
defense: impl Into<Unit>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
) { ... }
fn calc_simple_6(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
defense: impl Into<Unit>,
revenge_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
) { ... }
fn calc_destroy(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
) { ... }
fn calc_summon(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
rank: impl Into<PersonData_Ranks>,
color: impl Into<PersonData_Colors>,
is_simulation: impl Into<bool>,
) { ... }
fn calc_dance(
self,
offense: impl Into<Unit>,
defense: impl Into<Unit>,
is_simulation: impl Into<bool>,
) { ... }
fn calc_enchant(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
is_simulation: impl Into<bool>,
) { ... }
fn calc_flags(self) { ... }
fn calc_range(self) { ... }
fn set_support_offense(
self,
support: impl Into<BattleSide_Type>,
unit: impl Into<Unit>,
status: impl Into<BattleInfoSide_Status>,
) -> BattleInfoSide { ... }
fn can_chain_guard(
self,
unit: impl Into<Unit>,
chain: impl Into<Unit>,
) -> bool { ... }
fn calc_support_defense(
self,
support: impl Into<BattleSide_Type>,
x: impl Into<i32>,
z: impl Into<i32>,
current: impl Into<BattleInfoSide>,
) -> BattleSide_Type { ... }
fn calc_chain(self) { ... }
fn search_guard(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
) { ... }
fn calc_param(self) { ... }
fn calc_active_skill(self, timing: impl Into<SkillData_Timings>) { ... }
fn get_flag(self) -> BattleInfo_FlagField { ... }
fn is_flag(self, flag: impl Into<BattleInfo_Flags>) -> bool { ... }
fn get_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide { ... }
fn get_side_2(self, index: impl Into<i32>) -> BattleInfoSide { ... }
fn get_parent_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide { ... }
fn get_parent_side_2(self, index: impl Into<i32>) -> BattleInfoSide { ... }
fn get_reverse_side(
self,
type: impl Into<BattleSide_Type>,
) -> BattleInfoSide { ... }
fn get_reverse_side_2(self, index: impl Into<i32>) -> BattleInfoSide { ... }
fn get_unit(self, type: impl Into<BattleSide_Type>) -> Unit { ... }
fn get_unit_2(self, index: impl Into<i32>) -> Unit { ... }
fn push_detail(self) { ... }
fn pop_detail(self) { ... }
fn get_main_unit_enum(self) -> BattleInfoEnum { ... }
fn get_whole_unit_enum(self) -> BattleInfoEnum { ... }
fn get_chain_offense_enum(self) -> BattleInfoEnum { ... }
fn get_chain_defense_enum(self) -> BattleInfoEnum { ... }
fn get_chain_unit_enum(self) -> BattleInfoEnum { ... }
fn find_destroy_side(self) -> BattleInfoSide { ... }
fn has_chain_offense(self, unit: impl Into<Unit>) -> bool { ... }
fn has_chain_defense(self, unit: impl Into<Unit>) -> bool { ... }
fn complement_conditions(self) { ... }
fn calc_detail(self) { ... }
fn calc_battle_times(self) { ... }
fn can_chain_skill(
self,
skill: impl Into<SkillData>,
flags: impl Into<SkillData_Flags>,
) -> bool { ... }
fn can_move_attack(
self,
unit: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool { ... }
fn can_force_chain_attack(
self,
unit: impl Into<Unit>,
chain: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool { ... }
fn can_join_chain_attack(
self,
unit: impl Into<Unit>,
chain: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool { ... }
}Provided Methods§
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_scene_result(self) -> BattleScene_Result
fn get_scene_result(self) -> BattleScene_Result
get_SceneResult() overload
Sourcefn set_scene_result(self, value: impl Into<BattleScene_Result>)
fn set_scene_result(self, value: impl Into<BattleScene_Result>)
set_SceneResult(crate::app::battlescene::BattleScene_Result) overload
Sourcefn get_chain_attack_side(self) -> BattleSide_Type
fn get_chain_attack_side(self) -> BattleSide_Type
get_ChainAttackSide() overload
Sourcefn set_chain_attack_side(self, value: impl Into<BattleSide_Type>)
fn set_chain_attack_side(self, value: impl Into<BattleSide_Type>)
set_ChainAttackSide(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_chain_attack_count(self) -> i32
fn get_chain_attack_count(self) -> i32
get_ChainAttackCount() overload
Sourcefn set_chain_attack_count(self, value: impl Into<i32>)
fn set_chain_attack_count(self, value: impl Into<i32>)
set_ChainAttackCount(i32) overload
Sourcefn get_chain_guard_count(self) -> i32
fn get_chain_guard_count(self) -> i32
get_ChainGuardCount() overload
Sourcefn set_chain_guard_count(self, value: impl Into<i32>)
fn set_chain_guard_count(self, value: impl Into<i32>)
set_ChainGuardCount(i32) overload
Sourcefn get_chain_attack_defeat(self) -> i32
fn get_chain_attack_defeat(self) -> i32
get_ChainAttackDefeat() overload
Sourcefn set_chain_attack_defeat(self, value: impl Into<i32>)
fn set_chain_attack_defeat(self, value: impl Into<i32>)
set_ChainAttackDefeat(i32) overload
Sourcefn get_chain_attack_hit(self) -> i32
fn get_chain_attack_hit(self) -> i32
get_ChainAttackHit() overload
Sourcefn set_chain_attack_hit(self, value: impl Into<i32>)
fn set_chain_attack_hit(self, value: impl Into<i32>)
set_ChainAttackHit(i32) overload
Sourcefn get_chain_attack_critical(self) -> i32
fn get_chain_attack_critical(self) -> i32
get_ChainAttackCritical() overload
Sourcefn set_chain_attack_critical(self, value: impl Into<i32>)
fn set_chain_attack_critical(self, value: impl Into<i32>)
set_ChainAttackCritical(i32) overload
Sourcefn get_chain_attack_damage(self) -> i32
fn get_chain_attack_damage(self) -> i32
get_ChainAttackDamage() overload
Sourcefn set_chain_attack_damage(self, value: impl Into<i32>)
fn set_chain_attack_damage(self, value: impl Into<i32>)
set_ChainAttackDamage(i32) overload
Sourcefn get_temp_skills(self) -> List_1<SkillData>
fn get_temp_skills(self) -> List_1<SkillData>
get_TempSkills() overload
Sourcefn get_summon_rank(self) -> PersonData_Ranks
fn get_summon_rank(self) -> PersonData_Ranks
get_SummonRank() overload
Sourcefn set_summon_rank(self, value: impl Into<PersonData_Ranks>)
fn set_summon_rank(self, value: impl Into<PersonData_Ranks>)
set_SummonRank(crate::app::persondata::PersonData_Ranks) overload
Sourcefn get_summon_color(self) -> PersonData_Colors
fn get_summon_color(self) -> PersonData_Colors
get_SummonColor() overload
Sourcefn set_summon_color(self, value: impl Into<PersonData_Colors>)
fn set_summon_color(self, value: impl Into<PersonData_Colors>)
set_SummonColor(crate::app::persondata::PersonData_Colors) overload
Sourcefn reset(self, flags: impl Into<BattleInfo_Flags>)
fn reset(self, flags: impl Into<BattleInfo_Flags>)
Reset(crate::app::battleinfo::BattleInfo_Flags) overload
Sourcefn calc_simple(
self,
offense: impl Into<Unit>,
flag: impl Into<BattleInfo_Flags>,
) -> BattleInfo
fn calc_simple( self, offense: impl Into<Unit>, flag: impl Into<BattleInfo_Flags>, ) -> BattleInfo
CalcSimple(crate::app::unit::Unit, crate::app::battleinfo::BattleInfo_Flags) overload
Sourcefn calc_simple_2(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
flag: impl Into<BattleInfo_Flags>,
)
fn calc_simple_2( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, defense: impl Into<Unit>, flag: impl Into<BattleInfo_Flags>, )
CalcSimple(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::unit::Unit, crate::app::battleinfo::BattleInfo_Flags) overload
Sourcefn calc_simple_3(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
)
fn calc_simple_3( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, defense: impl Into<Unit>, command_skill: impl Into<SkillData>, flags: impl Into<BattleInfo_Flags>, count: impl Into<i32>, )
CalcSimple(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::unit::Unit, crate::app::skilldata::SkillData, crate::app::battleinfo::BattleInfo_Flags, i32) overload
Sourcefn calc_simple_4(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
)
fn calc_simple_4( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, target_x: impl Into<i32>, target_z: impl Into<i32>, command_skill: impl Into<SkillData>, flags: impl Into<BattleInfo_Flags>, count: impl Into<i32>, )
CalcSimple(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, crate::app::skilldata::SkillData, crate::app::battleinfo::BattleInfo_Flags, i32) overload
Sourcefn calc_simple_5(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
defense: impl Into<Unit>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
)
fn calc_simple_5( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, defense: impl Into<Unit>, target_x: impl Into<i32>, target_z: impl Into<i32>, command_skill: impl Into<SkillData>, flags: impl Into<BattleInfo_Flags>, count: impl Into<i32>, )
CalcSimple(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, crate::app::unit::Unit, i32, i32, crate::app::skilldata::SkillData, crate::app::battleinfo::BattleInfo_Flags, i32) overload
Sourcefn calc_simple_6(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
defense: impl Into<Unit>,
revenge_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
command_skill: impl Into<SkillData>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
)
fn calc_simple_6( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, defense: impl Into<Unit>, revenge_item: impl Into<UnitItem>, target_x: impl Into<i32>, target_z: impl Into<i32>, command_skill: impl Into<SkillData>, flags: impl Into<BattleInfo_Flags>, count: impl Into<i32>, )
CalcSimple(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, crate::app::skilldata::SkillData, crate::app::battleinfo::BattleInfo_Flags, i32) overload
Sourcefn calc_destroy(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
flags: impl Into<BattleInfo_Flags>,
count: impl Into<i32>,
)
fn calc_destroy( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, target_x: impl Into<i32>, target_z: impl Into<i32>, flags: impl Into<BattleInfo_Flags>, count: impl Into<i32>, )
CalcDestroy(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, crate::app::battleinfo::BattleInfo_Flags, i32) overload
Sourcefn calc_summon(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
rank: impl Into<PersonData_Ranks>,
color: impl Into<PersonData_Colors>,
is_simulation: impl Into<bool>,
)
fn calc_summon( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, rank: impl Into<PersonData_Ranks>, color: impl Into<PersonData_Colors>, is_simulation: impl Into<bool>, )
CalcSummon(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::persondata::PersonData_Ranks, crate::app::persondata::PersonData_Colors, bool) overload
Sourcefn calc_dance(
self,
offense: impl Into<Unit>,
defense: impl Into<Unit>,
is_simulation: impl Into<bool>,
)
fn calc_dance( self, offense: impl Into<Unit>, defense: impl Into<Unit>, is_simulation: impl Into<bool>, )
CalcDance(crate::app::unit::Unit, crate::app::unit::Unit, bool) overload
Sourcefn calc_enchant(
self,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
is_simulation: impl Into<bool>,
)
fn calc_enchant( self, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, defense: impl Into<Unit>, is_simulation: impl Into<bool>, )
CalcEnchant(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::unit::Unit, bool) overload
Sourcefn calc_flags(self)
fn calc_flags(self)
CalcFlags() overload
Sourcefn calc_range(self)
fn calc_range(self)
CalcRange() overload
Sourcefn set_support_offense(
self,
support: impl Into<BattleSide_Type>,
unit: impl Into<Unit>,
status: impl Into<BattleInfoSide_Status>,
) -> BattleInfoSide
fn set_support_offense( self, support: impl Into<BattleSide_Type>, unit: impl Into<Unit>, status: impl Into<BattleInfoSide_Status>, ) -> BattleInfoSide
SetSupportOffense(crate::app::battleside::BattleSide_Type, crate::app::unit::Unit, crate::app::battleinfoside::BattleInfoSide_Status) overload
Sourcefn can_chain_guard(self, unit: impl Into<Unit>, chain: impl Into<Unit>) -> bool
fn can_chain_guard(self, unit: impl Into<Unit>, chain: impl Into<Unit>) -> bool
CanChainGuard(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn calc_support_defense(
self,
support: impl Into<BattleSide_Type>,
x: impl Into<i32>,
z: impl Into<i32>,
current: impl Into<BattleInfoSide>,
) -> BattleSide_Type
fn calc_support_defense( self, support: impl Into<BattleSide_Type>, x: impl Into<i32>, z: impl Into<i32>, current: impl Into<BattleInfoSide>, ) -> BattleSide_Type
CalcSupportDefense(crate::app::battleside::BattleSide_Type, i32, i32, crate::app::battleinfoside::BattleInfoSide) overload
Sourcefn calc_chain(self)
fn calc_chain(self)
CalcChain() overload
Sourcefn search_guard(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
)
fn search_guard( self, x: impl Into<i32>, z: impl Into<i32>, range: impl Into<i32>, )
SearchGuard(i32, i32, i32) overload
Sourcefn calc_param(self)
fn calc_param(self)
CalcParam() overload
Sourcefn calc_active_skill(self, timing: impl Into<SkillData_Timings>)
fn calc_active_skill(self, timing: impl Into<SkillData_Timings>)
CalcActiveSkill(crate::app::skilldata::SkillData_Timings) overload
Sourcefn get_flag(self) -> BattleInfo_FlagField
fn get_flag(self) -> BattleInfo_FlagField
GetFlag() overload
Sourcefn is_flag(self, flag: impl Into<BattleInfo_Flags>) -> bool
fn is_flag(self, flag: impl Into<BattleInfo_Flags>) -> bool
IsFlag(crate::app::battleinfo::BattleInfo_Flags) overload
Sourcefn get_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
fn get_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
GetSide(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_side_2(self, index: impl Into<i32>) -> BattleInfoSide
fn get_side_2(self, index: impl Into<i32>) -> BattleInfoSide
GetSide(i32) overload
Sourcefn get_parent_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
fn get_parent_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
GetParentSide(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_parent_side_2(self, index: impl Into<i32>) -> BattleInfoSide
fn get_parent_side_2(self, index: impl Into<i32>) -> BattleInfoSide
GetParentSide(i32) overload
Sourcefn get_reverse_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
fn get_reverse_side(self, type: impl Into<BattleSide_Type>) -> BattleInfoSide
GetReverseSide(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_reverse_side_2(self, index: impl Into<i32>) -> BattleInfoSide
fn get_reverse_side_2(self, index: impl Into<i32>) -> BattleInfoSide
GetReverseSide(i32) overload
Sourcefn get_unit(self, type: impl Into<BattleSide_Type>) -> Unit
fn get_unit(self, type: impl Into<BattleSide_Type>) -> Unit
GetUnit(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_unit_2(self, index: impl Into<i32>) -> Unit
fn get_unit_2(self, index: impl Into<i32>) -> Unit
GetUnit(i32) overload
Sourcefn push_detail(self)
fn push_detail(self)
PushDetail() overload
Sourcefn pop_detail(self)
fn pop_detail(self)
PopDetail() overload
Sourcefn get_main_unit_enum(self) -> BattleInfoEnum
fn get_main_unit_enum(self) -> BattleInfoEnum
GetMainUnitEnum() overload
Sourcefn get_whole_unit_enum(self) -> BattleInfoEnum
fn get_whole_unit_enum(self) -> BattleInfoEnum
GetWholeUnitEnum() overload
Sourcefn get_chain_offense_enum(self) -> BattleInfoEnum
fn get_chain_offense_enum(self) -> BattleInfoEnum
GetChainOffenseEnum() overload
Sourcefn get_chain_defense_enum(self) -> BattleInfoEnum
fn get_chain_defense_enum(self) -> BattleInfoEnum
GetChainDefenseEnum() overload
Sourcefn get_chain_unit_enum(self) -> BattleInfoEnum
fn get_chain_unit_enum(self) -> BattleInfoEnum
GetChainUnitEnum() overload
Sourcefn find_destroy_side(self) -> BattleInfoSide
fn find_destroy_side(self) -> BattleInfoSide
FindDestroySide() overload
Sourcefn has_chain_offense(self, unit: impl Into<Unit>) -> bool
fn has_chain_offense(self, unit: impl Into<Unit>) -> bool
HasChainOffense(crate::app::unit::Unit) overload
Sourcefn has_chain_defense(self, unit: impl Into<Unit>) -> bool
fn has_chain_defense(self, unit: impl Into<Unit>) -> bool
HasChainDefense(crate::app::unit::Unit) overload
Sourcefn complement_conditions(self)
fn complement_conditions(self)
ComplementConditions() overload
Sourcefn calc_detail(self)
fn calc_detail(self)
CalcDetail() overload
Sourcefn calc_battle_times(self)
fn calc_battle_times(self)
CalcBattleTimes() overload
Sourcefn can_chain_skill(
self,
skill: impl Into<SkillData>,
flags: impl Into<SkillData_Flags>,
) -> bool
fn can_chain_skill( self, skill: impl Into<SkillData>, flags: impl Into<SkillData_Flags>, ) -> bool
CanChainSkill(crate::app::skilldata::SkillData, crate::app::skilldata::SkillData_Flags) overload
Sourcefn can_move_attack(self, unit: impl Into<Unit>, target: impl Into<Unit>) -> bool
fn can_move_attack(self, unit: impl Into<Unit>, target: impl Into<Unit>) -> bool
CanMoveAttack(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn can_force_chain_attack(
self,
unit: impl Into<Unit>,
chain: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool
fn can_force_chain_attack( self, unit: impl Into<Unit>, chain: impl Into<Unit>, target: impl Into<Unit>, ) -> bool
CanForceChainAttack(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn can_join_chain_attack(
self,
unit: impl Into<Unit>,
chain: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool
fn can_join_chain_attack( self, unit: impl Into<Unit>, chain: impl Into<Unit>, target: impl Into<Unit>, ) -> bool
CanJoinChainAttack(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unit::Unit) 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: IBattleInfo> IBattleInfoMethods for __T
app-battleinfo only.