OregonCore  revision fb2a440-git
Your Favourite TBC server
ArenaTeam.h File Reference

Go to the source code of this file.

Classes

struct  ArenaTeamMember
 
struct  ArenaTeamStats
 
class  ArenaTeam
 

Macros

#define ARENA_NEW_TEAM_RATING   1500
 
#define ARENA_NEW_PERSONAL_RATING   1500
 
#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_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_TOO_MANY_MEMBERS_S = 0x16
}
 
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  ArenaTeamStatTypes {
  STAT_TYPE_RATING = 0, STAT_TYPE_GAMES_WEEK = 1, STAT_TYPE_WINS_WEEK = 2, STAT_TYPE_GAMES_SEASON = 3,
  STAT_TYPE_WINS_SEASON = 4, STAT_TYPE_RANK = 5
}
 
enum  ArenaTeamTypes { ARENA_TEAM_2v2 = 2, ARENA_TEAM_3v3 = 3, ARENA_TEAM_5v5 = 5 }
 

Macro Definition Documentation

#define ARENA_NEW_PERSONAL_RATING   1500

Definition at line 85 of file ArenaTeam.h.

Referenced by ArenaTeam::AddMember().

#define ARENA_NEW_TEAM_RATING   1500

Definition at line 84 of file ArenaTeam.h.

Referenced by ArenaTeam::ArenaTeam().

Enumeration Type Documentation

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_TOO_MANY_MEMBERS_S 

Definition at line 29 of file ArenaTeam.h.

30 {
47 };
Enumerator
ERR_ARENA_TEAM_CREATE_S 
ERR_ARENA_TEAM_INVITE_SS 
ERR_ARENA_TEAM_QUIT_S 
ERR_ARENA_TEAM_FOUNDER_S 

Definition at line 21 of file ArenaTeam.h.

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 

Definition at line 49 of file ArenaTeam.h.

50 {
51  ERR_ARENA_TEAM_JOIN_SS = 3, // player name + arena team name
52  ERR_ARENA_TEAM_LEAVE_SS = 4, // player name + arena team name
53  ERR_ARENA_TEAM_REMOVE_SSS = 5, // player name + arena team name + captain name
54  ERR_ARENA_TEAM_LEADER_IS_SS = 6, // player name + arena team name
55  ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 7, // old captain + new captain + arena team name
56  ERR_ARENA_TEAM_DISBANDED_S = 8 // captain name + arena team name
57 };
Enumerator
STAT_TYPE_RATING 
STAT_TYPE_GAMES_WEEK 
STAT_TYPE_WINS_WEEK 
STAT_TYPE_GAMES_SEASON 
STAT_TYPE_WINS_SEASON 
STAT_TYPE_RANK 

Definition at line 67 of file ArenaTeam.h.

Enumerator
ARENA_TEAM_2v2 
ARENA_TEAM_3v3 
ARENA_TEAM_5v5 

Definition at line 77 of file ArenaTeam.h.

78 {
79  ARENA_TEAM_2v2 = 2,
80  ARENA_TEAM_3v3 = 3,
81  ARENA_TEAM_5v5 = 5
82 };