pub trait IMyRoomSoundMenuItemMethods: IMyRoomSoundMenuItem {
Show 13 methods
// Provided methods
fn get_callback(self) -> Action_1<Il2CppString> { ... }
fn get_is_play(self) -> bool { ... }
fn get_event_name(self) -> Il2CppString { ... }
fn ctor(
self,
event_name: impl Into<Il2CppString>,
name: impl Into<Il2CppString>,
help: impl Into<Il2CppString>,
callback: impl Into<Action_1<Il2CppString>>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn on_select(self) { ... }
fn a_call(self) -> BasicMenu_Result { ... }
fn b_call(self) -> BasicMenu_Result { ... }
fn on_cursor_move_end(self) { ... }
fn set_current_music_name(self) { ... }
fn set_music_name(self, music_name: impl Into<Il2CppString>) { ... }
fn set_music_help_text(self, text: impl Into<Il2CppString>) { ... }
}Provided Methods§
Sourcefn get_callback(self) -> Action_1<Il2CppString>
fn get_callback(self) -> Action_1<Il2CppString>
get_Callback() overload
Sourcefn get_is_play(self) -> bool
fn get_is_play(self) -> bool
get_IsPlay() overload
Sourcefn get_event_name(self) -> Il2CppString
fn get_event_name(self) -> Il2CppString
get_EventName() overload
Sourcefn ctor(
self,
event_name: impl Into<Il2CppString>,
name: impl Into<Il2CppString>,
help: impl Into<Il2CppString>,
callback: impl Into<Action_1<Il2CppString>>,
)
fn ctor( self, event_name: impl Into<Il2CppString>, name: impl Into<Il2CppString>, help: impl Into<Il2CppString>, callback: impl Into<Action_1<Il2CppString>>, )
.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString, crate::system::action_1::Action_1<::unity::Il2CppString>) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() overload
Sourcefn on_cursor_move_end(self)
fn on_cursor_move_end(self)
OnCursorMoveEnd() overload
Sourcefn set_current_music_name(self)
fn set_current_music_name(self)
SetCurrentMusicName() overload
Sourcefn set_music_name(self, music_name: impl Into<Il2CppString>)
fn set_music_name(self, music_name: impl Into<Il2CppString>)
SetMusicName(::unity::Il2CppString) overload
Sourcefn set_music_help_text(self, text: impl Into<Il2CppString>)
fn set_music_help_text(self, text: impl Into<Il2CppString>)
SetMusicHelpText(::unity::Il2CppString) 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: IMyRoomSoundMenuItem> IMyRoomSoundMenuItemMethods for __T
Available on crate feature
app-myroomsoundmenuitem only.