Ejemplo n.º 1
0
 public override void Close()
 {
     try
     {
         if (SessionCore.Settings.Debug)
         {
             DebugNote.Hide();
             DebugNote.AliveTime = 0;
             DebugNote           = null;
         }
     }
     catch (Exception Scrap)
     {
         SessionCore.LogError($"{Drill?.CustomName}.Close().DebugClose", Scrap);
     }
     try
     {
         SessionCore.SaveUnregister(Save);
         SyncHarvestEfficiency.GotValueFromServer -= Drill.UpdateVisual;
         SyncHarvestEfficiency.Close();
     }
     catch (Exception Scrap)
     {
         SessionCore.LogError($"{Drill?.CustomName}.Close()", Scrap);
     }
 }
Ejemplo n.º 2
0
 public override void Close()
 {
     SyncBeamLength.GotValueFromServer      -= ToolComp.Tool.UpdateVisual;
     SyncDistanceMode.GotValueFromServer    -= ToolComp.Tool.UpdateVisual;
     SyncSpeedMultiplier.GotValueFromServer -= ToolComp.Tool.UpdateVisual;
     SyncBeamLength.Close();
     SyncDistanceMode.Close();
     SyncSpeedMultiplier.Close();
 }
Ejemplo n.º 3
0
 public override void Close()
 {
     MissingText.GotValueFromServer -= ComplainMissingLocal;
     MissingText.Close();
 }