mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-14 14:13:43 -04:00
d6769975cd
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?
|
|
}
|