static int _m_IsTaskFinished(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.GuideManager __cl_gen_to_be_invoked = (xc.GuideManager)translator.FastGetCSObj(L, 1); try { { uint task_id = LuaAPI.xlua_touint(L, 2); bool __cl_gen_ret = __cl_gen_to_be_invoked.IsTaskFinished(task_id); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }