Skip to main content

IUnitEditMethods

Trait IUnitEditMethods 

Source
pub trait IUnitEditMethods: IUnitEdit {
Show 16 methods // Provided methods fn is_enable(self) -> bool { ... } fn get_name(self) -> Il2CppString { ... } fn get_name_2(self, is_morph: impl Into<bool>) -> Il2CppString { ... } fn set_name(self, name: impl Into<Il2CppString>) { ... } fn update_name(self) { ... } fn get_gender(self) -> Gender { ... } fn set_gender(self, value: impl Into<Gender>) { ... } fn get_birth_month(self) -> i32 { ... } fn set_birth_month(self, value: impl Into<i32>) { ... } fn get_birth_day(self) -> i32 { ... } fn set_birth_day(self, value: impl Into<i32>) { ... } fn clear(self) { ... } fn copy_from(self, src: impl Into<UnitEdit>) { ... } fn serialize(self, stream: impl Into<Stream_2>) { ... } fn deserialize(self, stream: impl Into<Stream_2>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_enable(self) -> bool

IsEnable() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_name_2(self, is_morph: impl Into<bool>) -> Il2CppString

GetName(bool) overload

Source

fn set_name(self, name: impl Into<Il2CppString>)

SetName(::unity::Il2CppString) overload

Source

fn update_name(self)

UpdateName() overload

Source

fn get_gender(self) -> Gender

get_Gender() overload

Source

fn set_gender(self, value: impl Into<Gender>)

set_Gender(crate::app::gender::Gender) overload

Source

fn get_birth_month(self) -> i32

get_BirthMonth() overload

Source

fn set_birth_month(self, value: impl Into<i32>)

set_BirthMonth(i32) overload

Source

fn get_birth_day(self) -> i32

get_BirthDay() overload

Source

fn set_birth_day(self, value: impl Into<i32>)

set_BirthDay(i32) overload

Source

fn clear(self)

Clear() overload

Source

fn copy_from(self, src: impl Into<UnitEdit>)

CopyFrom(crate::app::unitedit::UnitEdit) 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

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: IUnitEdit> IUnitEditMethods for __T

Available on crate feature app-unitedit only.