minor update

This commit is contained in:
stryan 2021-10-01 13:42:05 -04:00
parent dfb7fd159e
commit ab0af6e41f
1 changed files with 5 additions and 5 deletions

10
cmd.go
View File

@ -22,11 +22,11 @@ func (c *Command) String() string {
}
type CommandResult struct {
PlayerID int `json:"player_id"`
ResultType CmdType `json:"result_type"`
StateResult *GameView `json:"state_result,omitempty"`
ActionResult *Deck `json:"action_result,omitempty"`
DebugResult *interface{} `json:"debug_result,omitempty"`
PlayerID int `json:"player_id"`
ResultType CmdType `json:"result_type"`
StateResult *GameView `json:"state_result,omitempty"`
ActionResult *Deck `json:"action_result,omitempty"`
DebugResult interface{} `json:"debug_result,omitempty"`
}
func (c *CommandResult) String() string {