Skip to main content

IFieldBgmManager_BgmHandleMethods

Trait IFieldBgmManager_BgmHandleMethods 

Source
pub trait IFieldBgmManager_BgmHandleMethods: IFieldBgmManager_BgmHandle {
    // Provided methods
    fn ctor(self, sound_handle: impl Into<SoundSystem_SoundHandle>) { ... }
    fn is_enable(self) -> bool { ... }
    fn is_first_played(self) -> bool { ... }
    fn is_playing(self) -> bool { ... }
    fn is_paused(self) -> bool { ... }
    fn get_event_name(self) -> Il2CppString { ... }
    fn stop(self, fade_msec: impl Into<i32>) { ... }
    fn pause(self, fade_msec: impl Into<i32>) { ... }
    fn resume(self, fade_msec: impl Into<i32>) { ... }
    fn set_first_played(self) { ... }
}

Provided Methods§

Source

fn ctor(self, sound_handle: impl Into<SoundSystem_SoundHandle>)

.ctor(crate::app::soundsystem::SoundSystem_SoundHandle) overload

Source

fn is_enable(self) -> bool

IsEnable() overload

Source

fn is_first_played(self) -> bool

IsFirstPlayed() overload

Source

fn is_playing(self) -> bool

IsPlaying() overload

Source

fn is_paused(self) -> bool

IsPaused() overload

Source

fn get_event_name(self) -> Il2CppString

GetEventName() overload

Source

fn stop(self, fade_msec: impl Into<i32>)

Stop(i32) overload

Source

fn pause(self, fade_msec: impl Into<i32>)

Pause(i32) overload

Source

fn resume(self, fade_msec: impl Into<i32>)

Resume(i32) overload

Source

fn set_first_played(self)

SetFirstPlayed() 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: IFieldBgmManager_BgmHandle> IFieldBgmManager_BgmHandleMethods for __T

Available on crate feature app-fieldbgmmanager only.