Example #1
0
 public static BuildVersionType Type(long buildVersion)
 {
     if (ServerVersion.IsNightlyOrDev(buildVersion))
     {
         return(BuildVersionType.V4); // debug / dev version
     }
     if (buildVersion < 40000)
     {
         return(BuildVersionType.V3);
     }
     if (buildVersion >= 40000 && buildVersion <= 49999)
     {
         return(BuildVersionType.V4);
     }
     return(BuildVersionType.Unknown);
 }