aboutsummaryrefslogtreecommitdiff
path: root/go/draftsim/common/joinInfo.go
blob: 851c62e106259a0d3917bab79bc56b6167772f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package common

import (
	"muhq.space/muhqs-game/go/game"
)

// JoinInfo contains the information about joined draft provided by the server.
type JoinInfo struct {
	// Players contains the player names in the deaft.
	Players []string
	// Desc contains the description of the draft.
	Desc string
	// Sets specify the drafted card sets.
	Sets []game.SetIdentifier
	// PlayerId can be used to reconnect to the draft.
	PlayerId int
	// Deadline specifies the enforced deadline.
	Deadline string
}