Exemplo n.º 1
0
 private void FixedUpdate()
 {
     if (this.Configuration.Instance.InitiateOnTimeEvent && U.Settings.Instance.AutomaticSave.Enabled)
     {
         if (nextSaveTime.HasValue && nextSaveTime.Value < DateTime.Now)
         {
             AnimalsDataManager.save();
             restartTimer();
         }
     }
 }
Exemplo n.º 2
0
 protected override void execute(CSteamID executorID, string parameter)
 {
     AnimalsDataManager.save();
     commandSave.check(executorID, commandSave.command, parameter);
 }
Exemplo n.º 3
0
 public void ExecutSaveCommand(IRocketPlayer caller, string[] parameters)
 {
     AnimalsDataManager.save();
 }
Exemplo n.º 4
0
 private void onServerShutdown()
 {
     AnimalsDataManager.save();
 }