Beispiel #1
0
    /// <summary>
    /// 对应的规则
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    public void setData(int id)
    {
        IList <BuffRuleV0> list = DataMgr.getInstance().BuffRule;

        for (int i = 0; i < list.Count; ++i)
        {
            if (list[i].ID == id)
            {
                _buffRule = list[i];
            }
        }
    }
Beispiel #2
0
    /// <summary>
    /// 对应的规则
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    public void setData(int id)
    {
        IList<BuffRuleV0> list = DataMgr.getInstance().BuffRule;

        for (int i = 0; i < list.Count; ++i)
        {
            if (list[i].ID == id)
            {
                _buffRule = list[i];
            }
        }
    }