Documentation ¶
Overview ¶
Package d2item provides a generic interface for what the OpenDiablo2 engine considers to be an item.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item interface { Context() StatContext SetContext(StatContext) Label() string Description() string }
Item describes all types of item that can be placed in the player inventory grid (not just things that can be equipped!)
type StatContext ¶
StatContext is anything which has a `StatList` method which yields a StatList. This is used for resolving stat dependencies for showing actual values, like stats that are based off of the current character level
Directories ¶
Path | Synopsis |
---|---|
Package diablo2item provides the Diablo 2 implementation of items for the OpenDiablo2 interfaces
|
Package diablo2item provides the Diablo 2 implementation of items for the OpenDiablo2 interfaces |
Click to show internal directories.
Click to hide internal directories.