Files
minego/pkg/protocol/packet/configuration/server/keep_alive.go
2025-08-22 05:14:59 +08:00

19 lines
357 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{}
})
}