Crosstales.TrueRandom.Module.ModuleQuota Class Reference

This module gets the remaining quota on www.random.org. More...

Inheritance diagram for Crosstales.TrueRandom.Module.ModuleQuota:
Crosstales.TrueRandom.Module.BaseModule

Static Public Member Functions

static System.Collections.IEnumerator GetQuota ()
 Gets the remaining quota in bits from the server. More...
 
static void GetQuotaInEditor ()
 Gets the remaining quota in bits from the server (Editor only). More...
 

Static Public Attributes

static int Quota => quota
 Returns the remaining quota in bits from the last check. More...
 

Events

static QuotaUpdate OnUpdateQuota
 Event to get a message with the current quota. More...
 
- Events inherited from Crosstales.TrueRandom.Module.BaseModule
static ErrorInfo OnErrorInfo
 Event to get a message when an error occured. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Crosstales.TrueRandom.Module.BaseModule
static void onErrorInfo (string errorInfo, string id)
 
- Static Protected Attributes inherited from Crosstales.TrueRandom.Module.BaseModule
const int timeout = 5
 

Detailed Description

This module gets the remaining quota on www.random.org.

Member Function Documentation

◆ GetQuota()

static System.Collections.IEnumerator Crosstales.TrueRandom.Module.ModuleQuota.GetQuota ( )
static

Gets the remaining quota in bits from the server.

◆ GetQuotaInEditor()

static void Crosstales.TrueRandom.Module.ModuleQuota.GetQuotaInEditor ( )
static

Gets the remaining quota in bits from the server (Editor only).

Member Data Documentation

◆ Quota

int Crosstales.TrueRandom.Module.ModuleQuota.Quota => quota
static

Returns the remaining quota in bits from the last check.

Returns
Remaining quota in bits from the last check.

Event Documentation

◆ OnUpdateQuota

QuotaUpdate Crosstales.TrueRandom.Module.ModuleQuota.OnUpdateQuota
static

Event to get a message with the current quota.


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/TrueRandom/TrueRandomPro/Assets/Plugins/crosstales/TrueRandom/Scripts/Module/ModuleQuota.cs