metaforce/DataSpec/DNACommon/MetaforceVersionInfo.hpp

25 lines
443 B
C++
Raw Permalink Normal View History

2020-04-15 18:54:17 +00:00
#pragma once
2020-04-15 17:43:08 +00:00
#include <string>
2020-04-15 18:54:17 +00:00
#include "DataSpec/DNACommon/DNACommon.hpp"
namespace DataSpec {
enum class ERegion { Invalid = -1, NTSC_U = 'E', PAL = 'P', NTSC_J = 'J' };
2020-04-15 18:54:17 +00:00
enum class EGame {
2020-04-15 17:43:08 +00:00
Invalid = 0,
2020-04-15 18:54:17 +00:00
MetroidPrime1,
MetroidPrime2,
MetroidPrime3,
};
2021-04-10 08:42:06 +00:00
struct MetaforceVersionInfo : BigDNA {
2020-04-15 18:54:17 +00:00
AT_DECL_DNA_YAML
2020-04-15 17:43:08 +00:00
2020-04-15 18:54:17 +00:00
String<-1> version;
Value<ERegion> region;
Value<EGame> game;
Value<bool> isTrilogy;
};
2020-04-15 17:43:08 +00:00
} // namespace DataSpec