C# Class Nexus.Client.Games.Gamebryo.PluginManagement.GamebryoPluginFactory

Creats Plugins from Gamebryo based game plugin files.
Inheritance: IPluginFactory
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
CreatePlugin ( string p_strPluginPath ) : Plugin

Creates a plugin of the appropriate type from the specified file.

GamebryoPluginFactory ( string p_strPluginDirectory, ILoadOrderManager p_bstLoadOrder ) : System

A simple constructor that initializes the object with the given values.

IsActivatiblePluginFile ( string p_strPath ) : bool

Determines if the specified file is a plugin that can be activated for the game mode.

Method Details

CreatePlugin() public method

Creates a plugin of the appropriate type from the specified file.
public CreatePlugin ( string p_strPluginPath ) : Plugin
p_strPluginPath string The path to the plugin file.
return Nexus.Client.Plugins.Plugin

GamebryoPluginFactory() public method

A simple constructor that initializes the object with the given values.
public GamebryoPluginFactory ( string p_strPluginDirectory, ILoadOrderManager p_bstLoadOrder ) : System
p_strPluginDirectory string The directory where the plugins are installed.
p_bstLoadOrder ILoadOrderManager The LoadOrder instance to use to set the plugin order.
return System

IsActivatiblePluginFile() public method

Determines if the specified file is a plugin that can be activated for the game mode.
public IsActivatiblePluginFile ( string p_strPath ) : bool
p_strPath string The path to the file for which it is to be determined if it is a plugin file.
return bool