mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 10:29:32 +08:00
debug message
This commit is contained in:
parent
9e84f4abec
commit
3a64b604a0
@ -216,7 +216,7 @@ UGCQueryHandle_t CreateQueryAllUGCRequest( EUGCQuery eQueryType, EUGCMatchingUGC
|
|||||||
// Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this)
|
// Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this)
|
||||||
UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs )
|
UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("Steam_UGC::CreateQueryUGCDetailsRequest\n");
|
PRINT_DEBUG("Steam_UGC::CreateQueryUGCDetailsRequest %p, max file IDs = [%u]\n", pvecPublishedFileID, unNumPublishedFileIDs);
|
||||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||||
|
|
||||||
if (!pvecPublishedFileID) return k_UGCQueryHandleInvalid;
|
if (!pvecPublishedFileID) return k_UGCQueryHandleInvalid;
|
||||||
@ -224,6 +224,13 @@ UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t *pvecPublishedF
|
|||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
std::set<PublishedFileId_t> only(pvecPublishedFileID, pvecPublishedFileID + unNumPublishedFileIDs);
|
std::set<PublishedFileId_t> only(pvecPublishedFileID, pvecPublishedFileID + unNumPublishedFileIDs);
|
||||||
|
|
||||||
|
#ifndef EMU_RELEASE_BUILD
|
||||||
|
for (const auto &id : only) {
|
||||||
|
PRINT_DEBUG(" Steam_UGC::CreateQueryUGCDetailsRequest file ID = %llu\n", id);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return new_ugc_query(false, only);
|
return new_ugc_query(false, only);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -252,7 +259,7 @@ SteamAPICall_t SendQueryUGCRequest( UGCQueryHandle_t handle )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// send these handles to stea_remote_storage since the game will later
|
// send these handles to steam_remote_storage since the game will later
|
||||||
// call Steam_Remote_Storage::UGCDownload() with these files handles (primary + preview)
|
// call Steam_Remote_Storage::UGCDownload() with these files handles (primary + preview)
|
||||||
for (auto fileid : request->results) {
|
for (auto fileid : request->results) {
|
||||||
auto mod = settings->getMod(fileid);
|
auto mod = settings->getMod(fileid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user