Beispiel #1
0
  public void userChat(String type, BNetUser user, String text, boolean isSelf) {
    Color c;
    if (isSelf) c = cs.getSelfUserNameColor(user.getFlags());
    else c = cs.getUserNameColor(user.getFlags());

    if (type == null)
      append2("<" + user.toString() + "> ", c, text, cs.getChatColor(user.getFlags()));
    else
      append3(
          "(" + type + ") ",
          cs.getTypeColor(),
          "<" + user.toString() + "> ",
          c,
          text,
          cs.getChatColor(user.getFlags()));
  }