#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 SnxxzUISkillModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.SkillModel); Utils.BeginObjectRegister(type, L, translator, 0, 33, 24, 15); 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, "GetQuickBaseSkillArray", _m_GetQuickBaseSkillArray); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuickSkillIdByPos", _m_GetQuickSkillIdByPos); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXpSkillID", _m_GetXpSkillID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshSltSkill", _m_RefreshSltSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "AutoUseXp", _m_AutoUseXp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAutoUseXp", _m_SetAutoUseXp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetEquipPassSkills", _m_TryGetEquipPassSkills); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendEquipPassSkills", _m_SendEquipPassSkills); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsTaskHoleUnlock", _m_IsTaskHoleUnlock); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendEquipPassSkill", _m_SendEquipPassSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendEquipPage", _m_SendEquipPage); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPassSkillHoleOpen", _m_IsPassSkillHoleOpen); Utils.RegisterFunc(L, Utils.METHOD_IDX, "PassOpenHoleCount", _m_PassOpenHoleCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetPassSkillLimit", _m_TryGetPassSkillLimit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateEquipPassSkills", _m_UpdateEquipPassSkills); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateEquipPassPage", _m_UpdateEquipPassPage); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateEquipPassSkill", _m_UpdateEquipPassSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetEquipPassSkill", _m_SetEquipPassSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckEquipPassSkill", _m_CheckEquipPassSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ContainsEquipPassSkill", _m_ContainsEquipPassSkill); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipPassSkillCnt", _m_GetEquipPassSkillCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipPassSkillCount", _m_GetEquipPassSkillCount); 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, "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.GETTER_IDX, "passEquipCnt", _g_get_passEquipCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillActDict", _g_get_skillActDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "betterPassSkills", _g_get_betterPassSkills); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToPass", _g_get_jumpToPass); Utils.RegisterFunc(L, Utils.GETTER_IDX, "minTaskHole", _g_get_minTaskHole); Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxTaskHole", _g_get_maxTaskHole); Utils.RegisterFunc(L, Utils.GETTER_IDX, "xpSkill", _g_get_xpSkill); Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentEquipPage", _g_get_presentEquipPage); Utils.RegisterFunc(L, Utils.GETTER_IDX, "taskHoleDict", _g_get_taskHoleDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipPassPage", _g_get_equipPassPage); Utils.RegisterFunc(L, Utils.GETTER_IDX, "taskHoleCondition", _g_get_taskHoleCondition); Utils.RegisterFunc(L, Utils.GETTER_IDX, "UnlockPassHole", _g_get_UnlockPassHole); Utils.RegisterFunc(L, Utils.GETTER_IDX, "passSkillLimits", _g_get_passSkillLimits); Utils.RegisterFunc(L, Utils.GETTER_IDX, "passEquipGetWays", _g_get_passEquipGetWays); Utils.RegisterFunc(L, Utils.GETTER_IDX, "passEquipGetWayTxts", _g_get_passEquipGetWayTxts); Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSltSkillID", _g_get_presentSltSkillID); Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillDraging", _g_get_skillDraging); Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillDragId", _g_get_skillDragId); Utils.RegisterFunc(L, Utils.GETTER_IDX, "onDragDelay", _g_get_onDragDelay); Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSltPage", _g_get_presentSltPage); Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerLoginOk", _g_get_playerLoginOk); Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillRedpoint", _g_get_skillRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "passSkillRedpoint", _g_get_passSkillRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "passSkillHoleRedpoints", _g_get_passSkillHoleRedpoints); Utils.RegisterFunc(L, Utils.SETTER_IDX, "jumpToPass", _s_set_jumpToPass); Utils.RegisterFunc(L, Utils.SETTER_IDX, "equipPassPage", _s_set_equipPassPage); Utils.RegisterFunc(L, Utils.SETTER_IDX, "UnlockPassHole", _s_set_UnlockPassHole); Utils.RegisterFunc(L, Utils.SETTER_IDX, "passSkillLimits", _s_set_passSkillLimits); Utils.RegisterFunc(L, Utils.SETTER_IDX, "passEquipGetWays", _s_set_passEquipGetWays); Utils.RegisterFunc(L, Utils.SETTER_IDX, "passEquipGetWayTxts", _s_set_passEquipGetWayTxts); Utils.RegisterFunc(L, Utils.SETTER_IDX, "presentSltSkillID", _s_set_presentSltSkillID); Utils.RegisterFunc(L, Utils.SETTER_IDX, "skillDraging", _s_set_skillDraging); Utils.RegisterFunc(L, Utils.SETTER_IDX, "skillDragId", _s_set_skillDragId); Utils.RegisterFunc(L, Utils.SETTER_IDX, "onDragDelay", _s_set_onDragDelay); Utils.RegisterFunc(L, Utils.SETTER_IDX, "presentSltPage", _s_set_presentSltPage); Utils.RegisterFunc(L, Utils.SETTER_IDX, "playerLoginOk", _s_set_playerLoginOk); Utils.RegisterFunc(L, Utils.SETTER_IDX, "skillRedpoint", _s_set_skillRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "passSkillRedpoint", _s_set_passSkillRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "passSkillHoleRedpoints", _s_set_passSkillHoleRedpoints); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 7, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ACT_SKILL_NUM", Snxxz.UI.SkillModel.ACT_SKILL_NUM); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PASS_SKILL_TYPE", Snxxz.UI.SkillModel.PASS_SKILL_TYPE); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ACT_SKILL_TYPE", Snxxz.UI.SkillModel.ACT_SKILL_TYPE); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PASS_SKILL_NUM", Snxxz.UI.SkillModel.PASS_SKILL_NUM); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "QUICK_SKILL_COUNT", Snxxz.UI.SkillModel.QUICK_SKILL_COUNT); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TASKHOLEKEY", Snxxz.UI.SkillModel.TASKHOLEKEY); 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.SkillModel gen_ret = new Snxxz.UI.SkillModel(); 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.SkillModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Init( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UnInit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UnInit( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnBeforePlayerDataInitialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnBeforePlayerDataInitialize( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetQuickBaseSkillArray(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int _occupy = LuaAPI.xlua_tointeger(L, 2); int[] gen_ret = gen_to_be_invoked.GetQuickBaseSkillArray( _occupy ); 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_GetQuickSkillIdByPos(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int _pos = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetQuickSkillIdByPos( _pos ); 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_GetXpSkillID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetXpSkillID( ); 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_RefreshSltSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RefreshSltSkill( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_AutoUseXp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.AutoUseXp( ); 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_SetAutoUseXp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { bool __auto = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.SetAutoUseXp( __auto ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_TryGetEquipPassSkills(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int _page = LuaAPI.xlua_tointeger(L, 2); int _hole = LuaAPI.xlua_tointeger(L, 3); int __skillId; bool gen_ret = gen_to_be_invoked.TryGetEquipPassSkills( _page, _hole, out __skillId ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, __skillId); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendEquipPassSkills(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __skillId = LuaAPI.xlua_tointeger(L, 2); int __hole = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendEquipPassSkills( __skillId, __hole ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsTaskHoleUnlock(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int _condition = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsTaskHoleUnlock( _condition ); 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_SendEquipPassSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __page = LuaAPI.xlua_tointeger(L, 2); int __index = LuaAPI.xlua_tointeger(L, 3); int __skillId = LuaAPI.xlua_tointeger(L, 4); gen_to_be_invoked.SendEquipPassSkill( __page, __index, __skillId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendEquipPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SendEquipPage( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsPassSkillHoleOpen(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsPassSkillHoleOpen( __hole ); 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_PassOpenHoleCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.PassOpenHoleCount( ); 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_TryGetPassSkillLimit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __hole = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.PassSkillLimit __limit; bool gen_ret = gen_to_be_invoked.TryGetPassSkillLimit( __hole, out __limit ); LuaAPI.lua_pushboolean(L, gen_ret); translator.Push(L, __limit); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateEquipPassSkills(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { HB406_tagMCPassiveSet _package = (HB406_tagMCPassiveSet)translator.GetObject(L, 2, typeof(HB406_tagMCPassiveSet)); gen_to_be_invoked.UpdateEquipPassSkills( _package ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateEquipPassPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { HB407_tagMCPassivePage _package = (HB407_tagMCPassivePage)translator.GetObject(L, 2, typeof(HB407_tagMCPassivePage)); gen_to_be_invoked.UpdateEquipPassPage( _package ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateEquipPassSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { HB408_tagMCPassiveSetAnswer _package = (HB408_tagMCPassiveSetAnswer)translator.GetObject(L, 2, typeof(HB408_tagMCPassiveSetAnswer)); gen_to_be_invoked.UpdateEquipPassSkill( _package ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetEquipPassSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __page = LuaAPI.xlua_tointeger(L, 2); int __index = LuaAPI.xlua_tointeger(L, 3); int __skillId = LuaAPI.xlua_tointeger(L, 4); gen_to_be_invoked.SetEquipPassSkill( __page, __index, __skillId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnPlayerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnPlayerLoginOk( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckEquipPassSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { PlayerSkillData __skill = (PlayerSkillData)translator.GetObject(L, 2, typeof(PlayerSkillData)); gen_to_be_invoked.CheckEquipPassSkill( __skill ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ContainsEquipPassSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __skillId = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.ContainsEquipPassSkill( __skillId ); 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_GetEquipPassSkillCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetEquipPassSkillCnt( ); 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_GetEquipPassSkillCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int __page = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetEquipPassSkillCount( __page ); 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_SetDayRemind(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetDayRemind( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsImmediatelyUnlock(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsImmediatelyUnlock( _hole ); 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_SetTaskHoleRemind(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetTaskHoleRemind( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passEquipCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.passEquipCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_skillActDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.skillActDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_betterPassSkills(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.betterPassSkills); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jumpToPass(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.jumpToPass); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_minTaskHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.minTaskHole); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_maxTaskHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxTaskHole); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_xpSkill(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.xpSkill); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_presentEquipPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentEquipPage); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_taskHoleDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.taskHoleDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_equipPassPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.equipPassPage); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_taskHoleCondition(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, gen_to_be_invoked.taskHoleCondition); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_UnlockPassHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.UnlockPassHole); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passSkillLimits(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.passSkillLimits); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passEquipGetWays(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.passEquipGetWays); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passEquipGetWayTxts(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.passEquipGetWayTxts); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_presentSltSkillID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentSltSkillID); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_skillDraging(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.skillDraging); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_skillDragId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.skillDragId); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_onDragDelay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.onDragDelay); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_presentSltPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentSltPage); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_playerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.playerLoginOk); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_skillRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.skillRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passSkillRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.passSkillRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_passSkillHoleRedpoints(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.passSkillHoleRedpoints); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_jumpToPass(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.jumpToPass = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_equipPassPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.equipPassPage = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_UnlockPassHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.UnlockPassHole = 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 _s_set_passSkillLimits(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.passSkillLimits = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_passEquipGetWays(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.passEquipGetWays = (System.Collections.Generic.Dictionary)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_passEquipGetWayTxts(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.passEquipGetWayTxts = (System.Collections.Generic.Dictionary)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_presentSltSkillID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.presentSltSkillID = 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 _s_set_skillDraging(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.skillDraging = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_skillDragId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.skillDragId = 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 _s_set_onDragDelay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.onDragDelay = (float)LuaAPI.lua_tonumber(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_presentSltPage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.presentSltPage = 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 _s_set_playerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.playerLoginOk = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_skillRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.skillRedpoint = (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))] static int _s_set_passSkillRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.passSkillRedpoint = (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))] static int _s_set_passSkillHoleRedpoints(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.passSkillHoleRedpoints = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshSltSkill(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(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.OnRefreshSltSkill += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshSltSkill -= 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.OnRefreshSltSkill!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnAutoUseXpEvent(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(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.OnAutoUseXpEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnAutoUseXpEvent -= 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.OnAutoUseXpEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UpdatePassEquipSkillEvent(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(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.UpdatePassEquipSkillEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdatePassEquipSkillEvent -= 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.UpdatePassEquipSkillEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_taskUnlockUpdate(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(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.taskUnlockUpdate += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.taskUnlockUpdate -= 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.taskUnlockUpdate!"); return 0; } } }