Crosstales.OnlineCheck.Util.Context Class Reference
Context for the asset. More...
Static Public Attributes | |
static int | NumberOfChecks = 0 |
The current total number of checks. More... | |
static float | Runtime = 0f |
Time since start of the scene. More... | |
static float | Uptime = 0f |
The current total of Internet availability uptime. More... | |
static float | ChecksPerMinute => NumberOfChecks / (Runtime / 60f) |
Calculates checks per minute. More... | |
static float | Downtime => Runtime - Uptime |
Calculates Internet unavailability. More... | |
Detailed Description
Context for the asset.
Member Data Documentation
◆ ChecksPerMinute
|
static |
Calculates checks per minute.
- Returns
- Returns checks done within 60 seconds
◆ Downtime
Calculates Internet unavailability.
- Returns
- Returns downtime in seconds.
◆ NumberOfChecks
|
static |
The current total number of checks.
◆ Runtime
|
static |
Time since start of the scene.
◆ Uptime
|
static |
The current total of Internet availability uptime.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/OnlineCheck/OnlineCheckPro/Assets/Plugins/crosstales/OnlineCheck/Scripts/Util/Context.cs