38 lines
577 B
C#
38 lines
577 B
C#
using System;
|
|
|
|
namespace AmplifyImpostors
|
|
{
|
|
[Serializable]
|
|
public class VersionInfo
|
|
{
|
|
public const byte Major = 0;
|
|
|
|
public const byte Minor = 9;
|
|
|
|
public const byte Release = 6;
|
|
|
|
public static byte Revision = 2;
|
|
|
|
public static int FullNumber
|
|
{
|
|
get
|
|
{
|
|
return 9600 + Revision;
|
|
}
|
|
}
|
|
|
|
public static string FullLabel
|
|
{
|
|
get
|
|
{
|
|
return "Version=" + FullNumber;
|
|
}
|
|
}
|
|
|
|
public static string StaticToString()
|
|
{
|
|
return string.Format("{0}.{1}.{2}", (byte)0, (byte)9, (byte)6) + ((Revision <= 0) ? string.Empty : ("r" + Revision));
|
|
}
|
|
}
|
|
}
|