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

23 lines
505 B
Go

package client
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*DisguisedChat)(nil)
var _ packet.Field = (*DisguisedChat)(nil)
// DisguisedChatPacket
//
//codec:gen
type DisguisedChat struct {
Message chat.Message
ChatType []byte `mc:"ByteArray"`
}
func (DisguisedChat) ClientboundPacketID() packetid.ClientboundPacketID {
return packetid.ClientboundDisguisedChat
}