C# Class Nexus.Client.Games.Fallout3.Scripting.XmlScript.Fallout3XmlScriptType

Describes the Fallout 3 variant of the XML script type.
Inheritance: Nexus.Client.ModManagement.Scripting.XmlScript.XmlScriptType
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
CreateConditionStateManager ( IMod p_modMod, IGameMode p_gmdGameMode, IPluginManager p_pmgPluginManager, IEnvironmentInfo p_eifEnvironmentInfo ) : ConditionStateManager

Creates a ConditionStateManager to use when running an XML script.

GetCplParserFactory ( ) : ICplParserFactory

Gets a CPL Parser factory.

GetXmlScriptNodeAdapter ( System.Version p_verXmlScriptVersion ) : IXmlScriptNodeAdapter

The factory method that returns the appropriate IXmlScriptNodeAdapter for the given xml script version.

Méthodes protégées

Méthode Description
GetParser ( System.Xml.Linq.XElement p_xelScript ) : IParser

Gets the parser to use to parse the given XML Script.

The given XML Script is only required to extract the script version, which is used to determine which parser should be used.

GetUnparser ( Nexus p_xscScript ) : IUnparser

Gets the unparser to use to create an XML representation of the given XmlScript.

Method Details

CreateConditionStateManager() public méthode

Creates a ConditionStateManager to use when running an XML script.
public CreateConditionStateManager ( IMod p_modMod, IGameMode p_gmdGameMode, IPluginManager p_pmgPluginManager, IEnvironmentInfo p_eifEnvironmentInfo ) : ConditionStateManager
p_modMod IMod The mod being installed.
p_gmdGameMode IGameMode The game mode currently bieng managed.
p_pmgPluginManager IPluginManager The plugin manager.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
Résultat Nexus.Client.ModManagement.Scripting.XmlScript.ConditionStateManager

GetCplParserFactory() public méthode

Gets a CPL Parser factory.
public GetCplParserFactory ( ) : ICplParserFactory
Résultat ICplParserFactory

GetParser() protected méthode

Gets the parser to use to parse the given XML Script.
The given XML Script is only required to extract the script version, which is used to determine which parser should be used.
protected GetParser ( System.Xml.Linq.XElement p_xelScript ) : IParser
p_xelScript System.Xml.Linq.XElement The XML Script to parse.
Résultat IParser

GetUnparser() protected méthode

Gets the unparser to use to create an XML representation of the given XmlScript.
protected GetUnparser ( Nexus p_xscScript ) : IUnparser
p_xscScript Nexus The to unparse.
Résultat IUnparser

GetXmlScriptNodeAdapter() public méthode

The factory method that returns the appropriate IXmlScriptNodeAdapter for the given xml script version.
Thrown if no is /// found for the given xml script version.
public GetXmlScriptNodeAdapter ( System.Version p_verXmlScriptVersion ) : IXmlScriptNodeAdapter
p_verXmlScriptVersion System.Version The xml script version for which to create an /// .
Résultat IXmlScriptNodeAdapter