Summary

Methods

Init()client
Builds a storage item icon (cwStorageItem) from the parent's itemData or the global CURRENT_ITEM_DATA.
Think()client
Refreshes the storage item's color, its model when the item's icon changes, and its tooltip while it is hovered.

Methods

Builds a storage item icon (cwStorageItem) from the parent's itemData or the global CURRENT_ITEM_DATA.

Clicking the icon moves the item with the StorageGiveItem or StorageTakeItem command, at most once a second.

Refreshes the storage item's color, its model when the item's icon changes, and its tooltip while it is hovered.

Defined in