Skip to main content

IGameParam_HolderMethods

Trait IGameParam_HolderMethods 

Source
pub trait IGameParam_HolderMethods: IGameParam_Holder {
    // Provided methods
    fn ctor(self, name: impl Into<Il2CppString>) { ... }
    fn get_param(self) -> GameParam { ... }
    fn clear(self) { ... }
    fn get_int(self) -> i32 { ... }
    fn get_float(self) -> f32 { ... }
    fn get_bool(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn get_param(self) -> GameParam

GetParam() overload

Source

fn clear(self)

Clear() overload

Source

fn get_int(self) -> i32

GetInt() overload

Source

fn get_float(self) -> f32

GetFloat() overload

Source

fn get_bool(self) -> bool

GetBool() 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: IGameParam_Holder> IGameParam_HolderMethods for __T

Available on crate feature app-gameparam only.