Skip to content

Commit

Permalink
Fix bedrock packet_education_settings field (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored Aug 12, 2023
1 parent 1c5fb1f commit 25496b1
Show file tree
Hide file tree
Showing 36 changed files with 414 additions and 72 deletions.
7 changes: 4 additions & 3 deletions data/bedrock/1.17.30/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2692,9 +2692,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.17.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8205,7 +8205,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.17.40/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2692,9 +2692,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.17.40/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8206,7 +8206,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.18.0/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2699,9 +2699,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.18.0/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8251,7 +8251,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.18.11/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2706,9 +2706,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.18.11/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8309,7 +8309,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.18.30/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2720,9 +2720,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.18.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8398,7 +8398,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.19.1/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2734,9 +2734,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.19.1/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8449,7 +8449,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.19.10/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2785,9 +2785,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.19.10/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8517,7 +8517,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.19.20/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2822,9 +2822,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.19.20/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8682,7 +8682,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.19.21/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2822,9 +2822,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
20 changes: 19 additions & 1 deletion data/bedrock/1.19.21/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -8682,7 +8682,25 @@
"switch",
{
"compareTo": "has_external_link_settings",
"fields": {},
"fields": {
"true": [
"container",
[
{
"name": "has",
"type": "bool"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_name",
"type": "string"
}
]
]
},
"default": "void"
}
]
Expand Down
7 changes: 4 additions & 3 deletions data/bedrock/1.19.30/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2825,9 +2825,10 @@ packet_education_settings:
HasQuiz: bool
has_external_link_settings: bool
external_link_settings: has_external_link_settings ?
has: bool
url: string
display_name: string
if true:
has: bool
url: string
display_name: string

# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
# the server, after which the server will broadcast the packet to other players online.
Expand Down
Loading

0 comments on commit 25496b1

Please sign in to comment.