Add tests for packet decode/encode (and fix some bugs found by the tests!)
This commit is contained in:
27
testing/packets/CameraConstraintMessage.json
Normal file
27
testing/packets/CameraConstraintMessage.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"sentAcks": [],
|
||||
"receivedAcks": [],
|
||||
"packet": {
|
||||
"packetFlags": 0,
|
||||
"sequenceNumber": 1942,
|
||||
"extraHeader": {
|
||||
"type": "Buffer",
|
||||
"data": []
|
||||
},
|
||||
"message": {
|
||||
"name": "CameraConstraint",
|
||||
"messageFlags": 49,
|
||||
"id": 22,
|
||||
"CameraCollidePlane": {
|
||||
"Plane": {
|
||||
"values": {
|
||||
"0": -0.9190573692321777,
|
||||
"1": -0.37379807233810425,
|
||||
"2": -0.12493376433849335,
|
||||
"3": 9869.619140625
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user