Skip to main content

IUnitAccessoryMethods

Trait IUnitAccessoryMethods 

Source
pub trait IUnitAccessoryMethods: IUnitAccessory {
Show 13 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, accessory: impl Into<AccessoryData>) { ... } fn dispose(self) { ... } fn new(self, accessory: impl Into<AccessoryData>) { ... } fn new_2(self, aid: impl Into<Il2CppString>) { ... } fn new_3(self, index: impl Into<i32>) { ... } fn new_4(self, unit_accessory: impl Into<UnitAccessory>) { ... } fn clear(self) { ... } fn is_empty(self) -> bool { ... } fn is_exist(self) -> bool { ... } fn get_data(self) -> AccessoryData { ... } fn serialize(self, stream: impl Into<Stream_2>) { ... } fn deserialize(self, stream: impl Into<Stream_2>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, accessory: impl Into<AccessoryData>)

.ctor(crate::app::accessorydata::AccessoryData) overload

Source

fn dispose(self)

Dispose() overload

Source

fn new(self, accessory: impl Into<AccessoryData>)

New(crate::app::accessorydata::AccessoryData) overload

Source

fn new_2(self, aid: impl Into<Il2CppString>)

New(::unity::Il2CppString) overload

Source

fn new_3(self, index: impl Into<i32>)

New(i32) overload

Source

fn new_4(self, unit_accessory: impl Into<UnitAccessory>)

New(crate::app::unitaccessory::UnitAccessory) overload

Source

fn clear(self)

Clear() overload

Source

fn is_empty(self) -> bool

IsEmpty() overload

Source

fn is_exist(self) -> bool

IsExist() overload

Source

fn get_data(self) -> AccessoryData

GetData() overload

Source

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

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

Source

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

Deserialize(crate::app::stream_2::Stream_2) 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: IUnitAccessory> IUnitAccessoryMethods for __T

Available on crate feature app-unitaccessory only.