示例#1
0
 public static long GetMaxPlayerId()
 {
     try
     {
         return(MySQL_V2.GetPlayerSeed());
     }
     catch (Exception ex)
     {
         ExceptionLogger.Log(ex, "Exception while trying to retrieve max player ID; check config.");
     }
     return(-1);
 }
 internal Players()
 {
     this.Seed = MySQL_V2.GetPlayerSeed() + 1;
 }