Files
minego/pkg/protocol/packet/configuration/server/keep_alive.go

19 lines
358 B
Go

package server
import "github.com/Tnze/go-mc/data/packetid"
//codec:gen
type ConfigKeepAlive struct {
ID int64
}
func (*ConfigKeepAlive) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundConfigKeepAlive
}
func init() {
registerPacket(packetid.ServerboundConfigKeepAlive, func() ServerboundPacket {
return &ConfigKeepAlive{}
})
}