示例#1
0
 public static void Reset()
 {
     lock (Client.eventLock)
     {
         if (singleton != null)
         {
             Client.updateEvent.Remove(singleton.Update);
         }
         singleton = new QuickSaveLoader();
         Client.updateEvent.Add(singleton.Update);
     }
 }
 public static void Reset()
 {
     lock (Client.eventLock)
     {
         if (singleton != null)
         {
             Client.updateEvent.Remove(singleton.Update);
         }
         singleton = new QuickSaveLoader();
         Client.updateEvent.Add(singleton.Update);
     }
 }