#include <ArenaTeam.h>
|
| 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 |
|
ArenaTeamStats const & | GetStats () const |
|
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) |
|
size_t | GetMembersSize () const |
|
bool | Empty () const |
|
MemberList::iterator | m_membersBegin () |
|
MemberList::iterator | m_membersEnd () |
|
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 | NotifyStatsChanged () |
|
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) |
|
void | MemberWon (Player *player, uint32 againstMatchmakerRating, int32 MatchmakerRatingChange) |
|
int32 | LostAgainst (uint32 Own_MMRating, uint32 Opponent_MMRating, int32 &rating_change) |
|
void | MemberLost (Player *player, uint32 againstMatchmakerRating, int32 MatchmakerRatingChange=-12) |
|
void | OfflineMemberLost (ObjectGuid guid, uint32 againstMatchmakerRating, int32 MatchmakerRatingChange=-12) |
|
bool | FinishWeek () |
|
void | FinishGame (int32 mod) |
|
Definition at line 111 of file ArenaTeam.h.
◆ MemberList
◆ ArenaTeam()
◆ ~ArenaTeam()
ArenaTeam::~ArenaTeam |
( |
| ) |
|
◆ AddMember()
bool ArenaTeam::AddMember |
( |
ObjectGuid |
PlayerGuid | ) |
|
◆ BroadcastPacket()
void ArenaTeam::BroadcastPacket |
( |
WorldPacket * |
packet | ) |
|
◆ Create()
◆ DelMember()
void ArenaTeam::DelMember |
( |
ObjectGuid |
guid, |
|
|
bool |
cleanDb |
|
) |
| |
◆ Disband() [1/2]
void ArenaTeam::Disband |
( |
| ) |
|
◆ Disband() [2/2]
◆ Empty()
bool ArenaTeam::Empty |
( |
| ) |
const |
|
inline |
◆ FinishGame()
void ArenaTeam::FinishGame |
( |
int32 |
mod | ) |
|
◆ FinishWeek()
bool ArenaTeam::FinishWeek |
( |
| ) |
|
◆ GetAverageMMR()
◆ GetCaptain()
◆ GetChanceAgainst()
float ArenaTeam::GetChanceAgainst |
( |
uint32 |
ownRating, |
|
|
uint32 |
opponentRating |
|
) |
| |
◆ GetId()
uint32 ArenaTeam::GetId |
( |
| ) |
const |
|
inline |
◆ GetMatchmakerRatingMod()
int32 ArenaTeam::GetMatchmakerRatingMod |
( |
uint32 |
ownRating, |
|
|
uint32 |
opponentRating, |
|
|
bool |
won |
|
) |
| |
◆ GetMember() [1/2]
◆ GetMember() [2/2]
◆ GetMembersSize()
size_t ArenaTeam::GetMembersSize |
( |
| ) |
const |
|
inline |
◆ GetName()
std::string const & ArenaTeam::GetName |
( |
| ) |
const |
|
inline |
◆ GetPoints()
◆ GetRating()
uint32 ArenaTeam::GetRating |
( |
| ) |
const |
|
inline |
◆ GetRatingMod()
- Todo:
- Replace this hack with using the confidence factor (limiting the factor to 2.0f)
Definition at line 567 of file ArenaTeam.cpp.
◆ GetSlot()
uint8 ArenaTeam::GetSlot |
( |
| ) |
const |
|
inline |
◆ GetSlotByType()
◆ GetStats()
◆ GetType()
uint32 ArenaTeam::GetType |
( |
| ) |
const |
|
inline |
◆ GetTypeBySlot()
◆ Inspect()
◆ IsFighting()
bool ArenaTeam::IsFighting |
( |
| ) |
const |
◆ IsMember()
◆ LoadArenaTeamFromDB()
bool ArenaTeam::LoadArenaTeamFromDB |
( |
QueryResult |
arenaTeamDataResult | ) |
|
◆ LoadMembersFromDB()
bool ArenaTeam::LoadMembersFromDB |
( |
QueryResult |
arenaTeamMembersResult | ) |
|
◆ LoadStatsFromDB()
void ArenaTeam::LoadStatsFromDB |
( |
uint32 |
ArenaTeamId | ) |
|
◆ LostAgainst()
◆ m_membersBegin()
MemberList::iterator ArenaTeam::m_membersBegin |
( |
| ) |
|
|
inline |
◆ m_membersEnd()
MemberList::iterator ArenaTeam::m_membersEnd |
( |
| ) |
|
|
inline |
◆ MemberLost()
void ArenaTeam::MemberLost |
( |
Player * |
player, |
|
|
uint32 |
againstMatchmakerRating, |
|
|
int32 |
MatchmakerRatingChange = -12 |
|
) |
| |
◆ MemberWon()
void ArenaTeam::MemberWon |
( |
Player * |
player, |
|
|
uint32 |
againstMatchmakerRating, |
|
|
int32 |
MatchmakerRatingChange |
|
) |
| |
◆ NotifyStatsChanged()
void ArenaTeam::NotifyStatsChanged |
( |
| ) |
|
◆ OfflineMemberLost()
void ArenaTeam::OfflineMemberLost |
( |
ObjectGuid |
guid, |
|
|
uint32 |
againstMatchmakerRating, |
|
|
int32 |
MatchmakerRatingChange = -12 |
|
) |
| |
◆ SaveToDB()
void ArenaTeam::SaveToDB |
( |
bool |
forceMemberSave = false | ) |
|
◆ SendStats()
◆ SetCaptain()
◆ SetName()
bool ArenaTeam::SetName |
( |
std::string const & |
name | ) |
|
◆ WonAgainst()
◆ BackgroundColor
uint32 ArenaTeam::BackgroundColor |
|
protected |
◆ BorderColor
◆ BorderStyle
uint8 ArenaTeam::BorderStyle |
|
protected |
◆ CaptainGuid
◆ EmblemColor
◆ EmblemStyle
uint8 ArenaTeam::EmblemStyle |
|
protected |
◆ Members
◆ Stats
◆ TeamId
◆ TeamName
std::string ArenaTeam::TeamName |
|
protected |
◆ Type
The documentation for this class was generated from the following files: