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.
15 lines
339 B
Go
15 lines
339 B
Go
package wire
|
|
|
|
type Welcome struct {
|
|
Rooms map[string]Room `json:"rooms"`
|
|
Players map[string]Player `json:"players"`
|
|
Avatar Entity `json:"avatar"`
|
|
Inventory []Entity `json:"inventory"`
|
|
}
|
|
|
|
func (Welcome) NetTag() string { return "welcome" }
|
|
|
|
func init() {
|
|
Register(func() Value { return new(Welcome) })
|
|
}
|