aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/ArenaTeam.h
diff options
context:
space:
mode:
authorTuxity <kevin.darcel@gmail.com>2012-11-20 10:37:25 +0100
committerTuxity <kevin.darcel@gmail.com>2012-11-20 10:37:25 +0100
commit172c5f0b93d8810ed06dde48af529d0e1998a48c (patch)
treec45ea1bc76f881394f404eb37c9853e416c4cd16 /src/server/game/Battlegrounds/ArenaTeam.h
parentfff684ec7884440500aad7ca5a90e39709dc675e (diff)
Core/Arenas: Fix arena system, you can now enter in arenas and fight !
Countdown in preparation time are also displayed EnnemyUnitFrame while fighting works too N.B: There might be some little typos to fix.
Diffstat (limited to 'src/server/game/Battlegrounds/ArenaTeam.h')
-rwxr-xr-xsrc/server/game/Battlegrounds/ArenaTeam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/ArenaTeam.h b/src/server/game/Battlegrounds/ArenaTeam.h
index 5d8345aec53..405b82c6f4d 100755
--- a/src/server/game/Battlegrounds/ArenaTeam.h
+++ b/src/server/game/Battlegrounds/ArenaTeam.h
@@ -39,6 +39,7 @@ enum ArenaTeamCommandTypes
enum ArenaTeamCommandErrors
{
+ ERR_ARENA_TEAM_CREATED = 0x00,
ERR_ARENA_TEAM_INTERNAL = 0x01,
ERR_ALREADY_IN_ARENA_TEAM = 0x02,
ERR_ALREADY_IN_ARENA_TEAM_S = 0x03,
@@ -129,6 +130,7 @@ class ArenaTeam
uint32 GetType() const { return Type; }
uint8 GetSlot() const { return GetSlotByType(GetType()); }
static uint8 GetSlotByType(uint32 type);
+ static uint8 GetTypeBySlot(uint8 slot);
uint64 GetCaptain() const { return CaptainGuid; }
std::string const& GetName() const { return TeamName; }
const ArenaTeamStats& GetStats() const { return Stats; }