metaforce/DataSpec/DNAMP1/ScriptObjects/StreamedAudio.hpp

21 lines
461 B
C++

#pragma once
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace DataSpec::DNAMP1 {
struct StreamedAudio : IScriptObject {
AT_DECL_DNA_YAMLV
String<-1> name;
Value<bool> active;
String<-1> fileName;
Value<bool> noStopOnDeactivate;
Value<float> fadeInTime;
Value<float> fadeOutTime;
Value<atUint32> volume;
Value<atUint32> oneShot;
Value<bool> music;
};
} // namespace DataSpec::DNAMP1