TPG.Gear.Key(kind, id)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Stable identifier for one item, used as the cooldown key on both realms. weapon).
Parameters
| Name | Type | Description |
|---|---|---|
kind | string | `"armor"` or `"weapon"` (anything else is treated as a |
id | string|number | Armor id or weapon class/virtual id. |
Returns
| Type | Description |
|---|---|
string | `"armor:<id>"` for armor, `tostring(id)` otherwise. |
Examples
No examples available.
Used In
No usages found in the codebase.