Skip to main content

IGmapMobUnitMethods

Trait IGmapMobUnitMethods 

Source
pub trait IGmapMobUnitMethods: IGmapMobUnit {
    // Provided methods
    fn get_actor(self) -> UnitActor { ... }
    fn ctor(
        self,
        pid: impl Into<Il2CppString>,
        jid: impl Into<Il2CppString>,
        iid: impl Into<Il2CppString>,
    ) { ... }
    fn set_unit_from_unit_pool(
        self,
        pid: impl Into<Il2CppString>,
        jid: impl Into<Il2CppString>,
        iid: impl Into<Il2CppString>,
    ) { ... }
    fn set_position(
        self,
        x: impl Into<f32>,
        y: impl Into<f32>,
        z: impl Into<f32>,
    ) { ... }
    fn load_actor(self) { ... }
    fn is_loading(self) -> bool { ... }
    fn unload_unit(self) { ... }
}

Provided Methods§

Source

fn get_actor(self) -> UnitActor

get_Actor() overload

Source

fn ctor( self, pid: impl Into<Il2CppString>, jid: impl Into<Il2CppString>, iid: impl Into<Il2CppString>, )

.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn set_unit_from_unit_pool( self, pid: impl Into<Il2CppString>, jid: impl Into<Il2CppString>, iid: impl Into<Il2CppString>, )

SetUnitFromUnitPool(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn set_position(self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>)

SetPosition(f32, f32, f32) overload

Source

fn load_actor(self)

LoadActor() overload

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn unload_unit(self)

UnloadUnit() 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: IGmapMobUnit> IGmapMobUnitMethods for __T

Available on crate feature app-gmapmobunit only.