From a7acabae8bb9fa9915c4b426d317ce6c5db70a05 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Thu, 17 Dec 2009 14:55:19 +0100 Subject: Some fixes for core 3.2.2a --HG-- branch : trunk --- src/game/ObjectMgr.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/game/ObjectMgr.h') diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index 1c5367387fc..440763c21cc 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -257,23 +257,6 @@ enum ConditionType #define MAX_CONDITION 14 // maximum value in ConditionType enum -//Player's info -typedef struct _tagCachePlayerInfo -{ - std::string sPlayerName; - uint32 unfield; - uint32 unLevel; - uint8 unClass; -//Arena - uint32 unArenaInfoId0; - uint32 unArenaInfoId1; - uint32 unArenaInfoId2; - uint32 unArenaInfoSlot0; - uint32 unArenaInfoSlot1; - uint32 unArenaInfoSlot2; -}CachePlayerInfo, *PCachePlayerInfo; -typedef UNORDERED_MAP CachePlayerInfoMap; - struct PlayerCondition { ConditionType condition; // additional condition type @@ -641,10 +624,6 @@ class ObjectMgr uint32 GenerateMailID(); uint32 GeneratePetNumber(); - void LoadPlayerInfoInCache(); - PCachePlayerInfo GetPlayerInfoFromCache(uint32 unPlayerGuid) const; - CachePlayerInfoMap m_mPlayerInfoMap; - uint32 CreateItemText(std::string text); void AddItemText(uint32 itemTextId, std::string text) { mItemTexts[itemTextId] = text; } std::string GetItemText( uint32 id ) -- cgit v1.2.3