pub trait IUnitRingMethods: IUnitRing {
Show 18 methods
// Provided methods
fn build(
self,
rnid: impl Into<Il2CppString>,
owner: impl Into<Unit>,
stock_count: impl Into<i32>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_full_name(self) -> Il2CppString { ... }
fn get_debug_name(self) -> Il2CppString { ... }
fn change_owner(self, owner: impl Into<Unit>) { ... }
fn set_stock_count(self, stock_count: impl Into<i32>) { ... }
fn add_stock_count(self, stock_count: impl Into<i32>) { ... }
fn get_sort_key(self) -> i32 { ... }
fn is_single_stock_only(self) -> bool { ... }
fn get_data(self) -> RingData { ... }
fn get_owner(self) -> Unit { ... }
fn get_stock_count(self) -> i32 { ... }
fn get_rnid(self) -> Il2CppString { ... }
fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
fn on_deserialize(
self,
stream: impl Into<Stream_2>,
version: impl Into<i32>,
) { ... }
fn is_valid(self) -> bool { ... }
fn clear(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn build(
self,
rnid: impl Into<Il2CppString>,
owner: impl Into<Unit>,
stock_count: impl Into<i32>,
)
fn build( self, rnid: impl Into<Il2CppString>, owner: impl Into<Unit>, stock_count: impl Into<i32>, )
Build(::unity::Il2CppString, crate::app::unit::Unit, i32) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_full_name(self) -> Il2CppString
fn get_full_name(self) -> Il2CppString
GetFullName() overload
Sourcefn get_debug_name(self) -> Il2CppString
fn get_debug_name(self) -> Il2CppString
GetDebugName() overload
Sourcefn change_owner(self, owner: impl Into<Unit>)
fn change_owner(self, owner: impl Into<Unit>)
ChangeOwner(crate::app::unit::Unit) overload
Sourcefn set_stock_count(self, stock_count: impl Into<i32>)
fn set_stock_count(self, stock_count: impl Into<i32>)
SetStockCount(i32) overload
Sourcefn add_stock_count(self, stock_count: impl Into<i32>)
fn add_stock_count(self, stock_count: impl Into<i32>)
AddStockCount(i32) overload
Sourcefn get_sort_key(self) -> i32
fn get_sort_key(self) -> i32
get_SortKey() overload
Sourcefn is_single_stock_only(self) -> bool
fn is_single_stock_only(self) -> bool
IsSingleStockOnly() overload
Sourcefn get_stock_count(self) -> i32
fn get_stock_count(self) -> i32
get_StockCount() overload
Sourcefn get_rnid(self) -> Il2CppString
fn get_rnid(self) -> Il2CppString
get_Rnid() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IUnitRing> IUnitRingMethods for __T
Available on crate feature
app-unitring only.