C# Class ScoobyRom.DataFile.RomMetadata

ROM description data, mostly for RR export. Should be compatible to RomRaider ECU def format.
Afficher le fichier Open project: SubaruDieselCrew/ScoobyRom Class Usage Examples

Méthodes publiques

Méthode Description
FromXML ( System.Xml.Linq.XElement romidElement ) : RomMetadata
RomIdToStr ( long romid ) : string

ROMID as string, 10 hex characters.

RomMetadata ( ) : System

Private Methods

Méthode Description
ParseHexInt ( string strToParse, XObject xObj ) : int

Parses hex number e.g."0x123af". Prefix "0x" is optional.

ParseHexLong ( string strToParse, XObject xObj ) : long

Parses hex number e.g."0x123af". Prefix "0x" is optional.

ThrowParse ( Exception ex, XObject xObj, string typeStr ) : void
ThrowXmlExceptionWithLineInfo ( string message, Exception innerException, XObject xObj ) : void

Throw XmlException with LineNumber/LinePosition info.

Method Details

FromXML() public static méthode

public static FromXML ( System.Xml.Linq.XElement romidElement ) : RomMetadata
romidElement System.Xml.Linq.XElement
Résultat RomMetadata

RomIdToStr() public static méthode

ROMID as string, 10 hex characters.
public static RomIdToStr ( long romid ) : string
romid long /// A ///
Résultat string

RomMetadata() public méthode

public RomMetadata ( ) : System
Résultat System