31public final class SendChatOption
extends OutgoingPacket {
40 this.publicChat = publicChat;
41 this.privateChat = privateChat;
42 this.clanChat = clanChat;
43 this.tradeChat = tradeChat;
47 protected boolean encode(
Player player) {
48 builder.writeByte(publicChat.getCode())
49 .writeByte(privateChat.getCode())
50 .writeByte(clanChat.getCode())
51 .writeByte(tradeChat.getCode());