public static ItemEquipRefineLvData GetEquipRefineLvTpl(int id, short lv) { ItemEquipRefineLvData item = null; item = CSTable.StaticDataManager.ItemEquipRefineLv[id, (int)lv]; return(item); }
public ItemEquipRefineLvData this[int id, int lv] { get { IdLevelPair pair; pair.id = id; pair.level = lv; ItemEquipRefineLvData data = null; Dict.TryGetValue(pair, out data); return(data); } }
public void initData(string content) { Dict.Clear(); string[] array = content.Split(new string[] { StaticDataConstant.WIN_ENTER }, System.StringSplitOptions.RemoveEmptyEntries); int length = array.Length; for (int i = 4; i < length; i++) { ItemEquipRefineLvData data = new ItemEquipRefineLvData(array[i]); IdLevelPair pair; pair.id = data.id; pair.level = data.level; Dict[pair] = data; Dict[pair] = data; } }