Core/ObjectMgr: Refactor sEquipmentStorage

This commit is contained in:
leak
2011-04-28 22:34:40 +02:00
parent 5aeb4fe794
commit 03365e9a57
8 changed files with 88 additions and 38 deletions
+4 -2
View File
@@ -230,10 +230,12 @@ struct PointOfInterestLocale
struct EquipmentInfo
{
uint32 entry;
uint32 equipentry[3];
uint32 ItemEntry[3];
};
// Benchmarked: Faster than std::map (insert/find)
typedef UNORDERED_MAP<uint16, EquipmentInfo> EquipmentInfoContainer;
// from `creature` table
struct CreatureData
{