WorkshopDownloadclass
A workshop item coming down, or one that's ended - for the menu to show. One that ended failed if there's an `Sandbox.WorkshopDownload.Error`, saying what went wrong, with `Sandbox.WorkshopDownload.ErrorHelp` what to do about it; otherwise it finished.
Constructors1
Showing 1 constructors
public WorkshopDownload(ulong Id, string Title, string Thumb, long Downloaded, long Total, string Error = null, string ErrorHelp = null)
A workshop item coming down, or one that's ended - for the menu to show. One that ended failed if there's an `Sandbox.WorkshopDownload.Error`, saying what went wrong, with `Sandbox.WorkshopDownload.ErrorHelp` what to do about it; otherwise it finished.
| Parameter | Type | Description |
|---|---|---|
| Id | ulong | The item's workshop id |
| Title | string | What it's called |
| Thumb | string | Its preview image |
| Downloaded | long | How much of it's come down, in bytes |
| Total | long | How much there is to come down, in bytes |
| Error = null | string | What went wrong, if it failed |
| ErrorHelp = null | string | What to do about it |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(ulong Id, string Title, string Thumb, long Downloaded, long Total, string Error, string ErrorHelp)
| Parameter | Type | Description |
|---|---|---|
| Id | ulong | — |
| Title | string | — |
| Thumb | string | — |
| Downloaded | long | — |
| Total | long | — |
| Error | string | — |
| ErrorHelp | string | — |
void—No results match this filter.
Properties8
Showing 8 properties
public long Sandbox.WorkshopDownload.Downloaded { get; set; }
How much of it's come down, in bytes
long—public string Sandbox.WorkshopDownload.Error { get; set; }
What went wrong, if it failed
string—public string Sandbox.WorkshopDownload.ErrorHelp { get; set; }
What to do about it
string—public float Sandbox.WorkshopDownload.Fraction { get; set; }
How far through it is, 0 to 1
float—public ulong Sandbox.WorkshopDownload.Id { get; set; }
The item's workshop id
ulong—public string Sandbox.WorkshopDownload.Thumb { get; set; }
Its preview image
string—public string Sandbox.WorkshopDownload.Title { get; set; }
What it's called
string—public long Sandbox.WorkshopDownload.Total { get; set; }
How much there is to come down, in bytes
long—No results match this filter.