mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-01 08:54:20 -04:00
Add struct to display inventory panel. Add struct to handle inventory and merchant grids. Hook up `i` key to toggle inventory panel.
14 lines
370 B
Go
14 lines
370 B
Go
package d2core
|
|
|
|
type CharacterEquipment struct {
|
|
Head *InventoryItemArmor // Head
|
|
Torso *InventoryItemArmor // TR
|
|
Legs *InventoryItemArmor // Legs
|
|
RightArm *InventoryItemArmor // RA
|
|
LeftArm *InventoryItemArmor // LA
|
|
LeftHand *InventoryItemWeapon // LH
|
|
RightHand *InventoryItemWeapon // RH
|
|
Shield *InventoryItemArmor // SH
|
|
// S1-S8?
|
|
}
|