A stable modding interface between Techblox and mods https://mod.exmods.org/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

27 lignes
565B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using HarmonyLib;
  7. using RobocraftX;
  8. using TechbloxModdingAPI.Utility;
  9. namespace TechbloxModdingAPI.Events
  10. {
  11. /// <summary>
  12. /// Patch of RobocraftX.FullGameCompositionRoot.ReloadGame()
  13. /// </summary>
  14. [Obsolete]
  15. [HarmonyPatch(typeof(FullGameCompositionRoot), "ReloadGame")]
  16. class GameReloadedPatch
  17. {
  18. public static void Postfix()
  19. {
  20. GameActivatedComposePatch.IsGameReloading = true;
  21. }
  22. }
  23. }