Skip to main content

IBattleSceneListMethods

Trait IBattleSceneListMethods 

Source
pub trait IBattleSceneListMethods: IBattleSceneList {
Show 19 methods // Provided methods fn ctor(self, info: impl Into<BattleInfo>) { ... } fn is_entry(self, side: impl Into<BattleSide_Type>) -> bool { ... } fn get_count(self, kind: impl Into<BattleScene_Kind>) -> i32 { ... } fn find_next( self, kind: impl Into<BattleScene_Kind>, index: impl Into<i32>, ) -> BattleScene { ... } fn find_prev( self, kind: impl Into<BattleScene_Kind>, index: impl Into<i32>, ) -> BattleScene { ... } fn get_count_2( self, side: impl Into<BattleSide_Type>, kind: impl Into<BattleScene_Kind>, ) -> i32 { ... } fn has_give_skill( self, side: impl Into<BattleSide_Type>, give: impl Into<SkillData>, ) -> bool { ... } fn has_chain(self) -> bool { ... } fn get_attack_count( self, current: impl Into<BattleSide_Type>, result: impl Into<BattleScene_Result>, ) -> i32 { ... } fn get_give_skillk_count( self, current: impl Into<BattleSide_Type>, skill: impl Into<SkillData>, ) -> i32 { ... } fn get_active_skillk_count(self, current: impl Into<BattleSide_Type>) -> i32 { ... } fn get_recive_active_skillk_count( self, reverse: impl Into<BattleSide_Type>, ) -> i32 { ... } fn get_recive_attack_count( self, reverse: impl Into<BattleSide_Type>, result: impl Into<BattleScene_Result>, ) -> i32 { ... } fn create(self, kind: impl Into<BattleScene_Kind>) -> BattleScene { ... } fn create_2( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleInfoSide>, ) -> BattleScene { ... } fn create_3( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleInfoSide>, target: impl Into<BattleInfoSide>, ) -> BattleScene { ... } fn create_4( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, ) -> BattleScene { ... } fn create_5( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, target: impl Into<BattleSide_Type>, ) -> BattleScene { ... } fn clear(self) { ... }
}

Provided Methods§

Source

fn ctor(self, info: impl Into<BattleInfo>)

.ctor(crate::app::battleinfo::BattleInfo) overload

Source

fn is_entry(self, side: impl Into<BattleSide_Type>) -> bool

IsEntry(crate::app::battleside::BattleSide_Type) overload

Source

fn get_count(self, kind: impl Into<BattleScene_Kind>) -> i32

GetCount(crate::app::battlescene::BattleScene_Kind) overload

Source

fn find_next( self, kind: impl Into<BattleScene_Kind>, index: impl Into<i32>, ) -> BattleScene

FindNext(crate::app::battlescene::BattleScene_Kind, i32) overload

Source

fn find_prev( self, kind: impl Into<BattleScene_Kind>, index: impl Into<i32>, ) -> BattleScene

FindPrev(crate::app::battlescene::BattleScene_Kind, i32) overload

Source

fn get_count_2( self, side: impl Into<BattleSide_Type>, kind: impl Into<BattleScene_Kind>, ) -> i32

GetCount(crate::app::battleside::BattleSide_Type, crate::app::battlescene::BattleScene_Kind) overload

Source

fn has_give_skill( self, side: impl Into<BattleSide_Type>, give: impl Into<SkillData>, ) -> bool

HasGiveSkill(crate::app::battleside::BattleSide_Type, crate::app::skilldata::SkillData) overload

Source

fn has_chain(self) -> bool

HasChain() overload

Source

fn get_attack_count( self, current: impl Into<BattleSide_Type>, result: impl Into<BattleScene_Result>, ) -> i32

GetAttackCount(crate::app::battleside::BattleSide_Type, crate::app::battlescene::BattleScene_Result) overload

Source

fn get_give_skillk_count( self, current: impl Into<BattleSide_Type>, skill: impl Into<SkillData>, ) -> i32

GetGiveSkillkCount(crate::app::battleside::BattleSide_Type, crate::app::skilldata::SkillData) overload

Source

fn get_active_skillk_count(self, current: impl Into<BattleSide_Type>) -> i32

GetActiveSkillkCount(crate::app::battleside::BattleSide_Type) overload

Source

fn get_recive_active_skillk_count( self, reverse: impl Into<BattleSide_Type>, ) -> i32

GetReciveActiveSkillkCount(crate::app::battleside::BattleSide_Type) overload

Source

fn get_recive_attack_count( self, reverse: impl Into<BattleSide_Type>, result: impl Into<BattleScene_Result>, ) -> i32

GetReciveAttackCount(crate::app::battleside::BattleSide_Type, crate::app::battlescene::BattleScene_Result) overload

Source

fn create(self, kind: impl Into<BattleScene_Kind>) -> BattleScene

Create(crate::app::battlescene::BattleScene_Kind) overload

Source

fn create_2( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleInfoSide>, ) -> BattleScene

Create(crate::app::battlescene::BattleScene_Kind, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn create_3( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleInfoSide>, target: impl Into<BattleInfoSide>, ) -> BattleScene

Create(crate::app::battlescene::BattleScene_Kind, crate::app::battleinfoside::BattleInfoSide, crate::app::battleinfoside::BattleInfoSide) overload

Source

fn create_4( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, ) -> BattleScene

Create(crate::app::battlescene::BattleScene_Kind, crate::app::battleside::BattleSide_Type) overload

Source

fn create_5( self, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, target: impl Into<BattleSide_Type>, ) -> BattleScene

Create(crate::app::battlescene::BattleScene_Kind, crate::app::battleside::BattleSide_Type, crate::app::battleside::BattleSide_Type) overload

Source

fn clear(self)

Clear() 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: IBattleSceneList> IBattleSceneListMethods for __T

Available on crate feature app-battlescenelist only.