C# Class withSIX.Steam.Api.PublishedFile

Show file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Private Properties

Property Type Description
GetPath IAbsolutePath
HandleSubscription Task
IsInstalled bool
IsLegacy bool
IsSubscribed bool
RequiresDownloading bool

Public Methods

Method Description
Download ( ISteamDownloader dl, ISteamApi api, double>.Action progressAction = null, CancellationToken cancelToken = default(CancellationToken), bool force = false ) : Task
PublishedFile ( PublishedFileId_t id, AppId_t appId ) : System
PublishedFile ( ulong id, uint appId ) : System
ToString ( ) : string
Uninstall ( ISteamApi api, IAbsoluteDirectoryPath workshopPath, CancellationToken cancelToken = default(CancellationToken) ) : Task

Private Methods

Method Description
GetPath ( IAbsoluteDirectoryPath workshopPath ) : IAbsolutePath
HandleSubscription ( bool force, ISteamApi api ) : Task
IsInstalled ( ) : bool
IsLegacy ( ) : bool
IsSubscribed ( ) : bool
RequiresDownloading ( ) : bool

Method Details

Download() public method

public Download ( ISteamDownloader dl, ISteamApi api, double>.Action progressAction = null, CancellationToken cancelToken = default(CancellationToken), bool force = false ) : Task
dl ISteamDownloader
api ISteamApi
progressAction double>.Action
cancelToken System.Threading.CancellationToken
force bool
return Task

PublishedFile() public method

public PublishedFile ( PublishedFileId_t id, AppId_t appId ) : System
id PublishedFileId_t
appId AppId_t
return System

PublishedFile() public method

public PublishedFile ( ulong id, uint appId ) : System
id ulong
appId uint
return System

ToString() public method

public ToString ( ) : string
return string

Uninstall() public method

public Uninstall ( ISteamApi api, IAbsoluteDirectoryPath workshopPath, CancellationToken cancelToken = default(CancellationToken) ) : Task
api ISteamApi
workshopPath IAbsoluteDirectoryPath
cancelToken System.Threading.CancellationToken
return Task