/// <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]; } } }
/// <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]; } } }