C# Class SharpTune.RomMod.ModDefinition

Afficher le fichier Open project: Merp/SharpTune Class Usage Examples

Private Properties

Свойство Type Description
CreateRomRaiderRamTable TableMetaData>.KeyValuePair
CreateRomRaiderRamTableBit TableMetaData>.KeyValuePair
DefineRRLogEcu void
GetDefs List
GetRRECUDefs List
HasBaseRRECUDef bool
InheritRRLogger void
PopulateRRLogDefTables void
PopulateRRLogDefTables void
ReadRRLogDefExtIdentifiers string>.Dictionary
SelectGetRREcuDef System.Xml.Linq.XDocument
SelectGetRRLogDef System.Xml.Linq.XDocument
TryCleanDef bool
TryParseDefs bool

Méthodes publiques

Méthode Description
DefineRRLogEcuFromMap ( string mapFile, string ident ) : void
DefineRRLogEcuFromText ( string text, string ident ) : void
ModDefinition ( AvailableDevices ad, Mod parent ) : System
NewRRLogDefInheritWithTemplate ( TableMetaData>.Dictionary ramTableList, string outPath, string template, string inheritIdent, string ident ) : void
PopulateRREcuDefStub ( string outPath ) : void
TryReadDefString ( Blob metadata, string &metaString, int &offset ) : bool

Read a single string from the metadata blob.

Consider returning false, printing error message. But, need to be certain to abort the whole process at that point...

TryReadDefs ( String defPath ) : bool

Private Methods

Méthode Description
CreateRomRaiderRamTable ( string name, int offset, string id, string type ) : TableMetaData>.KeyValuePair
CreateRomRaiderRamTableBit ( string name, int offset, string id, int bit ) : TableMetaData>.KeyValuePair
DefineRRLogEcu ( string>.Dictionary inputMap, string ident ) : void
GetDefs ( string path ) : List
GetRRECUDefs ( string path, string calid ) : List
HasBaseRRECUDef ( string path, string calid ) : bool
InheritRRLogger ( System.Xml.Linq.XDocument &xmlDoc, string outPath, string inheritIdent, string newIdent ) : void
PopulateRRLogDefTables ( System.Xml.Linq.XDocument &xmlDoc, string outPath, TableMetaData>.Dictionary ramTableList, string ident, string>.Dictionary ExtIdentifiers ) : void
PopulateRRLogDefTables ( System.Xml.Linq.XDocument &xmlDoc, string outPath, string>.Dictionary ramTableList, string ident ) : void
ReadRRLogDefExtIdentifiers ( System.Xml.Linq.XDocument xd ) : string>.Dictionary
SelectGetRREcuDef ( ) : System.Xml.Linq.XDocument
SelectGetRRLogDef ( ) : System.Xml.Linq.XDocument
TryCleanDef ( ) : bool

TODO: Deprecated

TryParseDefs ( Blob metadata, int &offset, String defPath ) : bool

Try to read the Patch metadata from the file and add this data to table lists.

Method Details

DefineRRLogEcuFromMap() public méthode

public DefineRRLogEcuFromMap ( string mapFile, string ident ) : void
mapFile string
ident string
Résultat void

DefineRRLogEcuFromText() public méthode

public DefineRRLogEcuFromText ( string text, string ident ) : void
text string
ident string
Résultat void

ModDefinition() public méthode

public ModDefinition ( AvailableDevices ad, Mod parent ) : System
ad SharpTuneCore.AvailableDevices
parent Mod
Résultat System

NewRRLogDefInheritWithTemplate() public méthode

public NewRRLogDefInheritWithTemplate ( TableMetaData>.Dictionary ramTableList, string outPath, string template, string inheritIdent, string ident ) : void
ramTableList TableMetaData>.Dictionary
outPath string
template string
inheritIdent string
ident string
Résultat void

PopulateRREcuDefStub() public méthode

public PopulateRREcuDefStub ( string outPath ) : void
outPath string
Résultat void

TryReadDefString() public méthode

Read a single string from the metadata blob.
Consider returning false, printing error message. But, need to be certain to abort the whole process at that point...
public TryReadDefString ( Blob metadata, string &metaString, int &offset ) : bool
metadata Blob
metaString string
offset int
Résultat bool

TryReadDefs() public méthode

public TryReadDefs ( String defPath ) : bool
defPath String
Résultat bool