/// <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 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); }