OnRead for client updated
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user