Files
minego/codec/packet/game/server/keep_alive.go

19 lines
327 B
Go

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