Trigger API Reference DCEI Functions Custom Data0 - BLKTower/TestWiki GitHub Wiki
Trigger API Reference\DCEI Functions\Custom Data {Trigger-API-ReferenceDCEI-FunctionsCustom-Data}
object GetAllCustomData()
Returns a table of all the custom data.
local custom_data = DCEI.GetAllCustomData()
object GetCustomDataByType(string typeName)
Returns a table of all the custom data of the given type.
local talents = DCEI.GetCustomDataByType("Talents")
object GetDefaultCustomDataByType(string typeName) {object-GetDefaultCustomDataByTypestring-typeName}
object GetDefaultCustomDataByType(string typeName)
Returns a table of all the default custom data of the given type.
local talent_defaults = DCEI.GetDefaultCustomDataByType("Talents")
object GetCustomDataByInstance(string typeName, string instanceName) {object-GetCustomDataByInstancestring-typeName-string-instanceName}
object GetCustomDataByInstance(string typeName, string instanceName)
Returns a table of all the custom data of the given type of a specific instance.
local talent_fireball = DCEI.GetCustomDataByInstance("Talents", "Fireball")