TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ArenaTeam.h File Reference
#include "Define.h"
#include "QueryResult.h"
#include "ObjectGuid.h"
#include <list>
#include <string>
#include <map>
+ Include dependency graph for ArenaTeam.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ArenaTeamMember
 
struct  ArenaTeamStats
 
class  ArenaTeam
 

Macros

#define MAX_ARENA_SLOT   3
 

Enumerations

enum  ArenaTeamCommandTypes { ERR_ARENA_TEAM_CREATE_S = 0x00, ERR_ARENA_TEAM_INVITE_SS = 0x01, ERR_ARENA_TEAM_QUIT_S = 0x03, ERR_ARENA_TEAM_FOUNDER_S = 0x0E }
 
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,
  ERR_INVITED_TO_ARENA_TEAM = 0x04, ERR_ALREADY_INVITED_TO_ARENA_TEAM_S = 0x05, ERR_ARENA_TEAM_NAME_INVALID = 0x06, ERR_ARENA_TEAM_NAME_EXISTS_S = 0x07,
  ERR_ARENA_TEAM_LEADER_LEAVE_S = 0x08, ERR_ARENA_TEAM_PERMISSIONS = 0x08, ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM = 0x09, 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_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,
  ERR_ARENA_TEAM_TOO_MANY_CREATE = 0x21
}
 
enum  ArenaTeamEvents {
  ERR_ARENA_TEAM_JOIN_SS = 4, ERR_ARENA_TEAM_LEAVE_SS = 5, ERR_ARENA_TEAM_REMOVE_SSS = 6, ERR_ARENA_TEAM_LEADER_IS_SS = 7,
  ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 8, ERR_ARENA_TEAM_DISBANDED_S = 9
}
 
enum  ArenaTeamTypes { ARENA_TEAM_2v2 = 2, ARENA_TEAM_3v3 = 3, ARENA_TEAM_5v5 = 5 }
 

Macro Definition Documentation

#define MAX_ARENA_SLOT   3

Enumeration Type Documentation

Enumerator
ERR_ARENA_TEAM_CREATED 
ERR_ARENA_TEAM_INTERNAL 
ERR_ALREADY_IN_ARENA_TEAM 
ERR_ALREADY_IN_ARENA_TEAM_S 
ERR_INVITED_TO_ARENA_TEAM 
ERR_ALREADY_INVITED_TO_ARENA_TEAM_S 
ERR_ARENA_TEAM_NAME_INVALID 
ERR_ARENA_TEAM_NAME_EXISTS_S 
ERR_ARENA_TEAM_LEADER_LEAVE_S 
ERR_ARENA_TEAM_PERMISSIONS 
ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM 
ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM_SS 
ERR_ARENA_TEAM_PLAYER_NOT_FOUND_S 
ERR_ARENA_TEAM_NOT_ALLIED 
ERR_ARENA_TEAM_IGNORING_YOU_S 
ERR_ARENA_TEAM_TARGET_TOO_LOW_S 
ERR_ARENA_TEAM_TARGET_TOO_HIGH_S 
ERR_ARENA_TEAM_TOO_MANY_MEMBERS_S 
ERR_ARENA_TEAM_NOT_FOUND 
ERR_ARENA_TEAMS_LOCKED 
ERR_ARENA_TEAM_TOO_MANY_CREATE 
43 {
65 };
Definition: ArenaTeam.h:61
Definition: ArenaTeam.h:59
Definition: ArenaTeam.h:49
Definition: ArenaTeam.h:64
Definition: ArenaTeam.h:53
Definition: ArenaTeam.h:52
Definition: ArenaTeam.h:51
Definition: ArenaTeam.h:54
Definition: ArenaTeam.h:48
Definition: ArenaTeam.h:56
Definition: ArenaTeam.h:63
Definition: ArenaTeam.h:45
Definition: ArenaTeam.h:50
Definition: ArenaTeam.h:46
Definition: ArenaTeam.h:62
Definition: ArenaTeam.h:44
Definition: ArenaTeam.h:47
Definition: ArenaTeam.h:55
Definition: ArenaTeam.h:57
Definition: ArenaTeam.h:60
Definition: ArenaTeam.h:58
Enumerator
ERR_ARENA_TEAM_CREATE_S 
ERR_ARENA_TEAM_INVITE_SS 
ERR_ARENA_TEAM_QUIT_S 
ERR_ARENA_TEAM_FOUNDER_S 
35 {
38  ERR_ARENA_TEAM_QUIT_S = 0x03,
40 };
Definition: ArenaTeam.h:38
Definition: ArenaTeam.h:36
Definition: ArenaTeam.h:39
Definition: ArenaTeam.h:37
Enumerator
ERR_ARENA_TEAM_JOIN_SS 
ERR_ARENA_TEAM_LEAVE_SS 
ERR_ARENA_TEAM_REMOVE_SSS 
ERR_ARENA_TEAM_LEADER_IS_SS 
ERR_ARENA_TEAM_LEADER_CHANGED_SSS 
ERR_ARENA_TEAM_DISBANDED_S 
68 {
69  ERR_ARENA_TEAM_JOIN_SS = 4, // player name + arena team name
70  ERR_ARENA_TEAM_LEAVE_SS = 5, // player name + arena team name
71  ERR_ARENA_TEAM_REMOVE_SSS = 6, // player name + arena team name + captain name
72  ERR_ARENA_TEAM_LEADER_IS_SS = 7, // player name + arena team name
73  ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 8, // old captain + new captain + arena team name
74  ERR_ARENA_TEAM_DISBANDED_S = 9 // captain name + arena team name
75 };
Definition: ArenaTeam.h:71
Definition: ArenaTeam.h:69
Definition: ArenaTeam.h:74
Definition: ArenaTeam.h:70
Definition: ArenaTeam.h:73
Definition: ArenaTeam.h:72
Enumerator
ARENA_TEAM_2v2 
ARENA_TEAM_3v3 
ARENA_TEAM_5v5 
78 {
79  ARENA_TEAM_2v2 = 2,
80  ARENA_TEAM_3v3 = 3,
81  ARENA_TEAM_5v5 = 5
82 };
Definition: ArenaTeam.h:80
Definition: ArenaTeam.h:81
Definition: ArenaTeam.h:79