|
void | SetType (uint8 type) |
|
| ArenaTeam () |
|
| ~ArenaTeam () |
|
bool | Create (ObjectGuid captainGuid, uint8 type, std::string const &teamName, uint32 backgroundColor, uint8 emblemStyle, uint32 emblemColor, uint8 borderStyle, uint32 borderColor) |
|
void | Disband (WorldSession *session) |
|
void | Disband () |
|
uint32 | GetId () const |
|
uint32 | GetType () const |
|
uint8 | GetSlot () const |
|
ObjectGuid | GetCaptain () const |
|
std::string const & | GetName () const |
|
const ArenaTeamStats & | GetStats () const |
|
void | SetArenaTeamStats (ArenaTeamStats &stats) |
|
uint32 | GetRating () const |
|
uint32 | GetAverageMMR (Group *group) const |
|
void | SetCaptain (ObjectGuid guid) |
|
bool | SetName (std::string const &name) |
|
bool | AddMember (ObjectGuid playerGuid) |
|
void | DelMember (ObjectGuid guid, bool cleanDb) |
|
std::size_t | GetMembersSize () const |
|
bool | Empty () const |
|
MemberList::iterator | m_membersBegin () |
|
MemberList::iterator | m_membersEnd () |
|
MemberList & | GetMembers () |
|
bool | IsMember (ObjectGuid guid) const |
|
ArenaTeamMember * | GetMember (ObjectGuid guid) |
|
ArenaTeamMember * | GetMember (std::string const &name) |
|
bool | IsFighting () const |
|
bool | LoadArenaTeamFromDB (QueryResult arenaTeamDataResult) |
|
bool | LoadMembersFromDB (QueryResult arenaTeamMembersResult) |
|
void | LoadStatsFromDB (uint32 ArenaTeamId) |
|
void | SaveToDB (bool forceMemberSave=false) |
|
void | BroadcastPacket (WorldPacket *packet) |
|
void | BroadcastEvent (ArenaTeamEvents event, ObjectGuid guid, uint8 strCount, std::string const &str1, std::string const &str2, std::string const &str3) |
|
void | NotifyStatsChanged () |
|
void | MassInviteToEvent (WorldSession *session) |
|
void | Roster (WorldSession *session) |
|
void | Query (WorldSession *session) |
|
void | SendStats (WorldSession *session) |
|
void | Inspect (WorldSession *session, ObjectGuid guid) |
|
uint32 | GetPoints (uint32 MemberRating) |
|
int32 | GetMatchmakerRatingMod (uint32 ownRating, uint32 opponentRating, bool won) |
|
int32 | GetRatingMod (uint32 ownRating, uint32 opponentRating, bool won) |
|
float | GetChanceAgainst (uint32 ownRating, uint32 opponentRating) |
|
int32 | WonAgainst (uint32 Own_MMRating, uint32 Opponent_MMRating, int32 &rating_change, const Map *bgMap) |
|
void | MemberWon (Player *player, uint32 againstMatchmakerRating, int32 MatchmakerRatingChange) |
|
int32 | LostAgainst (uint32 Own_MMRating, uint32 Opponent_MMRating, int32 &rating_change, const Map *bgMap) |
|
void | MemberLost (Player *player, uint32 againstMatchmakerRating, int32 MatchmakerRatingChange=-12) |
|
void | UpdateArenaPointsHelper (std::map< ObjectGuid, uint32 > &PlayerPoints) |
|
bool | FinishWeek () |
|
void | FinishGame (int32 mod, const Map *bgMap) |
|
void | SetPreviousOpponents (uint32 arenaTeamId) |
|
uint32 | GetPreviousOpponents () |
|
void | CreateTempArenaTeam (std::vector< Player * > playerList, uint8 type, std::string const &teamName) |
|