You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
702 B
Go
24 lines
702 B
Go
package model
|
|
|
|
// EquipmentSlot identifies where an item is equipped.
|
|
type EquipmentSlot string
|
|
|
|
const (
|
|
SlotMainHand EquipmentSlot = "main_hand"
|
|
SlotChest EquipmentSlot = "chest"
|
|
SlotHead EquipmentSlot = "head"
|
|
SlotFeet EquipmentSlot = "feet"
|
|
SlotNeck EquipmentSlot = "neck"
|
|
SlotHands EquipmentSlot = "hands"
|
|
SlotLegs EquipmentSlot = "legs"
|
|
SlotCloak EquipmentSlot = "cloak"
|
|
SlotFinger EquipmentSlot = "finger"
|
|
SlotWrist EquipmentSlot = "wrist"
|
|
)
|
|
|
|
// AllEquipmentSlots lists every slot that can hold gear.
|
|
var AllEquipmentSlots = []EquipmentSlot{
|
|
SlotMainHand, SlotChest, SlotHead, SlotFeet, SlotNeck,
|
|
SlotHands, SlotLegs, SlotCloak, SlotFinger, SlotWrist,
|
|
}
|