Пример #1
0
 public override void Execute(List <string> _params, CommandSenderInfo _senderInfo)
 {
     try
     {
         DeletePlayerData.Exec();
         SingletonMonoBehaviour <SdtdConsole> .Instance.Output(string.Format("[SERVERTOOLS] All save data from ServerTools.bin has been deleted"));
     }
     catch (Exception e)
     {
         Log.Out(string.Format("[SERVERTOOLS] Error in DeletePlayerDataConsole.Execute: {0}", e.Message));
     }
 }
 public override void Execute(List <string> _params, CommandSenderInfo _senderInfo)
 {
     try
     {
         DeletePlayerData.Exec();
         SdtdConsole.Instance.Output(string.Format("[SERVERTOOLS] Player data has been deleted"));
     }
     catch (Exception e)
     {
         Log.Out(string.Format("[SERVERTOOLS] Error in DeletePlayerDataConsole.Execute: {0}", e.Message));
     }
 }