Пример #1
0
    public override string getItemData(string delim)
    {
        string s = base.getItemData(delim) + delim;

        s += (frame == null ? 0 + delim :
              (int)frame.getItemCode() + delim +
              frame.getItemData(otherDelimiter) + delim);
        s += (int)applicator.getItemCode() + delim +
             applicator.getItemData(otherDelimiter) + delim;
        s += (int)gear.getItemCode() + delim +
             gear.getItemData(otherDelimiter) + delim;
        s += (int)energySource.getItemCode() + delim +
             energySource.getItemData(otherDelimiter) + delim;
        s += creatorId;
        return(s);

        return(base.getItemData(delim) + delim +
               (frame == null ? 0 + delim :
                (int)frame.getItemCode() + delim +
                frame.getItemData(otherDelimiter) + delim) +
               (int)applicator.getItemCode() + delim +
               applicator.getItemData(otherDelimiter) + delim +
               (int)gear.getItemCode() + delim +
               gear.getItemData(otherDelimiter) + delim +
               (int)energySource.getItemCode() + delim +
               energySource.getItemData(otherDelimiter) + delim +
               creatorId);
    }
Пример #2
0
 public override string getItemData(string delim)
 {
     return(base.getItemData(delim) + delim +
            (frame == null ? 0 + delim :
             (int)frame.getItemCode() + delim +
             frame.getItemData(otherDelimiter) + delim) +
            (int)applicator.getItemCode() + delim +
            applicator.getItemData(otherDelimiter) + delim +
            (int)gear.getItemCode() + delim +
            gear.getItemData(otherDelimiter) + delim +
            (int)trigger.getItemCode() + delim +
            trigger.getItemData(otherDelimiter) + delim +
            creatorId);
 }