Eluna: fix compatibility with new guid changes, fix bg methods for cata
This commit is contained in:
@@ -41,10 +41,6 @@ typedef uint64 ObjectGuid;
|
||||
#define GET_GUID GetGUID
|
||||
#else
|
||||
typedef QueryNamedResult ElunaQuery;
|
||||
#define MAKE_NEW_GUID(l, e, h) ObjectGuid(h, e, l)
|
||||
#define GUID_ENPART(guid) ObjectGuid(guid).GetEntry()
|
||||
#define GUID_LOPART(guid) ObjectGuid(guid).GetCounter()
|
||||
#define GUID_HIPART(guid) ObjectGuid(guid).GetHigh()
|
||||
#define ASSERT MANGOS_ASSERT
|
||||
#define ELUNA_LOG_INFO(...) sLog.outString(__VA_ARGS__);
|
||||
#define ELUNA_LOG_ERROR(...) sLog.outErrorEluna(__VA_ARGS__);
|
||||
@@ -64,6 +60,19 @@ typedef QueryNamedResult ElunaQuery;
|
||||
#define UNORDERED_SET std::unordered_set
|
||||
#endif
|
||||
|
||||
#ifndef MAKE_NEW_GUID
|
||||
#define MAKE_NEW_GUID(l, e, h) ObjectGuid(h, e, l)
|
||||
#endif
|
||||
#ifndef GUID_ENPART
|
||||
#define GUID_ENPART(guid) ObjectGuid(guid).GetEntry()
|
||||
#endif
|
||||
#ifndef GUID_LOPART
|
||||
#define GUID_LOPART(guid) ObjectGuid(guid).GetCounter()
|
||||
#endif
|
||||
#ifndef GUID_HIPART
|
||||
#define GUID_HIPART(guid) ObjectGuid(guid).GetHigh()
|
||||
#endif
|
||||
|
||||
class Unit;
|
||||
class WorldObject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user