Esempio n. 1
0
 public object Deserialize(Stream stream, CachedTagGen1 instance) =>
 Deserialize(new Gen1SerializationContext(stream, this, instance), TagDefinition.Find(instance.Group.Tag));
Esempio n. 2
0
 //TODO: Implement serialization for gen1
 public void Serialize(Stream stream, CachedTagGen1 instance, object definition)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
        //
        // public methods specific to gen3
        //

        public T Deserialize <T>(Stream stream, CachedTagGen1 instance) =>
        Deserialize <T>(new Gen1SerializationContext(stream, this, instance));
Esempio n. 4
0
 public Gen1SerializationContext(Stream stream, GameCacheGen1 gameCache, CachedTagGen1 tag)
 {
     GameCache = gameCache;
     Tag       = tag;
     Stream    = stream;
 }