Workload

Description

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

Properties

Name Type Summary
cpuRunTime number

Read-only.

enabled boolean
branch number

Methods

Name Return Value Summary
getConfig object
getNumSubs number
getSubConfig object
getSubConfigs Array.<object>
isSwitch boolean
isTask boolean
load None
load None
refresh None
toJSON string

Signals

Name Summary
dirtyEnabled
loaded
newStats

Method Details

(static) getConfig( name ) → {object}
Returns: object

Parameters

Name Type Description
name string
(static) getNumSubs( ) → {number}
Returns: number
(static) getSubConfig( index ) → {object}
Returns: object

Parameters

Name Type Description
index number
(static) getSubConfigs( ) → {Array.<object>}
Returns: Array.<object>
(static) isSwitch( ) → {boolean}
Returns: boolean
(static) isTask( ) → {boolean}
Returns: boolean
(static) load( map )

Parameters

Name Type Description
map object
(static) load( json )

Parameters

Name Type Description
json object
(static) refresh( )
(static) toJSON( ) → {string}
Returns: string

Signal Details

dirtyEnabled( )
Returns: Signal
loaded( )
Returns: Signal
newStats( )
Returns: Signal