Add URDEVersionInfo.hpp

This commit is contained in:
Luke Street 2020-04-15 13:43:08 -04:00
parent 52b4db2f00
commit 6d4ad6d956
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#pragma once
#include <string>
#include "DataSpec/DNACommon/DNACommon.hpp"
namespace DataSpec {
enum class EGame {
Invalid = 0,
MetroidPrime1 = 1,
MetroidPrime2 = 2,
MetroidPrime3 = 3,
};
enum class ERegion { Invalid = 0, NTSC_U = 'E', PAL = 'P', NTSC_J = 'J' };
struct URDEVersionInfo : BigDNA {
AT_DECL_DNA_YAML
String<-1> version;
Value<ERegion> region;
Value<EGame> game;
Value<bool> isTrilogy;
};
} // namespace DataSpec