public static void SetData()
        {
            if (_dataCaches == null && LuaEnv.isLoadLuaCfg)
            {
                long startTime = DateTime.Now.Ticks;
                Dictionary <int, int[]> dic = LuaEnv.SharedLuaEnv.Global.Get <Dictionary <int, int[]> >("DataCloakSkill");
                if (dic == null)
                {
                    LuaEnv.SharedLuaEnv.DoString("DataCloakSkill = require 'Lua/Config/DataCloakSkill'");
                    dic = LuaEnv.SharedLuaEnv.Global.Get <Dictionary <int, int[]> >("DataCloakSkill");
                }

                if (dic != null)
                {
                    _dataCaches = new Dictionary <int, DeclareCloakSkill>();
                    foreach (var item in dic)
                    {
                        DeclareCloakSkill tmp = new DeclareCloakSkill();
                        tmp.ActivateNeedLayer = item.Value[0];
                        tmp.ForXiaobiaozha    = CfgStringLua.Get(item.Value[1]);
                        tmp.MaxLevel          = item.Value[2];
                        tmp.ShowOder          = item.Value[3];
                        tmp.SingleAddExp      = item.Value[4];
                        tmp.SkillName         = CfgStringLua.Get(item.Value[5]);
                        tmp.SkillQuality      = item.Value[6];
                        tmp.Skillid           = item.Value[7];
                        tmp.UpAddExp          = CfgStringLua.Get(item.Value[8]);
                        tmp.UpItemId          = item.Value[9];
                        tmp.UpItemNum         = item.Value[10];

                        _dataCaches.Add(item.Key, tmp);
                    }
                }
                Record(startTime, DateTime.Now.Ticks, "CloakSkill");
            }
            if (_dataCaches == null && _fillDataCallBack != null)
            {
                if (_dataCaches == null)
                {
                    long startTime = DateTime.Now.Ticks;
                    _dataCaches = new Dictionary <int, DeclareCloakSkill>();
                    _fillDataCallBack(_dataCaches);
                    Record(startTime, DateTime.Now.Ticks, "CloakSkill");
                }
            }
        }
        public static DeclareCloakSkill Create(int in_activate_need_layer, string in_for_xiaobiaozha, int in_max_level, int in_show_oder, int in_single_addExp, string in_skill_name, int in_skill_quality, int in_skillid, string in_up_addExp, int in_up_item_id, int in_up_item_num)
        {
            DeclareCloakSkill tmp = new DeclareCloakSkill();

            tmp._activate_need_layer = in_activate_need_layer;
            tmp._for_xiaobiaozha     = in_for_xiaobiaozha;
            tmp._max_level           = in_max_level;
            tmp._show_oder           = in_show_oder;
            tmp._single_addExp       = in_single_addExp;
            tmp._skill_name          = in_skill_name;
            tmp._skill_quality       = in_skill_quality;
            tmp._skillid             = in_skillid;
            tmp._up_addExp           = in_up_addExp;
            tmp._up_item_id          = in_up_item_id;
            tmp._up_item_num         = in_up_item_num;

            return(tmp);
        }