diff options
| author | Spp <none@none> | 2010-09-10 13:37:33 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-09-10 13:37:33 +0200 |
| commit | fd14d7195f19fcff4fb5f68caf85062fcc2c8406 (patch) | |
| tree | a73dca68d4d28eef8837235cd4b4c0e6d847a443 /src/server/game/Groups/Group.h | |
| parent | 842a79d38c3a837a455e9b27d26c5578b86fa58f (diff) | |
Core: Minor code cleanup before next commits
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Groups/Group.h')
| -rw-r--r-- | src/server/game/Groups/Group.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/server/game/Groups/Group.h b/src/server/game/Groups/Group.h index 3d3ce890489..a30d1998466 100644 --- a/src/server/game/Groups/Group.h +++ b/src/server/game/Groups/Group.h @@ -23,10 +23,8 @@ #include "GroupReference.h" #include "GroupRefManager.h" -#include "Battleground.h" -#include "LootMgr.h" #include "DBCEnums.h" -#include "Unit.h" +#include "Battleground.h" #include <map> #include <vector> @@ -38,6 +36,11 @@ #define GROUP_MAX_LFG_KICKS 3 #define GROUP_LFG_KICK_VOTES_NEEDED 3 +class InstanceSave; +class Player; +class Unit; +class WorldSession; + enum RollVote { PASS = 0, @@ -86,8 +89,6 @@ enum GroupType // 0x10, leave/change group?, I saw this flag when leaving group and after leaving BG while in group }; -class Battleground; - enum GroupUpdateFlags { GROUP_UPDATE_FLAG_NONE = 0x00000000, // nothing @@ -119,8 +120,6 @@ enum GroupUpdateFlags // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15,16,17,18,19 static const uint8 GroupUpdateLength[GROUP_UPDATE_FLAGS_COUNT] = { 0, 2, 2, 2, 1, 2, 2, 2, 2, 4, 8, 8, 1, 2, 2, 2, 1, 2, 2, 8}; -class InstanceSave; - class Roll : public LootValidatorRef { public: @@ -151,7 +150,7 @@ struct InstanceGroupBind { InstanceSave *save; bool perm; - /* permanent InstanceGroupBinds exist iff the leader has a permanent + /* permanent InstanceGroupBinds exist if the leader has a permanent PlayerInstanceBind for the same instance. */ InstanceGroupBind() : save(NULL), perm(false) {} }; |
