Skip to content

Choose word (server)

BigETI edited this page Jul 2, 2019 · 1 revision

Choose word (server)

Description

This message requests the client to choose a word or notifies such action.

Event

lobbyChooseWord

Argument

  • Choosing player : object
    • id: Player ID : int
    • words: Words to choose (only defined for drawer) : array
      • i: Word : string

Examples

[
	"lobbyChooseWord",
	{
		"id": 123
	}
]
[
	"lobbyChooseWord",
	{
		"id": 123,
		"words": [
			"something",
			"laugh",
			"sad"
		]
	}
]
Clone this wiki locally