static int _m_addMillHandler_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) && translator.Assignable <System.Action <int> >(L, 2) && translator.Assignable <System.Action <int> >(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) { int endCount = LuaAPI.xlua_tointeger(L, 1); System.Action <int> eHandler = translator.GetDelegate <System.Action <int> >(L, 2); System.Action <int> cHandler = translator.GetDelegate <System.Action <int> >(L, 3); int interval = LuaAPI.xlua_tointeger(L, 4); long __cl_gen_ret = LuaExtend.addMillHandler(endCount, eHandler, cHandler, interval); LuaAPI.lua_pushint64(L, __cl_gen_ret); return(1); } if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) && translator.Assignable <System.Action <int> >(L, 2) && translator.Assignable <System.Action <int> >(L, 3)) { int endCount = LuaAPI.xlua_tointeger(L, 1); System.Action <int> eHandler = translator.GetDelegate <System.Action <int> >(L, 2); System.Action <int> cHandler = translator.GetDelegate <System.Action <int> >(L, 3); long __cl_gen_ret = LuaExtend.addMillHandler(endCount, eHandler, cHandler); LuaAPI.lua_pushint64(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) && translator.Assignable <System.Action <int> >(L, 2)) { int endCount = LuaAPI.xlua_tointeger(L, 1); System.Action <int> eHandler = translator.GetDelegate <System.Action <int> >(L, 2); long __cl_gen_ret = LuaExtend.addMillHandler(endCount, eHandler); LuaAPI.lua_pushint64(L, __cl_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 LuaExtend.addMillHandler!")); }