dataDrivenConfiguratorExtension

Description

Available methods to extend the data driven configurator.

Members


<static> isInited :boolean

Description

Flag indicating whether the Data Driven Configurator Extension has been fully initialized.
This is set to true after all dependent components have completed their initialization.

Details
boolean

0.0.1

In this reference, under dataDrivenConfiguratorExtension:

In this reference, under dataDrivenConfigurator:

Methods


<static> forgetLastValueDefinedByUserForAttributes( attributes )

Description

By default, this method does nothing more than propagating the call to dataDrivenConfigurator.forgetLastValueDefinedByUserForAttributes.

It is meant to be adjusted as needed.

Parameters
Name Type Default Description
attributes Array.<object>

The list of attributes for which data driven should forget previous user defined values. If null, the values of all attributes will be forgotten.

Details

0.2.3

In this reference, under dataDrivenConfigurator:


<static> getStatus() → {dataDrivenConfigurator.attributesStatus}

Description

By default, this method does nothing more than propagating the call to dataDrivenConfigurator.getStatus.

It is meant to be adjusted as needed.

Details

0.0.1

In this reference, under dataDrivenConfigurator:


<static> setConfiguration( configurationObject [, options ] )

Description

By default, this method does nothing more than propagating the call to dataDrivenConfigurator.setConfiguration.

It is meant to be adjusted as needed.

Parameters
Name Type Attributes Default Description
configurationObject object

A configuration object containing the attributes to set and their values

options object <optional>

Since 0.3.3 Options as how the configuration should be set.

Name Type Attributes Default Description
repercussionConfigPropagationMode dataDrivenConfigurator.repercussionConfigPropagationMode <optional>
async

The way the repercussion configuration object should be propagated.

repercussionConfigDelayedPropagationModeDelay dataDrivenConfigurator.repercussionConfigDelayedPropagationModeDelay <optional>
1

Delay in milliseconds to apply when repercussionConfigPropagationMode is set to delayed.

Details

0.0.1

In this reference, under dataDrivenConfiguratorExtension:

In this reference, under dataDrivenConfigurator:

<static> simulateSetConfiguration()

Description

By default, this method does nothing more than propagating the call to dataDrivenConfigurator.simulateSetConfiguration.

It is meant to be adjusted as needed.

Details

0.0.29

In this reference, under dataDrivenConfiguratorExtension:

In this reference, under dataDrivenConfigurator:


<static> unload()

Description

Unloads everything related to the data driven extension and the data driven.

If used in addition to the player’s native unload, the data driven code’s one should be called first.

Examples

			window.dataDrivenConfiguratorExtension.unload();
			player.unload();
Details

0.0.29

In this reference, under dataDrivenConfigurator:

Events


dataDrivenConfiguratorExtensionIsInited

Description

Fired when the Data Driven Configurator Extension has inited.

Properties
Name Type Description
detail object

A holder.

Name Type Description
version string

The version of the Data Driven Configurator Extension code that has been inited.

Details
object

0.2.3

In this reference, under dataDrivenConfiguratorExtension:

In this reference, under dataDrivenConfigurator: