2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-07-24 22:51:15 +00:00
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
#include "CFactoryMgr.hpp"
|
|
|
|
#include "IObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
#include "amuse/AudioGroupData.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CAudioGroupSet
|
|
|
|
{
|
|
|
|
std::unique_ptr<u8[]> m_buffer;
|
|
|
|
std::string x10_baseName;
|
|
|
|
std::string x20_name;
|
|
|
|
amuse::AudioGroupData m_data;
|
|
|
|
amuse::AudioGroupData LoadData();
|
|
|
|
public:
|
|
|
|
CAudioGroupSet(std::unique_ptr<u8[]>&& in);
|
|
|
|
const amuse::AudioGroupData& GetAudioGroupData() const {return m_data;}
|
2017-11-13 06:19:18 +00:00
|
|
|
std::string_view GetName() const { return x20_name; }
|
2016-07-24 22:51:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
CFactoryFnReturn FAudioGroupSetDataFactory(const urde::SObjectTag& tag,
|
|
|
|
std::unique_ptr<u8[]>&& in, u32 len,
|
2016-09-02 19:32:57 +00:00
|
|
|
const urde::CVParamTransfer& vparms,
|
|
|
|
CObjectReference* selfRef);
|
2016-07-24 22:51:15 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|