Correct duplicated message type code

This commit is contained in:
Starbeamrainbowlabs 2017-02-26 19:56:43 +00:00
parent de6a5b4798
commit cafb1209b5

View file

@ -177,8 +177,8 @@ Type | Name | Description
-------:|-------------------|------------- -------:|-------------------|-------------
0 | Reset | Hard-resets the PixelBot. Useful if something has gone wrong, or to reset it's internal state. 0 | Reset | Hard-resets the PixelBot. Useful if something has gone wrong, or to reset it's internal state.
1 | Error | May be sent by either party. Indicates that one or the other doesn't like a message that was sent by the other party. 1 | Error | May be sent by either party. Indicates that one or the other doesn't like a message that was sent by the other party.
1 | HandshakeRequest | Sent by a PixelBot upon connection. 5 | HandshakeRequest | Sent by a PixelBot upon connection.
2 | HandshakeResponse | Sent by the server in response to a `HandshakeRequest`. 6 | HandshakeResponse | Sent by the server in response to a `HandshakeRequest`.
11 | Move | Instructs a PixelBot to perform a movement. 11 | Move | Instructs a PixelBot to perform a movement.
12 | CommandOk | Sent by a pixelbot to indicate that the command sent by the server is ok, and that it will proceed to execute it. 12 | CommandOk | Sent by a pixelbot to indicate that the command sent by the server is ok, and that it will proceed to execute it.
13 | CommandComplete | Sent by a pixelbot to indicate that it has completed executing the command sent previously. 13 | CommandComplete | Sent by a pixelbot to indicate that it has completed executing the command sent previously.