Skip to main content

IBattleParamMethods

Trait IBattleParamMethods 

Source
pub trait IBattleParamMethods: IBattleParam {
    // Provided methods
    fn get_kind(self) -> BattleParam_Kinds { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_result(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
    fn calculate(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
    fn ctor(self) { ... }
    fn ctor_2(self, src: impl Into<BattleParam>) { ... }
    fn clear(self) { ... }
    fn copy(self, src: impl Into<BattleParam>) { ... }
}

Provided Methods§

Source

fn get_kind(self) -> BattleParam_Kinds

get_Kind() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_result(self, side: impl Into<BattleInfoSide>) -> f32

GetResult(crate::app::battleinfoside::BattleInfoSide) overload

Source

fn calculate(self, side: impl Into<BattleInfoSide>) -> f32

Calculate(crate::app::battleinfoside::BattleInfoSide) overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, src: impl Into<BattleParam>)

.ctor(crate::app::battleparam::BattleParam) overload

Source

fn clear(self)

Clear() overload

Source

fn copy(self, src: impl Into<BattleParam>)

Copy(crate::app::battleparam::BattleParam) 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: IBattleParam> IBattleParamMethods for __T

Available on crate feature app-battleparam only.