public void Deserialize(BinaryReader reader) { Status = (CharacterValidationStatus)reader.ReadByte(); if (Status == CharacterValidationStatus.Ok) { Map = (Maps)reader.ReadByte(); } }
public ValidateCharacterResponseParameters(CharacterValidationStatus status = CharacterValidationStatus.Wrong, Maps map = Maps.Map_1) { Status = status; Map = map; }