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