public E2JTableList Clone()
        {
            E2JTableList clone = new E2JTableList();

            clone.TableName = TableName;
            clone.KeyType   = KeyType;
            return(clone);
        }
Example #2
0
        void LoadFromTableList()
        {
            Dictionary <string, E2JLoader> table = E2JTableList.GetElementTable();

            foreach (KeyValuePair <string, E2JLoader> kvp in table.CheckNull())
            {
                ParseJson(kvp.Value as E2JTableList);
            }
        }
Example #3
0
        public static E2JLoader CreateLoaderByHash(uint hash)
        {
            E2JLoader loader = null;

            switch (hash)
            {
            case 1413216339:
            {
                loader = new E2JTableList();
            }
            break;

            case 1309828047:
            {
                loader = new E2JConfig();
            }
            break;
            }

            return(loader);
        }
Example #4
0
 void ParseJson(E2JTableList tableList)
 {
     ParseJson(tableList.TableName, (E2JKeyType)tableList.KeyType);
 }