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