Add docs for the GetPastQuestions event
This commit is contained in:
parent
170e222573
commit
988aa33589
1 changed files with 15 additions and 0 deletions
|
|
@ -123,10 +123,25 @@ Sends a card to the server, the server either then either forwards the card to t
|
||||||
| from | String | The source of the card. This will be one of `"deck"`, or `"guesser"`
|
| from | String | The source of the card. This will be one of `"deck"`, or `"guesser"`
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
---
|
||||||
|
|
||||||
|
# `GetPastQuestions`:
|
||||||
|
|
||||||
|
## Description:
|
||||||
|
This event is sent from the client to the server when it has the PastQuestions component visible.
|
||||||
|
|
||||||
## Request Payload:
|
## Request Payload:
|
||||||
| Property | Type | Description
|
| Property | Type | Description
|
||||||
| -------- | ---- | -----------
|
| -------- | ---- | -----------
|
||||||
|
| team | Integer | The team we are requesting the questions for. This can be one of `1`, or `2`, any other value will cause an error to be returned.
|
||||||
|
|
||||||
|
## Response Payload: (`PastQuestions`)
|
||||||
|
| Property | Type | Description
|
||||||
|
| -------- | ---- | -----------
|
||||||
|
| questions | String[] | All the previously chosen questions for the team.
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
## Response Payload: (``)
|
## Response Payload: (``)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue