19 lines
345 B
Go
19 lines
345 B
Go
package client
|
|
|
|
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
|
|
|
|
//codec:gen
|
|
type ConfigPing struct {
|
|
ID int32
|
|
}
|
|
|
|
func (*ConfigPing) PacketID() packetid.ClientboundPacketID {
|
|
return packetid.ClientboundConfigPing
|
|
}
|
|
|
|
func init() {
|
|
registerPacket(packetid.ClientboundConfigPing, func() ClientboundPacket {
|
|
return &ConfigPing{}
|
|
})
|
|
}
|