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§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn is_visible(self) -> bool
fn is_visible(self) -> bool
IsVisible() overload
Sourcefn set_mid(self, mid: impl Into<Il2CppString>)
fn set_mid(self, mid: impl Into<Il2CppString>)
SetMid(::unity::Il2CppString) overload
Sourcefn set_func(self, func: impl Into<DynValue>)
fn set_func(self, func: impl Into<DynValue>)
SetFunc(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_select_func(self, func: impl Into<DynValue>)
fn set_select_func(self, func: impl Into<DynValue>)
SetSelectFunc(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_args(self, args: impl Into<DynValue>)
fn set_args(self, args: impl Into<DynValue>)
SetArgs(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_select_args(self, args: impl Into<DynValue>)
fn set_select_args(self, args: impl Into<DynValue>)
SetSelectArgs(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_condition(self, condition: impl Into<ScriptUtil_MenuCondtion>)
fn set_condition(self, condition: impl Into<ScriptUtil_MenuCondtion>)
SetCondition(crate::app::scriptutil::ScriptUtil_MenuCondtion) overload
Sourcefn save_cursor(self)
fn save_cursor(self)
SaveCursor() overload
Sourcefn a_call(self) -> MenuItem_Result
fn a_call(self) -> MenuItem_Result
ACall() overload
Sourcefn b_call(self) -> MenuItem_Result
fn b_call(self) -> MenuItem_Result
BCall() overload
Sourcefn x_call(self) -> MenuItem_Result
fn x_call(self) -> MenuItem_Result
XCall() 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: IScriptMenu_EventMenuItem> IScriptMenu_EventMenuItemMethods for __T
Available on crate feature
app-scriptmenu only.