SteamUGC
public struct SteamUGC: Sendable
Steamworks ISteamUGC
Access via ugc
through a SteamAPI
or SteamGameServerAPI
instance.
Topics
func addAppDependency(publishedFileID: PublishedFileID, appID: AppID, completion: (sending AddAppDependencyResult?) -> Void)
func addAppDependency(publishedFileID: PublishedFileID, appID: AppID, completion: (sending AddAppDependencyResult?) -> Void)
Steamworks ISteamUGC::AddAppDependency()
, callback
Declaration
public func addAppDependency(
publishedFileID: PublishedFileID, appID: AppID,
completion: @Sendable @escaping (sending AddAppDependencyResult?) -> Void)
func addAppDependency(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, appID: AppID) async -> AddAppDependencyResult?
func addAppDependency(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, appID: AppID) async -> AddAppDependencyResult?
Steamworks ISteamUGC::AddAppDependency()
, async
Declaration
public func addAppDependency(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID, appID: AppID
) async -> AddAppDependencyResult?
func addContentDescriptor(handle: UGCUpdateHandle, descid: UGCContentDescriptorID) -> Bool
func addContentDescriptor(handle: UGCUpdateHandle, descid: UGCContentDescriptorID) -> Bool
Steamworks ISteamUGC::AddContentDescriptor()
Declaration
public func addContentDescriptor(
handle: UGCUpdateHandle, descid: UGCContentDescriptorID
) -> Bool
func addDependency(parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID, completion: (sending AddUGCDependencyResult?) -> Void)
func addDependency(parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID, completion: (sending AddUGCDependencyResult?) -> Void)
Steamworks ISteamUGC::AddDependency()
, callback
Declaration
public func addDependency(
parentPublishedFileID: PublishedFileID,
childPublishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending AddUGCDependencyResult?) -> Void)
func addDependency(isolation: isolated (any Actor)?, parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID) async -> AddUGCDependencyResult?
func addDependency(isolation: isolated (any Actor)?, parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID) async -> AddUGCDependencyResult?
Steamworks ISteamUGC::AddDependency()
, async
Declaration
public func addDependency(
isolation: isolated (any Actor)? = #isolation,
parentPublishedFileID: PublishedFileID,
childPublishedFileID: PublishedFileID
) async -> AddUGCDependencyResult?
func addExcludedTag(handle: UGCQueryHandle, tagName: String) -> Bool
func addExcludedTag(handle: UGCQueryHandle, tagName: String) -> Bool
Steamworks ISteamUGC::AddExcludedTag()
Declaration
@discardableResult
public func addExcludedTag(handle: UGCQueryHandle, tagName: String) -> Bool
func addItemKeyValueTag(handle: UGCUpdateHandle, key: String, value: String) -> Bool
func addItemKeyValueTag(handle: UGCUpdateHandle, key: String, value: String) -> Bool
Steamworks ISteamUGC::AddItemKeyValueTag()
Declaration
@discardableResult
public func addItemKeyValueTag(
handle: UGCUpdateHandle, key: String, value: String
) -> Bool
func addItemPreviewFile(handle: UGCUpdateHandle, previewFile: String, type: ItemPreviewType) -> Bool
func addItemPreviewFile(handle: UGCUpdateHandle, previewFile: String, type: ItemPreviewType) -> Bool
Steamworks ISteamUGC::AddItemPreviewFile()
Declaration
@discardableResult
public func addItemPreviewFile(
handle: UGCUpdateHandle, previewFile: String, type: ItemPreviewType
) -> Bool
func addItemPreviewVideo(handle: UGCUpdateHandle, videoID: String) -> Bool
func addItemPreviewVideo(handle: UGCUpdateHandle, videoID: String) -> Bool
Steamworks ISteamUGC::AddItemPreviewVideo()
Declaration
@discardableResult
public func addItemPreviewVideo(handle: UGCUpdateHandle, videoID: String)
-> Bool
func addItemToFavorites(appId: AppID, publishedFileID: PublishedFileID, completion: (sending UserFavoriteItemsListChanged?) -> Void)
func addItemToFavorites(appId: AppID, publishedFileID: PublishedFileID, completion: (sending UserFavoriteItemsListChanged?) -> Void)
Steamworks ISteamUGC::AddItemToFavorites()
, callback
Declaration
public func addItemToFavorites(
appId: AppID, publishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending UserFavoriteItemsListChanged?) ->
Void)
func addItemToFavorites(isolation: isolated (any Actor)?, appId: AppID, publishedFileID: PublishedFileID) async -> UserFavoriteItemsListChanged?
func addItemToFavorites(isolation: isolated (any Actor)?, appId: AppID, publishedFileID: PublishedFileID) async -> UserFavoriteItemsListChanged?
Steamworks ISteamUGC::AddItemToFavorites()
, async
Declaration
public func addItemToFavorites(
isolation: isolated (any Actor)? = #isolation, appId: AppID,
publishedFileID: PublishedFileID
) async -> UserFavoriteItemsListChanged?
func addRequiredKeyValueTag(handle: UGCQueryHandle, key: String, value: String) -> Bool
func addRequiredKeyValueTag(handle: UGCQueryHandle, key: String, value: String) -> Bool
Steamworks ISteamUGC::AddRequiredKeyValueTag()
Declaration
@discardableResult
public func addRequiredKeyValueTag(
handle: UGCQueryHandle, key: String, value: String
) -> Bool
func addRequiredTag(handle: UGCQueryHandle, tagName: String) -> Bool
func addRequiredTag(handle: UGCQueryHandle, tagName: String) -> Bool
Steamworks ISteamUGC::AddRequiredTag()
Declaration
@discardableResult
public func addRequiredTag(handle: UGCQueryHandle, tagName: String) -> Bool
func addRequiredTagGroup(handle: UGCQueryHandle, tagGroups: [String]) -> Bool
func addRequiredTagGroup(handle: UGCQueryHandle, tagGroups: [String]) -> Bool
Steamworks ISteamUGC::AddRequiredTagGroup()
Declaration
@discardableResult
public func addRequiredTagGroup(handle: UGCQueryHandle, tagGroups: [String])
-> Bool
func initWorkshopForGameServer(workshopDepotID: DepotID, folder: String) -> Bool
func initWorkshopForGameServer(workshopDepotID: DepotID, folder: String) -> Bool
func createItem(consumerAppId: AppID, fileType: WorkshopFileType, completion: (sending CreateItemResult?) -> Void)
func createItem(consumerAppId: AppID, fileType: WorkshopFileType, completion: (sending CreateItemResult?) -> Void)
Steamworks ISteamUGC::CreateItem()
, callback
Declaration
public func createItem(
consumerAppId: AppID, fileType: WorkshopFileType,
completion: @Sendable @escaping (sending CreateItemResult?) -> Void)
func createItem(isolation: isolated (any Actor)?, consumerAppId: AppID, fileType: WorkshopFileType) async -> CreateItemResult?
func createItem(isolation: isolated (any Actor)?, consumerAppId: AppID, fileType: WorkshopFileType) async -> CreateItemResult?
Steamworks ISteamUGC::CreateItem()
, async
Declaration
public func createItem(
isolation: isolated (any Actor)? = #isolation, consumerAppId: AppID,
fileType: WorkshopFileType
) async -> CreateItemResult?
func createQueryAllUGCRequest(queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType, creatorAppID: AppID, consumerAppID: AppID, cursor: String) -> UGCQueryHandle
func createQueryAllUGCRequest(queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType, creatorAppID: AppID, consumerAppID: AppID, cursor: String) -> UGCQueryHandle
Steamworks ISteamUGC::CreateQueryAllUGCRequest()
Declaration
public func createQueryAllUGCRequest(
queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType,
creatorAppID: AppID, consumerAppID: AppID, cursor: String
) -> UGCQueryHandle
func createQueryAllUGCRequest(queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType, creatorAppID: AppID, consumerAppID: AppID, page: Int) -> UGCQueryHandle
func createQueryAllUGCRequest(queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType, creatorAppID: AppID, consumerAppID: AppID, page: Int) -> UGCQueryHandle
Steamworks ISteamUGC::CreateQueryAllUGCRequest()
Declaration
public func createQueryAllUGCRequest(
queryType: UGCQuery, matchingeMatchingUGCTypeFileType: UGCMatchingUGCType,
creatorAppID: AppID, consumerAppID: AppID, page: Int
) -> UGCQueryHandle
func createQueryUGCDetailsRequest(publishedFileID: [PublishedFileID]) -> UGCQueryHandle
func createQueryUGCDetailsRequest(publishedFileID: [PublishedFileID]) -> UGCQueryHandle
Steamworks ISteamUGC::CreateQueryUGCDetailsRequest()
Declaration
public func createQueryUGCDetailsRequest(publishedFileID: [PublishedFileID])
-> UGCQueryHandle
func createQueryUserUGCRequest(accountID: AccountID, listType: UserUGCList, matchingUGCType: UGCMatchingUGCType, sortOrder: UserUGCListSortOrder, creatorAppID: AppID, consumerAppID: AppID, page: Int) -> UGCQueryHandle
func createQueryUserUGCRequest(accountID: AccountID, listType: UserUGCList, matchingUGCType: UGCMatchingUGCType, sortOrder: UserUGCListSortOrder, creatorAppID: AppID, consumerAppID: AppID, page: Int) -> UGCQueryHandle
Steamworks ISteamUGC::CreateQueryUserUGCRequest()
Declaration
public func createQueryUserUGCRequest(
accountID: AccountID, listType: UserUGCList,
matchingUGCType: UGCMatchingUGCType, sortOrder: UserUGCListSortOrder,
creatorAppID: AppID, consumerAppID: AppID, page: Int
) -> UGCQueryHandle
func deleteItem(publishedFileID: PublishedFileID, completion: (sending DeleteItemResult?) -> Void)
func deleteItem(publishedFileID: PublishedFileID, completion: (sending DeleteItemResult?) -> Void)
Steamworks ISteamUGC::DeleteItem()
, callback
Declaration
public func deleteItem(
publishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending DeleteItemResult?) -> Void)
func deleteItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> DeleteItemResult?
func deleteItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> DeleteItemResult?
Steamworks ISteamUGC::DeleteItem()
, async
Declaration
public func deleteItem(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID
) async -> DeleteItemResult?
func downloadItem(publishedFileID: PublishedFileID, highPriority: Bool) -> Bool
func downloadItem(publishedFileID: PublishedFileID, highPriority: Bool) -> Bool
Steamworks ISteamUGC::DownloadItem()
Declaration
public func downloadItem(publishedFileID: PublishedFileID, highPriority: Bool)
-> Bool
func getAppDependencies(publishedFileID: PublishedFileID, completion: (sending GetAppDependenciesResult?) -> Void)
func getAppDependencies(publishedFileID: PublishedFileID, completion: (sending GetAppDependenciesResult?) -> Void)
Steamworks ISteamUGC::GetAppDependencies()
, callback
Declaration
public func getAppDependencies(
publishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending GetAppDependenciesResult?) -> Void)
func getAppDependencies(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> GetAppDependenciesResult?
func getAppDependencies(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> GetAppDependenciesResult?
Steamworks ISteamUGC::GetAppDependencies()
, async
Declaration
public func getAppDependencies(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID
) async -> GetAppDependenciesResult?
func getItemDownloadInfo(publishedFileID: PublishedFileID) -> (rc: Bool, bytesDownloaded: UInt64, bytesTotal: UInt64)
func getItemDownloadInfo(publishedFileID: PublishedFileID) -> (rc: Bool, bytesDownloaded: UInt64, bytesTotal: UInt64)
Steamworks ISteamUGC::GetItemDownloadInfo()
Declaration
public func getItemDownloadInfo(publishedFileID: PublishedFileID) -> (
rc: Bool, bytesDownloaded: UInt64, bytesTotal: UInt64
)
func getItemInstallInfo(publishedFileID: PublishedFileID, folderSize: Int) -> (rc: Bool, sizeOnDisk: UInt64, folder: String, timeStamp: RTime32)
func getItemInstallInfo(publishedFileID: PublishedFileID, folderSize: Int) -> (rc: Bool, sizeOnDisk: UInt64, folder: String, timeStamp: RTime32)
Steamworks ISteamUGC::GetItemInstallInfo()
Declaration
public func getItemInstallInfo(
publishedFileID: PublishedFileID,
folderSize: Int = SteamConstants.filenameMaxSize
) -> (rc: Bool, sizeOnDisk: UInt64, folder: String, timeStamp: RTime32)
func getItemState(publishedFileID: PublishedFileID) -> ItemState
func getItemState(publishedFileID: PublishedFileID) -> ItemState
Steamworks ISteamUGC::GetItemState()
Declaration
public func getItemState(publishedFileID: PublishedFileID) -> ItemState
func getItemUpdateProgress(handle: UGCUpdateHandle) -> (rc: ItemUpdateStatus, bytesProcessed: UInt64, bytesTotal: UInt64)
func getItemUpdateProgress(handle: UGCUpdateHandle) -> (rc: ItemUpdateStatus, bytesProcessed: UInt64, bytesTotal: UInt64)
Steamworks ISteamUGC::GetItemUpdateProgress()
Declaration
public func getItemUpdateProgress(handle: UGCUpdateHandle) -> (
rc: ItemUpdateStatus, bytesProcessed: UInt64, bytesTotal: UInt64
)
func getNumSubscribedItems() -> Int
func getNumSubscribedItems() -> Int
Steamworks ISteamUGC::GetNumSubscribedItems()
Declaration
public func getNumSubscribedItems() -> Int
func getNumSupportedGameVersions(handle: UGCQueryHandle, index: Int) -> Int
func getNumSupportedGameVersions(handle: UGCQueryHandle, index: Int) -> Int
Steamworks ISteamUGC::GetNumSupportedGameVersions()
Declaration
public func getNumSupportedGameVersions(handle: UGCQueryHandle, index: Int)
-> Int
func getQueryUGCKeyValueTag(handle: UGCQueryHandle, index: Int, key: String, valueSize: Int) -> (rc: Bool, value: String)
func getQueryUGCKeyValueTag(handle: UGCQueryHandle, index: Int, key: String, valueSize: Int) -> (rc: Bool, value: String)
Steamworks ISteamUGC::GetQueryUGCKeyValueTag()
Declaration
public func getQueryUGCKeyValueTag(
handle: UGCQueryHandle, index: Int, key: String,
valueSize: Int = SteamConstants.ugcKeyValueMaxSize + 1
) -> (rc: Bool, value: String)
func getQueryUGCAdditionalPreview(handle: UGCQueryHandle, index: Int, previewIndex: Int, urlSize: Int, returnOriginalFileName: Bool, originalFileNameSize: Int) -> (rc: Bool, urlOrVideoID: String, originalFileName: String, previewType: ItemPreviewType)
func getQueryUGCAdditionalPreview(handle: UGCQueryHandle, index: Int, previewIndex: Int, urlSize: Int, returnOriginalFileName: Bool, originalFileNameSize: Int) -> (rc: Bool, urlOrVideoID: String, originalFileName: String, previewType: ItemPreviewType)
Steamworks ISteamUGC::GetQueryUGCAdditionalPreview()
Declaration
public func getQueryUGCAdditionalPreview(
handle: UGCQueryHandle, index: Int, previewIndex: Int,
urlSize: Int = SteamConstants.filenameMaxSize,
returnOriginalFileName: Bool = true,
originalFileNameSize: Int = SteamConstants.filenameMaxSize
) -> (
rc: Bool, urlOrVideoID: String, originalFileName: String,
previewType: ItemPreviewType
)
func getQueryUGCChildren(handle: UGCQueryHandle, index: Int, maxEntries: Int) -> (rc: Bool, publishedFileID: PublishedFileID)
func getQueryUGCChildren(handle: UGCQueryHandle, index: Int, maxEntries: Int) -> (rc: Bool, publishedFileID: PublishedFileID)
Steamworks ISteamUGC::GetQueryUGCChildren()
Declaration
public func getQueryUGCChildren(
handle: UGCQueryHandle, index: Int, maxEntries: Int
) -> (rc: Bool, publishedFileID: PublishedFileID)
func getQueryUGCContentDescriptors(handle: UGCQueryHandle, index: Int, maxEntries: Int) -> (rc: Int, descriptors: [UGCContentDescriptorID])
func getQueryUGCContentDescriptors(handle: UGCQueryHandle, index: Int, maxEntries: Int) -> (rc: Int, descriptors: [UGCContentDescriptorID])
Steamworks ISteamUGC::GetQueryUGCContentDescriptors()
Declaration
public func getQueryUGCContentDescriptors(
handle: UGCQueryHandle, index: Int, maxEntries: Int
) -> (rc: Int, descriptors: [UGCContentDescriptorID])
func getQueryUGCKeyValueTag(handle: UGCQueryHandle, index: Int, valueTagIndex: Int, keySize: Int, valueSize: Int) -> (rc: Bool, key: String, value: String)
func getQueryUGCKeyValueTag(handle: UGCQueryHandle, index: Int, valueTagIndex: Int, keySize: Int, valueSize: Int) -> (rc: Bool, key: String, value: String)
Steamworks ISteamUGC::GetQueryUGCKeyValueTag()
Declaration
public func getQueryUGCKeyValueTag(
handle: UGCQueryHandle, index: Int, valueTagIndex: Int,
keySize: Int = SteamConstants.ugcKeyValueMaxSize + 1,
valueSize: Int = SteamConstants.ugcKeyValueMaxSize + 1
) -> (rc: Bool, key: String, value: String)
func getQueryUGCMetadata(handle: UGCQueryHandle, index: Int, metadatasizeSize: Int) -> (rc: Bool, metadata: String)
func getQueryUGCMetadata(handle: UGCQueryHandle, index: Int, metadatasizeSize: Int) -> (rc: Bool, metadata: String)
Steamworks ISteamUGC::GetQueryUGCMetadata()
Declaration
public func getQueryUGCMetadata(
handle: UGCQueryHandle, index: Int, metadatasizeSize: Int
) -> (rc: Bool, metadata: String)
func getQueryUGCNumAdditionalPreviews(handle: UGCQueryHandle, index: Int) -> Int
func getQueryUGCNumAdditionalPreviews(handle: UGCQueryHandle, index: Int) -> Int
Steamworks ISteamUGC::GetQueryUGCNumAdditionalPreviews()
Declaration
public func getQueryUGCNumAdditionalPreviews(handle: UGCQueryHandle, index: Int)
-> Int
func getQueryUGCPreviewURL(handle: UGCQueryHandle, index: Int, urlSize: Int) -> (rc: Bool, url: String)
func getQueryUGCPreviewURL(handle: UGCQueryHandle, index: Int, urlSize: Int) -> (rc: Bool, url: String)
Steamworks ISteamUGC::GetQueryUGCPreviewURL()
Declaration
public func getQueryUGCPreviewURL(
handle: UGCQueryHandle, index: Int,
urlSize: Int = SteamConstants.filenameMaxSize
) -> (rc: Bool, url: String)
func getQueryUGCResult(handle: UGCQueryHandle, index: Int) -> (rc: Bool, details: SteamUGCDetails)
func getQueryUGCResult(handle: UGCQueryHandle, index: Int) -> (rc: Bool, details: SteamUGCDetails)
Steamworks ISteamUGC::GetQueryUGCResult()
Declaration
public func getQueryUGCResult(handle: UGCQueryHandle, index: Int) -> (
rc: Bool, details: SteamUGCDetails
)
func getQueryUGCStatistic(handle: UGCQueryHandle, index: Int, statType: ItemStatistic) -> (rc: Bool, statValue: UInt64)
func getQueryUGCStatistic(handle: UGCQueryHandle, index: Int, statType: ItemStatistic) -> (rc: Bool, statValue: UInt64)
Steamworks ISteamUGC::GetQueryUGCStatistic()
Declaration
public func getQueryUGCStatistic(
handle: UGCQueryHandle, index: Int, statType: ItemStatistic
) -> (rc: Bool, statValue: UInt64)
func getQueryUGCTag(handle: UGCQueryHandle, index: Int, tag: Int, valueSize: Int) -> (rc: Bool, value: String)
func getQueryUGCTag(handle: UGCQueryHandle, index: Int, tag: Int, valueSize: Int) -> (rc: Bool, value: String)
Steamworks ISteamUGC::GetQueryUGCTag()
Declaration
public func getQueryUGCTag(
handle: UGCQueryHandle, index: Int, tag: Int,
valueSize: Int = SteamConstants.ugcKeyValueMaxSize + 1
) -> (rc: Bool, value: String)
func getQueryUGCTagDisplayName(handle: UGCQueryHandle, index: Int, tag: Int, valueSize: Int) -> (rc: Bool, value: String)
func getQueryUGCTagDisplayName(handle: UGCQueryHandle, index: Int, tag: Int, valueSize: Int) -> (rc: Bool, value: String)
Steamworks ISteamUGC::GetQueryUGCTagDisplayName()
Declaration
public func getQueryUGCTagDisplayName(
handle: UGCQueryHandle, index: Int, tag: Int,
valueSize: Int = SteamConstants.ugcKeyValueMaxSize + 1
) -> (rc: Bool, value: String)
func getSubscribedItems(maxEntries: Int) -> (rc: Int, publishedFileID: [PublishedFileID])
func getSubscribedItems(maxEntries: Int) -> (rc: Int, publishedFileID: [PublishedFileID])
Steamworks ISteamUGC::GetSubscribedItems()
Declaration
public func getSubscribedItems(maxEntries: Int) -> (
rc: Int, publishedFileID: [PublishedFileID]
)
func getSupportedGameVersionData(handle: UGCQueryHandle, index: Int, versionIndex: Int, gameBranchSize: Int) -> (rc: Bool, gameBranchMin: String, gameBranchMax: String)
func getSupportedGameVersionData(handle: UGCQueryHandle, index: Int, versionIndex: Int, gameBranchSize: Int) -> (rc: Bool, gameBranchMin: String, gameBranchMax: String)
func getUserContentDescriptorPreferences(maxEntries: Int) -> (rc: Int, descriptors: [UGCContentDescriptorID])
func getUserContentDescriptorPreferences(maxEntries: Int) -> (rc: Int, descriptors: [UGCContentDescriptorID])
Steamworks ISteamUGC::GetUserContentDescriptorPreferences()
Declaration
public func getUserContentDescriptorPreferences(maxEntries: Int) -> (
rc: Int, descriptors: [UGCContentDescriptorID]
)
func getUserItemVote(publishedFileID: PublishedFileID, completion: (sending GetUserItemVoteResult?) -> Void)
func getUserItemVote(publishedFileID: PublishedFileID, completion: (sending GetUserItemVoteResult?) -> Void)
Steamworks ISteamUGC::GetUserItemVote()
, callback
Declaration
public func getUserItemVote(
publishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending GetUserItemVoteResult?) -> Void)
func getUserItemVote(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> GetUserItemVoteResult?
func getUserItemVote(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> GetUserItemVoteResult?
Steamworks ISteamUGC::GetUserItemVote()
, async
Declaration
public func getUserItemVote(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID
) async -> GetUserItemVoteResult?
func getWorkshopEULAStatus(completion: (sending WorkshopEULAStatus?) -> Void)
func getWorkshopEULAStatus(completion: (sending WorkshopEULAStatus?) -> Void)
Steamworks ISteamUGC::GetWorkshopEULAStatus()
, callback
Declaration
public func getWorkshopEULAStatus(
completion: @Sendable @escaping (sending WorkshopEULAStatus?) -> Void)
func getWorkshopEULAStatus(isolation: isolated (any Actor)?) async -> WorkshopEULAStatus?
func getWorkshopEULAStatus(isolation: isolated (any Actor)?) async -> WorkshopEULAStatus?
Steamworks ISteamUGC::GetWorkshopEULAStatus()
, async
Declaration
public func getWorkshopEULAStatus(isolation: isolated (any Actor)? = #isolation)
async -> WorkshopEULAStatus?
func releaseQueryUGCRequest(handle: UGCQueryHandle) -> Bool
func releaseQueryUGCRequest(handle: UGCQueryHandle) -> Bool
Steamworks ISteamUGC::ReleaseQueryUGCRequest()
Declaration
@discardableResult
public func releaseQueryUGCRequest(handle: UGCQueryHandle) -> Bool
func removeAppDependency(publishedFileID: PublishedFileID, appID: AppID, completion: (sending RemoveAppDependencyResult?) -> Void)
func removeAppDependency(publishedFileID: PublishedFileID, appID: AppID, completion: (sending RemoveAppDependencyResult?) -> Void)
Steamworks ISteamUGC::RemoveAppDependency()
, callback
Declaration
public func removeAppDependency(
publishedFileID: PublishedFileID, appID: AppID,
completion: @Sendable @escaping (sending RemoveAppDependencyResult?) -> Void
)
func removeAppDependency(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, appID: AppID) async -> RemoveAppDependencyResult?
func removeAppDependency(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, appID: AppID) async -> RemoveAppDependencyResult?
Steamworks ISteamUGC::RemoveAppDependency()
, async
Declaration
public func removeAppDependency(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID, appID: AppID
) async -> RemoveAppDependencyResult?
func removeContentDescriptor(handle: UGCUpdateHandle, descid: UGCContentDescriptorID) -> Bool
func removeContentDescriptor(handle: UGCUpdateHandle, descid: UGCContentDescriptorID) -> Bool
Steamworks ISteamUGC::RemoveContentDescriptor()
Declaration
public func removeContentDescriptor(
handle: UGCUpdateHandle, descid: UGCContentDescriptorID
) -> Bool
func removeDependency(parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID, completion: (sending RemoveUGCDependencyResult?) -> Void)
func removeDependency(parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID, completion: (sending RemoveUGCDependencyResult?) -> Void)
Steamworks ISteamUGC::RemoveDependency()
, callback
Declaration
public func removeDependency(
parentPublishedFileID: PublishedFileID,
childPublishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending RemoveUGCDependencyResult?) -> Void
)
func removeDependency(isolation: isolated (any Actor)?, parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID) async -> RemoveUGCDependencyResult?
func removeDependency(isolation: isolated (any Actor)?, parentPublishedFileID: PublishedFileID, childPublishedFileID: PublishedFileID) async -> RemoveUGCDependencyResult?
Steamworks ISteamUGC::RemoveDependency()
, async
Declaration
public func removeDependency(
isolation: isolated (any Actor)? = #isolation,
parentPublishedFileID: PublishedFileID,
childPublishedFileID: PublishedFileID
) async -> RemoveUGCDependencyResult?
func removeItemFromFavorites(appId: AppID, publishedFileID: PublishedFileID, completion: (sending UserFavoriteItemsListChanged?) -> Void)
func removeItemFromFavorites(appId: AppID, publishedFileID: PublishedFileID, completion: (sending UserFavoriteItemsListChanged?) -> Void)
Steamworks ISteamUGC::RemoveItemFromFavorites()
, callback
Declaration
public func removeItemFromFavorites(
appId: AppID, publishedFileID: PublishedFileID,
completion: @Sendable @escaping (sending UserFavoriteItemsListChanged?) ->
Void)
func removeItemFromFavorites(isolation: isolated (any Actor)?, appId: AppID, publishedFileID: PublishedFileID) async -> UserFavoriteItemsListChanged?
func removeItemFromFavorites(isolation: isolated (any Actor)?, appId: AppID, publishedFileID: PublishedFileID) async -> UserFavoriteItemsListChanged?
Steamworks ISteamUGC::RemoveItemFromFavorites()
, async
Declaration
public func removeItemFromFavorites(
isolation: isolated (any Actor)? = #isolation, appId: AppID,
publishedFileID: PublishedFileID
) async -> UserFavoriteItemsListChanged?
func removeItemPreview(handle: UGCUpdateHandle, index: Int) -> Bool
func removeItemPreview(handle: UGCUpdateHandle, index: Int) -> Bool
Steamworks ISteamUGC::RemoveItemPreview()
Declaration
@discardableResult
public func removeItemPreview(handle: UGCUpdateHandle, index: Int) -> Bool
func requestUGCDetails(publishedFileID: PublishedFileID, maxAgeSeconds: Int, completion: (sending SteamUGCRequestUGCDetailsResult?) -> Void)
func requestUGCDetails(publishedFileID: PublishedFileID, maxAgeSeconds: Int, completion: (sending SteamUGCRequestUGCDetailsResult?) -> Void)
Steamworks ISteamUGC::RequestUGCDetails()
, callback
Declaration
public func requestUGCDetails(
publishedFileID: PublishedFileID, maxAgeSeconds: Int,
completion: @Sendable @escaping (sending SteamUGCRequestUGCDetailsResult?)
-> Void)
func requestUGCDetails(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, maxAgeSeconds: Int) async -> SteamUGCRequestUGCDetailsResult?
func requestUGCDetails(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, maxAgeSeconds: Int) async -> SteamUGCRequestUGCDetailsResult?
Steamworks ISteamUGC::RequestUGCDetails()
, async
Declaration
public func requestUGCDetails(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID, maxAgeSeconds: Int
) async -> SteamUGCRequestUGCDetailsResult?
func sendQueryUGCRequest(handle: UGCQueryHandle, completion: (sending SteamUGCQueryCompleted?) -> Void)
func sendQueryUGCRequest(handle: UGCQueryHandle, completion: (sending SteamUGCQueryCompleted?) -> Void)
Steamworks ISteamUGC::SendQueryUGCRequest()
, callback
Declaration
public func sendQueryUGCRequest(
handle: UGCQueryHandle,
completion: @Sendable @escaping (sending SteamUGCQueryCompleted?) -> Void)
func sendQueryUGCRequest(isolation: isolated (any Actor)?, handle: UGCQueryHandle) async -> SteamUGCQueryCompleted?
func sendQueryUGCRequest(isolation: isolated (any Actor)?, handle: UGCQueryHandle) async -> SteamUGCQueryCompleted?
Steamworks ISteamUGC::SendQueryUGCRequest()
, async
Declaration
public func sendQueryUGCRequest(
isolation: isolated (any Actor)? = #isolation, handle: UGCQueryHandle
) async -> SteamUGCQueryCompleted?
func setAdminQuery(handle: UGCUpdateHandle, adminQuery: Bool) -> Bool
func setAdminQuery(handle: UGCUpdateHandle, adminQuery: Bool) -> Bool
Steamworks ISteamUGC::SetAdminQuery()
Declaration
public func setAdminQuery(handle: UGCUpdateHandle, adminQuery: Bool) -> Bool
func setAllowCachedResponse(handle: UGCQueryHandle, maxAgeSeconds: Int) -> Bool
func setAllowCachedResponse(handle: UGCQueryHandle, maxAgeSeconds: Int) -> Bool
Steamworks ISteamUGC::SetAllowCachedResponse()
Declaration
@discardableResult
public func setAllowCachedResponse(handle: UGCQueryHandle, maxAgeSeconds: Int)
-> Bool
func setAllowLegacyUpload(handle: UGCUpdateHandle, allowLegacyUpload: Bool) -> Bool
func setAllowLegacyUpload(handle: UGCUpdateHandle, allowLegacyUpload: Bool) -> Bool
Steamworks ISteamUGC::SetAllowLegacyUpload()
Declaration
public func setAllowLegacyUpload(
handle: UGCUpdateHandle, allowLegacyUpload: Bool
) -> Bool
func setCloudFileNameFilter(handle: UGCQueryHandle, matchCloudFileName: String) -> Bool
func setCloudFileNameFilter(handle: UGCQueryHandle, matchCloudFileName: String) -> Bool
Steamworks ISteamUGC::SetCloudFileNameFilter()
Declaration
@discardableResult
public func setCloudFileNameFilter(
handle: UGCQueryHandle, matchCloudFileName: String
) -> Bool
func setItemContent(handle: UGCUpdateHandle, contentFolder: String) -> Bool
func setItemContent(handle: UGCUpdateHandle, contentFolder: String) -> Bool
Steamworks ISteamUGC::SetItemContent()
Declaration
@discardableResult
public func setItemContent(handle: UGCUpdateHandle, contentFolder: String)
-> Bool
func setItemDescription(handle: UGCUpdateHandle, description: String) -> Bool
func setItemDescription(handle: UGCUpdateHandle, description: String) -> Bool
Steamworks ISteamUGC::SetItemDescription()
Declaration
@discardableResult
public func setItemDescription(handle: UGCUpdateHandle, description: String)
-> Bool
func setItemMetadata(handle: UGCUpdateHandle, metaData: String) -> Bool
func setItemMetadata(handle: UGCUpdateHandle, metaData: String) -> Bool
Steamworks ISteamUGC::SetItemMetadata()
Declaration
@discardableResult
public func setItemMetadata(handle: UGCUpdateHandle, metaData: String) -> Bool
func setItemPreview(handle: UGCUpdateHandle, previewFile: String) -> Bool
func setItemPreview(handle: UGCUpdateHandle, previewFile: String) -> Bool
Steamworks ISteamUGC::SetItemPreview()
Declaration
@discardableResult
public func setItemPreview(handle: UGCUpdateHandle, previewFile: String) -> Bool
func setItemTitle(handle: UGCUpdateHandle, title: String) -> Bool
func setItemTitle(handle: UGCUpdateHandle, title: String) -> Bool
Steamworks ISteamUGC::SetItemTitle()
Declaration
@discardableResult
public func setItemTitle(handle: UGCUpdateHandle, title: String) -> Bool
func setItemUpdateLanguage(handle: UGCUpdateHandle, language: String) -> Bool
func setItemUpdateLanguage(handle: UGCUpdateHandle, language: String) -> Bool
Steamworks ISteamUGC::SetItemUpdateLanguage()
Declaration
@discardableResult
public func setItemUpdateLanguage(handle: UGCUpdateHandle, language: String)
-> Bool
func setItemVisibility(handle: UGCUpdateHandle, visibility: RemoteStoragePublishedFileVisibility) -> Bool
func setItemVisibility(handle: UGCUpdateHandle, visibility: RemoteStoragePublishedFileVisibility) -> Bool
Steamworks ISteamUGC::SetItemVisibility()
Declaration
@discardableResult
public func setItemVisibility(
handle: UGCUpdateHandle, visibility: RemoteStoragePublishedFileVisibility
) -> Bool
func setLanguage(handle: UGCQueryHandle, language: String) -> Bool
func setLanguage(handle: UGCQueryHandle, language: String) -> Bool
Steamworks ISteamUGC::SetLanguage()
Declaration
@discardableResult
public func setLanguage(handle: UGCQueryHandle, language: String) -> Bool
func setMatchAnyTag(handle: UGCQueryHandle, matchAnyTag: Bool) -> Bool
func setMatchAnyTag(handle: UGCQueryHandle, matchAnyTag: Bool) -> Bool
Steamworks ISteamUGC::SetMatchAnyTag()
Declaration
@discardableResult
public func setMatchAnyTag(handle: UGCQueryHandle, matchAnyTag: Bool) -> Bool
func setRankedByTrendDays(handle: UGCQueryHandle, days: Int) -> Bool
func setRankedByTrendDays(handle: UGCQueryHandle, days: Int) -> Bool
Steamworks ISteamUGC::SetRankedByTrendDays()
Declaration
@discardableResult
public func setRankedByTrendDays(handle: UGCQueryHandle, days: Int) -> Bool
func setRequiredGameVersions(handle: UGCUpdateHandle, gameBranchMin: String, gameBranchMax: String) -> Bool
func setRequiredGameVersions(handle: UGCUpdateHandle, gameBranchMin: String, gameBranchMax: String) -> Bool
Steamworks ISteamUGC::SetRequiredGameVersions()
Declaration
public func setRequiredGameVersions(
handle: UGCUpdateHandle, gameBranchMin: String, gameBranchMax: String
) -> Bool
func setReturnAdditionalPreviews(handle: UGCQueryHandle, returnAdditionalPreviews: Bool) -> Bool
func setReturnAdditionalPreviews(handle: UGCQueryHandle, returnAdditionalPreviews: Bool) -> Bool
Steamworks ISteamUGC::SetReturnAdditionalPreviews()
Declaration
@discardableResult
public func setReturnAdditionalPreviews(
handle: UGCQueryHandle, returnAdditionalPreviews: Bool
) -> Bool
func setReturnChildren(handle: UGCQueryHandle, returnChildren: Bool) -> Bool
func setReturnChildren(handle: UGCQueryHandle, returnChildren: Bool) -> Bool
Steamworks ISteamUGC::SetReturnChildren()
Declaration
@discardableResult
public func setReturnChildren(handle: UGCQueryHandle, returnChildren: Bool)
-> Bool
func setReturnLongDescription(handle: UGCQueryHandle, returnLongDescription: Bool) -> Bool
func setReturnLongDescription(handle: UGCQueryHandle, returnLongDescription: Bool) -> Bool
Steamworks ISteamUGC::SetReturnLongDescription()
Declaration
@discardableResult
public func setReturnLongDescription(
handle: UGCQueryHandle, returnLongDescription: Bool
) -> Bool
func setReturnMetadata(handle: UGCQueryHandle, returnMetadata: Bool) -> Bool
func setReturnMetadata(handle: UGCQueryHandle, returnMetadata: Bool) -> Bool
Steamworks ISteamUGC::SetReturnMetadata()
Declaration
@discardableResult
public func setReturnMetadata(handle: UGCQueryHandle, returnMetadata: Bool)
-> Bool
func setReturnOnlyIDs(handle: UGCQueryHandle, returnOnlyIDs: Bool) -> Bool
func setReturnOnlyIDs(handle: UGCQueryHandle, returnOnlyIDs: Bool) -> Bool
Steamworks ISteamUGC::SetReturnOnlyIDs()
Declaration
@discardableResult
public func setReturnOnlyIDs(handle: UGCQueryHandle, returnOnlyIDs: Bool)
-> Bool
func setReturnPlaytimeStats(handle: UGCQueryHandle, days: Int) -> Bool
func setReturnPlaytimeStats(handle: UGCQueryHandle, days: Int) -> Bool
Steamworks ISteamUGC::SetReturnPlaytimeStats()
Declaration
@discardableResult
public func setReturnPlaytimeStats(handle: UGCQueryHandle, days: Int) -> Bool
func setReturnTotalOnly(handle: UGCQueryHandle, returnTotalOnly: Bool) -> Bool
func setReturnTotalOnly(handle: UGCQueryHandle, returnTotalOnly: Bool) -> Bool
Steamworks ISteamUGC::SetReturnTotalOnly()
Declaration
@discardableResult
public func setReturnTotalOnly(handle: UGCQueryHandle, returnTotalOnly: Bool)
-> Bool
func setSearchText(handle: UGCQueryHandle, searchText: String) -> Bool
func setSearchText(handle: UGCQueryHandle, searchText: String) -> Bool
Steamworks ISteamUGC::SetSearchText()
Declaration
@discardableResult
public func setSearchText(handle: UGCQueryHandle, searchText: String) -> Bool
func setTimeCreatedDateRange(handle: UGCQueryHandle, start: RTime32, end: RTime32) -> Bool
func setTimeCreatedDateRange(handle: UGCQueryHandle, start: RTime32, end: RTime32) -> Bool
Steamworks ISteamUGC::SetTimeCreatedDateRange()
Declaration
public func setTimeCreatedDateRange(
handle: UGCQueryHandle, start: RTime32, end: RTime32
) -> Bool
func setTimeUpdatedDateRange(handle: UGCQueryHandle, start: RTime32, end: RTime32) -> Bool
func setTimeUpdatedDateRange(handle: UGCQueryHandle, start: RTime32, end: RTime32) -> Bool
Steamworks ISteamUGC::SetTimeUpdatedDateRange()
Declaration
public func setTimeUpdatedDateRange(
handle: UGCQueryHandle, start: RTime32, end: RTime32
) -> Bool
func setUserItemVote(publishedFileID: PublishedFileID, voteUp: Bool, completion: (sending SetUserItemVoteResult?) -> Void)
func setUserItemVote(publishedFileID: PublishedFileID, voteUp: Bool, completion: (sending SetUserItemVoteResult?) -> Void)
Steamworks ISteamUGC::SetUserItemVote()
, callback
Declaration
public func setUserItemVote(
publishedFileID: PublishedFileID, voteUp: Bool,
completion: @Sendable @escaping (sending SetUserItemVoteResult?) -> Void)
func setUserItemVote(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, voteUp: Bool) async -> SetUserItemVoteResult?
func setUserItemVote(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID, voteUp: Bool) async -> SetUserItemVoteResult?
Steamworks ISteamUGC::SetUserItemVote()
, async
Declaration
public func setUserItemVote(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID, voteUp: Bool
) async -> SetUserItemVoteResult?
func showWorkshopEULA() -> Bool
func showWorkshopEULA() -> Bool
func startItemUpdate(consumerAppId: AppID, publishedFileID: PublishedFileID) -> UGCUpdateHandle
func startItemUpdate(consumerAppId: AppID, publishedFileID: PublishedFileID) -> UGCUpdateHandle
Steamworks ISteamUGC::StartItemUpdate()
Declaration
public func startItemUpdate(
consumerAppId: AppID, publishedFileID: PublishedFileID
) -> UGCUpdateHandle
func startPlaytimeTracking(publishedFileID: [PublishedFileID], completion: (sending StartPlaytimeTrackingResult?) -> Void)
func startPlaytimeTracking(publishedFileID: [PublishedFileID], completion: (sending StartPlaytimeTrackingResult?) -> Void)
Steamworks ISteamUGC::StartPlaytimeTracking()
, callback
Declaration
public func startPlaytimeTracking(
publishedFileID: [PublishedFileID],
completion: @Sendable @escaping (sending StartPlaytimeTrackingResult?) ->
Void)
func startPlaytimeTracking(isolation: isolated (any Actor)?, publishedFileID: [PublishedFileID]) async -> StartPlaytimeTrackingResult?
func startPlaytimeTracking(isolation: isolated (any Actor)?, publishedFileID: [PublishedFileID]) async -> StartPlaytimeTrackingResult?
Steamworks ISteamUGC::StartPlaytimeTracking()
, async
Declaration
public func startPlaytimeTracking(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: [PublishedFileID]
) async -> StartPlaytimeTrackingResult?
func stopPlaytimeTracking(publishedFileID: [PublishedFileID], completion: (sending StopPlaytimeTrackingResult?) -> Void)
func stopPlaytimeTracking(publishedFileID: [PublishedFileID], completion: (sending StopPlaytimeTrackingResult?) -> Void)
Steamworks ISteamUGC::StopPlaytimeTracking()
, callback
Declaration
public func stopPlaytimeTracking(
publishedFileID: [PublishedFileID],
completion: @Sendable @escaping (sending StopPlaytimeTrackingResult?) ->
Void)
func stopPlaytimeTracking(isolation: isolated (any Actor)?, publishedFileID: [PublishedFileID]) async -> StopPlaytimeTrackingResult?
func stopPlaytimeTracking(isolation: isolated (any Actor)?, publishedFileID: [PublishedFileID]) async -> StopPlaytimeTrackingResult?
Steamworks ISteamUGC::StopPlaytimeTracking()
, async
Declaration
public func stopPlaytimeTracking(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: [PublishedFileID]
) async -> StopPlaytimeTrackingResult?
func stopPlaytimeTrackingForAllItems(completion: (sending StopPlaytimeTrackingResult?) -> Void)
func stopPlaytimeTrackingForAllItems(completion: (sending StopPlaytimeTrackingResult?) -> Void)
Steamworks ISteamUGC::StopPlaytimeTrackingForAllItems()
, callback
Declaration
public func stopPlaytimeTrackingForAllItems(
completion: @Sendable @escaping (sending StopPlaytimeTrackingResult?) ->
Void)
func stopPlaytimeTrackingForAllItems(isolation: isolated (any Actor)?) async -> StopPlaytimeTrackingResult?
func stopPlaytimeTrackingForAllItems(isolation: isolated (any Actor)?) async -> StopPlaytimeTrackingResult?
Steamworks ISteamUGC::StopPlaytimeTrackingForAllItems()
, async
Declaration
public func stopPlaytimeTrackingForAllItems(
isolation: isolated (any Actor)? = #isolation
) async -> StopPlaytimeTrackingResult?
func submitItemUpdate(handle: UGCUpdateHandle, changeNote: String?, completion: (sending SubmitItemUpdateResult?) -> Void)
func submitItemUpdate(handle: UGCUpdateHandle, changeNote: String?, completion: (sending SubmitItemUpdateResult?) -> Void)
Steamworks ISteamUGC::SubmitItemUpdate()
, callback
Declaration
public func submitItemUpdate(
handle: UGCUpdateHandle, changeNote: String?,
completion: @Sendable @escaping (sending SubmitItemUpdateResult?) -> Void)
func submitItemUpdate(isolation: isolated (any Actor)?, handle: UGCUpdateHandle, changeNote: String?) async -> SubmitItemUpdateResult?
func submitItemUpdate(isolation: isolated (any Actor)?, handle: UGCUpdateHandle, changeNote: String?) async -> SubmitItemUpdateResult?
Steamworks ISteamUGC::SubmitItemUpdate()
, async
Declaration
public func submitItemUpdate(
isolation: isolated (any Actor)? = #isolation, handle: UGCUpdateHandle,
changeNote: String?
) async -> SubmitItemUpdateResult?
func subscribeItem(publishedFileID: PublishedFileID, completion: (sending RemoteStorageSubscribePublishedFileResult?) -> Void)
func subscribeItem(publishedFileID: PublishedFileID, completion: (sending RemoteStorageSubscribePublishedFileResult?) -> Void)
Steamworks ISteamUGC::SubscribeItem()
, callback
Declaration
public func subscribeItem(
publishedFileID: PublishedFileID,
completion: @Sendable @escaping (
sending RemoteStorageSubscribePublishedFileResult?
) -> Void)
func subscribeItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> RemoteStorageSubscribePublishedFileResult?
func subscribeItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> RemoteStorageSubscribePublishedFileResult?
Steamworks ISteamUGC::SubscribeItem()
, async
Declaration
public func subscribeItem(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID
) async -> RemoteStorageSubscribePublishedFileResult?
func suspendDownloads(suspend: Bool)
func suspendDownloads(suspend: Bool)
Steamworks ISteamUGC::SuspendDownloads()
Declaration
public func suspendDownloads(suspend: Bool)
func unsubscribeItem(publishedFileID: PublishedFileID, completion: (sending RemoteStorageUnsubscribePublishedFileResult?) -> Void)
func unsubscribeItem(publishedFileID: PublishedFileID, completion: (sending RemoteStorageUnsubscribePublishedFileResult?) -> Void)
Steamworks ISteamUGC::UnsubscribeItem()
, callback
Declaration
public func unsubscribeItem(
publishedFileID: PublishedFileID,
completion: @Sendable @escaping (
sending RemoteStorageUnsubscribePublishedFileResult?
) -> Void)
func unsubscribeItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> RemoteStorageUnsubscribePublishedFileResult?
func unsubscribeItem(isolation: isolated (any Actor)?, publishedFileID: PublishedFileID) async -> RemoteStorageUnsubscribePublishedFileResult?
Steamworks ISteamUGC::UnsubscribeItem()
, async
Declaration
public func unsubscribeItem(
isolation: isolated (any Actor)? = #isolation,
publishedFileID: PublishedFileID
) async -> RemoteStorageUnsubscribePublishedFileResult?
func updateItemPreviewFile(handle: UGCUpdateHandle, index: Int, previewFile: String) -> Bool
func updateItemPreviewFile(handle: UGCUpdateHandle, index: Int, previewFile: String) -> Bool
Steamworks ISteamUGC::UpdateItemPreviewFile()
Declaration
@discardableResult
public func updateItemPreviewFile(
handle: UGCUpdateHandle, index: Int, previewFile: String
) -> Bool
func updateItemPreviewVideo(handle: UGCUpdateHandle, index: Int, videoID: String) -> Bool
func updateItemPreviewVideo(handle: UGCUpdateHandle, index: Int, videoID: String) -> Bool
Steamworks ISteamUGC::UpdateItemPreviewVideo()
Declaration
@discardableResult
public func updateItemPreviewVideo(
handle: UGCUpdateHandle, index: Int, videoID: String
) -> Bool
func getSubscribedItems() -> (rc: Int, publishedFileID: [PublishedFileID])
func getSubscribedItems() -> (rc: Int, publishedFileID: [PublishedFileID])
Provided by module SteamworksHelpers
.
Steamworks ISteamUGC::GetSubscribedItems()
Declaration
public func getSubscribedItems() -> (
rc: Int, publishedFileID: [PublishedFileID]
)