mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
Might as well implement the other version of GetItemInstallInfo too.
This commit is contained in:
parent
9154f04f60
commit
25d53b6542
1 changed files with 2 additions and 2 deletions
|
@ -671,7 +671,7 @@ uint32 GetSubscribedItems( PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEn
|
||||||
// get EItemState flags about item on this client
|
// get EItemState flags about item on this client
|
||||||
uint32 GetItemState( PublishedFileId_t nPublishedFileID )
|
uint32 GetItemState( PublishedFileId_t nPublishedFileID )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("Steam_UGC::GetItemState\n");
|
PRINT_DEBUG("Steam_UGC::GetItemState %llu\n", nPublishedFileID);
|
||||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||||
if (subscribed.count(nPublishedFileID)) {
|
if (subscribed.count(nPublishedFileID)) {
|
||||||
if (settings->isModInstalled(nPublishedFileID)) {
|
if (settings->isModInstalled(nPublishedFileID)) {
|
||||||
|
@ -727,7 +727,7 @@ bool GetItemUpdateInfo( PublishedFileId_t nPublishedFileID, bool *pbNeedsUpdate,
|
||||||
bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize ) // returns true if item is installed
|
bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, char *pchFolder, uint32 cchFolderSize ) // returns true if item is installed
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("Steam_UGC::GetItemInstallInfo older\n");
|
PRINT_DEBUG("Steam_UGC::GetItemInstallInfo older\n");
|
||||||
return false;
|
return GetItemInstallInfo(nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, (uint32*) nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue