summaryrefslogtreecommitdiff
path: root/Impostor-dev/src/Impostor.Api/Innersloth/GameVersion.cs
blob: c11933ee304e0ad1169e679be2e0af20fbc7d14f (plain)
1
2
3
4
5
6
7
8
9
10
namespace Impostor.Api.Innersloth
{
    public class GameVersion
    {
        public static int GetVersion(int year, int month, int day, int rev = 0)
        {
            return (year * 25000) + (month * 1800) + (day * 50) + rev;
        }
    }
}