Files
ss/include/nw4r/snd/snd_WaveSound.h
T
2024-05-12 16:04:01 -04:00

40 lines
1.6 KiB
C++

#ifndef NW4R_SND_WAVESOUND_H
#define NW4R_SND_WAVESOUND_H
#include "snd_BasicSound.h"
#include "snd_WsdPlayer.h"
#include "types_nw4r.h"
#include "ut_RuntimeTypeInfo.h"
namespace nw4r {
namespace snd {
namespace detail {
struct WaveSound : BasicSound {
WsdPlayer mPlayer; // at 0xD8
WaveSoundHandle *mTempSpecialHandle; // at 0x1B0
SoundInstanceManager<WaveSound> *mManager; // at 0x1B4
bool mIsPrepared; // at 0x1B8
WaveSound(SoundInstanceManager<WaveSound> *);
bool Prepare(const void *, s32, WsdPlayer::StartOffsetType, s32, int, const WsdPlayer::WsdCallback *, u32);
void SetChannelPriority(int);
void SetReleasePriorityFix(bool);
static ut::detail::RuntimeTypeInfo typeInfo;
virtual const ut::detail::RuntimeTypeInfo *GetRuntimeTypeInfo() const; // at 0x8
virtual ~WaveSound(); // at 0xc
virtual UNKTYPE Shutdown(); // at 0x28
virtual bool IsPrepared() const; // at 0x2c
virtual void SetPlayerPriority(int); // at 0x4c
virtual bool IsAttachedTempSpecialHandle(); // at 0x5c
virtual UNKTYPE DetachTempSpecialHandle(); // at 0x60
virtual BasicPlayer *GetBasicPlayer(); // at 0x68
virtual const BasicPlayer *GetBasicPlayer() const; // at 0x6c
};
} // namespace detail
} // namespace snd
} // namespace nw4r
#endif