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

19 lines
355 B
Go

package server
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type PingRequest struct {
payload int64
}
func (*PingRequest) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundPingRequest
}
func init() {
registerPacket(packetid.ServerboundPingRequest, func() ServerboundPacket {
return &PingRequest{}
})
}