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

19 lines
340 B
Go

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