aboutsummaryrefslogtreecommitdiff
path: root/src/game/ArenaTeam.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-04-11 11:06:51 +0400
committern0n4m3 <none@none>2010-04-11 11:06:51 +0400
commit93f7e2796c62f8838764ed9f0a33b40f8c30433a (patch)
tree0421cc7acdddc5e929826ab2d6370eef42af07c2 /src/game/ArenaTeam.h
parent1dc4f7c745f9f061a545c11c0132a67e5f828702 (diff)
Some fixes to guild/arenateam events. Big thx to TOM_RUS.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ArenaTeam.h')
-rw-r--r--src/game/ArenaTeam.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/game/ArenaTeam.h b/src/game/ArenaTeam.h
index e270beca4fc..1bfbe2d214e 100644
--- a/src/game/ArenaTeam.h
+++ b/src/game/ArenaTeam.h
@@ -25,14 +25,12 @@ enum ArenaTeamCommandTypes
{
ERR_ARENA_TEAM_CREATE_S = 0x00,
ERR_ARENA_TEAM_INVITE_SS = 0x01,
- //ERR_ARENA_TEAM_QUIT_S = 0x02,
ERR_ARENA_TEAM_QUIT_S = 0x03,
- ERR_ARENA_TEAM_FOUNDER_S = 0x0C // need check, probably wrong...
+ ERR_ARENA_TEAM_FOUNDER_S = 0x0E
};
enum ArenaTeamCommandErrors
{
- //ARENA_TEAM_PLAYER_NO_MORE_IN_ARENA_TEAM = 0x00,
ERR_ARENA_TEAM_INTERNAL = 0x01,
ERR_ALREADY_IN_ARENA_TEAM = 0x02,
ERR_ALREADY_IN_ARENA_TEAM_S = 0x03,
@@ -46,8 +44,12 @@ enum ArenaTeamCommandErrors
ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM_SS = 0x0A,
ERR_ARENA_TEAM_PLAYER_NOT_FOUND_S = 0x0B,
ERR_ARENA_TEAM_NOT_ALLIED = 0x0C,
- ERR_ARENA_TEAM_PLAYER_TO_LOW = 0x15,
- ERR_ARENA_TEAM_FULL = 0x16
+ ERR_ARENA_TEAM_IGNORING_YOU_S = 0x13,
+ ERR_ARENA_TEAM_TARGET_TOO_LOW_S = 0x15,
+ ERR_ARENA_TEAM_TARGET_TOO_HIGH_S = 0x16,
+ ERR_ARENA_TEAM_TOO_MANY_MEMBERS_S = 0x17,
+ ERR_ARENA_TEAM_NOT_FOUND = 0x1B,
+ ERR_ARENA_TEAMS_LOCKED = 0x1E
};
enum ArenaTeamEvents
@@ -180,6 +182,7 @@ class ArenaTeam
void SaveToDB();
void BroadcastPacket(WorldPacket *packet);
+ void BroadcastEvent(ArenaTeamEvents event, uint64 guid, uint8 strCount, std::string str1, std::string str2, std::string str3);
void Roster(WorldSession *session);
void Query(WorldSession *session);