Example #1
0
 /// <summary>Reset all config options to their default values.</summary>
 internal static void Reset()
 {
     Instance = new ModConfig();
 }
Example #2
0
 /*********
 ** Private methods
 *********/
 /****
 ** Event handlers
 ****/
 /// <summary>
 /// Sets up the Generic Mod Config Menu integration if available.
 /// Called after the game is launched, before the first update tick.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void onGameLaunched(object sender, GameLaunchedEventArgs e)
 {
     ModConfig.SetUpMenu();
 }