1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-04 01:07:18 -05:00
OpenDiablo2/d2core/d2item/context.go

13 lines
400 B
Go
Raw Normal View History

package d2item
import "github.com/OpenDiablo2/OpenDiablo2/d2core/d2stats"
// 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
type StatContext interface {
Equipper
BaseStatList() d2stats.StatList
StatList() d2stats.StatList
}