NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dAudio::SoundEffectID_t Class Reference

#include <game/bases/d_audio.hpp>

Description

Definition at line 395 of file d_audio.hpp.

Public Member Functions

 SoundEffectID_t (u32 soundID)
 operator u32 () const
template<class TVec>
void playEmySound (const TVec &pos, int playerNo) const
template<class TVec>
void playMapSound (const TVec &pos, int playerNo) const
template<class TVec>
void holdMapSound (int id, const TVec &pos, int playerNo) const

Private Member Functions

template<class T, class TVec>
void playObjSound (T *obj, const TVec &pos, int playerNo) const
template<class T, class TVec>
void holdObjSound (T *obj, int id, const TVec &pos, int playerNo) const

Private Attributes

u32 mID

Constructor & Destructor Documentation

◆ SoundEffectID_t()

dAudio::SoundEffectID_t::SoundEffectID_t ( u32 soundID)
inline

Definition at line 397 of file d_audio.hpp.

Member Function Documentation

◆ operator u32()

dAudio::SoundEffectID_t::operator u32 ( ) const
inline

Definition at line 399 of file d_audio.hpp.

◆ playObjSound()

template<class T, class TVec>
void dAudio::SoundEffectID_t::playObjSound ( T * obj,
const TVec & pos,
int playerNo ) const
inlineprivate

Definition at line 405 of file d_audio.hpp.

◆ holdObjSound()

template<class T, class TVec>
void dAudio::SoundEffectID_t::holdObjSound ( T * obj,
int id,
const TVec & pos,
int playerNo ) const
inlineprivate

Definition at line 410 of file d_audio.hpp.

◆ playEmySound()

template<class TVec>
void dAudio::SoundEffectID_t::playEmySound ( const TVec & pos,
int playerNo ) const
inline

Definition at line 416 of file d_audio.hpp.

◆ playMapSound()

template<class TVec>
void dAudio::SoundEffectID_t::playMapSound ( const TVec & pos,
int playerNo ) const
inline

Definition at line 421 of file d_audio.hpp.

◆ holdMapSound()

template<class TVec>
void dAudio::SoundEffectID_t::holdMapSound ( int id,
const TVec & pos,
int playerNo ) const
inline

Definition at line 426 of file d_audio.hpp.

Member Data Documentation

◆ mID

u32 dAudio::SoundEffectID_t::mID
private

Definition at line 431 of file d_audio.hpp.