Skip to main content

IMyRoomSoundMenuItemMethods

Trait IMyRoomSoundMenuItemMethods 

Source
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§

Source

fn get_callback(self) -> Action_1<Il2CppString>

get_Callback() overload

Source

fn get_is_play(self) -> bool

get_IsPlay() overload

Source

fn get_event_name(self) -> Il2CppString

get_EventName() overload

Source

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

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn on_cursor_move_end(self)

OnCursorMoveEnd() overload

Source

fn set_current_music_name(self)

SetCurrentMusicName() overload

Source

fn set_music_name(self, music_name: impl Into<Il2CppString>)

SetMusicName(::unity::Il2CppString) overload

Source

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§

Source§

impl<__T: IMyRoomSoundMenuItem> IMyRoomSoundMenuItemMethods for __T

Available on crate feature app-myroomsoundmenuitem only.