From e32fa47836b9e2f6a2a4efc296cb912c96670f28 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 16 Dec 2020 16:17:52 -0700 Subject: [PATCH] Add docs for the SelectObject event. --- server/events.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server/events.md b/server/events.md index 1a0e964..5070265 100644 --- a/server/events.md +++ b/server/events.md @@ -143,11 +143,20 @@ This event is sent from the client to the server when it has the PastQuestions c

--- +# `SelectObject`: -## Response Payload: (``) +## Description: +The event sent by the clients when they are selecting an object from the card. + +## Request Payload: | Property | Type | Description | -------- | ---- | ----------- +| object | String | The name of the object that the spirits are selecting. +## Response Payload: (`ChosenObject`) +| Property | Type | Description +| -------- | ---- | ----------- +| object | String | The object that has been selected.

---