You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
233 B
Go
13 lines
233 B
Go
4 years ago
|
package wire
|
||
|
|
||
|
type Frame struct {
|
||
|
Entities map[int]Entity `json:"entities"`
|
||
|
Players map[string]int `json:"players"`
|
||
|
}
|
||
|
|
||
|
func (Frame) NetTag() string { return "frame" }
|
||
|
|
||
|
func init() {
|
||
|
Register(func() Value { return new(Frame) })
|
||
|
}
|