#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 SnxxzUIRuneModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.RuneModel); Utils.BeginObjectRegister(type, L, translator, 0, 59, 25, 12); 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, "GetRuneMaxLevel", _m_GetRuneMaxLevel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneMaxLevelByItem", _m_GetRuneMaxLevelByItem); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneAttrStr", _m_GetRuneAttrStr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneAttrVal", _m_GetRuneAttrVal); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneNeedExp", _m_GetRuneNeedExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneSoulBreakExp", _m_GetRuneSoulBreakExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneBreakExp", _m_GetRuneBreakExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneLevelByExp", _m_GetRuneLevelByExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRedpoint", _m_GetRedpoint); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDayRemind", _m_SetDayRemind); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRedpoint", _m_UpdateRedpoint); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBreakRedpoint", _m_UpdateBreakRedpoint); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanLevelUpRune", _m_CanLevelUpRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanMosaicRune", _m_CanMosaicRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDoublePropLimitCount", _m_GetDoublePropLimitCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCurrentDoublePropCount", _m_GetCurrentDoublePropCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRuneChip", _m_SetRuneChip); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRuneSplinters", _m_SetRuneSplinters); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRunePackRefresh", _m_OnRunePackRefresh); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRunePackClear", _m_OnRunePackClear); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRuneHoleRefresh", _m_OnRuneHoleRefresh); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockSpecialHole", _m_UnlockSpecialHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "TestUnlockSpeicalHole", _m_TestUnlockSpeicalHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessUnlockError", _m_ProcessUnlockError); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResolveFusionStone", _m_ResolveFusionStone); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSpeicalHole", _m_IsSpeicalHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsRuneHoleOpen", _m_IsRuneHoleOpen); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHoleRune", _m_GetHoleRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllRuneData", _m_GetAllRuneData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHoleRuneCnt", _m_GetHoleRuneCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEmptyHole", _m_IsEmptyHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPackRune", _m_GetPackRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRuneCountById", _m_GetRuneCountById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllUnlockRuneIdlist", _m_GetAllUnlockRuneIdlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanEquipRune", _m_CanEquipRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanEquipBetterRune", _m_CanEquipBetterRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBetterRune", _m_IsBetterRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanEquipHoleRune", _m_CanEquipHoleRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRuneTowerRefresh", _m_OnRuneTowerRefresh); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSameInHoleRune", _m_IsSameInHoleRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSameRune", _m_IsSameRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SameRuneHole", _m_SameRuneHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOpenTowerCnt", _m_GetOpenTowerCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearRuneData", _m_ClearRuneData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "JumpToRuneCompose", _m_JumpToRuneCompose); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMaxLevelRuneCnt", _m_GetMaxLevelRuneCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBreakRune", _m_UpdateBreakRune); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshRuneHole", _e_OnRefreshRuneHole); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshRunePack", _e_OnRefreshRunePack); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshRuneExp", _e_OnRefreshRuneExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshRuneChip", _e_OnRefreshRuneChip); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshRuneTowerLv", _e_OnRefreshRuneTowerLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "openNewHoleEvent", _e_openNewHoleEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "JumpToComposeEvent", _e_JumpToComposeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshBreakRune", _e_OnRefreshBreakRune); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeUnlockArray", _g_get_runeUnlockArray); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeExpAddition", _g_get_runeExpAddition); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeExpFormula", _g_get_runeExpFormula); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runePackMaxNum", _g_get_runePackMaxNum); Utils.RegisterFunc(L, Utils.GETTER_IDX, "doublePropRuneInlayDict", _g_get_doublePropRuneInlayDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeMosaicRedpoint", _g_get_runeMosaicRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "SurplusRunePackCnt", _g_get_SurplusRunePackCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RuneTowerOpenLV", _g_get_RuneTowerOpenLV); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RuneSplinters", _g_get_RuneSplinters); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RuneChip", _g_get_RuneChip); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RuneCount", _g_get_RuneCount); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runePackList", _g_get_runePackList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeBreakList", _g_get_runeBreakList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeBreakEnableDict", _g_get_runeBreakEnableDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeBreakRects", _g_get_runeBreakRects); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeAttrDic", _g_get_runeAttrDic); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeAttrAdditionDic", _g_get_runeAttrAdditionDic); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeExpDic", _g_get_runeExpDic); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeEliteAdditonDic", _g_get_runeEliteAdditonDic); Utils.RegisterFunc(L, Utils.GETTER_IDX, "specialHoles", _g_get_specialHoles); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeAttrResultDict", _g_get_runeAttrResultDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeLevelUpRedpoint", _g_get_runeLevelUpRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeReplaceRedpoint", _g_get_runeReplaceRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "specialRuneRemindRedpoint", _g_get_specialRuneRemindRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "sltRuneHole", _g_get_sltRuneHole); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runePackList", _s_set_runePackList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeBreakList", _s_set_runeBreakList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeAttrDic", _s_set_runeAttrDic); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeAttrAdditionDic", _s_set_runeAttrAdditionDic); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeExpDic", _s_set_runeExpDic); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeEliteAdditonDic", _s_set_runeEliteAdditonDic); Utils.RegisterFunc(L, Utils.SETTER_IDX, "specialHoles", _s_set_specialHoles); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeAttrResultDict", _s_set_runeAttrResultDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeLevelUpRedpoint", _s_set_runeLevelUpRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeReplaceRedpoint", _s_set_runeReplaceRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "specialRuneRemindRedpoint", _s_set_specialRuneRemindRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "sltRuneHole", _s_set_sltRuneHole); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 5, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RUNE_TYPE", Snxxz.UI.RuneModel.RUNE_TYPE); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RUNE_CREAMTYPE", Snxxz.UI.RuneModel.RUNE_CREAMTYPE); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RUNE_HOLE_COUNT", Snxxz.UI.RuneModel.RUNE_HOLE_COUNT); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RUNE_REDPOINT_INTERVAL", Snxxz.UI.RuneModel.RUNE_REDPOINT_INTERVAL); 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.RuneModel gen_ret = new Snxxz.UI.RuneModel(); 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.RuneModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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_OnPlayerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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_GetRuneMaxLevel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __itemColor = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetRuneMaxLevel( __itemColor ); 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_GetRuneMaxLevelByItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __itemId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetRuneMaxLevelByItem( __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_GetRuneAttrStr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); int _level = LuaAPI.xlua_tointeger(L, 3); string gen_ret = gen_to_be_invoked.GetRuneAttrStr( _id, _level ); LuaAPI.lua_pushstring(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_GetRuneAttrVal(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); int _level = LuaAPI.xlua_tointeger(L, 3); int _type = LuaAPI.xlua_tointeger(L, 4); int gen_ret = gen_to_be_invoked.GetRuneAttrVal( _id, _level, _type ); 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_GetRuneNeedExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); int _level = LuaAPI.xlua_tointeger(L, 3); int gen_ret = gen_to_be_invoked.GetRuneNeedExp( _id, _level ); 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_GetRuneSoulBreakExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.RuneData __rune = (Snxxz.UI.RuneData)translator.GetObject(L, 2, typeof(Snxxz.UI.RuneData)); float gen_ret = gen_to_be_invoked.GetRuneSoulBreakExp( __rune ); 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_GetRuneBreakExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { Snxxz.UI.RuneData __rune = (Snxxz.UI.RuneData)translator.GetObject(L, 2, typeof(Snxxz.UI.RuneData)); bool __compose = LuaAPI.lua_toboolean(L, 3); float gen_ret = gen_to_be_invoked.GetRuneBreakExp( __rune, __compose ); LuaAPI.lua_pushnumber(L, gen_ret); return 1; } if(gen_param_count == 2&& translator.Assignable(L, 2)) { Snxxz.UI.RuneData __rune = (Snxxz.UI.RuneData)translator.GetObject(L, 2, typeof(Snxxz.UI.RuneData)); float gen_ret = gen_to_be_invoked.GetRuneBreakExp( __rune ); LuaAPI.lua_pushnumber(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.RuneModel.GetRuneBreakExp!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetRuneLevelByExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); float __exp = (float)LuaAPI.lua_tonumber(L, 3); int gen_ret = gen_to_be_invoked.GetRuneLevelByExp( _id, __exp ); 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_GetRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __hole = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.Redpoint gen_ret = gen_to_be_invoked.GetRedpoint( __hole ); 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_SetDayRemind(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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_UpdateRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UpdateRedpoint( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateBreakRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UpdateBreakRedpoint( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CanLevelUpRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int __hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.CanLevelUpRune( __hole ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } if(gen_param_count == 1) { int __hole; bool gen_ret = gen_to_be_invoked.CanLevelUpRune( out __hole ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, __hole); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.RuneModel.CanLevelUpRune!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CanMosaicRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.CanMosaicRune( __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_GetDoublePropLimitCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetDoublePropLimitCount( ); 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_GetCurrentDoublePropCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetCurrentDoublePropCount( ); 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_SetRuneChip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _val = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetRuneChip( _val ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetRuneSplinters(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _val = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetRuneSplinters( _val ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnRunePackRefresh(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { HA204_tagMCVPackRefresh _vNetData = (HA204_tagMCVPackRefresh)translator.GetObject(L, 2, typeof(HA204_tagMCVPackRefresh)); gen_to_be_invoked.OnRunePackRefresh( _vNetData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnRunePackClear(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { HA205_tagMCVPackClear _vNetData = (HA205_tagMCVPackClear)translator.GetObject(L, 2, typeof(HA205_tagMCVPackClear)); gen_to_be_invoked.OnRunePackClear( _vNetData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnRuneHoleRefresh(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { HA31F_tagMCRuneInfo _vNetData = (HA31F_tagMCRuneInfo)translator.GetObject(L, 2, typeof(HA31F_tagMCRuneInfo)); gen_to_be_invoked.OnRuneHoleRefresh( _vNetData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UnlockSpecialHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.UnlockSpecialHole( _hole ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_TestUnlockSpeicalHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); int _error; bool gen_ret = gen_to_be_invoked.TestUnlockSpeicalHole( _hole, out _error ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _error); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ProcessUnlockError(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _error = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.SpecialRuneHoleCondition _specialHole;translator.Get(L, 3, out _specialHole); gen_to_be_invoked.ProcessUnlockError( _error, _specialHole ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ResolveFusionStone(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _sourceType = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.ResolveFusionStone( _sourceType ); 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_IsSpeicalHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsSpeicalHole( _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_IsRuneHoleOpen(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsRuneHoleOpen( _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_GetHoleRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _hole = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.RuneData gen_ret = gen_to_be_invoked.GetHoleRune( _hole ); 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_GetAllRuneData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetAllRuneData( ); 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_GetHoleRuneCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetHoleRuneCnt( ); 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_IsEmptyHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsEmptyHole( ); 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_GetPackRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 1) { System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetPackRune( ); translator.Push(L, gen_ret); return 1; } if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _index = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.RuneData gen_ret = gen_to_be_invoked.GetPackRune( _index ); 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.RuneModel.GetPackRune!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetRuneCountById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __itemId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetRuneCountById( __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_GetAllUnlockRuneIdlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.Dictionary> gen_ret = gen_to_be_invoked.GetAllUnlockRuneIdlist( ); 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_CanEquipRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __color = LuaAPI.xlua_tointeger(L, 2); int __hole; bool gen_ret = gen_to_be_invoked.CanEquipRune( __color, out __hole ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, __hole); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CanEquipBetterRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __hole = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.CanEquipBetterRune( __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_IsBetterRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.RuneData _rune = (Snxxz.UI.RuneData)translator.GetObject(L, 2, typeof(Snxxz.UI.RuneData)); int __hole = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.IsBetterRune( _rune, __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_CanEquipHoleRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); int __color = LuaAPI.xlua_tointeger(L, 3); int __hole; bool gen_ret = gen_to_be_invoked.CanEquipHoleRune( _id, __color, out __hole ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, __hole); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnRuneTowerRefresh(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { HA3BA_tagMCTrialTowerInfo _vNetData = (HA3BA_tagMCTrialTowerInfo)translator.GetObject(L, 2, typeof(HA3BA_tagMCTrialTowerInfo)); gen_to_be_invoked.OnRuneTowerRefresh( _vNetData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsSameInHoleRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); int _hole = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.IsSameInHoleRune( _id, _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_IsSameRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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 _hole = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.IsSameRune( _type, _hole ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable>(L, 3)) { int _id = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List _sameHoles = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); gen_to_be_invoked.IsSameRune( _id, ref _sameHoles ); translator.Push(L, _sameHoles); 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.RuneModel.IsSameRune!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SameRuneHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int _type = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.SameRuneHole( _type ); 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_GetOpenTowerCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool _includeSpecial = LuaAPI.lua_toboolean(L, 2); int gen_ret = gen_to_be_invoked.GetOpenTowerCnt( _includeSpecial ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } if(gen_param_count == 1) { int gen_ret = gen_to_be_invoked.GetOpenTowerCnt( ); LuaAPI.xlua_pushinteger(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.RuneModel.GetOpenTowerCnt!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClearRuneData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ClearRuneData( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_JumpToRuneCompose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.JumpToRuneCompose( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetMaxLevelRuneCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { int __id = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.RuneData __runeData; int gen_ret = gen_to_be_invoked.GetMaxLevelRuneCnt( __id, out __runeData ); LuaAPI.xlua_pushinteger(L, gen_ret); translator.Push(L, __runeData); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateBreakRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UpdateBreakRune( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeUnlockArray(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeUnlockArray); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeExpAddition(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.runeExpAddition); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeExpFormula(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.runeExpFormula); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runePackMaxNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.runePackMaxNum); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_doublePropRuneInlayDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.doublePropRuneInlayDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeMosaicRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeMosaicRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_SurplusRunePackCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SurplusRunePackCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RuneTowerOpenLV(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, gen_to_be_invoked.RuneTowerOpenLV); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RuneSplinters(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.RuneSplinters); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RuneChip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.RuneChip); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RuneCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.RuneCount); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runePackList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runePackList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeBreakList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeBreakList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeBreakEnableDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeBreakEnableDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeBreakRects(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeBreakRects); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeAttrDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeAttrDic); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeAttrAdditionDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeAttrAdditionDic); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeExpDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeExpDic); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeEliteAdditonDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeEliteAdditonDic); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_specialHoles(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.specialHoles); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeAttrResultDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeAttrResultDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeLevelUpRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeLevelUpRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_runeReplaceRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.runeReplaceRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_specialRuneRemindRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.specialRuneRemindRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_sltRuneHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sltRuneHole); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_runePackList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runePackList = (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_runeBreakList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeBreakList = (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_runeAttrDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeAttrDic = (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_runeAttrAdditionDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeAttrAdditionDic = (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_runeExpDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeExpDic = (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_runeEliteAdditonDic(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeEliteAdditonDic = (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_specialHoles(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.specialHoles = (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_runeAttrResultDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeAttrResultDict = (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_runeLevelUpRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeLevelUpRedpoint = (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_runeReplaceRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.runeReplaceRedpoint = (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_specialRuneRemindRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.specialRuneRemindRedpoint = (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_sltRuneHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.sltRuneHole = 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_OnRefreshRuneHole(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshRuneHole += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshRuneHole -= 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.RuneModel.OnRefreshRuneHole!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshRunePack(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshRunePack += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshRunePack -= 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.RuneModel.OnRefreshRunePack!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshRuneExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshRuneExp += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshRuneExp -= 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.RuneModel.OnRefreshRuneExp!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshRuneChip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshRuneChip += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshRuneChip -= 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.RuneModel.OnRefreshRuneChip!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshRuneTowerLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshRuneTowerLv += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshRuneTowerLv -= 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.RuneModel.OnRefreshRuneTowerLv!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_openNewHoleEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.openNewHoleEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.openNewHoleEvent -= 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.RuneModel.openNewHoleEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_JumpToComposeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.JumpToComposeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.JumpToComposeEvent -= 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.RuneModel.JumpToComposeEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_OnRefreshBreakRune(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.RuneModel gen_to_be_invoked = (Snxxz.UI.RuneModel)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.OnRefreshBreakRune += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.OnRefreshBreakRune -= 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.RuneModel.OnRefreshBreakRune!"); return 0; } } }