Пример #1
0
 internal static void TaskCallback(SchedulerTask schedulerTask)
 {
     if (!ConfigKey.AutoRankEnabled.Enabled())
     {
         return;
     }
     PlayerInfo[] onlinePlayers = Server.Players.Select(p => p.Info).ToArray();
     MaintenanceCommands.DoAutoRankAll(Player.AutoRank, onlinePlayers, false, "~AutoRank");
 }
Пример #2
0
 public static void TaskCallback(SchedulerTask schedulerTask)
 {
     MaintenanceCommands.DoAutoRankAll(Player.Console, PlayerDB.GetPlayerListCopy(), false, "~AutoRank");
 }