/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_futFileUtility">The file utility class to be used by the game mode.</param> /// <param name="p_eifEnvironmentInfo">The application's environment info.</param> public MorrowindGameMode(IEnvironmentInfo p_eifEnvironmentInfo, FileUtil p_futFileUtility) : base(p_eifEnvironmentInfo, p_futFileUtility) { string strPath = p_eifEnvironmentInfo.ApplicationPersonalDataFolderPath; strPath = Path.Combine(Path.Combine(strPath, "boss"), "masterlist.txt"); BossSorter = new BossSorter(p_eifEnvironmentInfo, this, p_futFileUtility, strPath); }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_eifEnvironmentInfo">The application's environment info.</param> /// <param name="p_futFileUtility">The file utility class to be used by the game mode.</param> public GamebryoGameModeBase(IEnvironmentInfo p_eifEnvironmentInfo, FileUtil p_futFileUtility) : base(p_eifEnvironmentInfo) { SettingsFiles = CreateSettingsFileContainer(); SetupSettingsFiles(); SettingsGroupViews = new List <ISettingsGroupView>(); GeneralSettingsGroup gsgGeneralSettings = new GeneralSettingsGroup(p_eifEnvironmentInfo, this); ((List <ISettingsGroupView>)SettingsGroupViews).Add(new GeneralSettingsPage(gsgGeneralSettings)); string strPath = p_eifEnvironmentInfo.ApplicationPersonalDataFolderPath; strPath = Path.Combine(Path.Combine(strPath, "boss"), "masterlist.txt"); BossSorter = new BossSorter(p_eifEnvironmentInfo, this, p_futFileUtility, strPath); }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_eifEnvironmentInfo">The application's envrionment info.</param> /// <param name="p_bstBoss">The BOSS instance to use to set plugin order.</param> public BossUpdater(IEnvironmentInfo p_eifEnvironmentInfo, BossSorter p_bstBoss) : base(p_eifEnvironmentInfo) { SetRequiresRestart(false); BossSorter = p_bstBoss; }
/// <summary> /// A simple constructor that initializes the object with the given dependencies. /// </summary> /// <param name="p_bstBoss">The BOSS instance to use to set plugin order.</param> public GamebryoPluginOrderLogSerializer(BossSorter p_bstBoss) { BossSorter = p_bstBoss; }
/// <summary> /// A simple constructor that initializes the object with the given dependencies. /// </summary> /// <param name="p_gmdGameMode">The current game mode.</param> /// <param name="p_polPluginOrderLog">The <see cref="IPluginOrderLog"/> tracking plugin order for the current game mode.</param> /// <param name="p_bstBoss">The BOSS instance to use to set plugin order.</param> public GamebryoActivePluginLogSerializer(IGameMode p_gmdGameMode, IPluginOrderLog p_polPluginOrderLog, BossSorter p_bstBoss) { GameMode = p_gmdGameMode; PluginOrderLog = p_polPluginOrderLog; BossSorter = p_bstBoss; }