C# Class Nexus.Client.Games.Fallout3.Scripting.XmlScript.CPL.FO3CplConverter

A converter that translates CPL to and from an ICondition,
Inheritance: Nexus.Client.ModManagement.Scripting.XmlScript.CPL.CPLConverter
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
FO3CplConverter ( ICplParserFactory p_pftParserFactory ) : System

A simple constructor that initializes the ICplParserFactory to use.

Méthodes protégées

Méthode Description
BuildCompositeCondition ( ITree p_astCPL ) : ICondition

Builds an ICondition representing the given CPL.

GenerateCpl ( ICondition p_cndCondition ) : string

Generates the CPL representing to given ICondition.

Method Details

BuildCompositeCondition() protected méthode

Builds an ICondition representing the given CPL.
protected BuildCompositeCondition ( ITree p_astCPL ) : ICondition
p_astCPL ITree The CPL abstract syntax tree for which to create an .
Résultat ICondition

FO3CplConverter() public méthode

A simple constructor that initializes the ICplParserFactory to use.
public FO3CplConverter ( ICplParserFactory p_pftParserFactory ) : System
p_pftParserFactory ICplParserFactory The to use to create the /// parser to use to build the AST.
Résultat System

GenerateCpl() protected méthode

Generates the CPL representing to given ICondition.
protected GenerateCpl ( ICondition p_cndCondition ) : string
p_cndCondition ICondition The to translate into CPL.
Résultat string