DownloadItemResult
Swift
public struct DownloadItemResult: Sendable
Steamworks DownloadItemResult_t
Topics
var appID: AppID
var appID: AppID
var publishedFileId: PublishedFileID
var publishedFileId: PublishedFileID
var result: Result
var result: Result
init(appID: AppID, publishedFileId: PublishedFileID, result: Result)
init(appID: AppID, publishedFileId: PublishedFileID, result: Result)
Create a customized DownloadItemResult
Declaration
Swift
public init(
appID: AppID = 0, publishedFileId: PublishedFileID = 0,
result: Result = .none)