NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::detail::AnimEventPlayer Class Reference

Description

Definition at line 15 of file snd_AnimSound.h.

Public Member Functions

SoundHandleGetHandle ()
 
bool IsAttachedSound () const
 
bool IsCurrentEvent (const AnimEvent *event) const
 
int GetPriority () const
 
bool IsRunning () const
 
void UpdateFrame ()
 
void ForceStop ()
 
void StopEvent (const AnimEvent *event)
 
void SetVolume (f32 volume)
 
void SetPitch (f32 pitch)
 
void StartEvent (const AnimEvent *event, SoundStartable *startable, bool b)
 
void HoldEvent (const AnimEvent *event, SoundStartable *startable, bool b)
 
void SetVolumePitch (const AnimEvent *event, bool b)
 
void SetVariable (const AnimEvent *event, ulong varNo, f32 f)
 

Private Attributes

SoundHandle mHandle
 
const AnimEventmpEvent
 
bool mIsRunning
 

Member Function Documentation

◆ GetHandle()

SoundHandle * nw4r::snd::detail::AnimEventPlayer::GetHandle ( )
inline

Definition at line 20 of file snd_AnimSound.h.

◆ IsAttachedSound()

bool nw4r::snd::detail::AnimEventPlayer::IsAttachedSound ( ) const
inline

Definition at line 24 of file snd_AnimSound.h.

◆ IsCurrentEvent()

bool nw4r::snd::detail::AnimEventPlayer::IsCurrentEvent ( const AnimEvent * event) const
inline

Definition at line 28 of file snd_AnimSound.h.

◆ GetPriority()

int nw4r::snd::detail::AnimEventPlayer::GetPriority ( ) const
inline

Definition at line 32 of file snd_AnimSound.h.

◆ IsRunning()

bool nw4r::snd::detail::AnimEventPlayer::IsRunning ( ) const
inline

Definition at line 39 of file snd_AnimSound.h.

◆ StopEvent()

void nw4r::snd::detail::AnimEventPlayer::StopEvent ( const AnimEvent * event)
inline

Definition at line 47 of file snd_AnimSound.h.

◆ SetVolume()

void nw4r::snd::detail::AnimEventPlayer::SetVolume ( f32 volume)
inline

Definition at line 53 of file snd_AnimSound.h.

◆ SetPitch()

void nw4r::snd::detail::AnimEventPlayer::SetPitch ( f32 pitch)
inline

Definition at line 59 of file snd_AnimSound.h.

Member Data Documentation

◆ mHandle

SoundHandle nw4r::snd::detail::AnimEventPlayer::mHandle
private

Definition at line 77 of file snd_AnimSound.h.

◆ mpEvent

const AnimEvent* nw4r::snd::detail::AnimEventPlayer::mpEvent
private

Definition at line 78 of file snd_AnimSound.h.

◆ mIsRunning

bool nw4r::snd::detail::AnimEventPlayer::mIsRunning
private

Definition at line 79 of file snd_AnimSound.h.