Add tests for packet decode/encode (and fix some bugs found by the tests!)
This commit is contained in:
26
testing/packets/OnlineNotificationMessageL.json
Normal file
26
testing/packets/OnlineNotificationMessageL.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"sentAcks": [
|
||||
1892
|
||||
],
|
||||
"receivedAcks": [],
|
||||
"packet": {
|
||||
"packetFlags": 64,
|
||||
"sequenceNumber": 1892,
|
||||
"extraHeader": {
|
||||
"type": "Buffer",
|
||||
"data": []
|
||||
},
|
||||
"message": {
|
||||
"name": "OnlineNotification",
|
||||
"messageFlags": 36,
|
||||
"id": 4294902082,
|
||||
"AgentBlock": [
|
||||
{
|
||||
"AgentID": {
|
||||
"mUUID": "d1cd5b71-6209-4595-9bf0-771bf689ce00"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user