static int _m_addEveryMillHandler_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 2 && translator.Assignable <System.Action <int> >(L, 1) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    System.Action <int> eHandler = translator.GetDelegate <System.Action <int> >(L, 1);
                    int interval = LuaAPI.xlua_tointeger(L, 2);

                    long __cl_gen_ret = LuaExtend.addEveryMillHandler(eHandler, interval);
                    LuaAPI.lua_pushint64(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 1 && translator.Assignable <System.Action <int> >(L, 1))
                {
                    System.Action <int> eHandler = translator.GetDelegate <System.Action <int> >(L, 1);

                    long __cl_gen_ret = LuaExtend.addEveryMillHandler(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.addEveryMillHandler!"));
        }