AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ArenaTeam.h File Reference
#include "Map.h"
#include "QueryResult.h"
#include <list>

Go to the source code of this file.

Classes

struct  ArenaTeamMember
 
struct  ArenaTeamStats
 
class  ArenaTeam
 

Macros

#define MAX_ARENA_SLOT   4
 

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_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
}
 
enum  ArenaTeamEvents {
  ERR_ARENA_TEAM_JOIN_SS = 3 ,
  ERR_ARENA_TEAM_LEAVE_SS = 4 ,
  ERR_ARENA_TEAM_REMOVE_SSS = 5 ,
  ERR_ARENA_TEAM_LEADER_IS_SS = 6 ,
  ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 7 ,
  ERR_ARENA_TEAM_DISBANDED_S = 8
}
 
enum  ArenaTeamInfoType : uint8 {
  ARENA_TEAM_ID = 0 ,
  ARENA_TEAM_TYPE = 1 ,
  ARENA_TEAM_MEMBER = 2 ,
  ARENA_TEAM_GAMES_WEEK = 3 ,
  ARENA_TEAM_GAMES_SEASON = 4 ,
  ARENA_TEAM_WINS_SEASON = 5 ,
  ARENA_TEAM_PERSONAL_RATING = 6 ,
  ARENA_TEAM_END = 7
}
 
enum  ArenaTeamTypes {
  ARENA_TEAM_2v2 = 2 ,
  ARENA_TEAM_3v3 = 3 ,
  ARENA_TEAM_5v5 = 5
}
 
enum  ArenaSlot {
  ARENA_SLOT_2v2 ,
  ARENA_SLOT_3v3 ,
  ARENA_SLOT_5v5
}
 

Macro Definition Documentation

◆ MAX_ARENA_SLOT

#define MAX_ARENA_SLOT   4

Enumeration Type Documentation

◆ ArenaSlot

enum ArenaSlot
Enumerator
ARENA_SLOT_2v2 
ARENA_SLOT_3v3 
ARENA_SLOT_5v5 
101{
105};
@ ARENA_SLOT_2v2
Definition: ArenaTeam.h:102
@ ARENA_SLOT_5v5
Definition: ArenaTeam.h:104
@ ARENA_SLOT_3v3
Definition: ArenaTeam.h:103

◆ ArenaTeamCommandErrors

Enumerator
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 
39{
59};
@ ERR_ARENA_TEAM_TOO_MANY_MEMBERS_S
Definition: ArenaTeam.h:56
@ ERR_ARENA_TEAM_TARGET_TOO_HIGH_S
Definition: ArenaTeam.h:55
@ ERR_ARENA_TEAM_NAME_INVALID
Definition: ArenaTeam.h:45
@ ERR_ALREADY_IN_ARENA_TEAM_S
Definition: ArenaTeam.h:42
@ ERR_ARENA_TEAM_INTERNAL
Definition: ArenaTeam.h:40
@ ERR_INVITED_TO_ARENA_TEAM
Definition: ArenaTeam.h:43
@ ERR_ALREADY_IN_ARENA_TEAM
Definition: ArenaTeam.h:41
@ ERR_ARENA_TEAM_IGNORING_YOU_S
Definition: ArenaTeam.h:53
@ ERR_ARENA_TEAM_NOT_FOUND
Definition: ArenaTeam.h:57
@ ERR_ARENA_TEAMS_LOCKED
Definition: ArenaTeam.h:58
@ ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM
Definition: ArenaTeam.h:49
@ ERR_ARENA_TEAM_LEADER_LEAVE_S
Definition: ArenaTeam.h:47
@ ERR_ARENA_TEAM_PERMISSIONS
Definition: ArenaTeam.h:48
@ ERR_ARENA_TEAM_NOT_ALLIED
Definition: ArenaTeam.h:52
@ ERR_ARENA_TEAM_TARGET_TOO_LOW_S
Definition: ArenaTeam.h:54
@ ERR_ARENA_TEAM_PLAYER_NOT_FOUND_S
Definition: ArenaTeam.h:51
@ ERR_ALREADY_INVITED_TO_ARENA_TEAM_S
Definition: ArenaTeam.h:44
@ ERR_ARENA_TEAM_NAME_EXISTS_S
Definition: ArenaTeam.h:46
@ ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM_SS
Definition: ArenaTeam.h:50

◆ ArenaTeamCommandTypes

Enumerator
ERR_ARENA_TEAM_CREATE_S 
ERR_ARENA_TEAM_INVITE_SS 
ERR_ARENA_TEAM_QUIT_S 
ERR_ARENA_TEAM_FOUNDER_S 
31{
36};
@ ERR_ARENA_TEAM_FOUNDER_S
Definition: ArenaTeam.h:35
@ ERR_ARENA_TEAM_INVITE_SS
Definition: ArenaTeam.h:33
@ ERR_ARENA_TEAM_QUIT_S
Definition: ArenaTeam.h:34
@ ERR_ARENA_TEAM_CREATE_S
Definition: ArenaTeam.h:32

◆ ArenaTeamEvents

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 
62{
63 ERR_ARENA_TEAM_JOIN_SS = 3, // player name + arena team name
64 ERR_ARENA_TEAM_LEAVE_SS = 4, // player name + arena team name
65 ERR_ARENA_TEAM_REMOVE_SSS = 5, // player name + arena team name + captain name
66 ERR_ARENA_TEAM_LEADER_IS_SS = 6, // player name + arena team name
67 ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 7, // old captain + new captain + arena team name
68 ERR_ARENA_TEAM_DISBANDED_S = 8 // captain name + arena team name
69};
@ ERR_ARENA_TEAM_LEADER_CHANGED_SSS
Definition: ArenaTeam.h:67
@ ERR_ARENA_TEAM_REMOVE_SSS
Definition: ArenaTeam.h:65
@ ERR_ARENA_TEAM_LEAVE_SS
Definition: ArenaTeam.h:64
@ ERR_ARENA_TEAM_DISBANDED_S
Definition: ArenaTeam.h:68
@ ERR_ARENA_TEAM_JOIN_SS
Definition: ArenaTeam.h:63
@ ERR_ARENA_TEAM_LEADER_IS_SS
Definition: ArenaTeam.h:66

◆ ArenaTeamInfoType

Enumerator
ARENA_TEAM_ID 
ARENA_TEAM_TYPE 
ARENA_TEAM_MEMBER 
ARENA_TEAM_GAMES_WEEK 
ARENA_TEAM_GAMES_SEASON 
ARENA_TEAM_WINS_SEASON 
ARENA_TEAM_PERSONAL_RATING 
ARENA_TEAM_END 
73{
74 ARENA_TEAM_ID = 0,
75 ARENA_TEAM_TYPE = 1, // new in 3.2 - team type?
76 ARENA_TEAM_MEMBER = 2, // 0 - captain, 1 - member
82};
@ ARENA_TEAM_GAMES_WEEK
Definition: ArenaTeam.h:77
@ ARENA_TEAM_TYPE
Definition: ArenaTeam.h:75
@ ARENA_TEAM_ID
Definition: ArenaTeam.h:74
@ ARENA_TEAM_END
Definition: ArenaTeam.h:81
@ ARENA_TEAM_PERSONAL_RATING
Definition: ArenaTeam.h:80
@ ARENA_TEAM_MEMBER
Definition: ArenaTeam.h:76
@ ARENA_TEAM_WINS_SEASON
Definition: ArenaTeam.h:79
@ ARENA_TEAM_GAMES_SEASON
Definition: ArenaTeam.h:78

◆ ArenaTeamTypes

Enumerator
ARENA_TEAM_2v2 
ARENA_TEAM_3v3 
ARENA_TEAM_5v5 
94{
98};
@ ARENA_TEAM_5v5
Definition: ArenaTeam.h:97
@ ARENA_TEAM_2v2
Definition: ArenaTeam.h:95
@ ARENA_TEAM_3v3
Definition: ArenaTeam.h:96