Skip to content

Commit

Permalink
Fixing incorrect arrays in protocol 1.6.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoxavier committed Jan 30, 2024
1 parent 9b9bc88 commit f4faca4
Showing 1 changed file with 16 additions and 59 deletions.
75 changes: 16 additions & 59 deletions data/pc/1.6.4/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,10 +756,6 @@
"packet_entity_destroy": [
"container",
[
{
"name": "entityCount",
"type": "i8"
},
{
"name": "entityIds",
"type": [
Expand Down Expand Up @@ -1061,16 +1057,11 @@
"type": "u16"
},
{
"name": "compressedSize",
"type": "i32"
},
{
"name": "compressedData",
"name": "compressedChunkData",
"type": [
"array",
"buffer",
{
"countType": "i32",
"type": "u8"
"countType": "i32"
}
]
}
Expand Down Expand Up @@ -1625,10 +1616,6 @@
"name": "windowId",
"type": "i8"
},
{
"name": "count",
"type": "i16"
},
{
"name": "items",
"type": [
Expand Down Expand Up @@ -1745,17 +1732,12 @@
"name": "itemId",
"type": "i16"
},
{
"name": "textLength",
"type": "i16"
},
{
"name": "text",
"type": [
"array",
"buffer",
{
"countType": "i8",
"type": "i8"
"countType": "i16"
}
]
}
Expand Down Expand Up @@ -2057,17 +2039,12 @@
"name": "channel",
"type": "string"
},
{
"name": "length",
"type": "i16"
},
{
"name": "data",
"type": [
"array",
"buffer",
{
"countType": "i8",
"type": "i8"
"countType": "i16"
}
]
}
Expand All @@ -2076,31 +2053,21 @@
"packet_encryption_key_response": [
"container",
[
{
"name": "sharedSecretLength",
"type": "i16"
},
{
"name": "sharedSecret",
"type": [
"array",
"buffer",
{
"countType": "i8",
"type": "i8"
"countType": "i16"
}
]
},
{
"name": "verifyTokenLength",
"type": "i16"
},
{
"name": "verifyTokenResponse",
"name": "verifyToken",
"type": [
"array",
"buffer",
{
"countType": "i8",
"type": "i8"
"countType": "i16"
}
]
}
Expand All @@ -2113,31 +2080,21 @@
"name": "serverId",
"type": "string"
},
{
"name": "publicKeyLength",
"type": "i16"
},
{
"name": "publicKey",
"type": [
"array",
"buffer",
{
"countType": "i32",
"type": "i8"
"countType": "i16"
}
]
},
{
"name": "verifyTokenLength",
"type": "i16"
},
{
"name": "verifyToken",
"type": [
"array",
"buffer",
{
"countType": "i32",
"type": "i8"
"countType": "i16"
}
]
}
Expand Down

0 comments on commit f4faca4

Please sign in to comment.