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§
Sourcefn ctor(
self,
pid: impl Into<Il2CppString>,
jid: impl Into<Il2CppString>,
iid: impl Into<Il2CppString>,
)
fn ctor( self, pid: impl Into<Il2CppString>, jid: impl Into<Il2CppString>, iid: impl Into<Il2CppString>, )
.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn set_unit_from_unit_pool(
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>, )
SetUnitFromUnitPool(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn set_position(self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>)
fn set_position(self, x: impl Into<f32>, y: impl Into<f32>, z: impl Into<f32>)
SetPosition(f32, f32, f32) overload
Sourcefn load_actor(self)
fn load_actor(self)
LoadActor() overload
Sourcefn is_loading(self) -> bool
fn is_loading(self) -> bool
IsLoading() overload
Sourcefn unload_unit(self)
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§
impl<__T: IGmapMobUnit> IGmapMobUnitMethods for __T
Available on crate feature
app-gmapmobunit only.