Safe Haskell | None |
---|---|
Language | Haskell2010 |
Item slots for UI and AI item collections.
- data ItemSlots = ItemSlots !(EnumMap SlotChar ItemId) !(EnumMap SlotChar ItemId)
- data SlotChar = SlotChar {
- slotPrefix :: !Int
- slotChar :: !Char
- allSlots :: Int -> [SlotChar]
- allZeroSlots :: [SlotChar]
- intSlots :: [SlotChar]
- slotLabel :: SlotChar -> Text
- assignSlot :: CStore -> Item -> FactionId -> Maybe Actor -> ItemSlots -> SlotChar -> State -> SlotChar