changed to camelCase
This commit is contained in:
parent
e90b0d389b
commit
af85b34761
1 changed files with 19 additions and 19 deletions
38
Messages.md
38
Messages.md
|
@ -27,8 +27,8 @@ A TickType is one of the following Strings:
|
|||
A Tick is an Object of the following form:
|
||||
```
|
||||
{
|
||||
"TickType" : <TickType>
|
||||
"TickValue" : <Number>
|
||||
"tickType" : <TickType>
|
||||
"tickValue" : <Number>
|
||||
}
|
||||
```
|
||||
The TickValue field is only required if the "TickType" field contains the Value "Tick"
|
||||
|
@ -47,8 +47,8 @@ will never generate UUIDs for Player. This is always the job of the Server.
|
|||
##### KnownPlayer
|
||||
```
|
||||
{
|
||||
"PlayerUUID" : <UUID>
|
||||
"PlayerName" : <Maybe String>
|
||||
"playerUUID" : <UUID>
|
||||
"playerName" : <Maybe String>
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -58,8 +58,8 @@ you don't know that Player you should add it.
|
|||
##### UnknownPlayer
|
||||
```
|
||||
{
|
||||
"PlayerUUID" : <Maybe null>
|
||||
"PlayerName" : <String>
|
||||
"playerUUID" : <Maybe null>
|
||||
"playerName" : <String>
|
||||
}
|
||||
```
|
||||
Remark: `<Maybe null>` allows you to optionally include this field with a `null` value. But
|
||||
|
@ -97,9 +97,9 @@ This request is used to set a player to a specific Tick. If the Player is an
|
|||
`UnknownPlayer` it will be added.
|
||||
```
|
||||
{
|
||||
"RequestType" : "SetPlayerTickR",
|
||||
"Player" : <Player>
|
||||
"Tick" : <Tick>
|
||||
"requestType" : "SetPlayerTickR",
|
||||
"player" : <Player>
|
||||
"tick" : <Tick>
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -110,8 +110,8 @@ to get a new empty one just set `"TickLeiste": []`
|
|||
|
||||
```
|
||||
{
|
||||
"RequestType" : "InitializeTickLeisteR",
|
||||
"TickLeiste" : <UnknownTickLeiste>
|
||||
"requestType" : "InitializeTickLeisteR",
|
||||
"tickLeiste" : <UnknownTickLeiste>
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -119,7 +119,7 @@ to get a new empty one just set `"TickLeiste": []`
|
|||
Request the current TickLeiste
|
||||
```
|
||||
{
|
||||
"RequestType" : "TickLeisteR",
|
||||
"requestType" : "TickLeisteR",
|
||||
}
|
||||
```
|
||||
This is used to get the current TickLeiste from server. The server on its own will only
|
||||
|
@ -130,8 +130,8 @@ send incremental updates.
|
|||
This is used to change the name of a Player without moving them.
|
||||
```
|
||||
{
|
||||
"RequestType" : "ChangeNameR",
|
||||
"Player" : <KnownPlayer>
|
||||
"requestType" : "ChangeNameR",
|
||||
"player" : <KnownPlayer>
|
||||
}
|
||||
```
|
||||
If you don't set the name in KnownPlayer no name change will occur.
|
||||
|
@ -142,16 +142,16 @@ A Server might Send the following Events to a client.
|
|||
### SetPlayerTickE
|
||||
```
|
||||
{
|
||||
"EventType" : "SetPlayerTickE",
|
||||
"Player" : <KnownPlayer>
|
||||
"Tick" : <Tick>
|
||||
"eventType" : "SetPlayerTickE",
|
||||
"player" : <KnownPlayer>
|
||||
"tick" : <Tick>
|
||||
}
|
||||
```
|
||||
|
||||
### InitializeTickLeisteE
|
||||
```
|
||||
{
|
||||
"EventType" : "InitializeTickLeisteE",
|
||||
"TickLeiste" : <KnownTickLieste>
|
||||
"eventType" : "InitializeTickLeisteE",
|
||||
"tickLeiste" : <KnownTickLieste>
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue