22 lines
842 B
Markdown
22 lines
842 B
Markdown
# C1 10 - WalkRequest075 (by client)
|
|
|
|
## Is sent when
|
|
|
|
A player wants to walk on the game map.
|
|
|
|
## Causes the following actions on the server side
|
|
|
|
The player gets moved on the map, visible for other surrounding players.
|
|
|
|
## Structure
|
|
|
|
| Index | Length | Data Type | Value | Description |
|
|
|-------|--------|-----------|-------|-------------|
|
|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
|
|
| 1 | 1 | Byte | | Packet header - length of the packet |
|
|
| 2 | 1 | Byte | 0x10 | Packet header - packet type identifier |
|
|
| 3 | 1 | Byte | | SourceX |
|
|
| 4 | 1 | Byte | | SourceY |
|
|
| 5 | 4 bit | Byte | | StepCount |
|
|
| 5 | 4 bit | Byte | | TargetRotation |
|
|
| 6 | | Binary | | Directions; The directions of the walking path. The target is calculated by taking the source coordinates and applying the directions to it. | |