C# 클래스 Nexus.Client.Games.Morrowind.MorrowindGameMode

Provides information required for the programme to manage Morrowind plugins and mods.
상속: Nexus.Client.Games.Gamebryo.GamebryoGameModeBase
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
GetActivePluginLogSerializer ( IPluginOrderLog p_polPluginOrderLog ) : IActivePluginLogSerializer

Gets the serailizer that serializes and deserializes the list of active plugins for this game mode.

GetModFormatAdjustedPath ( IModFormat p_mftModFormat, string p_strPath ) : string

Adjusts the given path to be relative to the installation path of the game mode.

This is basically a hack to allow older FOMod/OMods to work. Older FOMods assumed the installation path of Fallout games to be <games>/data, but this new manager specifies the installation path to be <games>. This breaks the older FOMods, so this method can detect the older FOMods (or other mod formats that needs massaging), and adjusts the given path to be relative to the new instaalation path to make things work.

GetPluginOrderLogSerializer ( ) : IPluginOrderLogSerializer

Gets the serializer that serializes and deserializes the plugin order for this game mode.

MorrowindGameMode ( IEnvironmentInfo p_eifEnvironmentInfo, FileUtil p_futFileUtility ) : System.IO

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

SortPlugins ( IList p_lstPlugins ) : string[]

Sorts the plugins.

보호된 메소드들

메소드 설명
CreateGameModeDescriptor ( ) : IGameModeDescriptor

Creates a game mode descriptor for the current game mode.

CreateSettingsFileContainer ( ) : GamebryoSettingsFiles

Instantiates the container to use to store the list of settings files.

SetupPluginManagement ( FileUtil p_futFileUtility ) : void

Setup for the plugin management libraries.

SetupSettingsFiles ( ) : void

Adds the settings files to the game mode's list.

메소드 상세

CreateGameModeDescriptor() 보호된 메소드

Creates a game mode descriptor for the current game mode.
protected CreateGameModeDescriptor ( ) : IGameModeDescriptor
리턴 IGameModeDescriptor

CreateSettingsFileContainer() 보호된 메소드

Instantiates the container to use to store the list of settings files.
protected CreateSettingsFileContainer ( ) : GamebryoSettingsFiles
리턴 Nexus.Client.Games.Gamebryo.GamebryoSettingsFiles

GetActivePluginLogSerializer() 공개 메소드

Gets the serailizer that serializes and deserializes the list of active plugins for this game mode.
public GetActivePluginLogSerializer ( IPluginOrderLog p_polPluginOrderLog ) : IActivePluginLogSerializer
p_polPluginOrderLog IPluginOrderLog The tracking plugin order for the current game mode.
리턴 IActivePluginLogSerializer

GetModFormatAdjustedPath() 공개 메소드

Adjusts the given path to be relative to the installation path of the game mode.
This is basically a hack to allow older FOMod/OMods to work. Older FOMods assumed the installation path of Fallout games to be <games>/data, but this new manager specifies the installation path to be <games>. This breaks the older FOMods, so this method can detect the older FOMods (or other mod formats that needs massaging), and adjusts the given path to be relative to the new instaalation path to make things work.
public GetModFormatAdjustedPath ( IModFormat p_mftModFormat, string p_strPath ) : string
p_mftModFormat IModFormat The mod format for which to adjust the path.
p_strPath string The path to adjust
리턴 string

GetPluginOrderLogSerializer() 공개 메소드

Gets the serializer that serializes and deserializes the plugin order for this game mode.
public GetPluginOrderLogSerializer ( ) : IPluginOrderLogSerializer
리턴 IPluginOrderLogSerializer

MorrowindGameMode() 공개 메소드

A simple constructor that initializes the object with the given values.
public MorrowindGameMode ( IEnvironmentInfo p_eifEnvironmentInfo, FileUtil p_futFileUtility ) : System.IO
p_eifEnvironmentInfo IEnvironmentInfo The application's environment info.
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class to be used by the game mode.
리턴 System.IO

SetupPluginManagement() 보호된 메소드

Setup for the plugin management libraries.
protected SetupPluginManagement ( FileUtil p_futFileUtility ) : void
p_futFileUtility Nexus.Client.Util.FileUtil
리턴 void

SetupSettingsFiles() 보호된 메소드

Adds the settings files to the game mode's list.
protected SetupSettingsFiles ( ) : void
리턴 void

SortPlugins() 공개 메소드

Sorts the plugins.
public SortPlugins ( IList p_lstPlugins ) : string[]
p_lstPlugins IList The list of plugin to order.
리턴 string[]