Beispiel #1
0
 /// <summary>
 ///     Side agnostic Start method, called after all mods received a call to StartPre().
 /// </summary>
 /// <param name="api">The main API for the game.</param>
 public override void Start(ICoreAPI api)
 {
     Api   = api as TApi;
     Files = api.RegisterFileManager();
     ApplyHarmonyPatches(_patchAssembly);
     api.Logger.Notification($"  {_patchAssembly.GetName()} - Patched Methods:");
     foreach (var val in ModPatches.GetPatchedMethods())
     {
         api.Logger.Notification("    " + val.FullDescription());
     }
 }