minor update
This commit is contained in:
parent
dfb7fd159e
commit
ab0af6e41f
10
cmd.go
10
cmd.go
@ -22,11 +22,11 @@ func (c *Command) String() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CommandResult struct {
|
type CommandResult struct {
|
||||||
PlayerID int `json:"player_id"`
|
PlayerID int `json:"player_id"`
|
||||||
ResultType CmdType `json:"result_type"`
|
ResultType CmdType `json:"result_type"`
|
||||||
StateResult *GameView `json:"state_result,omitempty"`
|
StateResult *GameView `json:"state_result,omitempty"`
|
||||||
ActionResult *Deck `json:"action_result,omitempty"`
|
ActionResult *Deck `json:"action_result,omitempty"`
|
||||||
DebugResult *interface{} `json:"debug_result,omitempty"`
|
DebugResult interface{} `json:"debug_result,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *CommandResult) String() string {
|
func (c *CommandResult) String() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user