go-teeworlds-protocol/messages7/ready.go

33 lines
480 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 Ready struct {
}
func (msg Ready) MsgId() int {
return network7.MsgSysReady
}
func (msg Ready) MsgType() network7.MsgType {
return network7.TypeNet
}
func (msg Ready) System() bool {
return true
}
func (msg Ready) Vital() bool {
return true
}
func (msg Ready) Pack() []byte {
return []byte{}
}
func (msg *Ready) Unpack(u *packer.Unpacker) {
}