bug fixes
This commit is contained in:
9
types.go
9
types.go
@@ -39,11 +39,18 @@ type ValidateRequest struct {
|
||||
TotalTicks int `json:"totalTicks"`
|
||||
}
|
||||
|
||||
type PowerUpState struct {
|
||||
GodLives int `json:"godLives"`
|
||||
HasBat bool `json:"hasBat"`
|
||||
BootTicks int `json:"bootTicks"`
|
||||
}
|
||||
|
||||
type ValidateResponse struct {
|
||||
Status string `json:"status"`
|
||||
VerifiedScore int `json:"verifiedScore"`
|
||||
ServerObs []ActiveObstacle `json:"serverObs"`
|
||||
ActivePowerup string `json:"activePowerup"`
|
||||
PowerUps PowerUpState `json:"powerups"`
|
||||
ServerTick int `json:"serverTick"`
|
||||
}
|
||||
|
||||
type StartResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user