Changeset 206 for trunk/src/game/ObjectAccessor.h
- Timestamp:
- 11/19/08 13:46:16 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/ObjectAccessor.h
r174 r206 25 25 #include "Policies/Singleton.h" 26 26 #include "zthread/FastMutex.h" 27 #include "Utilities/ HashMap.h"27 #include "Utilities/UnorderedMap.h" 28 28 #include "Policies/ThreadingModel.h" 29 29 … … 50 50 public: 51 51 52 typedef HM_NAMESPACE::hash_map< uint64, T* > MapType;52 typedef UNORDERED_MAP< uint64, T* > MapType; 53 53 typedef ZThread::FastMutex LockType; 54 54 typedef Trinity::GeneralLock<LockType > Guard; … … 92 92 93 93 public: 94 typedef HM_NAMESPACE::hash_map<uint64, Corpse* > Player2CorpsesMapType;95 typedef HM_NAMESPACE::hash_map<Player*, UpdateData>::value_type UpdateDataValueType;94 typedef UNORDERED_MAP<uint64, Corpse* > Player2CorpsesMapType; 95 typedef UNORDERED_MAP<Player*, UpdateData>::value_type UpdateDataValueType; 96 96 97 97 template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/)