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.
Afficher le fichier Open project: SteveDunn/oglr Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static Compress ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

Rehydrate() public static méthode

public static Rehydrate ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

Rehydrate_old() public static méthode

public static Rehydrate_old ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void