Changeset 88 for trunk/src/game/ObjectMgr.h
- Timestamp:
- 11/19/08 13:33:06 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/ObjectMgr.h
r85 r88 210 210 #define MAX_CONDITION 11 // maximum value in ConditionType enum 211 211 212 //Player's info 213 typedef struct _tagCachePlayerInfo 214 { 215 std::string sPlayerName; 216 uint32 unfield; 217 uint32 unLevel; 218 uint8 unClass; 219 //Arena 220 uint32 unArenaInfoId0; 221 uint32 unArenaInfoId1; 222 uint32 unArenaInfoId2; 223 uint32 unArenaInfoSlot0; 224 uint32 unArenaInfoSlot1; 225 uint32 unArenaInfoSlot2; 226 }CachePlayerInfo, *PCachePlayerInfo; 227 typedef HM_NAMESPACE::hash_map<uint32, PCachePlayerInfo> CachePlayerInfoMap; 228 212 229 struct PlayerCondition 213 230 { … … 569 586 uint32 GenerateItemTextID(); 570 587 uint32 GeneratePetNumber(); 588 589 void LoadPlayerInfoInCache(); 590 PCachePlayerInfo GetPlayerInfoFromCache(uint32 unPlayerGuid) const; 591 CachePlayerInfoMap m_mPlayerInfoMap; 571 592 572 593 uint32 CreateItemText(std::string text);