Files
minego/codec/packet/configuration/client/keep_alive.go
2025-06-20 10:37:08 +08:00

19 lines
357 B
Go

package client
import "github.com/Tnze/go-mc/data/packetid"
//codec:gen
type ConfigKeepAlive struct {
ID int64
}
func (ConfigKeepAlive) PacketID() packetid.ClientboundPacketID {
return packetid.ClientboundConfigKeepAlive
}
func init() {
registerPacket(packetid.ClientboundConfigKeepAlive, func() ClientboundPacket {
return &ConfigKeepAlive{}
})
}