Exemplo n.º 1
0
 private void onUpdate(object sender, EventArgs args)
 {
     if (Game1.currentLoader != null)
     {
         if (Game1.currentLoader.Current == 25 && prevLoaderNum != 25)
         {
             SpaceEvents.InvokeOnBlankSave();
         }
         prevLoaderNum = Game1.currentLoader.Current;
     }
     //Log.debug("L:" + (Game1.currentLoader != null ? Game1.currentLoader.Current:-1));
 }
Exemplo n.º 2
0
 /// <summary>The method to call after <see cref="Game1.loadForNewGame"/>.</summary>
 private static void After_LoadForNewGame(bool loadedGame)
 {
     SpaceEvents.InvokeOnBlankSave();
 }
Exemplo n.º 3
0
 public static void Postfix(bool loadedGame)
 {
     SpaceEvents.InvokeOnBlankSave();
 }