少年修仙传客户端代码仓库
7539 子 【开发】【2.0.100】增加自由设置技能释放顺序 / 【前端】【2.0.100】增加自由设置技能释放顺序
38个文件已修改
16个文件已添加
4898 ■■■■■ 已修改文件
Lua/Gen/CTGConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DelegatesGensBridge.cs 273 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DemonJarConfigWrap.cs 537 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DemonJarConfigWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DienstgradConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/EnumWrap.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/JadeDynastyBossConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/JobSetupConfigWrap.cs 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/LoadingBackGroundConfigWrap.cs 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/QuickSettingWrap.cs 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SDKUtilityWrap.cs 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SkillConfigWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SkillHelperWrap.cs 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIAlchemyModelWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIConfirmCancelWrap.cs 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIDailyQuestModelWrap.cs 143 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIExpertSkillSelectWinWrap.cs 111 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIExpertSkillSelectWinWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIFairyLeagueModelWrap.cs 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIFindPreciousModelWrap.cs 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIFuncOpenWrap.cs 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIISkillMatchBridge.cs 146 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIISkillMatchBridge.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIJadeDynastyBossModelWrap.cs 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIOSGiftModelWrap.cs 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIReikiRootModelWrap.cs 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUISetPrivateModelWrap.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUISkillModelWrap.cs 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUISkyTowerModelWrap.cs 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUITreasureModelWrap.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIUI3DModelExhibitionWrap.cs 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIWorldBossModelWrap.cs 110 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SpiritWeaponConfigWrap.cs 372 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SpiritWeaponConfigWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/StatusMgrWrap.cs 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/StoryMissionsConfigWrap.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UIDragDropBehaviourWrap.cs 378 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UIDragDropBehaviourWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UnityEngineInputWrap.cs 978 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UnityEngineInputWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UnityEngineRectTransformUtilityWrap.cs 399 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UnityEngineRectTransformUtilityWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/UnityEngineUIButtonWrap.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/XLuaGenAutoRegister.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/link.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/LuaGenEx.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyLeagueModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Skill/ExpertSkillSelectWin.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Skill/QuickSetting.cs 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Skill/SkillAccordWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Skill/SkillModel.cs 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/UIDragDropBehaviour.cs 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/UIDragDropBehaviour.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/CTGConfigWrap.cs
@@ -21,12 +21,13 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(CTGConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 9, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 10, 0);
            
            
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RecordID", _g_get_RecordID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Title", _g_get_Title);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "TotalBuyCount", _g_get_TotalBuyCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "DailyBuyCount", _g_get_DailyBuyCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "GainGold", _g_get_GainGold);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "GainGoldPaper", _g_get_GainGoldPaper);
@@ -310,6 +311,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_TotalBuyCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                CTGConfig gen_to_be_invoked = (CTGConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.TotalBuyCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_DailyBuyCount(RealStatePtr L)
        {
            try {
Lua/Gen/DelegatesGensBridge.cs
@@ -4937,29 +4937,7 @@
#endif
        }
        
        public ulong __Gen_Delegate_Imp213(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                ulong __gen_ret = LuaAPI.lua_touint64(L, errFunc + 1);
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public bool __Gen_Delegate_Imp214(object p0, int p1, out Snxxz.UI.JadeDynastyBossCondition p2)
        public bool __Gen_Delegate_Imp213(object p0, int p1, out Snxxz.UI.JadeDynastyBossCondition p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4983,7 +4961,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp215(object p0, int p1, out Snxxz.UI.JadeDynastyBossLine p2)
        public bool __Gen_Delegate_Imp214(object p0, int p1, out Snxxz.UI.JadeDynastyBossLine p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5007,7 +4985,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp216(Snxxz.UI.JadeDynastyBossData p0, Snxxz.UI.JadeDynastyBossData p1)
        public int __Gen_Delegate_Imp215(Snxxz.UI.JadeDynastyBossData p0, Snxxz.UI.JadeDynastyBossData p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5030,7 +5008,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp217(object p0, Snxxz.UI.Item p1)
        public bool __Gen_Delegate_Imp216(object p0, Snxxz.UI.Item p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5053,7 +5031,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp218(object p0, Snxxz.UI.FindPreciousModel.BossKillRecord p1, Snxxz.UI.FindPreciousModel.BossKillRecord p2)
        public int __Gen_Delegate_Imp217(object p0, Snxxz.UI.FindPreciousModel.BossKillRecord p1, Snxxz.UI.FindPreciousModel.BossKillRecord p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5077,7 +5055,7 @@
#endif
        }
        
        public Snxxz.UI.JadeDynastySkillModel __Gen_Delegate_Imp219(object p0)
        public Snxxz.UI.JadeDynastySkillModel __Gen_Delegate_Imp218(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5099,7 +5077,7 @@
#endif
        }
        
        public UnityEngine.Transform __Gen_Delegate_Imp220(object p0)
        public UnityEngine.Transform __Gen_Delegate_Imp219(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5121,7 +5099,7 @@
#endif
        }
        
        public Snxxz.UI.JadeDynastySkillState __Gen_Delegate_Imp221(object p0, int p1)
        public Snxxz.UI.JadeDynastySkillState __Gen_Delegate_Imp220(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5144,7 +5122,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp222(object p0, int p1, out Snxxz.UI.JadeDynastySkillCondition p2)
        public bool __Gen_Delegate_Imp221(object p0, int p1, out Snxxz.UI.JadeDynastySkillCondition p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5168,7 +5146,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp223(object p0, int p1, out UnityEngine.Sprite[] p2)
        public bool __Gen_Delegate_Imp222(object p0, int p1, out UnityEngine.Sprite[] p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5192,7 +5170,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp224(object p0, Snxxz.UI.ActivateShow.ActivateFunc p1, int p2)
        public void __Gen_Delegate_Imp223(object p0, Snxxz.UI.ActivateShow.ActivateFunc p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5216,7 +5194,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp225(object p0, Snxxz.UI.ActivateShow.ActivateFunc p1)
        public void __Gen_Delegate_Imp224(object p0, Snxxz.UI.ActivateShow.ActivateFunc p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5239,7 +5217,7 @@
#endif
        }
        
        public Snxxz.UI.KingTreasureModel __Gen_Delegate_Imp226(object p0)
        public Snxxz.UI.KingTreasureModel __Gen_Delegate_Imp225(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5261,7 +5239,7 @@
#endif
        }
        
        public KingTreasureItemConfig __Gen_Delegate_Imp227(object p0)
        public KingTreasureItemConfig __Gen_Delegate_Imp226(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5283,7 +5261,7 @@
#endif
        }
        
        public Snxxz.UI.KingTreasureShowModel __Gen_Delegate_Imp228(object p0)
        public Snxxz.UI.KingTreasureShowModel __Gen_Delegate_Imp227(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5305,7 +5283,7 @@
#endif
        }
        
        public Snxxz.UI.CrossServerOneVsOne __Gen_Delegate_Imp229(object p0)
        public Snxxz.UI.CrossServerOneVsOne __Gen_Delegate_Imp228(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5327,7 +5305,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp230(object p0, Snxxz.UI.CrossServerOneVsOne p1)
        public void __Gen_Delegate_Imp229(object p0, Snxxz.UI.CrossServerOneVsOne p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5350,7 +5328,7 @@
#endif
        }
        
        public Snxxz.UI.LoginModel __Gen_Delegate_Imp231(object p0)
        public Snxxz.UI.LoginModel __Gen_Delegate_Imp230(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5372,7 +5350,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp232(object p0, object p1, object p2, int p3, bool p4)
        public void __Gen_Delegate_Imp231(object p0, object p1, object p2, int p3, bool p4)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5398,7 +5376,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp233(object p0, byte p1)
        public void __Gen_Delegate_Imp232(object p0, byte p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5421,7 +5399,7 @@
#endif
        }
        
        public TaskModel __Gen_Delegate_Imp234(object p0)
        public TaskModel __Gen_Delegate_Imp233(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5443,7 +5421,7 @@
#endif
        }
        
        public Snxxz.UI.ReikiRootModel __Gen_Delegate_Imp235(object p0)
        public Snxxz.UI.ReikiRootModel __Gen_Delegate_Imp234(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5465,7 +5443,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp236(object p0, TreasureCategory p1)
        public void __Gen_Delegate_Imp235(object p0, TreasureCategory p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5488,7 +5466,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp237(object p0, int p1, int p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp236(object p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5512,7 +5490,7 @@
#endif
        }
        
        public PlayerDeadModel __Gen_Delegate_Imp238(object p0)
        public PlayerDeadModel __Gen_Delegate_Imp237(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5534,7 +5512,7 @@
#endif
        }
        
        public Snxxz.UI.LuckyTreasureModel __Gen_Delegate_Imp239(object p0)
        public Snxxz.UI.LuckyTreasureModel __Gen_Delegate_Imp238(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5556,7 +5534,7 @@
#endif
        }
        
        public LoginRewardModel __Gen_Delegate_Imp240(object p0)
        public LoginRewardModel __Gen_Delegate_Imp239(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5578,7 +5556,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp241(object p0, int p1)
        public string __Gen_Delegate_Imp240(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5601,7 +5579,7 @@
#endif
        }
        
        public Snxxz.UI.FestivalRedpackModel __Gen_Delegate_Imp242(object p0)
        public Snxxz.UI.FestivalRedpackModel __Gen_Delegate_Imp241(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5623,7 +5601,7 @@
#endif
        }
        
        public Snxxz.UI.AchievementModel __Gen_Delegate_Imp243(object p0)
        public Snxxz.UI.AchievementModel __Gen_Delegate_Imp242(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5645,7 +5623,7 @@
#endif
        }
        
        public Snxxz.UI.RedEnvelopeModel __Gen_Delegate_Imp244(object p0)
        public Snxxz.UI.RedEnvelopeModel __Gen_Delegate_Imp243(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5667,7 +5645,7 @@
#endif
        }
        
        public System.DateTime __Gen_Delegate_Imp245(object p0, object p1)
        public System.DateTime __Gen_Delegate_Imp244(object p0, object p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5690,7 +5668,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp246(object p0, object p1, int p2)
        public bool __Gen_Delegate_Imp245(object p0, object p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5714,7 +5692,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp247(object p0, int p1, out Snxxz.UI.FestivalRedpack p2)
        public bool __Gen_Delegate_Imp246(object p0, int p1, out Snxxz.UI.FestivalRedpack p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5738,7 +5716,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp248(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.FestivalRedpackAchievement> p2)
        public bool __Gen_Delegate_Imp247(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.FestivalRedpackAchievement> p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5762,7 +5740,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp249(object p0, Snxxz.UI.Operation p1, int p2)
        public void __Gen_Delegate_Imp248(object p0, Snxxz.UI.Operation p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5786,7 +5764,7 @@
#endif
        }
        
        public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp250(object p0)
        public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp249(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5808,7 +5786,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp251(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1)
        public void __Gen_Delegate_Imp250(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5831,7 +5809,7 @@
#endif
        }
        
        public OpenServiceAchievementModel __Gen_Delegate_Imp252(object p0)
        public OpenServiceAchievementModel __Gen_Delegate_Imp251(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5853,7 +5831,7 @@
#endif
        }
        
        public Snxxz.UI.OperationLuckyTreasure __Gen_Delegate_Imp253(object p0)
        public Snxxz.UI.OperationLuckyTreasure __Gen_Delegate_Imp252(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5875,7 +5853,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp254(object p0, Snxxz.UI.Operation p1)
        public void __Gen_Delegate_Imp253(object p0, Snxxz.UI.Operation p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5898,7 +5876,7 @@
#endif
        }
        
        public Snxxz.UI.OperationLuckyTreasure.LuckyTreasureItem __Gen_Delegate_Imp255(object p0)
        public Snxxz.UI.OperationLuckyTreasure.LuckyTreasureItem __Gen_Delegate_Imp254(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5920,7 +5898,7 @@
#endif
        }
        
        public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp256(object p0)
        public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp255(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5942,7 +5920,7 @@
#endif
        }
        
        public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp257(object p0)
        public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp256(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5964,7 +5942,7 @@
#endif
        }
        
        public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp258(object p0)
        public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp257(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -5986,7 +5964,7 @@
#endif
        }
        
        public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp259(object p0)
        public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp258(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6008,7 +5986,7 @@
#endif
        }
        
        public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp260(object p0)
        public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp259(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6030,7 +6008,7 @@
#endif
        }
        
        public Snxxz.UI.MonthWeekInvestModel __Gen_Delegate_Imp261(object p0)
        public Snxxz.UI.MonthWeekInvestModel __Gen_Delegate_Imp260(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6052,7 +6030,7 @@
#endif
        }
        
        public Snxxz.UI.VipModel __Gen_Delegate_Imp262(object p0)
        public Snxxz.UI.VipModel __Gen_Delegate_Imp261(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6067,6 +6045,29 @@
                
                
                Snxxz.UI.VipModel __gen_ret = (Snxxz.UI.VipModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.VipModel));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public Snxxz.UI.SuperValueGiftBehaviour __Gen_Delegate_Imp262(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                LuaAPI.xlua_pushinteger(L, p1);
                PCall(L, 2, 1, errFunc);
                Snxxz.UI.SuperValueGiftBehaviour __gen_ret = (Snxxz.UI.SuperValueGiftBehaviour)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.SuperValueGiftBehaviour));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
@@ -6122,7 +6123,29 @@
#endif
        }
        
        public Snxxz.UI.ActivateShow.ActivateFunc __Gen_Delegate_Imp265()
        public Snxxz.UI.PetModel __Gen_Delegate_Imp265(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                Snxxz.UI.PetModel __gen_ret = (Snxxz.UI.PetModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.PetModel));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public Snxxz.UI.ActivateShow.ActivateFunc __Gen_Delegate_Imp266()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6143,7 +6166,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp266(Snxxz.UI.ActivateShow.ActivateFunc p0)
        public void __Gen_Delegate_Imp267(Snxxz.UI.ActivateShow.ActivateFunc p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6165,7 +6188,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp267()
        public string __Gen_Delegate_Imp268()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6186,7 +6209,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp268(int p0, int p1, int p2)
        public void __Gen_Delegate_Imp269(int p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6210,7 +6233,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp269(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.RidingPetBossReward> p2)
        public bool __Gen_Delegate_Imp270(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.RidingPetBossReward> p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6234,7 +6257,7 @@
#endif
        }
        
        public Snxxz.UI.RidingPetBossModel __Gen_Delegate_Imp270(object p0)
        public Snxxz.UI.RidingPetBossModel __Gen_Delegate_Imp271(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6256,7 +6279,7 @@
#endif
        }
        
        public Snxxz.UI.MagicianModel __Gen_Delegate_Imp271()
        public Snxxz.UI.MagicianModel __Gen_Delegate_Imp272()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6277,7 +6300,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp272(uint p0, out System.Collections.Generic.Dictionary<int, int> p1)
        public bool __Gen_Delegate_Imp273(uint p0, out System.Collections.Generic.Dictionary<int, int> p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6300,7 +6323,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp273(uint p0, int p1, out int p2)
        public bool __Gen_Delegate_Imp274(uint p0, int p1, out int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6324,7 +6347,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp274(Snxxz.UI.EquipShowSwitch.EquipShowSwitchType p0, uint p1)
        public bool __Gen_Delegate_Imp275(Snxxz.UI.EquipShowSwitch.EquipShowSwitchType p0, uint p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6347,7 +6370,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp275(uint p0)
        public void __Gen_Delegate_Imp276(uint p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6369,7 +6392,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp276(object p0)
        public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp277(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6391,7 +6414,7 @@
#endif
        }
        
        public int[] __Gen_Delegate_Imp277(object p0)
        public int[] __Gen_Delegate_Imp278(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6413,7 +6436,7 @@
#endif
        }
        
        public int[] __Gen_Delegate_Imp278(object p0, int p1)
        public int[] __Gen_Delegate_Imp279(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6436,7 +6459,7 @@
#endif
        }
        
        public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp279(object p0, int p1)
        public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp280(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6459,7 +6482,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp280(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2)
        public bool __Gen_Delegate_Imp281(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6483,7 +6506,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp281(object p0, int p1, out Snxxz.UI.AutoHammerCost p2)
        public bool __Gen_Delegate_Imp282(object p0, int p1, out Snxxz.UI.AutoHammerCost p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6507,7 +6530,7 @@
#endif
        }
        
        public System.Collections.Generic.List<int> __Gen_Delegate_Imp282(object p0, int p1)
        public System.Collections.Generic.List<int> __Gen_Delegate_Imp283(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6530,7 +6553,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp283(object p0, object p1, object p2)
        public void __Gen_Delegate_Imp284(object p0, object p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6554,7 +6577,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp284(object p0, int p1, out int p2, out int p3)
        public bool __Gen_Delegate_Imp285(object p0, int p1, out int p2, out int p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6579,7 +6602,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp285(object p0, int p1, int p2)
        public string __Gen_Delegate_Imp286(object p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6603,7 +6626,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp286(object p0, TextColType p1, bool p2)
        public void __Gen_Delegate_Imp287(object p0, TextColType p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6627,7 +6650,7 @@
#endif
        }
        
        public uint __Gen_Delegate_Imp287(object p0)
        public uint __Gen_Delegate_Imp288(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6649,7 +6672,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp288(object p0, uint p1)
        public void __Gen_Delegate_Imp289(object p0, uint p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6672,7 +6695,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp289(object p0, int p1, out Snxxz.UI.RuneItem p2)
        public bool __Gen_Delegate_Imp290(object p0, int p1, out Snxxz.UI.RuneItem p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6696,7 +6719,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp290(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2)
        public bool __Gen_Delegate_Imp291(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6720,7 +6743,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp291(object p0, int p1, out Snxxz.UI.RuneItem p2)
        public int __Gen_Delegate_Imp292(object p0, int p1, out Snxxz.UI.RuneItem p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6744,7 +6767,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp292(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2)
        public bool __Gen_Delegate_Imp293(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6768,7 +6791,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp293(object p0, int p1, float p2)
        public int __Gen_Delegate_Imp294(object p0, int p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6792,7 +6815,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp294(object p0, int p1, uint p2)
        public bool __Gen_Delegate_Imp295(object p0, int p1, uint p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6816,7 +6839,7 @@
#endif
        }
        
        public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp295(object p0)
        public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp296(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6838,7 +6861,7 @@
#endif
        }
        
        public Snxxz.UI.RuneModel __Gen_Delegate_Imp296(object p0)
        public Snxxz.UI.RuneModel __Gen_Delegate_Imp297(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6860,7 +6883,7 @@
#endif
        }
        
        public float __Gen_Delegate_Imp297(object p0, int p1, int p2, bool p3)
        public float __Gen_Delegate_Imp298(object p0, int p1, int p2, bool p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6885,7 +6908,7 @@
#endif
        }
        
        public float __Gen_Delegate_Imp298(object p0, int p1)
        public float __Gen_Delegate_Imp299(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6908,7 +6931,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp299(object p0, int p1, out Snxxz.UI.TreasureSkill p2)
        public bool __Gen_Delegate_Imp300(object p0, int p1, out Snxxz.UI.TreasureSkill p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6932,7 +6955,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp300(object p0, int p1, out Snxxz.UI.TreasurePotential p2)
        public bool __Gen_Delegate_Imp301(object p0, int p1, out Snxxz.UI.TreasurePotential p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6956,7 +6979,7 @@
#endif
        }
        
        public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp301(object p0)
        public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp302(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6978,7 +7001,7 @@
#endif
        }
        
        public Snxxz.UI.SkillModel __Gen_Delegate_Imp302(object p0)
        public Snxxz.UI.SkillModel __Gen_Delegate_Imp303(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7000,7 +7023,7 @@
#endif
        }
        
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp303(object p0)
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp304(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7022,7 +7045,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp304(object p0)
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp305(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7044,7 +7067,7 @@
#endif
        }
        
        public Snxxz.UI.TestModel __Gen_Delegate_Imp305(object p0)
        public Snxxz.UI.TestModel __Gen_Delegate_Imp306(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7066,7 +7089,7 @@
#endif
        }
        
        public UIEffect __Gen_Delegate_Imp306(object p0)
        public UIEffect __Gen_Delegate_Imp307(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7088,7 +7111,7 @@
#endif
        }
        
        public Treasure3DConfig __Gen_Delegate_Imp307(object p0)
        public Treasure3DConfig __Gen_Delegate_Imp308(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7110,7 +7133,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp308(object p0, UnityEngine.Vector3 p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp309(object p0, UnityEngine.Vector3 p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7133,7 +7156,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp309(object p0)
        public UnityEngine.Vector3 __Gen_Delegate_Imp310(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7155,7 +7178,7 @@
#endif
        }
        
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp310(object p0)
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp311(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7177,7 +7200,7 @@
#endif
        }
        
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp311()
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp312()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7198,7 +7221,7 @@
#endif
        }
        
        public TreasureCategory __Gen_Delegate_Imp312(object p0)
        public TreasureCategory __Gen_Delegate_Imp313(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7220,7 +7243,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp313(object p0, bool p1, TreasureCategory p2)
        public void __Gen_Delegate_Imp314(object p0, bool p1, TreasureCategory p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7244,7 +7267,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp314(object p0, TreasureCategory p1, object p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp315(object p0, TreasureCategory p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7268,7 +7291,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp315(object p0, TreasureCategory p1, bool p2)
        public void __Gen_Delegate_Imp316(object p0, TreasureCategory p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7292,7 +7315,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp316(object p0, int p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp317(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7315,7 +7338,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp317(object p0, object p1, float p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp318(object p0, object p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7339,7 +7362,7 @@
#endif
        }
        
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp318(object p0)
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp319(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
Lua/Gen/DemonJarConfigWrap.cs
New file
@@ -0,0 +1,537 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class DemonJarConfigWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(DemonJarConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 17, 0);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "NPCID", _g_get_NPCID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LineID", _g_get_LineID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Time", _g_get_Time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MustItemID", _g_get_MustItemID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RareItemID", _g_get_RareItemID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "NewItemId", _g_get_NewItemId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "PortraitID", _g_get_PortraitID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "SpecialItemMark", _g_get_SpecialItemMark);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CanEnterTimes", _g_get_CanEnterTimes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AutoAttention", _g_get_AutoAttention);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CancelAttentionAfterKill", _g_get_CancelAttentionAfterKill);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Job1", _g_get_Job1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Job2", _g_get_Job2);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Job3", _g_get_Job3);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "KillHurtMin", _g_get_KillHurtMin);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "KillHurtMax", _g_get_KillHurtMax);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RewardDescription", _g_get_RewardDescription);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 6, 1, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeys", _m_GetKeys_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValues", _m_GetValues_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Has", _m_Has_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "inited", _g_get_inited);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if(LuaAPI.lua_gettop(L) == 1)
                {
                    DemonJarConfig gen_ret = new DemonJarConfig();
                    translator.Push(L, gen_ret);
                    return 1;
                }
                if(LuaAPI.lua_gettop(L) == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
                {
                    string _input = LuaAPI.lua_tostring(L, 2);
                    DemonJarConfig gen_ret = new DemonJarConfig(_input);
                    translator.Push(L, gen_ret);
                    return 1;
                }
            }
            catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to DemonJarConfig constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Get_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                        DemonJarConfig gen_ret = DemonJarConfig.Get( _id );
                        translator.Push(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _id = LuaAPI.lua_tostring(L, 1);
                        DemonJarConfig gen_ret = DemonJarConfig.Get( _id );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to DemonJarConfig.Get!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetKeys_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                        System.Collections.Generic.List<string> gen_ret = DemonJarConfig.GetKeys(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetValues_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                        System.Collections.Generic.List<DemonJarConfig> gen_ret = DemonJarConfig.GetValues(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Has_xlua_st_(RealStatePtr L)
        {
            try {
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                        bool gen_ret = DemonJarConfig.Has( _id );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _id = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = DemonJarConfig.Has( _id );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to DemonJarConfig.Has!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init_xlua_st_(RealStatePtr L)
        {
            try {
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1))
                {
                    bool _sync = LuaAPI.lua_toboolean(L, 1);
                    DemonJarConfig.Init( _sync );
                    return 0;
                }
                if(gen_param_count == 0)
                {
                    DemonJarConfig.Init(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to DemonJarConfig.Init!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_inited(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, DemonJarConfig.inited);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_NPCID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.NPCID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_LineID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LineID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Time(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Time);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MustItemID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.MustItemID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RareItemID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.RareItemID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_NewItemId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.NewItemId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_PortraitID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.PortraitID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_SpecialItemMark(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SpecialItemMark);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CanEnterTimes(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.CanEnterTimes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AutoAttention(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.AutoAttention);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CancelAttentionAfterKill(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.CancelAttentionAfterKill);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Job1(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Job1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Job2(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Job2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Job3(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Job3);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_KillHurtMin(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.KillHurtMin);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_KillHurtMax(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.KillHurtMax);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RewardDescription(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DemonJarConfig gen_to_be_invoked = (DemonJarConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.RewardDescription);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
    }
}
Lua/Gen/DemonJarConfigWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6d4d80b9be2133e4986f36070da50bf7
timeCreated: 1561454710
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/DienstgradConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(DienstgradConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 1, 12, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 1, 13, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted);
            
@@ -38,6 +38,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Skills", _g_get_Skills);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "gotoId", _g_get_gotoId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "missionId", _g_get_missionId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "order", _g_get_order);
            
            
            
@@ -564,6 +565,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_order(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                DienstgradConfig gen_to_be_invoked = (DienstgradConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.order);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
Lua/Gen/EnumWrap.cs
@@ -1614,7 +1614,7 @@
            Utils.BeginObjectRegister(typeof(DailyQuestType), L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(typeof(DailyQuestType), L, translator, null, null, null, null, null);
            
            Utils.BeginClassRegister(typeof(DailyQuestType), L, null, 34, 0, 0);
            Utils.BeginClassRegister(typeof(DailyQuestType), L, null, 37, 0, 0);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BountyMission", DailyQuestType.BountyMission);
            
@@ -1681,6 +1681,12 @@
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "HazyRegion", DailyQuestType.HazyRegion);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SkyTower", DailyQuestType.SkyTower);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Auction", DailyQuestType.Auction);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyBoss", DailyQuestType.JadeDynastyBoss);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerBoss", DailyQuestType.CrossServerBoss);
            
            Utils.RegisterFunc(L, Utils.CLS_IDX, "__CastFrom", __CastFrom);
            
@@ -1831,6 +1837,18 @@
                {
                    translator.PushDailyQuestType(L, DailyQuestType.SkyTower);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "Auction"))
                {
                    translator.PushDailyQuestType(L, DailyQuestType.Auction);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyBoss"))
                {
                    translator.PushDailyQuestType(L, DailyQuestType.JadeDynastyBoss);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerBoss"))
                {
                    translator.PushDailyQuestType(L, DailyQuestType.CrossServerBoss);
                }
                else
                {
                    return LuaAPI.luaL_error(L, "invalid string for DailyQuestType!");
Lua/Gen/JadeDynastyBossConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(JadeDynastyBossConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 9, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 10, 0);
            
            
            
@@ -31,6 +31,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RealmLV", _g_get_RealmLV);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ZhuXianScore", _g_get_ZhuXianScore);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "dropItems", _g_get_dropItems);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "newDropId", _g_get_newDropId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "PortraitID", _g_get_PortraitID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "conditionSorts", _g_get_conditionSorts);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AutoAttention", _g_get_AutoAttention);
@@ -366,6 +367,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_newDropId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                JadeDynastyBossConfig gen_to_be_invoked = (JadeDynastyBossConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.newDropId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_PortraitID(RealStatePtr L)
        {
            try {
Lua/Gen/JobSetupConfigWrap.cs
@@ -21,8 +21,9 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(JobSetupConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 24, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 1, 25, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted);
            
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Job", _g_get_Job);
@@ -49,18 +50,20 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "GainSkillList", _g_get_GainSkillList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MoveLimitDist", _g_get_MoveLimitDist);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RollBreakSkillList", _g_get_RollBreakSkillList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpertSkillEffect", _g_get_ExpertSkillEffect);
            
            
            
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 6, 1, 0);
            Utils.BeginClassRegister(type, L, __CreateInstance, 7, 1, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeys", _m_GetKeys_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValues", _m_GetValues_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Has", _m_Has_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetExpertSkillChangeEffect", _m_GetExpertSkillChangeEffect_xlua_st_);
            
            
            
@@ -278,6 +281,58 @@
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to JobSetupConfig.Init!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnConfigParseCompleted(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                JobSetupConfig gen_to_be_invoked = (JobSetupConfig)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.OnConfigParseCompleted(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetExpertSkillChangeEffect_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    int _mainSkillID = LuaAPI.xlua_tointeger(L, 1);
                        int gen_ret = JobSetupConfig.GetExpertSkillChangeEffect( _mainSkillID );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
@@ -632,6 +687,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ExpertSkillEffect(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                JobSetupConfig gen_to_be_invoked = (JobSetupConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.ExpertSkillEffect);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
Lua/Gen/LoadingBackGroundConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(LoadingBackGroundConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 1, 6, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 1, 8, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted);
            
@@ -29,6 +29,8 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lineId", _g_get_lineId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "icons", _g_get_icons);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jobIntroduce1", _g_get_jobIntroduce1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jobIntroduce2", _g_get_jobIntroduce2);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "levelLimit", _g_get_levelLimit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "description", _g_get_description);
@@ -361,6 +363,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_jobIntroduce1(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                LoadingBackGroundConfig gen_to_be_invoked = (LoadingBackGroundConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.jobIntroduce1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_jobIntroduce2(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                LoadingBackGroundConfig gen_to_be_invoked = (LoadingBackGroundConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.jobIntroduce2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_levelLimit(RealStatePtr L)
        {
            try {
Lua/Gen/QuickSettingWrap.cs
@@ -21,13 +21,14 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(QuickSetting);
            Utils.BeginObjectRegister(type, L, translator, 0, 4, 1, 1);
            Utils.BeginObjectRegister(type, L, translator, 0, 5, 1, 1);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetQuickSetting", _m_SetQuickSetting);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuickSetting", _m_GetQuickSetting);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuickSettingBool", _m_GetQuickSettingBool);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPackage", _m_SendPackage);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onQuickSettingUpdate", _e_onQuickSettingUpdate);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "quickSettingDic", _g_get_quickSettingDic);
            
@@ -124,6 +125,18 @@
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                {
                    int _type = LuaAPI.xlua_tointeger(L, 2);
                    string _value = LuaAPI.lua_tostring(L, 3);
                    int _index = LuaAPI.xlua_tointeger(L, 4);
                    gen_to_be_invoked.SetQuickSetting( _type, _value, _index );
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<QuickSetting.QuickSettingType>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    QuickSetting.QuickSettingType _type;translator.Get(L, 2, out _type);
@@ -156,7 +169,21 @@
                QuickSetting gen_to_be_invoked = (QuickSetting)translator.FastGetCSObj(L, 1);
            
            
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    int _type = LuaAPI.xlua_tointeger(L, 2);
                    int _index = LuaAPI.xlua_tointeger(L, 3);
                        string gen_ret = gen_to_be_invoked.GetQuickSetting( _type, _index );
                        LuaAPI.lua_pushstring(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 3&& translator.Assignable<QuickSetting.QuickSettingType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    QuickSetting.QuickSettingType _type;translator.Get(L, 2, out _type);
                    int _index = LuaAPI.xlua_tointeger(L, 3);
@@ -172,6 +199,8 @@
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to QuickSetting.GetQuickSetting!");
            
        }
        
@@ -285,6 +314,40 @@
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onQuickSettingUpdate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            QuickSetting gen_to_be_invoked = (QuickSetting)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.onQuickSettingUpdate += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.onQuickSettingUpdate -= gen_delegate;
                        return 0;
                    }
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            LuaAPI.luaL_error(L, "invalid arguments to QuickSetting.onQuickSettingUpdate!");
            return 0;
        }
        
        
    }
Lua/Gen/SDKUtilityWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SDKUtility);
            Utils.BeginObjectRegister(type, L, translator, 0, 27, 29, 20);
            Utils.BeginObjectRegister(type, L, translator, 0, 28, 29, 20);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InstallAPK", _m_InstallAPK);
@@ -45,6 +45,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "FreePlatformCheckIDAuthentication", _m_FreePlatformCheckIDAuthentication);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnServerChargeOk", _m_OnServerChargeOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRegistEvent", _m_SendRegistEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendLoginEvent", _m_SendLoginEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateRoleOk", _m_CreateRoleOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RoleLogin", _m_RoleLogin);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RoleLevelUp", _m_RoleLevelUp);
@@ -793,6 +794,33 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SendLoginEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SDKUtility gen_to_be_invoked = (SDKUtility)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.SendLoginEvent(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateRoleOk(RealStatePtr L)
        {
            try {
Lua/Gen/SkillConfigWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SkillConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 74, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 75, 0);
            
            
            
@@ -71,6 +71,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue61", _g_get_EffectValue61);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue62", _g_get_EffectValue62);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue63", _g_get_EffectValue63);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LastTime6", _g_get_LastTime6);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "StateSkillLV", _g_get_StateSkillLV);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LearnSkillReq", _g_get_LearnSkillReq);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LearnSkillLV", _g_get_LearnSkillLV);
@@ -1217,6 +1218,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_LastTime6(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SkillConfig gen_to_be_invoked = (SkillConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LastTime6);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_StateSkillLV(RealStatePtr L)
        {
            try {
Lua/Gen/SkillHelperWrap.cs
@@ -21,8 +21,10 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SkillHelper);
            Utils.BeginObjectRegister(type, L, translator, 0, 6, 0, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 8, 0, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetExpertSkill", _m_GetExpertSkill);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetExpertSkillEvByMainSkillID", _m_TryGetExpertSkillEvByMainSkillID);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "BindSkill", _m_BindSkill);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSkillID", _m_GetSkillID);
@@ -78,6 +80,68 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetExpertSkill(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SkillHelper gen_to_be_invoked = (SkillHelper)translator.FastGetCSObj(L, 1);
                {
                    int _mainSkillId = LuaAPI.xlua_tointeger(L, 2);
                        SkillHelper.SkillInfo gen_ret = gen_to_be_invoked.GetExpertSkill( _mainSkillId );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetExpertSkillEvByMainSkillID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SkillHelper gen_to_be_invoked = (SkillHelper)translator.FastGetCSObj(L, 1);
                {
                    int _mainSkillId = LuaAPI.xlua_tointeger(L, 2);
                    int _evID = LuaAPI.xlua_tointeger(L, 3);
                    SkillHelper.EffectValue _ev;
                        bool gen_ret = gen_to_be_invoked.TryGetExpertSkillEvByMainSkillID( _mainSkillId, _evID, out _ev );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.Push(L, _ev);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIAlchemyModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.AlchemyModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 25, 15, 5);
            Utils.BeginObjectRegister(type, L, translator, 0, 25, 16, 5);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -59,6 +59,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alchemyNormalNotifySymbol", _g_get_alchemyNormalNotifySymbol);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alchemyFairyNotifySymbol", _g_get_alchemyFairyNotifySymbol);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxBatchAlchemyCount", _g_get_maxBatchAlchemyCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalBatchAlchemyLevel", _g_get_normalBatchAlchemyLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isServerPrepare", _g_get_isServerPrepare);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alchemyDrugRedpoint1", _g_get_alchemyDrugRedpoint1);
@@ -931,6 +932,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_normalBatchAlchemyLevel(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.AlchemyModel gen_to_be_invoked = (Snxxz.UI.AlchemyModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.normalBatchAlchemyLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isServerPrepare(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIConfirmCancelWrap.cs
@@ -31,7 +31,7 @@
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 8, 24, 17);
            Utils.BeginClassRegister(type, L, __CreateInstance, 8, 25, 18);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ShowPopConfirm", _m_ShowPopConfirm_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ShowRealmPopConfirm", _m_ShowRealmPopConfirm_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ShowRuneTowerPopConfirm", _m_ShowRuneTowerPopConfirm_xlua_st_);
@@ -54,6 +54,7 @@
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "generalTitle", _g_get_generalTitle);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "generalContent", _g_get_generalContent);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnToggleConfirmEvent", _g_get_OnToggleConfirmEvent);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnToggleSingleConfirmEvent", _g_get_OnToggleSingleConfirmEvent);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "iconTitle", _g_get_iconTitle);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "iconTopInfo", _g_get_iconTopInfo);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "iconBottomInfo", _g_get_iconBottomInfo);
@@ -72,6 +73,7 @@
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "generalTitle", _s_set_generalTitle);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "generalContent", _s_set_generalContent);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnToggleConfirmEvent", _s_set_OnToggleConfirmEvent);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnToggleSingleConfirmEvent", _s_set_OnToggleSingleConfirmEvent);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "iconTitle", _s_set_iconTitle);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "iconTopInfo", _s_set_iconTopInfo);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "iconBottomInfo", _s_set_iconBottomInfo);
@@ -278,6 +280,33 @@
                    string _content = LuaAPI.lua_tostring(L, 2);
                    string _toggleTxt = LuaAPI.lua_tostring(L, 3);
                    System.Action<bool, bool> _func = translator.GetDelegate<System.Action<bool, bool>>(L, 4);
                    Snxxz.UI.ConfirmCancel.ToggleConfirmCancel( _title, _content, _toggleTxt, _func );
                    return 0;
                }
                if(gen_param_count == 5&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<bool>>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
                {
                    string _title = LuaAPI.lua_tostring(L, 1);
                    string _content = LuaAPI.lua_tostring(L, 2);
                    string _toggleTxt = LuaAPI.lua_tostring(L, 3);
                    System.Action<bool> _func = translator.GetDelegate<System.Action<bool>>(L, 4);
                    bool __toggle = LuaAPI.lua_toboolean(L, 5);
                    Snxxz.UI.ConfirmCancel.ToggleConfirmCancel( _title, _content, _toggleTxt, _func, __toggle );
                    return 0;
                }
                if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<bool>>(L, 4))
                {
                    string _title = LuaAPI.lua_tostring(L, 1);
                    string _content = LuaAPI.lua_tostring(L, 2);
                    string _toggleTxt = LuaAPI.lua_tostring(L, 3);
                    System.Action<bool> _func = translator.GetDelegate<System.Action<bool>>(L, 4);
                    
                    Snxxz.UI.ConfirmCancel.ToggleConfirmCancel( _title, _content, _toggleTxt, _func );
                    
@@ -543,6 +572,18 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnToggleSingleConfirmEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, Snxxz.UI.ConfirmCancel.OnToggleSingleConfirmEvent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_iconTitle(RealStatePtr L)
        {
            try {
@@ -754,6 +795,19 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnToggleSingleConfirmEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ConfirmCancel.OnToggleSingleConfirmEvent = translator.GetDelegate<System.Action<bool>>(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_iconTitle(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIDailyQuestModelWrap.cs
@@ -21,13 +21,16 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.DailyQuestModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 34, 10, 6);
            Utils.BeginObjectRegister(type, L, translator, 0, 37, 10, 6);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnMapInitOk", _m_OnMapInitOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnNewFuncOpen", _m_OnNewFuncOpen);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsNewDailyQuest", _m_IsNewDailyQuest);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveHasShowDailyQuest", _m_RemoveHasShowDailyQuest);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDailyQuests", _m_GetDailyQuests);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLivenessRewardDatas", _m_GetLivenessRewardDatas);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetDailyQuest", _m_TryGetDailyQuest);
@@ -47,7 +50,6 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetOpenTime", _m_TryGetOpenTime);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuestByWeekTimeNode", _m_GetQuestByWeekTimeNode);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuestByWeekTime", _m_GetQuestByWeekTime);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateHazyRegion", _m_UpdateHazyRegion);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRedpoints", _m_UpdateRedpoints);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuestState", _m_GetQuestState);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GotoDailyQuest", _m_GotoDailyQuest);
@@ -58,6 +60,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "currentActiveValueUpdateEvent", _e_currentActiveValueUpdateEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "usableActivePointUpdateEvent", _e_usableActivePointUpdateEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "categoryChangeEvent", _e_categoryChangeEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "newDailyQuestOpenEvent", _e_newDailyQuestOpenEvent);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "dailyQuestTotalActiveValue", _g_get_dailyQuestTotalActiveValue);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentDailyQuest", _g_get_currentDailyQuest);
@@ -245,6 +248,90 @@
                {
                    
                    gen_to_be_invoked.OnMapInitOk(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnNewFuncOpen(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.DailyQuestModel gen_to_be_invoked = (Snxxz.UI.DailyQuestModel)translator.FastGetCSObj(L, 1);
                {
                    int _id = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.OnNewFuncOpen( _id );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsNewDailyQuest(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.DailyQuestModel gen_to_be_invoked = (Snxxz.UI.DailyQuestModel)translator.FastGetCSObj(L, 1);
                {
                    int _id = LuaAPI.xlua_tointeger(L, 2);
                        bool gen_ret = gen_to_be_invoked.IsNewDailyQuest( _id );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveHasShowDailyQuest(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.DailyQuestModel gen_to_be_invoked = (Snxxz.UI.DailyQuestModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.RemoveHasShowDailyQuest(  );
                    
                    
                    
@@ -842,24 +929,6 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateHazyRegion(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.DailyQuestModel gen_to_be_invoked = (Snxxz.UI.DailyQuestModel)translator.FastGetCSObj(L, 1);
                {
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateRedpoints(RealStatePtr L)
        {
            try {
@@ -1405,6 +1474,40 @@
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_newDailyQuestOpenEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.DailyQuestModel gen_to_be_invoked = (Snxxz.UI.DailyQuestModel)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.newDailyQuestOpenEvent += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.newDailyQuestOpenEvent -= gen_delegate;
                        return 0;
                    }
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DailyQuestModel.newDailyQuestOpenEvent!");
            return 0;
        }
        
        
    }
Lua/Gen/SnxxzUIExpertSkillSelectWinWrap.cs
New file
@@ -0,0 +1,111 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class SnxxzUIExpertSkillSelectWinWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.ExpertSkillSelectWin);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 1, 1, 1);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "skillId", _g_get_skillId);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "skillId", _s_set_skillId);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if(LuaAPI.lua_gettop(L) == 1)
                {
                    Snxxz.UI.ExpertSkillSelectWin gen_ret = new Snxxz.UI.ExpertSkillSelectWin();
                    translator.Push(L, gen_ret);
                    return 1;
                }
            }
            catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ExpertSkillSelectWin constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_skillId(RealStatePtr L)
        {
            try {
                LuaAPI.xlua_pushinteger(L, Snxxz.UI.ExpertSkillSelectWin.skillId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_skillId(RealStatePtr L)
        {
            try {
                Snxxz.UI.ExpertSkillSelectWin.skillId = LuaAPI.xlua_tointeger(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
    }
}
Lua/Gen/SnxxzUIExpertSkillSelectWinWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 3df689b32c9ce5d46979d60eaadc8372
timeCreated: 1561532428
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/SnxxzUIFairyLeagueModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.FairyLeagueModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 45, 35, 7);
            Utils.BeginObjectRegister(type, L, translator, 0, 43, 35, 7);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -30,8 +30,6 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRandomAttrBuff", _m_GetRandomAttrBuff);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCrystalRate", _m_TryGetCrystalRate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAlreadyBattleGuide", _m_IsAlreadyBattleGuide);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBattleGuide", _m_SetBattleGuide);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyResult", _m_UpdateFairyResult);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyLeagueFairy", _m_UpdateFairyLeagueFairy);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCrystalIndex", _m_GetCrystalIndex);
@@ -348,61 +346,6 @@
                    
                    
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsAlreadyBattleGuide(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.FairyLeagueModel gen_to_be_invoked = (Snxxz.UI.FairyLeagueModel)translator.FastGetCSObj(L, 1);
                {
                        bool gen_ret = gen_to_be_invoked.IsAlreadyBattleGuide(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetBattleGuide(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.FairyLeagueModel gen_to_be_invoked = (Snxxz.UI.FairyLeagueModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.SetBattleGuide(  );
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
Lua/Gen/SnxxzUIFindPreciousModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.FindPreciousModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 36, 4, 3);
            Utils.BeginObjectRegister(type, L, translator, 0, 37, 4, 3);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -37,6 +37,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnUpdateBossLineInfos", _m_OnUpdateBossLineInfos);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossInfo", _m_TryGetBossInfo);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossUnlock", _m_IsBossUnlock);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPlayerLevelLargerOrBiggerThanBoss", _m_IsPlayerLevelLargerOrBiggerThanBoss);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSameBigRealmStageBoss", _m_IsSameBigRealmStageBoss);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBossUnLockRealm", _m_GetBossUnLockRealm);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossAlive", _m_IsBossAlive);
@@ -508,6 +509,35 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsPlayerLevelLargerOrBiggerThanBoss(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.FindPreciousModel gen_to_be_invoked = (Snxxz.UI.FindPreciousModel)translator.FastGetCSObj(L, 1);
                {
                    int _bossId = LuaAPI.xlua_tointeger(L, 2);
                        bool gen_ret = gen_to_be_invoked.IsPlayerLevelLargerOrBiggerThanBoss( _bossId );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsSameBigRealmStageBoss(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIFuncOpenWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.FuncOpen);
            Utils.BeginObjectRegister(type, L, translator, 0, 7, 0, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 8, 0, 0);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFuncState", _m_UpdateFuncState);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsFuncOpen", _m_IsFuncOpen);
@@ -30,6 +30,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Register", _m_Register);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckFuncOpen", _m_CheckFuncOpen);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "NewFuncOpenEvent", _e_NewFuncOpenEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnFuncStateChangeEvent", _e_OnFuncStateChangeEvent);
            
            
@@ -254,6 +255,40 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_NewFuncOpenEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.FuncOpen gen_to_be_invoked = (Snxxz.UI.FuncOpen)translator.FastGetCSObj(L, 1);
                System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.NewFuncOpenEvent += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.NewFuncOpenEvent -= gen_delegate;
                        return 0;
                    }
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.FuncOpen.NewFuncOpenEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_OnFuncStateChangeEvent(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIISkillMatchBridge.cs
New file
@@ -0,0 +1,146 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System;
namespace XLua.CSObjectWrap
{
    public class SnxxzUIISkillMatchBridge : LuaBase, Snxxz.UI.ISkillMatch
    {
        public static LuaBase __Create(int reference, LuaEnv luaenv)
        {
            return new SnxxzUIISkillMatchBridge(reference, luaenv);
        }
        public SnxxzUIISkillMatchBridge(int reference, LuaEnv luaenv) : base(reference, luaenv)
        {
        }
        public System.Collections.Generic.List<int> GetSkills()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.L;
                int err_func = LuaAPI.load_error_func(L, luaEnv.errorFuncRef);
                ObjectTranslator translator = luaEnv.translator;
                LuaAPI.lua_getref(L, luaReference);
                LuaAPI.xlua_pushasciistring(L, "GetSkills");
                if (0 != LuaAPI.xlua_pgettable(L, -2))
                {
                    luaEnv.ThrowExceptionFromError(err_func - 1);
                }
                if(!LuaAPI.lua_isfunction(L, -1))
                {
                    LuaAPI.xlua_pushasciistring(L, "no such function GetSkills");
                    luaEnv.ThrowExceptionFromError(err_func - 1);
                }
                LuaAPI.lua_pushvalue(L, -2);
                LuaAPI.lua_remove(L, -3);
                int __gen_error = LuaAPI.lua_pcall(L, 1, 1, err_func);
                if (__gen_error != 0)
                    luaEnv.ThrowExceptionFromError(err_func - 1);
                System.Collections.Generic.List<int> __gen_ret = (System.Collections.Generic.List<int>)translator.GetObject(L, err_func + 1, typeof(System.Collections.Generic.List<int>));
                LuaAPI.lua_settop(L, err_func - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public event System.Action onSkillMatchPageUpdate
        {
            add
            {
#if THREAD_SAFE || HOTFIX_ENABLE
                lock (luaEnv.luaEnvLock)
                {
#endif
                    RealStatePtr L = luaEnv.L;
                    int err_func = LuaAPI.load_error_func(L, luaEnv.errorFuncRef);
                    ObjectTranslator translator = luaEnv.translator;
                    LuaAPI.lua_getref(L, luaReference);
                    LuaAPI.xlua_pushasciistring(L, "add_onSkillMatchPageUpdate");
                    if (0 != LuaAPI.xlua_pgettable(L, -2))
                    {
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    }
                    if(!LuaAPI.lua_isfunction(L, -1))
                    {
                        LuaAPI.xlua_pushasciistring(L, "no such function add_onSkillMatchPageUpdate");
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    }
                    LuaAPI.lua_pushvalue(L, -2);
                    LuaAPI.lua_remove(L, -3);
                    translator.Push(L, value);
                    int __gen_error = LuaAPI.lua_pcall(L, 2, 0, err_func);
                    if (__gen_error != 0)
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    LuaAPI.lua_settop(L, err_func - 1);
#if THREAD_SAFE || HOTFIX_ENABLE
                }
#endif
            }
            remove
            {
#if THREAD_SAFE || HOTFIX_ENABLE
                lock (luaEnv.luaEnvLock)
                {
#endif
                    RealStatePtr L = luaEnv.L;
                    int err_func = LuaAPI.load_error_func(L, luaEnv.errorFuncRef);
                    ObjectTranslator translator = luaEnv.translator;
                    LuaAPI.lua_getref(L, luaReference);
                    LuaAPI.xlua_pushasciistring(L, "remove_onSkillMatchPageUpdate");
                    if (0 != LuaAPI.xlua_pgettable(L, -2))
                    {
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    }
                    if(!LuaAPI.lua_isfunction(L, -1))
                    {
                        LuaAPI.xlua_pushasciistring(L, "no such function remove_onSkillMatchPageUpdate");
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    }
                    LuaAPI.lua_pushvalue(L, -2);
                    LuaAPI.lua_remove(L, -3);
                    translator.Push(L, value);
                    int __gen_error = LuaAPI.lua_pcall(L, 2, 0, err_func);
                    if (__gen_error != 0)
                        luaEnv.ThrowExceptionFromError(err_func - 1);
                    LuaAPI.lua_settop(L, err_func - 1);
#if THREAD_SAFE || HOTFIX_ENABLE
                }
#endif
            }
        }
    }
}
Lua/Gen/SnxxzUIISkillMatchBridge.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5517a714c786fea46ac88435af3c4d65
timeCreated: 1561536091
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.ItemLogicUtility);
            Utils.BeginObjectRegister(type, L, translator, 0, 35, 3, 1);
            Utils.BeginObjectRegister(type, L, translator, 0, 37, 3, 1);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipScore", _m_GetEquipScore);
@@ -54,6 +54,8 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsDogzEquip", _m_IsDogzEquip);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSpiritWeapon", _m_IsSpiritWeapon);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSuitEquip", _m_IsSuitEquip);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSpecialSpiritPropertyValue", _m_GetSpecialSpiritPropertyValue);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSpecialSpiritPropertyMaxLevel", _m_GetSpecialSpiritPropertyMaxLevel);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreciousItemEvent", _e_GetPreciousItemEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBetterEquipEvent", _e_GetBetterEquipEvent);
@@ -1061,6 +1063,64 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSpecialSpiritPropertyValue(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
                {
                    int _itemId = LuaAPI.xlua_tointeger(L, 2);
                        int gen_ret = gen_to_be_invoked.GetSpecialSpiritPropertyValue( _itemId );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSpecialSpiritPropertyMaxLevel(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
                {
                    int _itemId = LuaAPI.xlua_tointeger(L, 2);
                        int gen_ret = gen_to_be_invoked.GetSpecialSpiritPropertyMaxLevel( _itemId );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        
        
Lua/Gen/SnxxzUIJadeDynastyBossModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.JadeDynastyBossModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 21, 7, 2);
            Utils.BeginObjectRegister(type, L, translator, 0, 22, 6, 2);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -34,6 +34,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyBosses", _m_GetJadeDynastyBosses);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetParticipantCount", _m_GetParticipantCount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLatestUnLockBoss", _m_GetLatestUnLockBoss);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommandBoss", _m_GetRecommandBoss);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetDropItems", _m_TryGetDropItems);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCondition", _m_TryGetCondition);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossLine", _m_TryGetBossLine);
@@ -46,7 +47,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "assistTimeRefresh", _e_assistTimeRefresh);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "jadeDynastyScoreRefresh", _e_jadeDynastyScoreRefresh);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "challengeLimitCount", _g_get_challengeLimitCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "challengeLimitCount", _g_get_challengeLimitCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "challengeTimes", _g_get_challengeTimes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistTimes", _g_get_assistTimes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectBossId", _g_get_selectBossId);
@@ -414,6 +415,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetRecommandBoss(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetRecommandBoss(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetDropItems(RealStatePtr L)
        {
            try {
@@ -640,6 +669,8 @@
        }
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_challengeLimitCount(RealStatePtr L)
        {
Lua/Gen/SnxxzUIOSGiftModelWrap.cs
@@ -21,19 +21,22 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.OSGiftModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 14, 8, 2);
            Utils.BeginObjectRegister(type, L, translator, 0, 16, 8, 2);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsExist", _m_IsExist);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExistAnyGift", _m_ExistAnyGift);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsGiftExist", _m_IsGiftExist);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsGiftBuy", _m_IsGiftBuy);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsGiftAlreadyBuy", _m_IsGiftAlreadyBuy);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisplayErrorRemind", _m_DisplayErrorRemind);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRechargeId", _m_GetRechargeId);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAreadyOpens", _m_SetAreadyOpens);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDefaultSelect", _m_GetDefaultSelect);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDayRemind", _m_SetDayRemind);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPetInfo", _m_GetPetInfo);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSkillActivePoint", _m_GetSkillActivePoint);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpdate", _e_onStateUpdate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onSelectUpdate", _e_onSelectUpdate);
@@ -45,6 +48,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpGiftId", _g_get_jumpGiftId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "gifts", _g_get_gifts);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alreadyOpens", _g_get_alreadyOpens);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillActivePoint", _g_get_skillActivePoint);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectIndex", _s_set_selectIndex);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "jumpGiftId", _s_set_jumpGiftId);
@@ -202,7 +206,7 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsExist(RealStatePtr L)
        static int _m_ExistAnyGift(RealStatePtr L)
        {
            try {
            
@@ -259,7 +263,7 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsGiftBuy(RealStatePtr L)
        static int _m_IsGiftAlreadyBuy(RealStatePtr L)
        {
            try {
            
@@ -279,6 +283,34 @@
                    
                    
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisplayErrorRemind(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OSGiftModel gen_to_be_invoked = (Snxxz.UI.OSGiftModel)translator.FastGetCSObj(L, 1);
                {
                    int _payType = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.DisplayErrorRemind( _payType );
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
@@ -399,6 +431,68 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetPetInfo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OSGiftModel gen_to_be_invoked = (Snxxz.UI.OSGiftModel)translator.FastGetCSObj(L, 1);
                {
                    int _petId;
                    int _level;
                    gen_to_be_invoked.GetPetInfo( out _petId, out _level );
                    LuaAPI.xlua_pushinteger(L, _petId);
                    LuaAPI.xlua_pushinteger(L, _level);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSkillActivePoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OSGiftModel gen_to_be_invoked = (Snxxz.UI.OSGiftModel)translator.FastGetCSObj(L, 1);
                {
                    int _level = LuaAPI.xlua_tointeger(L, 2);
                        int gen_ret = gen_to_be_invoked.GetSkillActivePoint( _level );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        
        
@@ -501,6 +595,22 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_skillActivePoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OSGiftModel gen_to_be_invoked = (Snxxz.UI.OSGiftModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.skillActivePoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_selectIndex(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIReikiRootModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.ReikiRootModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 27, 21, 11);
            Utils.BeginObjectRegister(type, L, translator, 0, 27, 24, 11);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -66,8 +66,11 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectReikiRoot", _g_get_selectReikiRoot);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "openFromTreasureSkill", _g_get_openFromTreasureSkill);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointPromoteSymbol", _g_get_reikiPointPromoteSymbol);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "effectLimitLevel", _g_get_effectLimitLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointAutoAddLevel", _g_get_reikiPointAutoAddLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "levelUpAddPoint", _g_get_levelUpAddPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "titleAddPoint", _g_get_titleAddPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "treasureAddPoint", _g_get_treasureAddPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lastReikiRootPoints", _g_get_lastReikiRootPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "afterReikiRootPoints", _g_get_afterReikiRootPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRoots", _g_get_reikiRoots);
@@ -1059,6 +1062,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_effectLimitLevel(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.effectLimitLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_reikiPointAutoAddLevel(RealStatePtr L)
        {
            try {
@@ -1087,6 +1104,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_titleAddPoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.titleAddPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_treasureAddPoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.treasureAddPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lastReikiRootPoints(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUISetPrivateModelWrap.cs
@@ -41,6 +41,8 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVipPushNotifyByVipExperience", _m_SetVipPushNotifyByVipExperience);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPushSet", _m_RefreshPushSet);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOpenDailyIdlist", _m_GetOpenDailyIdlist);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSwitchStateByIndex", _m_GetSwitchStateByIndex);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDailyInfoById", _m_GetDailyInfoById);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSwitchIndexById", _m_GetSwitchIndexById);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRefreshFreeTimeEvent", _m_SetRefreshFreeTimeEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TestDailyQuestUnLock", _m_TestDailyQuestUnLock);
@@ -623,6 +625,72 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSwitchStateByIndex(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1);
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                        bool gen_ret = gen_to_be_invoked.GetSwitchStateByIndex( _index );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetDailyInfoById(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1);
                {
                    int _id = LuaAPI.xlua_tointeger(L, 2);
                    string _title;
                    string _week;
                    System.Collections.Generic.List<string> _times;
                    gen_to_be_invoked.GetDailyInfoById( _id, out _title, out _week, out _times );
                    LuaAPI.lua_pushstring(L, _title);
                    LuaAPI.lua_pushstring(L, _week);
                    translator.Push(L, _times);
                    return 3;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSwitchIndexById(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUISkillModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.SkillModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 33, 25, 15);
            Utils.BeginObjectRegister(type, L, translator, 0, 35, 25, 15);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -52,11 +52,13 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDayRemind", _m_SetDayRemind);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsImmediatelyUnlock", _m_IsImmediatelyUnlock);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTaskHoleRemind", _m_SetTaskHoleRemind);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSkillMatchs", _m_GetSkillMatchs);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshSltSkill", _e_OnRefreshSltSkill);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAutoUseXpEvent", _e_OnAutoUseXpEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePassEquipSkillEvent", _e_UpdatePassEquipSkillEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "taskUnlockUpdate", _e_taskUnlockUpdate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onSkillMatchPageUpdate", _e_onSkillMatchPageUpdate);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "passEquipCnt", _g_get_passEquipCnt);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillActDict", _g_get_skillActDict);
@@ -975,6 +977,34 @@
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSkillMatchs(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1);
                {
                        System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetSkillMatchs(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        
        
@@ -1693,6 +1723,40 @@
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onSkillMatchPageUpdate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.onSkillMatchPageUpdate += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.onSkillMatchPageUpdate -= gen_delegate;
                        return 0;
                    }
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.SkillModel.onSkillMatchPageUpdate!");
            return 0;
        }
        
        
    }
Lua/Gen/SnxxzUISkyTowerModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.SkyTowerModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 14, 3, 0);
            Utils.BeginObjectRegister(type, L, translator, 0, 14, 4, 1);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -42,8 +42,10 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "allPassed", _g_get_allPassed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "highestPassFloor", _g_get_highestPassFloor);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentFloor", _g_get_currentFloor);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint01", _g_get_redpoint01);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpoint01", _s_set_redpoint01);
            
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
@@ -519,8 +521,37 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_redpoint01(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.SkyTowerModel gen_to_be_invoked = (Snxxz.UI.SkyTowerModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.redpoint01);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_redpoint01(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.SkyTowerModel gen_to_be_invoked = (Snxxz.UI.SkyTowerModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.redpoint01 = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        
        
Lua/Gen/SnxxzUITreasureModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.TreasureModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 44, 20, 12);
            Utils.BeginObjectRegister(type, L, translator, 0, 44, 19, 12);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
Lua/Gen/SnxxzUIUI3DModelExhibitionWrap.cs
@@ -47,9 +47,8 @@
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 2, 2, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "CreateStage", _m_CreateStage_xlua_st_);
            Utils.BeginClassRegister(type, L, __CreateInstance, 1, 2, 0);
            
            
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
@@ -89,21 +88,6 @@
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateStage_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetName(RealStatePtr L)
Lua/Gen/SnxxzUIWorldBossModelWrap.cs
@@ -21,39 +21,45 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.WorldBossModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 9, 5, 5);
            Utils.BeginObjectRegister(type, L, translator, 0, 11, 7, 6);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWorldBossRemainCount", _m_GetWorldBossRemainCount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossData", _m_TryGetBossData);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAddTimesRedPoint", _m_UpdateAddTimesRedPoint);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWorldBosses", _m_GetWorldBosses);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommendBoss", _m_GetRecommendBoss);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossSelectedEvent", _e_bossSelectedEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossWearyValueChangeEvent", _e_bossWearyValueChangeEvent);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedBoss", _g_get_selectedBoss);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "WorldBossMaxCount", _g_get_WorldBossMaxCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedBoss", _g_get_selectedBoss);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wearyValue", _g_get_wearyValue);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "extraBossWearyValue", _g_get_extraBossWearyValue);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "funcOpenClickSymbol", _g_get_funcOpenClickSymbol);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldBossRedPoint", _g_get_worldBossRedPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldBossAddTimeRedPoint", _g_get_worldBossAddTimeRedPoint);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedBoss", _s_set_selectedBoss);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wearyValue", _s_set_wearyValue);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "extraBossWearyValue", _s_set_extraBossWearyValue);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "funcOpenClickSymbol", _s_set_funcOpenClickSymbol);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "worldBossRedPoint", _s_set_worldBossRedPoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "worldBossAddTimeRedPoint", _s_set_worldBossAddTimeRedPoint);
            
            
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
            Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
            
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WORLDBOSS_REDPOINT", Snxxz.UI.WorldBossModel.WORLDBOSS_REDPOINT);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WORLDBOSSADDTIMES_REDPOINT", Snxxz.UI.WorldBossModel.WORLDBOSSADDTIMES_REDPOINT);
            
            
            
@@ -137,6 +143,34 @@
                    
                    
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetWorldBossRemainCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetWorldBossRemainCount(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
@@ -232,6 +266,33 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateAddTimesRedPoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.UpdateAddTimesRedPoint(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetWorldBosses(RealStatePtr L)
        {
            try {
@@ -306,6 +367,20 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_WorldBossMaxCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.WorldBossMaxCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_selectedBoss(RealStatePtr L)
        {
            try {
@@ -369,6 +444,20 @@
            
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.worldBossRedPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_worldBossAddTimeRedPoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.worldBossAddTimeRedPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -452,6 +541,21 @@
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_worldBossAddTimeRedPoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WorldBossModel gen_to_be_invoked = (Snxxz.UI.WorldBossModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.worldBossAddTimeRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
Lua/Gen/SpiritWeaponConfigWrap.cs
New file
@@ -0,0 +1,372 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class SpiritWeaponConfigWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(SpiritWeaponConfig);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 6, 0);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemID", _g_get_ItemID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Level", _g_get_Level);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AttrIDList", _g_get_AttrIDList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AttrValueList", _g_get_AttrValueList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AttrColorList", _g_get_AttrColorList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AttrScore", _g_get_AttrScore);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 6, 1, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeys", _m_GetKeys_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValues", _m_GetValues_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Has", _m_Has_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "inited", _g_get_inited);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if(LuaAPI.lua_gettop(L) == 1)
                {
                    SpiritWeaponConfig gen_ret = new SpiritWeaponConfig();
                    translator.Push(L, gen_ret);
                    return 1;
                }
                if(LuaAPI.lua_gettop(L) == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
                {
                    string _input = LuaAPI.lua_tostring(L, 2);
                    SpiritWeaponConfig gen_ret = new SpiritWeaponConfig(_input);
                    translator.Push(L, gen_ret);
                    return 1;
                }
            }
            catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to SpiritWeaponConfig constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Get_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                        SpiritWeaponConfig gen_ret = SpiritWeaponConfig.Get( _id );
                        translator.Push(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _id = LuaAPI.lua_tostring(L, 1);
                        SpiritWeaponConfig gen_ret = SpiritWeaponConfig.Get( _id );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to SpiritWeaponConfig.Get!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetKeys_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                        System.Collections.Generic.List<string> gen_ret = SpiritWeaponConfig.GetKeys(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetValues_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                        System.Collections.Generic.List<SpiritWeaponConfig> gen_ret = SpiritWeaponConfig.GetValues(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Has_xlua_st_(RealStatePtr L)
        {
            try {
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                        bool gen_ret = SpiritWeaponConfig.Has( _id );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _id = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = SpiritWeaponConfig.Has( _id );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to SpiritWeaponConfig.Has!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init_xlua_st_(RealStatePtr L)
        {
            try {
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1))
                {
                    bool _sync = LuaAPI.lua_toboolean(L, 1);
                    SpiritWeaponConfig.Init( _sync );
                    return 0;
                }
                if(gen_param_count == 0)
                {
                    SpiritWeaponConfig.Init(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to SpiritWeaponConfig.Init!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_inited(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, SpiritWeaponConfig.inited);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ItemID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ItemID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Level(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Level);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AttrIDList(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.AttrIDList);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AttrValueList(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.AttrValueList);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AttrColorList(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.AttrColorList);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AttrScore(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.AttrScore);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
    }
}
Lua/Gen/SpiritWeaponConfigWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 95808932397ba624f8b9ca689d312962
timeCreated: 1561454710
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/StatusMgrWrap.cs
@@ -21,9 +21,10 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(StatusMgr);
            Utils.BeginObjectRegister(type, L, translator, 0, 24, 5, 5);
            Utils.BeginObjectRegister(type, L, translator, 0, 25, 5, 5);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddClientBuff", _m_AddClientBuff);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Request", _m_Request);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanCastSkill", _m_CanCastSkill);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Release", _m_Release);
@@ -137,6 +138,38 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddClientBuff(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1);
                {
                    uint _sid = LuaAPI.xlua_touint(L, 2);
                    int _skillId = LuaAPI.xlua_tointeger(L, 3);
                    uint _srcSid = LuaAPI.xlua_touint(L, 4);
                    int _type = LuaAPI.xlua_tointeger(L, 5);
                    int _lastTime = LuaAPI.xlua_tointeger(L, 6);
                    gen_to_be_invoked.AddClientBuff( _sid, _skillId, _srcSid, _type, _lastTime );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Request(RealStatePtr L)
        {
            try {
Lua/Gen/StoryMissionsConfigWrap.cs
@@ -33,6 +33,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "TalkNum", _g_get_TalkNum);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "content", _g_get_content);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Speaker1", _g_get_Speaker1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "TaskMusic", _g_get_TaskMusic);
            
            
            
@@ -434,5 +435,25 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_TaskMusic(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                StoryMissionsConfig gen_to_be_invoked = (StoryMissionsConfig)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.TaskMusic);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
    }
}
Lua/Gen/UIDragDropBehaviourWrap.cs
New file
@@ -0,0 +1,378 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UIDragDropBehaviourWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(UIDragDropBehaviour);
            Utils.BeginObjectRegister(type, L, translator, 0, 7, 1, 1);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDragDropState", _m_SetDragDropState);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerDown", _m_OnPointerDown);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerEnter", _m_OnPointerEnter);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerExit", _m_OnPointerExit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerUp", _m_OnPointerUp);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "onClick", _e_onClick);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "data", _g_get_data);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "data", _s_set_data);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 1, 2, 2);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "draging", _g_get_draging);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "dragData", _g_get_dragData);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "draging", _s_set_draging);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "dragData", _s_set_dragData);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if(LuaAPI.lua_gettop(L) == 1)
                {
                    UIDragDropBehaviour gen_ret = new UIDragDropBehaviour();
                    translator.Push(L, gen_ret);
                    return 1;
                }
            }
            catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UIDragDropBehaviour constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    int _data = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.Init( _data );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetDragDropState(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    bool _allow = LuaAPI.lua_toboolean(L, 2);
                    gen_to_be_invoked.SetDragDropState( _allow );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnPointerDown(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
                    gen_to_be_invoked.OnPointerDown( _eventData );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnPointerEnter(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
                    gen_to_be_invoked.OnPointerEnter( _eventData );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnPointerExit(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
                    gen_to_be_invoked.OnPointerExit( _eventData );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnPointerUp(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                {
                    UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
                    gen_to_be_invoked.OnPointerUp( _eventData );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_draging(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UIDragDropBehaviour.draging);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_dragData(RealStatePtr L)
        {
            try {
                LuaAPI.xlua_pushinteger(L, UIDragDropBehaviour.dragData);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_data(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.data);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_draging(RealStatePtr L)
        {
            try {
                UIDragDropBehaviour.draging = LuaAPI.lua_toboolean(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_dragData(RealStatePtr L)
        {
            try {
                UIDragDropBehaviour.dragData = LuaAPI.xlua_tointeger(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_data(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.data = LuaAPI.xlua_tointeger(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onClick(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            UIDragDropBehaviour gen_to_be_invoked = (UIDragDropBehaviour)translator.FastGetCSObj(L, 1);
                System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.onClick += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.onClick -= gen_delegate;
                        return 0;
                    }
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            LuaAPI.luaL_error(L, "invalid arguments to UIDragDropBehaviour.onClick!");
            return 0;
        }
    }
}
Lua/Gen/UIDragDropBehaviourWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: d0ec169366a331b44b357149168da8f0
timeCreated: 1561517335
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/UnityEngineInputWrap.cs
New file
@@ -0,0 +1,978 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineInputWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(UnityEngine.Input);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 17, 26, 6);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxis", _m_GetAxis_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxisRaw", _m_GetAxisRaw_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButton", _m_GetButton_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButtonDown", _m_GetButtonDown_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButtonUp", _m_GetButtonUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKey", _m_GetKey_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyDown", _m_GetKeyDown_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyUp", _m_GetKeyUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetJoystickNames", _m_GetJoystickNames_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsJoystickPreconfigured", _m_IsJoystickPreconfigured_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButton", _m_GetMouseButton_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonDown", _m_GetMouseButtonDown_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonUp", _m_GetMouseButtonUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetInputAxes", _m_ResetInputAxes_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAccelerationEvent", _m_GetAccelerationEvent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTouch", _m_GetTouch_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compensateSensors", _g_get_compensateSensors);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "gyro", _g_get_gyro);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mousePosition", _g_get_mousePosition);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mouseScrollDelta", _g_get_mouseScrollDelta);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mousePresent", _g_get_mousePresent);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "simulateMouseWithTouches", _g_get_simulateMouseWithTouches);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "anyKey", _g_get_anyKey);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "anyKeyDown", _g_get_anyKeyDown);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "inputString", _g_get_inputString);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "acceleration", _g_get_acceleration);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "accelerationEvents", _g_get_accelerationEvents);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "accelerationEventCount", _g_get_accelerationEventCount);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touches", _g_get_touches);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchCount", _g_get_touchCount);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchPressureSupported", _g_get_touchPressureSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "stylusTouchSupported", _g_get_stylusTouchSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchSupported", _g_get_touchSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "multiTouchEnabled", _g_get_multiTouchEnabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "location", _g_get_location);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compass", _g_get_compass);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "deviceOrientation", _g_get_deviceOrientation);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "imeCompositionMode", _g_get_imeCompositionMode);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compositionString", _g_get_compositionString);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "imeIsSelected", _g_get_imeIsSelected);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compositionCursorPos", _g_get_compositionCursorPos);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "backButtonLeavesApp", _g_get_backButtonLeavesApp);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "compensateSensors", _s_set_compensateSensors);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "simulateMouseWithTouches", _s_set_simulateMouseWithTouches);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "multiTouchEnabled", _s_set_multiTouchEnabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "imeCompositionMode", _s_set_imeCompositionMode);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "compositionCursorPos", _s_set_compositionCursorPos);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "backButtonLeavesApp", _s_set_backButtonLeavesApp);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if(LuaAPI.lua_gettop(L) == 1)
                {
                    UnityEngine.Input gen_ret = new UnityEngine.Input();
                    translator.Push(L, gen_ret);
                    return 1;
                }
            }
            catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Input constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAxis_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _axisName = LuaAPI.lua_tostring(L, 1);
                        float gen_ret = UnityEngine.Input.GetAxis( _axisName );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAxisRaw_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _axisName = LuaAPI.lua_tostring(L, 1);
                        float gen_ret = UnityEngine.Input.GetAxisRaw( _axisName );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetButton_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _buttonName = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetButton( _buttonName );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetButtonDown_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _buttonName = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetButtonDown( _buttonName );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetButtonUp_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _buttonName = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetButtonUp( _buttonName );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetKey_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _name = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetKey( _name );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& translator.Assignable<UnityEngine.KeyCode>(L, 1))
                {
                    UnityEngine.KeyCode _key;translator.Get(L, 1, out _key);
                        bool gen_ret = UnityEngine.Input.GetKey( _key );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Input.GetKey!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetKeyDown_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _name = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetKeyDown( _name );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& translator.Assignable<UnityEngine.KeyCode>(L, 1))
                {
                    UnityEngine.KeyCode _key;translator.Get(L, 1, out _key);
                        bool gen_ret = UnityEngine.Input.GetKeyDown( _key );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Input.GetKeyDown!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetKeyUp_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING))
                {
                    string _name = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.GetKeyUp( _name );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 1&& translator.Assignable<UnityEngine.KeyCode>(L, 1))
                {
                    UnityEngine.KeyCode _key;translator.Get(L, 1, out _key);
                        bool gen_ret = UnityEngine.Input.GetKeyUp( _key );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Input.GetKeyUp!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetJoystickNames_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                        string[] gen_ret = UnityEngine.Input.GetJoystickNames(  );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsJoystickPreconfigured_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    string _joystickName = LuaAPI.lua_tostring(L, 1);
                        bool gen_ret = UnityEngine.Input.IsJoystickPreconfigured( _joystickName );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMouseButton_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    int _button = LuaAPI.xlua_tointeger(L, 1);
                        bool gen_ret = UnityEngine.Input.GetMouseButton( _button );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMouseButtonDown_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    int _button = LuaAPI.xlua_tointeger(L, 1);
                        bool gen_ret = UnityEngine.Input.GetMouseButtonDown( _button );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMouseButtonUp_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    int _button = LuaAPI.xlua_tointeger(L, 1);
                        bool gen_ret = UnityEngine.Input.GetMouseButtonUp( _button );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetInputAxes_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    UnityEngine.Input.ResetInputAxes(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAccelerationEvent_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    int _index = LuaAPI.xlua_tointeger(L, 1);
                        UnityEngine.AccelerationEvent gen_ret = UnityEngine.Input.GetAccelerationEvent( _index );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetTouch_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    int _index = LuaAPI.xlua_tointeger(L, 1);
                        UnityEngine.Touch gen_ret = UnityEngine.Input.GetTouch( _index );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_compensateSensors(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.compensateSensors);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_gyro(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.gyro);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mousePosition(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.PushUnityEngineVector3(L, UnityEngine.Input.mousePosition);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mouseScrollDelta(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.PushUnityEngineVector2(L, UnityEngine.Input.mouseScrollDelta);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mousePresent(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.mousePresent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_simulateMouseWithTouches(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.simulateMouseWithTouches);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_anyKey(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.anyKey);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_anyKeyDown(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.anyKeyDown);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_inputString(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushstring(L, UnityEngine.Input.inputString);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_acceleration(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.PushUnityEngineVector3(L, UnityEngine.Input.acceleration);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_accelerationEvents(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.accelerationEvents);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_accelerationEventCount(RealStatePtr L)
        {
            try {
                LuaAPI.xlua_pushinteger(L, UnityEngine.Input.accelerationEventCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_touches(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.touches);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_touchCount(RealStatePtr L)
        {
            try {
                LuaAPI.xlua_pushinteger(L, UnityEngine.Input.touchCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_touchPressureSupported(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.touchPressureSupported);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_stylusTouchSupported(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.stylusTouchSupported);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_touchSupported(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.touchSupported);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_multiTouchEnabled(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.multiTouchEnabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_location(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.location);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_compass(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.compass);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_deviceOrientation(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.deviceOrientation);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_imeCompositionMode(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.Push(L, UnityEngine.Input.imeCompositionMode);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_compositionString(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushstring(L, UnityEngine.Input.compositionString);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_imeIsSelected(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.imeIsSelected);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_compositionCursorPos(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                translator.PushUnityEngineVector2(L, UnityEngine.Input.compositionCursorPos);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_backButtonLeavesApp(RealStatePtr L)
        {
            try {
                LuaAPI.lua_pushboolean(L, UnityEngine.Input.backButtonLeavesApp);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_compensateSensors(RealStatePtr L)
        {
            try {
                UnityEngine.Input.compensateSensors = LuaAPI.lua_toboolean(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_simulateMouseWithTouches(RealStatePtr L)
        {
            try {
                UnityEngine.Input.simulateMouseWithTouches = LuaAPI.lua_toboolean(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_multiTouchEnabled(RealStatePtr L)
        {
            try {
                UnityEngine.Input.multiTouchEnabled = LuaAPI.lua_toboolean(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_imeCompositionMode(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            UnityEngine.IMECompositionMode gen_value;translator.Get(L, 1, out gen_value);
                UnityEngine.Input.imeCompositionMode = gen_value;
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_compositionCursorPos(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            UnityEngine.Vector2 gen_value;translator.Get(L, 1, out gen_value);
                UnityEngine.Input.compositionCursorPos = gen_value;
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_backButtonLeavesApp(RealStatePtr L)
        {
            try {
                UnityEngine.Input.backButtonLeavesApp = LuaAPI.lua_toboolean(L, 1);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
    }
}
Lua/Gen/UnityEngineInputWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a44539c4d58984846adff9d460c1d9fe
timeCreated: 1561519921
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/UnityEngineRectTransformUtilityWrap.cs
New file
@@ -0,0 +1,399 @@
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineRectTransformUtilityWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(UnityEngine.RectTransformUtility);
            Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 11, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RectangleContainsScreenPoint", _m_RectangleContainsScreenPoint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ScreenPointToWorldPointInRectangle", _m_ScreenPointToWorldPointInRectangle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ScreenPointToLocalPointInRectangle", _m_ScreenPointToLocalPointInRectangle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ScreenPointToRay", _m_ScreenPointToRay_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "WorldToScreenPoint", _m_WorldToScreenPoint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "CalculateRelativeRectTransformBounds", _m_CalculateRelativeRectTransformBounds_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlipLayoutOnAxis", _m_FlipLayoutOnAxis_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlipLayoutAxes", _m_FlipLayoutAxes_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PixelAdjustPoint", _m_PixelAdjustPoint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PixelAdjustRect", _m_PixelAdjustRect_xlua_st_);
            Utils.EndClassRegister(type, L, translator);
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "UnityEngine.RectTransformUtility does not have a constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RectangleContainsScreenPoint_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.RectTransform>(L, 1)&& translator.Assignable<UnityEngine.Vector2>(L, 2))
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    UnityEngine.Vector2 _screenPoint;translator.Get(L, 2, out _screenPoint);
                        bool gen_ret = UnityEngine.RectTransformUtility.RectangleContainsScreenPoint( _rect, _screenPoint );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.RectTransform>(L, 1)&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& translator.Assignable<UnityEngine.Camera>(L, 3))
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    UnityEngine.Vector2 _screenPoint;translator.Get(L, 2, out _screenPoint);
                    UnityEngine.Camera _cam = (UnityEngine.Camera)translator.GetObject(L, 3, typeof(UnityEngine.Camera));
                        bool gen_ret = UnityEngine.RectTransformUtility.RectangleContainsScreenPoint( _rect, _screenPoint, _cam );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.RectTransformUtility.RectangleContainsScreenPoint!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ScreenPointToWorldPointInRectangle_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    UnityEngine.Vector2 _screenPoint;translator.Get(L, 2, out _screenPoint);
                    UnityEngine.Camera _cam = (UnityEngine.Camera)translator.GetObject(L, 3, typeof(UnityEngine.Camera));
                    UnityEngine.Vector3 _worldPoint;
                        bool gen_ret = UnityEngine.RectTransformUtility.ScreenPointToWorldPointInRectangle( _rect, _screenPoint, _cam, out _worldPoint );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.PushUnityEngineVector3(L, _worldPoint);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ScreenPointToLocalPointInRectangle_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    UnityEngine.Vector2 _screenPoint;translator.Get(L, 2, out _screenPoint);
                    UnityEngine.Camera _cam = (UnityEngine.Camera)translator.GetObject(L, 3, typeof(UnityEngine.Camera));
                    UnityEngine.Vector2 _localPoint;
                        bool gen_ret = UnityEngine.RectTransformUtility.ScreenPointToLocalPointInRectangle( _rect, _screenPoint, _cam, out _localPoint );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    translator.PushUnityEngineVector2(L, _localPoint);
                    return 2;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ScreenPointToRay_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.Camera _cam = (UnityEngine.Camera)translator.GetObject(L, 1, typeof(UnityEngine.Camera));
                    UnityEngine.Vector2 _screenPos;translator.Get(L, 2, out _screenPos);
                        UnityEngine.Ray gen_ret = UnityEngine.RectTransformUtility.ScreenPointToRay( _cam, _screenPos );
                        translator.PushUnityEngineRay(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_WorldToScreenPoint_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.Camera _cam = (UnityEngine.Camera)translator.GetObject(L, 1, typeof(UnityEngine.Camera));
                    UnityEngine.Vector3 _worldPoint;translator.Get(L, 2, out _worldPoint);
                        UnityEngine.Vector2 gen_ret = UnityEngine.RectTransformUtility.WorldToScreenPoint( _cam, _worldPoint );
                        translator.PushUnityEngineVector2(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CalculateRelativeRectTransformBounds_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 1&& translator.Assignable<UnityEngine.Transform>(L, 1))
                {
                    UnityEngine.Transform _trans = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
                        UnityEngine.Bounds gen_ret = UnityEngine.RectTransformUtility.CalculateRelativeRectTransformBounds( _trans );
                        translator.PushUnityEngineBounds(L, gen_ret);
                    return 1;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Transform>(L, 1)&& translator.Assignable<UnityEngine.Transform>(L, 2))
                {
                    UnityEngine.Transform _root = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
                    UnityEngine.Transform _child = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                        UnityEngine.Bounds gen_ret = UnityEngine.RectTransformUtility.CalculateRelativeRectTransformBounds( _root, _child );
                        translator.PushUnityEngineBounds(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.RectTransformUtility.CalculateRelativeRectTransformBounds!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlipLayoutOnAxis_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    int _axis = LuaAPI.xlua_tointeger(L, 2);
                    bool _keepPositioning = LuaAPI.lua_toboolean(L, 3);
                    bool _recursive = LuaAPI.lua_toboolean(L, 4);
                    UnityEngine.RectTransformUtility.FlipLayoutOnAxis( _rect, _axis, _keepPositioning, _recursive );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlipLayoutAxes_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    bool _keepPositioning = LuaAPI.lua_toboolean(L, 2);
                    bool _recursive = LuaAPI.lua_toboolean(L, 3);
                    UnityEngine.RectTransformUtility.FlipLayoutAxes( _rect, _keepPositioning, _recursive );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PixelAdjustPoint_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.Vector2 _point;translator.Get(L, 1, out _point);
                    UnityEngine.Transform _elementTransform = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
                    UnityEngine.Canvas _canvas = (UnityEngine.Canvas)translator.GetObject(L, 3, typeof(UnityEngine.Canvas));
                        UnityEngine.Vector2 gen_ret = UnityEngine.RectTransformUtility.PixelAdjustPoint( _point, _elementTransform, _canvas );
                        translator.PushUnityEngineVector2(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PixelAdjustRect_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    UnityEngine.RectTransform _rectTransform = (UnityEngine.RectTransform)translator.GetObject(L, 1, typeof(UnityEngine.RectTransform));
                    UnityEngine.Canvas _canvas = (UnityEngine.Canvas)translator.GetObject(L, 2, typeof(UnityEngine.Canvas));
                        UnityEngine.Rect gen_ret = UnityEngine.RectTransformUtility.PixelAdjustRect( _rectTransform, _canvas );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
    }
}
Lua/Gen/UnityEngineRectTransformUtilityWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 53162ab8f16a8bf44a000ebdacaee546
timeCreated: 1561519921
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/UnityEngineUIButtonWrap.cs
@@ -259,7 +259,21 @@
                UnityEngine.UI.Button gen_to_be_invoked = (UnityEngine.UI.Button)translator.FastGetCSObj(L, 1);
            
            
                int gen_param_count = LuaAPI.lua_gettop(L);
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.UI.Text>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                {
                    UnityEngine.UI.Text __btnTxt = (UnityEngine.UI.Text)translator.GetObject(L, 2, typeof(UnityEngine.UI.Text));
                    bool __colorful = LuaAPI.lua_toboolean(L, 3);
                    int _pattern = LuaAPI.xlua_tointeger(L, 4);
                    gen_to_be_invoked.SetColorful( __btnTxt, __colorful, _pattern );
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.UI.Text>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
                {
                    UnityEngine.UI.Text __btnTxt = (UnityEngine.UI.Text)translator.GetObject(L, 2, typeof(UnityEngine.UI.Text));
                    bool __colorful = LuaAPI.lua_toboolean(L, 3);
@@ -275,6 +289,8 @@
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.Button.SetColorful!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
Lua/Gen/XLuaGenAutoRegister.cs
@@ -160,6 +160,9 @@
            translator.DelayWrapLoader(typeof(DamageNumConfig), DamageNumConfigWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(DemonJarConfig), DemonJarConfigWrap.__Register);
            translator.DelayWrapLoader(typeof(DemonRecommondPropertyConfig), DemonRecommondPropertyConfigWrap.__Register);
        
        
@@ -607,6 +610,9 @@
            translator.DelayWrapLoader(typeof(SkyTowerConfig), SkyTowerConfigWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(SpiritWeaponConfig), SpiritWeaponConfigWrap.__Register);
            translator.DelayWrapLoader(typeof(StoreConfig), StoreConfigWrap.__Register);
        
        
@@ -927,6 +933,12 @@
            translator.DelayWrapLoader(typeof(System.Enum), SystemEnumWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(UnityEngine.RectTransformUtility), UnityEngineRectTransformUtilityWrap.__Register);
            translator.DelayWrapLoader(typeof(UnityEngine.Input), UnityEngineInputWrap.__Register);
            translator.DelayWrapLoader(typeof(ModelUtility), ModelUtilityWrap.__Register);
        
        
@@ -947,16 +959,16 @@
        
            translator.DelayWrapLoader(typeof(AssetVersionUtility), AssetVersionUtilityWrap.__Register);
        
        }
        static void wrapInit6(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(DownLoadAndDiscompressTask), DownLoadAndDiscompressTaskWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(InGameDownLoad), InGameDownLoadWrap.__Register);
        
        }
        static void wrapInit6(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.AuctionNewGetShowModel), SnxxzUIAuctionNewGetShowModelWrap.__Register);
        
@@ -1104,16 +1116,16 @@
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.FashionDressModel), SnxxzUIFashionDressModelWrap.__Register);
        
        }
        static void wrapInit7(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.BossHomeModel), SnxxzUIBossHomeModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.DemonJarModel), SnxxzUIDemonJarModelWrap.__Register);
        
        }
        static void wrapInit7(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.ElderGodAreaModel), SnxxzUIElderGodAreaModelWrap.__Register);
        
@@ -1261,16 +1273,16 @@
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineOnHookModel), SnxxzUIOffLineOnHookModelWrap.__Register);
        
        }
        static void wrapInit8(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.PKModel), SnxxzUIPKModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.StoryMissionsModel), SnxxzUIStoryMissionsModelWrap.__Register);
        
        }
        static void wrapInit8(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.TaskAllocation), SnxxzUITaskAllocationWrap.__Register);
        
@@ -1407,6 +1419,9 @@
            translator.DelayWrapLoader(typeof(Snxxz.UI.RuneTowerModel), SnxxzUIRuneTowerModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.ExpertSkillSelectWin), SnxxzUIExpertSkillSelectWinWrap.__Register);
            translator.DelayWrapLoader(typeof(QuickSetting), QuickSettingWrap.__Register);
        
        
@@ -1415,6 +1430,10 @@
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.TalentModel), SnxxzUITalentModelWrap.__Register);
        
        }
        static void wrapInit9(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureSkillModel), SnxxzUITreasureSkillModelWrap.__Register);
        
@@ -1424,10 +1443,6 @@
        
            translator.DelayWrapLoader(typeof(CoroutineMgr), CoroutineMgrWrap.__Register);
        
        }
        static void wrapInit9(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(BuyItemController), BuyItemControllerWrap.__Register);
        
@@ -1572,8 +1587,15 @@
        
            translator.DelayWrapLoader(typeof(TimeDownMgr), TimeDownMgrWrap.__Register);
        
        }
        static void wrapInit10(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.UI3DModelExhibition), SnxxzUIUI3DModelExhibitionWrap.__Register);
            translator.DelayWrapLoader(typeof(UIDragDropBehaviour), UIDragDropBehaviourWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(ButtonEx), ButtonExWrap.__Register);
@@ -1581,10 +1603,6 @@
        
            translator.DelayWrapLoader(typeof(ImageEx), ImageExWrap.__Register);
        
        }
        static void wrapInit10(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.UIAlphaTween), SnxxzUIUIAlphaTweenWrap.__Register);
        
@@ -1726,6 +1744,10 @@
        
            translator.DelayWrapLoader(typeof(MapType), MapTypeWrap.__Register);
        
        }
        static void wrapInit11(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(GuideType), GuideTypeWrap.__Register);
        
@@ -1738,10 +1760,6 @@
        
            translator.DelayWrapLoader(typeof(E_AtkType), E_AtkTypeWrap.__Register);
        
        }
        static void wrapInit11(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(GameObjType), GameObjTypeWrap.__Register);
        
@@ -1873,6 +1891,8 @@
            
            translator.AddInterfaceBridgeCreator(typeof(Snxxz.UI.ILuaOpenServerActivity), SnxxzUIILuaOpenServerActivityBridge.__Create);
            
            translator.AddInterfaceBridgeCreator(typeof(Snxxz.UI.ISkillMatch), SnxxzUIISkillMatchBridge.__Create);
        }
        
        static XLua_Gen_Initer_Register__()
Lua/Gen/link.xml
@@ -206,7 +206,7 @@
        <type fullname="SkillConfig" preserve="all"/>
        <type fullname="SkillFrameAnimationConfig" preserve="all"/>
        <type fullname="SkyTowerConfig" preserve="all"/>
        <type fullname="SpiritWeaponPropertyConfig" preserve="all"/>
        <type fullname="SpiritWeaponConfig" preserve="all"/>
        <type fullname="StoreConfig" preserve="all"/>
        <type fullname="StoryMissionsConfig" preserve="all"/>
        <type fullname="SuccessConfig" preserve="all"/>
@@ -434,6 +434,7 @@
        <type fullname="Snxxz.UI.RuneModel" preserve="all"/>
        <type fullname="Snxxz.UI.RuneResolveModel" preserve="all"/>
        <type fullname="Snxxz.UI.RuneTowerModel" preserve="all"/>
        <type fullname="Snxxz.UI.ExpertSkillSelectWin" preserve="all"/>
        <type fullname="QuickSetting" preserve="all"/>
        <type fullname="Snxxz.UI.SkillModel" preserve="all"/>
        <type fullname="Snxxz.UI.TalentModel" preserve="all"/>
@@ -489,6 +490,7 @@
        <type fullname="Snxxz.UI.ItemBehaviour" preserve="all"/>
        <type fullname="TimeDownMgr" preserve="all"/>
        <type fullname="Snxxz.UI.UI3DModelExhibition" preserve="all"/>
        <type fullname="UIDragDropBehaviour" preserve="all"/>
        <type fullname="ButtonEx" preserve="all"/>
        <type fullname="ImageEx" preserve="all"/>
        <type fullname="Snxxz.UI.UIAlphaTween" preserve="all"/>
@@ -611,6 +613,8 @@
        <type fullname="UnityEngine.Light" preserve="all"/>
        <type fullname="UnityEngine.Mathf" preserve="all"/>
        <type fullname="UnityEngine.Debug" preserve="all"/>
        <type fullname="UnityEngine.RectTransformUtility" preserve="all"/>
        <type fullname="UnityEngine.Input" preserve="all"/>
        
    </assembly>
Lua/LuaGenEx.cs
@@ -48,6 +48,8 @@
                typeof(RawImage),
                typeof(InputField),
                typeof(Enum),
                typeof(RectTransformUtility),
                typeof(Input),
            };
    //C#静态调用Lua的配置(包括事件的原型),仅可以配delegate,interface
System/FairyAu/FairyLeagueModel.cs
@@ -578,15 +578,7 @@
        public string fairyLeagueFairyName { get; private set; }
        public event Action UpdateWarRankEvent;
        public bool IsAlreadyBattleGuide()
        {
            return QuickSetting.Instance.GetQuickSettingBool(QuickSetting.QuickSettingType.FairyLeagueGuide, 0);
        }
        public void SetBattleGuide()
        {
            QuickSetting.Instance.SetQuickSetting(QuickSetting.QuickSettingType.FairyLeagueGuide, true);
            QuickSetting.Instance.SendPackage();
        }
        public List<FairyLeagueResultData> fairyLeagueResults = new List<FairyLeagueResultData>();
        public void UpdateFairyResult(HB210_tagMCFamilyWarBillboard _package)
        {
System/Skill/ExpertSkillSelectWin.cs
@@ -11,7 +11,7 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
    public class ExpertSkillSelectWin : Window
    {
        [SerializeField] Image m_SkillIcon;
@@ -30,7 +30,7 @@
        bool firstActive = false;
        bool openByTreasure = false;
        bool openFromOtherWindow = false;
        List<int> datas = new List<int>();
@@ -52,7 +52,8 @@
        protected override void OnPreOpen()
        {
            model.expertActiveRefresh += ExpertActiveRefresh;
            openByTreasure = WindowCenter.Instance.IsOpen<TreasureBaseWin>();
            openFromOtherWindow = WindowCenter.Instance.IsOpen<TreasureBaseWin>()
                || WindowCenter.Instance.IsOpen("SkillMatchWin");
            firstActive = false;
        }
@@ -138,10 +139,10 @@
                var satisfyActive = model.SatisfyActiveExpert(skillId, out error);
                m_Active.gameObject.SetActive((satisfyActive || error == 3)
                    && !firstActive && !openByTreasure);
                    && !firstActive && !openFromOtherWindow);
                if ((satisfyActive || error == 3)
                    && !firstActive && !openByTreasure)
                    && !firstActive && !openFromOtherWindow)
                {
                    if (satisfyActive && !m_ActiveEffect.IsPlaying)
                    {
System/Skill/QuickSetting.cs
@@ -13,12 +13,11 @@
{
    public QuickSetting()
    {
        quickSettingDic.Add(QuickSettingType.Skill, new QuickSettingRange(QuickSettingType.Skill, 30, 3));
        quickSettingDic.Add(QuickSettingType.FairyLeagueGuide, new QuickSettingRange(QuickSettingType.FairyLeagueGuide, 1));
        quickSettingDic.Add(QuickSettingType.AutoUseXp, new QuickSettingRange(QuickSettingType.AutoUseXp, 1));
        quickSettingDic.Add(QuickSettingType.SpAnim, new QuickSettingRange(QuickSettingType.SpAnim, 10));
        quickSettingDic.Add(QuickSettingType.TreasureHighestAnim, new QuickSettingRange(QuickSettingType.TreasureHighestAnim, 10));
        quickSettingDic.Add(QuickSettingType.GatherSoulAutoResolve, new QuickSettingRange(QuickSettingType.GatherSoulAutoResolve, 1));
        quickSettingDic.Add(QuickSettingType.Skill, new QuickSettingRange(QuickSettingType.Skill, 0, 30, 3));
        quickSettingDic.Add(QuickSettingType.SkillMatchPage, new QuickSettingRange(QuickSettingType.SkillMatchPage, 30, 1));
        quickSettingDic.Add(QuickSettingType.AutoUseXp, new QuickSettingRange(QuickSettingType.AutoUseXp, 31, 1));
        quickSettingDic.Add(QuickSettingType.SkillMatch, new QuickSettingRange(QuickSettingType.SkillMatch, 32, 45, 1));
        quickSettingDic.Add(QuickSettingType.GatherSoulAutoResolve, new QuickSettingRange(QuickSettingType.GatherSoulAutoResolve, 80, 1));
        setting = new string(UCharacter, 100);
        DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += BeforePlayerDataInitializeEvent;
    }
@@ -28,6 +27,8 @@
    private string setting;
    private StringBuilder textBuilder = new StringBuilder();
    public event Action onQuickSettingUpdate;
    public void SetQuickSetting<T>(QuickSettingType type, T value, int index = 0) where T : struct
    {
        SetQuickSetting(type, value.ToString(), index);
@@ -36,10 +37,16 @@
    {
        SetQuickSetting<int>(type, value ? 1 : 0, index);
    }
    public void SetQuickSetting(int type, string value, int index)
    {
        SetQuickSetting((QuickSettingType)type, value, index);
    }
    public void SetQuickSetting(QuickSettingType type, string value, int index)
    {
        var quickRange = quickSettingDic[type];
        if (index * quickRange.single + value.Length > quickRange.length || value.Length > quickRange.single)
        if ((index - quickRange.index) * quickRange.single + value.Length > quickRange.length || value.Length > quickRange.single)
        {
            DebugEx.LogErrorFormat("存储的数据超过最大长度!{0}", type);
            return;
@@ -71,6 +78,11 @@
            PlayerDatas.Instance.baseData.Setting = setting;
        }
        PlayerDatas.Instance.skill.SetQuickSkills();
        if (onQuickSettingUpdate != null)
        {
            onQuickSettingUpdate();
        }
    }
    public T GetQuickSettingValue<T>(QuickSettingType type, int index) where T : struct
@@ -102,6 +114,11 @@
        return _value == 1;
    }
    public string GetQuickSetting(int type, int index)
    {
        return GetQuickSetting((QuickSettingType)type, index);
    }
    public void SendPackage()
    {
        C0303_tagCSetShutCutData vNetData = new C0303_tagCSetShutCutData();
@@ -119,28 +136,24 @@
    public enum QuickSettingType
    {
        Skill,
        FairyLeagueGuide,
        SkillMatchPage,
        AutoUseXp,
        SpAnim,
        TreasureHighestAnim,
        SkillMatch,
        GatherSoulAutoResolve
    }
    public struct QuickSettingRange
    {
        private static int presentIndex = 0;
        public QuickSettingType type;
        public int index;
        public int length;
        public int single;
        public QuickSettingRange(QuickSettingType type, int length, int single = 0)
        public QuickSettingRange(QuickSettingType type, int start, int length, int single = 0)
        {
            this.type = type;
            this.index = presentIndex;
            this.index = start;
            this.length = length;
            this.single = single == 0 ? length : single;
            presentIndex += length;
        }
    }
}
System/Skill/SkillAccordWin.cs
@@ -38,6 +38,7 @@
        [SerializeField] SkillTurnplate m_SkillTurnplate;
        [SerializeField] Button m_AutoUseXp;
        [SerializeField] Image m_AutoXpCheck;
        [SerializeField] Button m_SkillMatch;
        private List<int> skillListAct = new List<int>();
        private bool onXpCoolDown = false;
@@ -85,6 +86,10 @@
                    UpdateSkillPage();
                }
            });
            m_SkillMatch.AddListener(() =>
            {
                WindowCenter.Instance.Open("SkillMatchWin");
            });
            for (int i = 0; i < m_QuickSkills.Count; i++)
            {
                int index = i;
System/Skill/SkillModel.cs
@@ -16,6 +16,12 @@
            ParseConfig();
            FuncOpen.Instance.OnFuncStateChangeEvent += OnFuncStateChangeEvent;
            TaskModel.Event_TaskInformation += TaskInformationUpdate;
            ISkillMatch skillMatch = LuaUtility.Global.Get<ISkillMatch>("SkillMatchModel");
            if (skillMatch != null)
            {
                skillMatch.onSkillMatchPageUpdate += OnSkillMatchPageUpdate;
            }
        }
        public override void UnInit()
@@ -708,6 +714,34 @@
                //UpdateTaskHoleRedpoint();
            }
        }
        public event Action onSkillMatchPageUpdate;
        private void OnSkillMatchPageUpdate()
        {
            if (onSkillMatchPageUpdate != null)
            {
                onSkillMatchPageUpdate();
            }
            var list = GetSkillMatchs();
            if (list != null)
            {
                foreach (var item in list)
                {
                    Debug.Log(item);
                }
            }
        }
        public List<int> GetSkillMatchs()
        {
            ISkillMatch skillMatch = LuaUtility.Global.Get<ISkillMatch>("SkillMatchModel");
            if (skillMatch != null)
            {
                return skillMatch.GetSkills();
            }
            return null;
        }
    }
    public struct PassSkillLimit
@@ -765,5 +799,12 @@
            }
        }
    }
    [XLua.CSharpCallLua]
    public interface ISkillMatch
    {
        List<int> GetSkills();
        event Action onSkillMatchPageUpdate;
    }
}
UI/Common/UIDragDropBehaviour.cs
New file
@@ -0,0 +1,83 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
[XLua.LuaCallCSharp]
public class UIDragDropBehaviour : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerExitHandler, IPointerEnterHandler
{
    public static bool draging = false;
    public static int dragData = 0;
    [HideInInspector] public int data;
    const float dragDelay = 0.2f;
    bool m_AllowDragDrop = true;
    bool m_OnPress = false;
    bool m_AllowClick = false;
    float m_Time = 0.0f;
    public event Action<int> onClick;
    public void Init(int data)
    {
        this.data = data;
    }
    public void SetDragDropState(bool allow)
    {
        m_AllowDragDrop = allow;
    }
    public void OnPointerDown(PointerEventData eventData)
    {
        draging = false;
        m_AllowClick = true;
        if (!m_AllowDragDrop)
        {
            return;
        }
        m_OnPress = true;
    }
    public void OnPointerEnter(PointerEventData eventData)
    {
        m_AllowClick = true;
    }
    public void OnPointerExit(PointerEventData eventData)
    {
        m_AllowClick = false;
    }
    public void OnPointerUp(PointerEventData eventData)
    {
        var position = Input.mousePosition;
        if (!draging && m_AllowClick)
        {
            if (onClick != null)
            {
                onClick(data);
            }
        }
        m_OnPress = false;
    }
    private void LateUpdate()
    {
        if (m_OnPress && !draging)
        {
            m_Time += Time.deltaTime;
            if (m_Time > dragDelay)
            {
                dragData = data;
                draging = true;
                m_Time = 0;
                m_OnPress = false;
            }
        }
    }
}
UI/Common/UIDragDropBehaviour.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 9210057b649c7f94ca264627a90ab320
timeCreated: 1561516753
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant: