Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
 /// <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);
 }
Esempio n. 5
0
 /// <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());
 }
Esempio n. 6
0
 /// <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);
 }