22 lines
482 B
C++
22 lines
482 B
C++
#pragma once
|
|
|
|
namespace Components
|
|
{
|
|
class MusicalTalent : public Component
|
|
{
|
|
public:
|
|
MusicalTalent();
|
|
~MusicalTalent();
|
|
|
|
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
|
|
const char* getName() override { return "MusicalTalent"; };
|
|
#endif
|
|
|
|
static void Replace(std::string sound, const char* file);
|
|
|
|
private:
|
|
static std::unordered_map<std::string, const char*> SoundAliasList;
|
|
static Game::XAssetHeader ModifyAliases(Game::XAssetType type, std::string filename);
|
|
};
|
|
}
|