pub trait ISoundTestPlayerMethods: ISoundTestPlayer {
// Provided methods
fn pause_current_bgm(self) { ... }
fn is_playing(self) -> bool { ... }
fn is_playing_2(self, event_name: impl Into<Il2CppString>) -> bool { ... }
fn play(self, event_name: impl Into<Il2CppString>) { ... }
fn stop(self) { ... }
fn tick(self, menu: impl Into<MyRoomSoundMenu>) { ... }
fn close(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn pause_current_bgm(self)
fn pause_current_bgm(self)
PauseCurrentBgm() overload
Sourcefn is_playing(self) -> bool
fn is_playing(self) -> bool
IsPlaying() overload
Sourcefn is_playing_2(self, event_name: impl Into<Il2CppString>) -> bool
fn is_playing_2(self, event_name: impl Into<Il2CppString>) -> bool
IsPlaying(::unity::Il2CppString) overload
Sourcefn play(self, event_name: impl Into<Il2CppString>)
fn play(self, event_name: impl Into<Il2CppString>)
Play(::unity::Il2CppString) overload
Sourcefn tick(self, menu: impl Into<MyRoomSoundMenu>)
fn tick(self, menu: impl Into<MyRoomSoundMenu>)
Tick(crate::app::myroomsoundmenu::MyRoomSoundMenu) 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: ISoundTestPlayer> ISoundTestPlayerMethods for __T
Available on crate feature
app-soundtestplayer only.