Trigger API Reference DCEI Functions Custom Data0 - BLKTower/TestWiki GitHub Wiki

Table of Contents

Trigger API Reference\DCEI Functions\Custom Data {Trigger-API-ReferenceDCEI-FunctionsCustom-Data}

object GetAllCustomData() {object-GetAllCustomData}

object GetAllCustomData()

Description

Returns a table of all the custom data.

Example Usage

local custom_data = DCEI.GetAllCustomData()

object GetCustomDataByType(string typeName) {object-GetCustomDataByTypestring-typeName}

object GetCustomDataByType(string typeName)

Description

Returns a table of all the custom data of the given type.

Parameters

  • string typeName the name of the type.

Example Usage

local talents = DCEI.GetCustomDataByType("Talents")

object GetDefaultCustomDataByType(string typeName) {object-GetDefaultCustomDataByTypestring-typeName}

object GetDefaultCustomDataByType(string typeName)

Description

Returns a table of all the default custom data of the given type.

Parameters

  • string typeName the name of the type.

Example Usage

local talent_defaults = DCEI.GetDefaultCustomDataByType("Talents")

object GetCustomDataByInstance(string typeName, string instanceName) {object-GetCustomDataByInstancestring-typeName-string-instanceName}

object GetCustomDataByInstance(string typeName, string instanceName)

Description

Returns a table of all the custom data of the given type of a specific instance.

Parameters

  • string typeName the name of the type.
  • string instanceName the name of the instance of an object.

Example Usage

local talent_fireball = DCEI.GetCustomDataByInstance("Talents", "Fireball")

⚠️ **GitHub.com Fallback** ⚠️