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§
Sourcefn get_player(self) -> BgmPlayer
fn get_player(self) -> BgmPlayer
get_Player() overload
Sourcefn 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 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
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() 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
Sourcefn play(self, event_name: impl Into<Il2CppString>)
fn play(self, event_name: impl Into<Il2CppString>)
Play(::unity::Il2CppString) overload
Sourcefn play_select(self, event_name: impl Into<Il2CppString>)
fn play_select(self, event_name: impl Into<Il2CppString>)
PlaySelect(::unity::Il2CppString) overload
Sourcefn build_attribute(
self,
item: impl Into<MyRoomSoundMenuItem>,
) -> BasicMenuItem_Attribute
fn build_attribute( self, item: impl Into<MyRoomSoundMenuItem>, ) -> BasicMenuItem_Attribute
BuildAttribute(crate::app::myroomsoundmenuitem::MyRoomSoundMenuItem) overload
Sourcefn decide(self, item: impl Into<MyRoomSoundMenuItem>) -> BasicMenu_Result
fn decide(self, item: impl Into<MyRoomSoundMenuItem>) -> BasicMenu_Result
Decide(crate::app::myroomsoundmenuitem::MyRoomSoundMenuItem) 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: IMyRoomSoundMenu> IMyRoomSoundMenuMethods for __T
Available on crate feature
app-myroomsoundmenu only.