static int OpenApp(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Game.Utils obj = (Game.Utils)ToLua.CheckObject(L, 1, typeof(Game.Utils)); string arg0 = ToLua.CheckString(L, 2); obj.OpenApp(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }