Exemplo n.º 1
0
 //解析套装属性变化信息
 private void parseSuitAttrChange(int sid, string str)
 {
     string[] strArr = str.Split('#');
     infos = new SuitAttrChange[strArr.Length];
     for (int i = 0; i < strArr.Length; i++)
     {
         infos [i] = new SuitAttrChange(sid);
         infos [i].parse(strArr [i]);
     }
 }
Exemplo n.º 2
0
    public override void copy(object destObj)
    {
        base.copy(destObj);
        SuitAttrChange dest = destObj as SuitAttrChange;

        if (this.effects != null)
        {
            dest.effects = new AttrChangeSample[this.effects.Length];
            for (int i = 0; i < this.effects.Length; i++)
            {
                dest.effects [i] = this.effects [i].Clone() as AttrChangeSample;
            }
        }
    }
Exemplo n.º 3
0
 //获得套装对应信息描述
 public string getSuitDescribe(SuitAttrChange suit)
 {
     return(DescribeManagerment.getDescribe(suit.describe, 1, suit.effects));
 }