mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 02:16:23 -05:00
52f8cd6d0c
* Switched to json formatted characters * Added infrastructure for networking * Minor updates. * more updates for map engine/rendering * More map engine changes and fixes
14 lines
527 B
Go
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?
|
|
}
|