OnRead for client updated

This commit is contained in:
shinichi
2020-09-25 13:04:39 +02:00
parent 506a074f36
commit 360ec4175f
3 changed files with 24 additions and 23 deletions

View File

@@ -42,7 +42,7 @@ namespace Client
}
byte messageId = bytes[4];
if (messageId == 1)
if (messageId == 0x01)
{
dynamic json = JsonConvert.DeserializeObject(Encoding.ASCII.GetString(bytes.Skip(5).ToArray()));
identifier = json.identifier;