static int _m_OnLogout(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Bacon.MainController __cl_gen_to_be_invoked = (Bacon.MainController)translator.FastGetCSObj(L, 1); try { { Maria.EventCmd e = (Maria.EventCmd)translator.GetObject(L, 2, typeof(Maria.EventCmd)); __cl_gen_to_be_invoked.OnLogout(e); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }