Core/SAI: Move enum to the correct file

(cherry picked from commit 8aa10f6c65)
This commit is contained in:
Killyana
2018-02-16 18:39:50 +01:00
committed by Shauren
parent 5714e89ccf
commit f6f098171f
2 changed files with 6 additions and 6 deletions

View File

@@ -393,12 +393,6 @@ class FlaggedValuesArray32
T_FLAGS m_flags;
};
enum GOSummonType
{
GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0, // despawns after a specified time OR when the summoner dies
GO_SUMMON_TIMED_DESPAWN = 1 // despawns after a specified time
};
class TC_GAME_API WorldObject : public Object, public WorldLocation
{
protected:

View File

@@ -80,6 +80,12 @@ enum NotifyFlags
NOTIFY_ALL = 0xFF
};
enum GOSummonType
{
GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0, // despawns after a specified time OR when the summoner dies
GO_SUMMON_TIMED_DESPAWN = 1 // despawns after a specified time
};
inline uint64 MAKE_PAIR64(uint32 l, uint32 h)
{
return uint64(l | (uint64(h) << 32));