mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-10 13:34:36 -04:00
* fixed lint issues of the package d2core/d2inventory * fixed lint issues of the d2script package * fixed lint issues of the d2common/d2interface package * fixed lint issues of the d2common/d2resource package * fixed lint issues of the d2core/d2term package * fixed conflict errors
15 lines
582 B
Go
15 lines
582 B
Go
package d2inventory
|
|
|
|
// CharacterEquipment stores equipments of a character
|
|
type CharacterEquipment struct {
|
|
Head *InventoryItemArmor `json:"head"` // Head
|
|
Torso *InventoryItemArmor `json:"torso"` // TR
|
|
Legs *InventoryItemArmor `json:"legs"` // Legs
|
|
RightArm *InventoryItemArmor `json:"rightArm"` // RA
|
|
LeftArm *InventoryItemArmor `json:"leftArm"` // LA
|
|
LeftHand *InventoryItemWeapon `json:"leftHand"` // LH
|
|
RightHand *InventoryItemWeapon `json:"rightHand"` // RH
|
|
Shield *InventoryItemArmor `json:"shield"` // SH
|
|
// S1-S8?
|
|
}
|