Esempio n. 1
0
    /// <summary>
    ///  通过id 获取数据
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    public void setData(int id)
    {
        IList <BuffPropertyVO> list = DataMgr.getInstance().BuffPro;

        for (int i = 0; i < list.Count; ++i)
        {
            if (list[i].ID == id)
            {
                _buffPro = list[i];
            }
        }
    }
Esempio n. 2
0
    /// <summary>
    ///  通过id 获取数据
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    public void setData(int id)
    {
        IList<BuffPropertyVO> list = DataMgr.getInstance().BuffPro;

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