C# Class ScoobyRom.DataFile.RomMetadata

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

Public Methods

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

ROMID as string, 10 hex characters.

RomMetadata ( ) : System

Private Methods

Method 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 method

public static FromXML ( System.Xml.Linq.XElement romidElement ) : RomMetadata
romidElement System.Xml.Linq.XElement
return RomMetadata

RomIdToStr() public static method

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

RomMetadata() public method

public RomMetadata ( ) : System
return System