class
GlobalStats
public sealed class GlobalStats Properties
| Name | Type | Description |
|---|---|---|
IsRefreshing | Boolean | True if we're currently fetching new stats |
LastRefresh | DateTime | The UTC datetime when we last fetched new stats |
Item | GlobalStat |
Methods
GlobalStats Copy() Make a copy of this class. Allows you to store the stats from a point in time.
GlobalStat Get(String name) Get a stat by name. Will return an empty stat if not found
Boolean TryGet(String name, GlobalStat stat) Get a stat by name, returns true if found
Task Refresh() Refresh these global stats - grab the latest values
virtual IEnumerator<GlobalStat> GetEnumerator()