go-teeworlds-protocol/messages7/enter_game.go

33 lines
512 B
Go
Raw Normal View History

2024-06-20 03:08:52 +00:00
package messages7
import (
"github.com/teeworlds-go/teeworlds/network7"
"github.com/teeworlds-go/teeworlds/packer"
2024-06-20 03:08:52 +00:00
)
type EnterGame struct {
}
func (msg EnterGame) MsgId() int {
return network7.MsgSysEnterGame
}
func (msg EnterGame) MsgType() network7.MsgType {
return network7.TypeNet
}
func (msg EnterGame) System() bool {
return true
}
func (msg EnterGame) Vital() bool {
return true
}
func (msg EnterGame) Pack() []byte {
return []byte{}
}
func (msg *EnterGame) Unpack(u *packer.Unpacker) {
}