static int _m_IssueErrorMessage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); CommandTerminal.CommandShell gen_to_be_invoked = (CommandTerminal.CommandShell)translator.FastGetCSObj(L, 1); { string _format = LuaAPI.lua_tostring(L, 2); object[] _message = translator.GetParams <object>(L, 3); gen_to_be_invoked.IssueErrorMessage(_format, _message); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }