public static void LoadTableConfig()
        {
            string root = HomePath.CurHomePath + "/Tables/";

            LogSystem.Debug("table config root = {0}", root);

            //字典表需要为字典功能提供查表机制
            Dict.OnFindDictionary += (Dict.FindDictionaryDelegation)((string key) => {
                TableConfig.StrDictionary cfg = TableConfig.StrDictionaryProvider.Instance.GetStrDictionary(key);
                return(cfg.Content);
            });
            TableConfig.LevelProvider.Instance.Clear();
            TableConfig.LevelProvider.Instance.LoadForClient();
            TableConfig.LevelMonsterProvider.Instance.Clear();
            TableConfig.LevelMonsterProvider.Instance.LoadForClient();
            TableConfig.LevelMonsterProvider.Instance.BuildGroupedLevelMonsters();
            TableConfig.ActorProvider.Instance.Clear();
            TableConfig.ActorProvider.Instance.LoadForClient();
            TableConfig.SkillProvider.Instance.Clear();
            TableConfig.SkillProvider.Instance.LoadForClient();
            TableConfig.SkillDslProvider.Instance.Clear();
            TableConfig.SkillDslProvider.Instance.LoadForClient();
            TableConfig.SkillResourcesProvider.Instance.Clear();
            TableConfig.SkillResourcesProvider.Instance.LoadForClient();
            JoinSkillDslResource();
            TableConfig.StoryDlgProvider.Instance.Clear();
            TableConfig.StoryDlgProvider.Instance.LoadForClient();
            TableConfig.StrDictionaryProvider.Instance.Clear();
            TableConfig.StrDictionaryProvider.Instance.LoadForClient();
            TableConfig.UIProvider.Instance.Clear();
            TableConfig.UIProvider.Instance.LoadForClient();
            TableConfig.FormationProvider.Instance.Clear();
            TableConfig.FormationProvider.Instance.LoadForClient();
            BuildFormationInfo();
        }
 static public int get_id(IntPtr l)
 {
     try {
         TableConfig.StrDictionary self = (TableConfig.StrDictionary)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.id);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         TableConfig.StrDictionary o;
         o = new TableConfig.StrDictionary();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetId(IntPtr l)
 {
     try {
         TableConfig.StrDictionary self = (TableConfig.StrDictionary)checkSelf(l);
         var ret = self.GetId();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_id(IntPtr l)
 {
     try {
         TableConfig.StrDictionary self = (TableConfig.StrDictionary)checkSelf(l);
         System.String             v;
         checkType(l, 2, out v);
         self.id = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int WriteToBinary(IntPtr l)
 {
     try {
         TableConfig.StrDictionary self = (TableConfig.StrDictionary)checkSelf(l);
         GameFramework.BinaryTable a1;
         checkType(l, 2, out a1);
         self.WriteToBinary(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int ReadFromBinary(IntPtr l)
 {
     try {
         TableConfig.StrDictionary self = (TableConfig.StrDictionary)checkSelf(l);
         GameFramework.BinaryTable a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         var ret = self.ReadFromBinary(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }