/// <summary> /// Unregisters a SiraInstaller from the base game's GameplayCore. This will stop the calling of Install method inside the reference of the ISiraInstaller. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller that was already registered.</param> public static void UnregisterGameplayCoreInstaller(ISiraInstaller installer) { gameplayCoreSiraInstallers.Remove(installer); }
/// <summary> /// Registers a SiraInstaller into the base game's GameplayCore. The DiContainer and GameObject of the GameplayCore is passed into the SiraInstaller for manual installation. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller.</param> public static void RegisterGameplayCoreInstaller(ISiraInstaller installer) { gameplayCoreSiraInstallers.Add(installer); }
/// <summary> /// Unregisters a SiraInstaller from the base game's MenuInstaller. This will stop the calling of Install method inside the reference of the ISiraInstaller. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller that was already registered.</param> public static void UnregisterMenuInstaller(ISiraInstaller installer) { menuSiraInstallers.Remove(installer); }
/// <summary> /// Registers a SiraInstaller into the base game's MenuInstaller. The DiContainer and GameObject of the MenuInstaller is passed into the SiraInstaller for manual installation. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller.</param> public static void RegisterMenuInstaller(ISiraInstaller installer) { menuSiraInstallers.Add(installer); }
/// <summary> /// Unregisters a SiraInstaller from the base game's AppInstaller. This will stop the calling of Install method inside the reference of the ISiraInstaller. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller that was already registered.</param> public static void UnregisterAppInstaller(ISiraInstaller installer) { appSiraInstallers.Remove(installer); _installedInstallers.Remove(installer.GetType()); }
/// <summary> /// Registers a SiraInstaller into the base game's AppInstaller. The DiContainer and GameObject of the AppInstaller is passed into the SiraInstaller for manual installation. /// </summary> /// <param name="installer">The instance of a class that inherits ISiraInstaller.</param> public static void RegisterAppInstaller(ISiraInstaller installer) { appSiraInstallers.Add(installer); }