Пример #1
0
        public static ItemEquipLevelData GetEquipLvTpl(int id, int tid, short lv)
        {
            ItemEquipLevelData item = null;

            item = CSTable.StaticDataManager.ItemEquipLevel[id, tid, (int)lv];
            return(item);
        }
Пример #2
0
        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++)

            {
                ItemEquipLevelData data = new ItemEquipLevelData(array[i]);

                EquipLevelKey pair;
                pair.id    = data.id;
                pair.tid   = data.tid;
                pair.level = data.level;
                Dict[pair] = data;
            }
        }