36 return ((
minor >= 23) ?
"EA" :
"Beta") +
" " +
minor +
"." +
batch + ((
fix == 0) ?
"" : (
" Patch " +
fix)) + (
demo ?
"demo".lang() :
"");
44 public int GetInt(
int _major,
int _minor,
int _batch)
46 return _major * 1000000 + _minor * 1000 + _batch;
49 public bool IsBelow(
int _major,
int _minor,
int _batch)
79 string[] array = str.Split(
'.');
86 major = array[0].ToInt(),
87 minor = array[1].ToInt(),
88 batch = array[2].ToInt()
97 minor = i / 1000 % 1000,
120 return version.batch ==
batch;
int GetInt(int _major, int _minor, int _batch)
override bool Equals(object obj)
static Version Get(int i)
static Version Get(string str)
override int GetHashCode()
bool IsBelow(int _major, int _minor, int _batch)
bool IsSameOrBelow(Version v)
bool IsSaveCompatible(Version v)