-
Notifications
You must be signed in to change notification settings - Fork 0
Draw (server)
BigETI edited this page Jul 2, 2019
·
1 revision
This message contains commands for drawing
drawCommands
- Draw command : array
- i: Stroke data : array
- 0: Tool index : int
- 1: Color index : int
- 2: Brush size : float
- 3: From X : int
- 4: From Y : int
- 5: To X : int
- 6: To Y : int
- i: Stroke data : array
[
"drawCommands",
[
[0, 2, 4, 182, 372, 182, 372],
[0, 2, 4, 182, 372, 181, 372]
]
]
This documentation is licensed under CC-BY-4.0.
- Home
- Choose word (server)
- Clear canvas (server)
- Connected to lobby (server)
- Current word (server)
- Disconnected from lobby (server)
- Draw (server)
- Kicked from lobby (server)
- Notify server restart (server)
- Player has been connected (server)
- Player has been disconnected (server)
- Player has been kicked (server)
- Player has guessed word (server)
- Rate player drawing (server)
- Reveal word (server)
- Send chat message (server)
- Show lobby scene (server)
- Spam detected (server)
- Start game (server)
- Update drawer (server)
- Update lobby custom words exclusive (server)
- Update lobby draw time (server)
- Update lobby rounds (server)
- Update lobby state (server)
- Update lobby time (server)
- Vote to kick player (server)