Skip to main content

IMyRoomSoundMenuMethods

Trait IMyRoomSoundMenuMethods 

Source
pub trait IMyRoomSoundMenuMethods: IMyRoomSoundMenu {
    // Provided methods
    fn get_player(self) -> BgmPlayer { ... }
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<BasicMenuContent>,
        menu_type: impl Into<MyRoomSoundMenu_MenuType>,
        select_bgm: impl Into<Il2CppString>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn on_close(self) { ... }
    fn set_music_name(self, music_name: impl Into<Il2CppString>) { ... }
    fn set_music_help_text(self, text: impl Into<Il2CppString>) { ... }
    fn play(self, event_name: impl Into<Il2CppString>) { ... }
    fn play_select(self, event_name: impl Into<Il2CppString>) { ... }
    fn stop(self) { ... }
    fn build_attribute(
        self,
        item: impl Into<MyRoomSoundMenuItem>,
    ) -> BasicMenuItem_Attribute { ... }
    fn decide(self, item: impl Into<MyRoomSoundMenuItem>) -> BasicMenu_Result { ... }
    fn tick(self) { ... }
}

Provided Methods§

Source

fn get_player(self) -> BgmPlayer

get_Player() overload

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<BasicMenuContent>, menu_type: impl Into<MyRoomSoundMenu_MenuType>, select_bgm: impl Into<Il2CppString>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::myroomsoundmenu::MyRoomSoundMenu_MenuType, ::unity::Il2CppString) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn on_close(self)

OnClose() 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

Source

fn play(self, event_name: impl Into<Il2CppString>)

Play(::unity::Il2CppString) overload

Source

fn play_select(self, event_name: impl Into<Il2CppString>)

PlaySelect(::unity::Il2CppString) overload

Source

fn stop(self)

Stop() overload

Source

fn build_attribute( self, item: impl Into<MyRoomSoundMenuItem>, ) -> BasicMenuItem_Attribute

BuildAttribute(crate::app::myroomsoundmenuitem::MyRoomSoundMenuItem) overload

Source

fn decide(self, item: impl Into<MyRoomSoundMenuItem>) -> BasicMenu_Result

Decide(crate::app::myroomsoundmenuitem::MyRoomSoundMenuItem) overload

Source

fn tick(self)

Tick() 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: IMyRoomSoundMenu> IMyRoomSoundMenuMethods for __T

Available on crate feature app-myroomsoundmenu only.