19 lines
420 B
Go
19 lines
420 B
Go
package server
|
|
|
|
import "github.com/Tnze/go-mc/data/packetid"
|
|
|
|
//codec:gen
|
|
type DebugSampleSubscription struct {
|
|
SampleType int32 `mc:"VarInt"`
|
|
}
|
|
|
|
func (*DebugSampleSubscription) PacketID() packetid.ServerboundPacketID {
|
|
return packetid.ServerboundDebugSampleSubscription
|
|
}
|
|
|
|
func init() {
|
|
registerPacket(packetid.ServerboundDebugSampleSubscription, func() ServerboundPacket {
|
|
return &DebugSampleSubscription{}
|
|
})
|
|
}
|