3#include <Core/ResourceManager/Resource.h>
4#include <FmodPlugin/FmodPluginDLL.h>
27 plResult PlayOnce(
const plTransform& globalPosition,
float fPitch = 1.0f,
float fVolume = 1.0f)
const;
30 FMOD::Studio::EventInstance* CreateInstance()
const;
33 FMOD::Studio::EventDescription*
GetDescriptor()
const {
return m_pEventDescription; }
38 virtual void UpdateMemoryUsage(MemoryUsage& out_NewMemoryUsage)
override;
42 FMOD::Studio::EventDescription* m_pEventDescription =
nullptr;
51 : m_Reader(&m_Storage)
59 FMOD::Studio::EventDescription* m_pEventDescription =
nullptr;
64 virtual bool IsResourceOutdated(
const plResource* pResource)
const override;
The default implementation for memory stream storage.
Definition MemoryStream.h:161
Definition FmodSoundEventResource.h:15
FMOD::Studio::EventDescription * GetDescriptor() const
Returns the Fmod sound event descriptor. May be nullptr, if the sound bank could not be loaded or the...
Definition FmodSoundEventResource.h:33
Definition FmodSoundEventResource.h:46
A reader which can access a memory stream.
Definition MemoryStream.h:259
The base class for all resources.
Definition Resource.h:10
Base class for all resource loaders.
Definition ResourceTypeLoader.h:29
Interface for binary in (read) streams.
Definition Stream.h:22
Definition FmodSoundEventResource.h:10
Definition FmodSoundEventResource.h:49
Data returned by plResourceTypeLoader implementations.
Definition ResourceTypeLoader.h:10
Describes in which loading state a resource currently is, and how many different quality levels there...
Definition Declarations.h:102
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54