Skip to main content

IMapGodExpMethods

Trait IMapGodExpMethods 

Source
pub trait IMapGodExpMethods: IMapGodExp {
    // Provided methods
    fn ctor(self) { ... }
    fn add_battle(self, calculator: impl Into<BattleCalculator>) { ... }
    fn add_command_skill(self) { ... }
    fn add_engage_attack(self) { ... }
    fn try_commit(self, super_: impl Into<ProcInst>) { ... }
    fn reset(self) { ... }
    fn add(self, kind: impl Into<MapGodExp_Kinds>) { ... }
    fn get_exp(
        self,
        kind: impl Into<MapGodExp_Kinds>,
        is_engage: impl Into<bool>,
    ) -> i32 { ... }
    fn get_current_unit(self) -> Unit { ... }
    fn is_valid_common(self) -> bool { ... }
    fn get_dirty(
        self,
        kind: impl Into<MapGodExp_Kinds>,
        is_engage: impl Into<bool>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn add_battle(self, calculator: impl Into<BattleCalculator>)

AddBattle(crate::app::battlecalculator::BattleCalculator) overload

Source

fn add_command_skill(self)

AddCommandSkill() overload

Source

fn add_engage_attack(self)

AddEngageAttack() overload

Source

fn try_commit(self, super_: impl Into<ProcInst>)

TryCommit(crate::app::procinst::ProcInst) overload

Source

fn reset(self)

Reset() overload

Source

fn add(self, kind: impl Into<MapGodExp_Kinds>)

Add(crate::app::mapgodexp::MapGodExp_Kinds) overload

Source

fn get_exp( self, kind: impl Into<MapGodExp_Kinds>, is_engage: impl Into<bool>, ) -> i32

GetExp(crate::app::mapgodexp::MapGodExp_Kinds, bool) overload

Source

fn get_current_unit(self) -> Unit

GetCurrentUnit() overload

Source

fn is_valid_common(self) -> bool

IsValidCommon() overload

Source

fn get_dirty( self, kind: impl Into<MapGodExp_Kinds>, is_engage: impl Into<bool>, ) -> i32

GetDirty(crate::app::mapgodexp::MapGodExp_Kinds, bool) 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: IMapGodExp> IMapGodExpMethods for __T

Available on crate feature app-mapgodexp only.