1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 02:16:23 -05:00
OpenDiablo2/d2core/d2inventory/character_equipment.go
Tim Sarbin 52f8cd6d0c
Initial work to separate client and server logic (#330)
* Switched to json formatted characters

* Added infrastructure for networking

* Minor updates.

* more updates for map engine/rendering

* More map engine changes and fixes
2020-06-13 18:32:09 -04:00

14 lines
527 B
Go

package d2inventory
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?
}