Skip to main content

IUnitRingMethods

Trait IUnitRingMethods 

Source
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§

Source

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

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_full_name(self) -> Il2CppString

GetFullName() overload

Source

fn get_debug_name(self) -> Il2CppString

GetDebugName() overload

Source

fn change_owner(self, owner: impl Into<Unit>)

ChangeOwner(crate::app::unit::Unit) overload

Source

fn set_stock_count(self, stock_count: impl Into<i32>)

SetStockCount(i32) overload

Source

fn add_stock_count(self, stock_count: impl Into<i32>)

AddStockCount(i32) overload

Source

fn get_sort_key(self) -> i32

get_SortKey() overload

Source

fn is_single_stock_only(self) -> bool

IsSingleStockOnly() overload

Source

fn get_data(self) -> RingData

get_Data() overload

Source

fn get_owner(self) -> Unit

get_Owner() overload

Source

fn get_stock_count(self) -> i32

get_StockCount() overload

Source

fn get_rnid(self) -> Il2CppString

get_Rnid() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

fn is_valid(self) -> bool

IsValid() overload

Source

fn clear(self)

Clear() overload

Source

fn ctor(self)

.ctor() 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: IUnitRing> IUnitRingMethods for __T

Available on crate feature app-unitring only.