19 lines
370 B
Go
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{}
|
|
})
|
|
}
|