blob: 77d93b71a7b5f6cd9c0f2381a26361724f08a904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package common
// JoinParams are the parameters send by the client to join a draft.
// The parameters are sent after upgrading the http connection to the `/join` endpoint to a websocket.
type JoinParams struct {
// Table identifies the draft to join.
Table string
// Name is the name of the joining player.
Name string
// Desc specifies the draft description if joining a new draft.
Desc string
// NPlayers specifies the number of players in the draft.
NPlayers int
}
|