/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_strPluginDirectory">The directory where the plugins are installed.</param> /// <param name="p_bstLoadOrder">The LoadOrder instance to use to set the plugin order.</param> public GamebryoPluginFactory(string p_strPluginDirectory, ILoadOrderManager p_bstLoadOrder) { m_strPluginDirectory = p_strPluginDirectory; LoadOrderManager = p_bstLoadOrder; }
/// <summary> /// A simple constructor that initializes the object with the given dependencies. /// </summary> /// <param name="p_bstPluginSorter">The PluginSorter instance to use to set plugin order.</param> public GamebryoPluginOrderLogSerializer(ILoadOrderManager p_bstLoadOrder, PluginSorter p_bstPluginSorter) { LoadOrderManager = p_bstLoadOrder; PluginSorter = p_bstPluginSorter; }
/// <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_bstLoadOrder">The LoadOrder instance to use to set plugin order.</param> public GamebryoActivePluginLogSerializer(IGameMode p_gmdGameMode, IPluginOrderLog p_polPluginOrderLog, ILoadOrderManager p_bstLoadOrder) { GameMode = p_gmdGameMode; PluginOrderLog = p_polPluginOrderLog; LoadOrderManager = p_bstLoadOrder; }