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


            GrayServerManager __cl_gen_to_be_invoked = (GrayServerManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    int serverID = LuaAPI.xlua_tointeger(L, 2);

                    System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.CheckUpdate(serverID);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }