public static int ExitGame(IntPtr L) { int count = LuaDLL.lua_gettop(L); const int nRet = 0; if (count == 0) { PlatformControl.ExitGame(); } else { LogParamError("ExitGame", count); } return(GameUtilWrap.CheckReturnNum(L, count, nRet)); }