Пример #1
0
        public void Deserialize(BinaryReader reader)
        {
            Status = (CharacterValidationStatus)reader.ReadByte();

            if (Status == CharacterValidationStatus.Ok)
            {
                Map = (Maps)reader.ReadByte();
            }
        }
Пример #2
0
 public ValidateCharacterResponseParameters(CharacterValidationStatus status = CharacterValidationStatus.Wrong, Maps map = Maps.Map_1)
 {
     Status = status;
     Map    = map;
 }