code: public Tuple<String, Boolean> decodeFormat (int type, String format)
      {
          boolean quotes = true;
          switch (placeOf(type)) {
          // derived classes may wish to change the format here based on the place
          case PLACE:
              switch (modeOf(type)) {
              case EMOTE:
                  quotes = false;
                  break;
              }
              break;
          }
          return Tuple.newTuple(format, quotes);
      }
docs: Determines the format string and whether to use quotes based on the chat type.