mirror of https://github.com/AxioDL/metaforce.git
Add URDEVersionInfo.hpp
This commit is contained in:
parent
52b4db2f00
commit
6d4ad6d956
|
@ -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
|
Loading…
Reference in New Issue