public void Deserialize(BinaryReader reader) { Id = Extensions.ReadGuid(reader); Name = reader.ReadString(); Class = (CharacterClass)reader.ReadByte(); var position = new Position(); position.Deserialize(reader); }
protected override void Deserialize(BinaryReader reader) { CharacterId = Extensions.ReadGuid(reader); var position = new Position(); position.Deserialize(reader); Position = position; }