Пример #1
0
 public override void Deserialize(IReader reader)
 {
     if (reader.ReadByte() == 0)
     {
         string id = reader.ReadKleiString();
         destinationType = Db.Get().SpaceDestinationTypes.Get(id);
     }
 }
Пример #2
0
 public ReachedSpace(SpaceDestinationType destinationType = null)
 {
     this.destinationType = destinationType;
 }