Skip to main content

IScriptMenu_EventMenuItemMethods

Trait IScriptMenu_EventMenuItemMethods 

Source
pub trait IScriptMenu_EventMenuItemMethods: IScriptMenu_EventMenuItem {
Show 15 methods // Provided methods fn ctor(self) { ... } fn get_name(self) -> Il2CppString { ... } fn is_visible(self) -> bool { ... } fn is_enable(self) -> bool { ... } fn set_mid(self, mid: impl Into<Il2CppString>) { ... } fn set_func(self, func: impl Into<DynValue>) { ... } fn set_select_func(self, func: impl Into<DynValue>) { ... } fn set_args(self, args: impl Into<DynValue>) { ... } fn set_select_args(self, args: impl Into<DynValue>) { ... } fn set_condition(self, condition: impl Into<ScriptUtil_MenuCondtion>) { ... } fn save_cursor(self) { ... } fn a_call(self) -> MenuItem_Result { ... } fn b_call(self) -> MenuItem_Result { ... } fn x_call(self) -> MenuItem_Result { ... } fn on_select(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn is_visible(self) -> bool

IsVisible() overload

Source

fn is_enable(self) -> bool

IsEnable() overload

Source

fn set_mid(self, mid: impl Into<Il2CppString>)

SetMid(::unity::Il2CppString) overload

Source

fn set_func(self, func: impl Into<DynValue>)

SetFunc(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn set_select_func(self, func: impl Into<DynValue>)

SetSelectFunc(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn set_args(self, args: impl Into<DynValue>)

SetArgs(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn set_select_args(self, args: impl Into<DynValue>)

SetSelectArgs(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn set_condition(self, condition: impl Into<ScriptUtil_MenuCondtion>)

SetCondition(crate::app::scriptutil::ScriptUtil_MenuCondtion) overload

Source

fn save_cursor(self)

SaveCursor() overload

Source

fn a_call(self) -> MenuItem_Result

ACall() overload

Source

fn b_call(self) -> MenuItem_Result

BCall() overload

Source

fn x_call(self) -> MenuItem_Result

XCall() overload

Source

fn on_select(self)

OnSelect() 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: IScriptMenu_EventMenuItem> IScriptMenu_EventMenuItemMethods for __T

Available on crate feature app-scriptmenu only.