API ReferenceSandbox.Menu

LoadingProgressclass

objectLoadingProgress
Namespace
Sandbox.Menu
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Menu.LoadingProgress

Methods1

Showing 1 methods

public System.TimeSpan CalculateETA()PUBLIC

Returns:TimeSpan

Properties5

Showing 5 properties

public double Sandbox.Menu.LoadingProgress.Fraction { get; set; }PUBLICGETSET

A value between 0 and 1, to show a progress bar

Returns:double

public double Sandbox.Menu.LoadingProgress.Mbps { get; set; }PUBLICGETSET

The current transfer rate in Megabits per second. 0 is none.

Returns:double

public double Sandbox.Menu.LoadingProgress.Percent { get; set; }PUBLICGETSET

Delta multipled by 100

Returns:double

public double Sandbox.Menu.LoadingProgress.TotalSize { get; set; }PUBLICGETSET

The total size of what we're trying to download

Returns:double

On this page