Files
minego/pkg/protocol/packet/game/server/chat_command.go
2025-08-27 20:28:44 +08:00

19 lines
356 B
Go

package server
import "git.konjactw.dev/falloutBot/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{}
})
}