Skip to content

Reveal word (server)

BigETI edited this page Jul 2, 2019 · 1 revision

Reveal word (server)

Description

This messages notifies that the current word has been revealed

Event

lobbyReveal

Argument

  • Reveal word data : object
    • reason: Reason : string
      • AG-> Everyone have guessed
      • TP -> Timeout
    • word: Word : string
    • scores: Scores : array
      • i * 2: Player ID : int
      • (i * 2) + 1: Score : int

Example

[
	"lobbyReveal",
	{
		"reason": "AG",
		"word": "laugh",
		"scores": [
			509, 2465,
			511, 3335,
			517, 3125,
			524, 4790,
			527, 1470,
			528, 1175,
			529, 1035,
			531, 395
		]
	}
]
Clone this wiki locally