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:
|
A Tick is an Object of the following form:
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"TickType" : <TickType>
|
"tickType" : <TickType>
|
||||||
"TickValue" : <Number>
|
"tickValue" : <Number>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
The TickValue field is only required if the "TickType" field contains the Value "Tick"
|
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
|
##### KnownPlayer
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"PlayerUUID" : <UUID>
|
"playerUUID" : <UUID>
|
||||||
"PlayerName" : <Maybe String>
|
"playerName" : <Maybe String>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@ you don't know that Player you should add it.
|
||||||
##### UnknownPlayer
|
##### UnknownPlayer
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"PlayerUUID" : <Maybe null>
|
"playerUUID" : <Maybe null>
|
||||||
"PlayerName" : <String>
|
"playerName" : <String>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Remark: `<Maybe null>` allows you to optionally include this field with a `null` value. But
|
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.
|
`UnknownPlayer` it will be added.
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"RequestType" : "SetPlayerTickR",
|
"requestType" : "SetPlayerTickR",
|
||||||
"Player" : <Player>
|
"player" : <Player>
|
||||||
"Tick" : <Tick>
|
"tick" : <Tick>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -110,8 +110,8 @@ to get a new empty one just set `"TickLeiste": []`
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"RequestType" : "InitializeTickLeisteR",
|
"requestType" : "InitializeTickLeisteR",
|
||||||
"TickLeiste" : <UnknownTickLeiste>
|
"tickLeiste" : <UnknownTickLeiste>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ to get a new empty one just set `"TickLeiste": []`
|
||||||
Request the current 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
|
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.
|
This is used to change the name of a Player without moving them.
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"RequestType" : "ChangeNameR",
|
"requestType" : "ChangeNameR",
|
||||||
"Player" : <KnownPlayer>
|
"player" : <KnownPlayer>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
If you don't set the name in KnownPlayer no name change will occur.
|
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
|
### SetPlayerTickE
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"EventType" : "SetPlayerTickE",
|
"eventType" : "SetPlayerTickE",
|
||||||
"Player" : <KnownPlayer>
|
"player" : <KnownPlayer>
|
||||||
"Tick" : <Tick>
|
"tick" : <Tick>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### InitializeTickLeisteE
|
### InitializeTickLeisteE
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"EventType" : "InitializeTickLeisteE",
|
"eventType" : "InitializeTickLeisteE",
|
||||||
"TickLeiste" : <KnownTickLieste>
|
"tickLeiste" : <KnownTickLieste>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue