SoundLocation
Definition sound_spec.h:47
Describes the sound information for playback.
Definition sound_spec.h:18
std::string name
Definition sound_spec.h:34
bool use_local_fallback
Definition sound_spec.h:42
bool loop
Definition sound_spec.h:39
void deSerializeSimple(std::istream &is, u16 protocol_version)
Definition sound_spec.cpp:17
float gain
Definition sound_spec.h:35
bool exists() const
Definition sound_spec.h:27
void serializeSimple(std::ostream &os, u16 protocol_version) const
Definition sound_spec.cpp:9
SoundSpec(std::string_view name="", float gain=1.0f, bool loop=false, float fade=0.0f, float pitch=1.0f, float start_time=0.0f)
Definition sound_spec.h:19
float start_time
Definition sound_spec.h:38
float pitch
Definition sound_spec.h:37
float fade
Definition sound_spec.h:36