2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_STREAMEDAUDIO_HPP_
|
|
|
|
#define _DNAMP1_STREAMEDAUDIO_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/DNACommon.hpp"
|
|
|
|
#include "IScriptObject.hpp"
|
|
|
|
#include "Parameters.hpp"
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace DataSpec
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
|
|
|
namespace DNAMP1
|
|
|
|
{
|
|
|
|
struct StreamedAudio : IScriptObject
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
String<-1> name;
|
|
|
|
Value<bool> active;
|
2017-01-16 08:40:33 +00:00
|
|
|
String<-1> fileName;
|
|
|
|
Value<bool> noStopOnDeactivate;
|
|
|
|
Value<float> fadeInTime;
|
|
|
|
Value<float> fadeOutTime;
|
|
|
|
Value<atUint32> volume;
|
|
|
|
Value<atUint32> oneShot;
|
|
|
|
Value<bool> music;
|
2015-09-10 20:30:35 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|