Files
minego/pkg/protocol/packet/game/server/chat_command.go

19 lines
344 B
Go

package server
import "github.com/Tnze/go-mc/data/packetid"
//codec:gen
type ChatCommand struct {
Command string
}
func (*ChatCommand) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundChatCommand
}
func init() {
registerPacket(packetid.ServerboundChatCommand, func() ServerboundPacket {
return &ChatCommand{}
})
}