refactor package
This commit is contained in:
20
pkg/protocol/packet/configuration/client/show_dialog.go
Normal file
20
pkg/protocol/packet/configuration/client/show_dialog.go
Normal file
@ -0,0 +1,20 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/codec/packet/game/client"
|
||||
"github.com/Tnze/go-mc/data/packetid"
|
||||
)
|
||||
|
||||
type ConfigShowDialog struct {
|
||||
client.ShowDialog
|
||||
}
|
||||
|
||||
func (ConfigShowDialog) PacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundConfigShowDialog
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerPacket(packetid.ClientboundConfigShowDialog, func() ClientboundPacket {
|
||||
return &ConfigShowDialog{}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user