Files
tma-back/protocol.go
Smile Rex b7d33889fd fix
2026-01-22 10:01:15 +03:00

13 lines
212 B
Go

package main
type InputMessage struct {
PlayerID int64
DX float64 `json:"dx"`
DY float64 `json:"dy"`
}
type StateMessage struct {
Type string `json:"type"`
Payload any `json:"payload"`
}