Esempio n. 1
0
 /// <summary>
 /// Registers a simple <see cref="Action"/> method to invoke the <c>first time</c> the player saves the game via the in game menu.
 /// </summary>
 /// <param name="onSaveAction">The method to invoke. This action will not be invoked a second time.</param>
 void IIngameMenuHandler.RegisterOneTimeUseOnSaveEvent(Action onSaveAction)
 {
     IngameMenuPatcher.AddOneTimeUseSaveEvent(onSaveAction);
 }