i'm definitely just making it worse
parent
5a15c3c9bc
commit
e7471df15a
@ -0,0 +1,12 @@
|
||||
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) })
|
||||
}
|
Loading…
Reference in New Issue