From b224142b2a0a6a3d7a0211fe2342e061c719f6ad Mon Sep 17 00:00:00 2001 From: Uleat Date: Fri, 5 Dec 2014 01:18:49 -0500 Subject: [PATCH] Inventory V2 - Added ItemSlot Structures --- common/eq_constants.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/common/eq_constants.h b/common/eq_constants.h index 426d4a9e5..6486fdba6 100644 --- a/common/eq_constants.h +++ b/common/eq_constants.h @@ -968,6 +968,28 @@ namespace legacy { } InventorySlot; } +#pragma pack(1) // will be used in packets as well as other inventory-related systems + +struct ItemSlot_Struct +{ + int16 indexMap; + int16 unknown02; + int16 indexMain; + int16 indexSub; + int16 indexAug; + int16 unknown01; +}; + +struct ItemSlotShort_Struct +{ + int16 indexMain; + int16 indexSub; + int16 indexAug; + int16 unknown01; +}; + +#pragma pack() + static const uint32 MAX_SPELL_DB_ID_VAL = 65535; #endif