C# Class Oglr.InGame.TypeLookup

When XML is serialised, instead of repeating the full type name for each editor and properties, a map is built contaning an index number and the related full type name. This is put at the start of the XML so that when reloading, the map is reconstructed first, then the full type name can be resolved from the indexes stored all over the XML.
Mostrar archivo Open project: SteveDunn/oglr Class Usage Examples

Public Methods

Method Description
Compress ( System.Xml.Linq.XElement xml ) : void
Rehydrate ( System.Xml.Linq.XElement xml ) : void
Rehydrate_old ( System.Xml.Linq.XElement xml ) : void

Method Details

Compress() public static method

public static Compress ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

Rehydrate() public static method

public static Rehydrate ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

Rehydrate_old() public static method

public static Rehydrate_old ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void