Skip to content

Class "ItemConfigItem"⚓︎

Functions⚓︎

AddCustomCacheTag ()⚓︎

void AddCustomCacheTag ( string Tag )⚓︎

Adds the provided string to the table of custom cache tags. See items.xml for more information on customcache.


AddCustomTag ()⚓︎

void AddCustomTag ( string Tag )⚓︎

Adds the provided string to the table of custom tags. See items.xml for more information on customtags.


GetCustomCacheTags ()⚓︎

table GetCustomCacheTags ( )⚓︎

Returns a table containing all the strings specified in the item's customcache attribute in items.xml. Tags are always provided in all lowercase. See items.xml for more information on customcache.


GetCustomTags ()⚓︎

table GetCustomTags ( )⚓︎

Returns a table containing all the strings specified in the item's customtags attribute in items.xml. Tags are always provided in all lowercase. See items.xml for more information on customtags.


HasCustomCacheTag ()⚓︎

boolean HasCustomCacheTag ( string tag )⚓︎

Returns true if the items has the provided string specified in its customcache attribute in items.xml. Capitalization does not matter. See items.xml for more information on customcache.


HasCustomTag ()⚓︎

boolean HasCustomTag ( string tag )⚓︎

Returns true if the items has the provided string specified in its customtags attribute in items.xml. Capitalization does not matter. See items.xml for more information on customtags.


RemoveCustomCacheTag ()⚓︎

void RemoveCustomCacheTag ( string Tag )⚓︎

Removes the provided string from the table of custom cache tags. See items.xml for more information on customcache.


RemoveCustomTag ()⚓︎

void RemoveCustomTag ( string Tag )⚓︎

Removes the provided string from the table of custom tags. See items.xml for more information on customtags.