1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-07 10:47:19 -05:00
OpenDiablo2/d2core/d2item/item.go
lord 524132c122
D2datadict unique items bugfix (#669)
* d2ui.Label: add support for color tokens in labels, multiple colors per label

* unique items should use the item name as the map key
2020-08-02 21:26:07 -04:00

12 lines
254 B
Go

package d2item
// Item describes all types of item that can be placed in the
// player inventory grid (not just things that can be equipped!)
type Item interface {
Context() StatContext
SetContext(StatContext)
Label() string
Description() string
}