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

float Crosstales.OnlineCheck.Util.Context.ChecksPerMinute => NumberOfChecks / (Runtime / 60f)
static

Calculates checks per minute.

Returns
Returns checks done within 60 seconds

◆ Downtime

float Crosstales.OnlineCheck.Util.Context.Downtime => Runtime - Uptime
static

Calculates Internet unavailability.

Returns
Returns downtime in seconds.

◆ NumberOfChecks

int Crosstales.OnlineCheck.Util.Context.NumberOfChecks = 0
static

The current total number of checks.

◆ Runtime

float Crosstales.OnlineCheck.Util.Context.Runtime = 0f
static

Time since start of the scene.

◆ Uptime

float Crosstales.OnlineCheck.Util.Context.Uptime = 0f
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