discord-mcbe
Preparing search index...
@discord-mcbe/shared
ClientBoundPacket
Variable ClientBoundPacket
Const
ClientBoundPacket
:
VariantSchema
<
"type"
,
[
VariantSchema
<
"type"
,
readonly
[
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
reason
:
PicklistSchema
<
[
Disconnect
,
OutdatedServer
,
OutdatedClient
,
ConnectionLost
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
Disconnect
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
sentAt
:
NumberSchema
<
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
Ping
,
undefined
>
;
}
,
undefined
,
>
,
]
,
undefined
,
>
,
VariantSchema
<
"type"
,
readonly
[
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
message
:
UnionSchema
<
[
StringSchema
<
(...)
>
,
GenericSchema
<
(...)
>
,
ArraySchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
playerUniqueId
:
OptionalSchema
<
CustomSchema
<
UniqueId
,
undefined
>
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SendMessage
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
message
:
StrictObjectSchema
<
{
attachments
:
ArraySchema
<
(...)
,
(...)
>
;
author
:
StrictObjectSchema
<
(...)
,
(...)
>
;
channelId
:
StringSchema
<
(...)
>
;
content
:
StringSchema
<
(...)
>
;
id
:
StringSchema
<
(...)
>
;
member
:
NullableSchema
<
(...)
,
(...)
>
;
mentions
:
StrictObjectSchema
<
(...)
,
(...)
>
;
referencedMessage
:
NullableSchema
<
(...)
,
(...)
>
;
}
,
undefined
,
>
;
text
:
StringSchema
<
undefined
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
DiscordChat
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
command
:
StringSchema
<
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
RunCommand
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
id
:
StringSchema
<
undefined
>
;
message
:
StringSchema
<
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SendScriptEvent
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
NullSchema
<
undefined
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetTPS
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
entityUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetEntityLocation
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
entityUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetEntityDimension
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetGameMode
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
gameMode
:
EnumSchema
<
typeof
GameMode
,
undefined
>
;
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SetGameMode
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
options
:
OptionalSchema
<
StrictObjectSchema
<
{
fadeInDuration
:
...
;
fadeOutDuration
:
...
;
stayDuration
:
...
;
subtitle
:
...
;
}
,
undefined
,
>
,
undefined
,
>
;
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
;
title
:
UnionSchema
<
[
StringSchema
<
(...)
>
,
GenericSchema
<
(...)
>
,
ArraySchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SetTitle
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
;
subtitle
:
UnionSchema
<
[
StringSchema
<
(...)
>
,
GenericSchema
<
(...)
>
,
ArraySchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
UpdateSubtitle
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
;
text
:
UnionSchema
<
[
StringSchema
<
(...)
>
,
GenericSchema
<
(...)
>
,
ArraySchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SetActionBar
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
playerUniqueId
:
CustomSchema
<
UniqueId
,
undefined
>
;
reason
:
OptionalSchema
<
StringSchema
<
undefined
>
,
undefined
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
KickPlayer
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
objectiveId
:
StringSchema
<
undefined
>
;
participant
:
UnionSchema
<
[
StrictObjectSchema
<
(...)
,
(...)
>
,
StrictObjectSchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetScore
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
objectiveId
:
StringSchema
<
undefined
>
;
participant
:
UnionSchema
<
[
StrictObjectSchema
<
(...)
,
(...)
>
,
StrictObjectSchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
score
:
NumberSchema
<
undefined
>
;
type
:
PicklistSchema
<
[
"set"
,
"add"
]
,
undefined
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
UpdateScore
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
objectiveId
:
StringSchema
<
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetAllScores
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
objectiveId
:
StringSchema
<
undefined
>
;
participant
:
UnionSchema
<
[
StrictObjectSchema
<
(...)
,
(...)
>
,
StrictObjectSchema
<
(...)
,
(...)
>
,
]
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
RemoveParticipant
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
objectiveId
:
StringSchema
<
undefined
>
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetObjective
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
NullSchema
<
undefined
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
GetAllObjectives
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
displayName
:
OptionalSchema
<
StringSchema
<
undefined
>
,
undefined
>
;
objectiveId
:
StringSchema
<
undefined
>
;
type
:
PicklistSchema
<
[
"add"
,
"remove"
]
,
undefined
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
UpdateObjective
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
data
:
StrictObjectSchema
<
{
displaySlotId
:
EnumSchema
<
typeof
DisplaySlotId
,
undefined
>
;
objectiveId
:
OptionalSchema
<
StringSchema
<
undefined
>
,
undefined
>
;
sortOrder
:
OptionalSchema
<
EnumSchema
<
typeof
ObjectiveSortOrder
,
undefined
>
,
undefined
,
>
;
}
,
undefined
,
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
SetObjectiveDisplay
,
undefined
>
;
}
,
undefined
,
>
,
]
,
undefined
,
>
,
VariantSchema
<
"ok"
,
[
StrictObjectSchema
<
{
data
:
UnknownSchema
;
ok
:
LiteralSchema
<
true
,
undefined
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
"__internal__:response"
,
undefined
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
error
:
VariantSchema
<
"code"
,
[
StrictObjectSchema
<
{
code
:
PicklistSchema
<
(...)
,
(...)
>
;
message
:
StringSchema
<
(...)
>
;
}
,
undefined
,
>
,
StrictObjectSchema
<
{
code
:
PicklistSchema
<
(...)
,
(...)
>
;
issues
:
ArraySchema
<
(...)
,
(...)
>
;
message
:
StringSchema
<
(...)
>
;
}
,
undefined
,
>
,
]
,
undefined
,
>
;
ok
:
LiteralSchema
<
false
,
undefined
>
;
requestId
:
StringSchema
<
undefined
>
;
type
:
LiteralSchema
<
"__internal__:response"
,
undefined
>
;
}
,
undefined
,
>
,
]
,
undefined
,
>
,
]
,
undefined
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
discord-mcbe
Loading...