Files
minego/pkg/protocol/packet/configuration/server/keep_alive.go
2025-08-27 20:28:44 +08:00

19 lines
370 B
Go

package server
import "git.konjactw.dev/falloutBot/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{}
})
}