![]() |
TrinityCore
|
#include <ArenaTeam.h>
Public Types | |
| typedef std::list < ArenaTeamMember > | MemberList |
Public Member Functions | |
| 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 |
| 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 () |
| 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) |
| void | FinishWeek () |
| void | FinishGame (int32 mod) |
Static Public Member Functions | |
| static uint8 | GetSlotByType (uint32 type) |
| static uint8 | GetTypeBySlot (uint8 slot) |
Protected Attributes | |
| uint32 | TeamId |
| uint8 | Type |
| std::string | TeamName |
| ObjectGuid | CaptainGuid |
| uint32 | BackgroundColor |
| uint8 | EmblemStyle |
| uint32 | EmblemColor |
| uint8 | BorderStyle |
| uint32 | BorderColor |
| MemberList | Members |
| ArenaTeamStats | Stats |
| typedef std::list<ArenaTeamMember> ArenaTeam::MemberList |
| ArenaTeam::ArenaTeam | ( | ) |
| bool ArenaTeam::AddMember | ( | ObjectGuid | PlayerGuid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::BroadcastPacket | ( | WorldPacket * | packet | ) |
Here is the call graph for this function:| bool ArenaTeam::Create | ( | ObjectGuid | captainGuid, |
| uint8 | type, | ||
| std::string const & | teamName, | ||
| uint32 | backgroundColor, | ||
| uint8 | emblemStyle, | ||
| uint32 | emblemColor, | ||
| uint8 | borderStyle, | ||
| uint32 | borderColor | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::DelMember | ( | ObjectGuid | guid, |
| bool | cleanDb | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::Disband | ( | WorldSession * | session | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::Disband | ( | ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:| void ArenaTeam::FinishGame | ( | int32 | mod | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::FinishWeek | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| ArenaTeamMember * ArenaTeam::GetMember | ( | ObjectGuid | guid | ) |
Here is the caller graph for this function:| ArenaTeamMember * ArenaTeam::GetMember | ( | std::string const & | name | ) |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:| void ArenaTeam::Inspect | ( | WorldSession * | session, |
| ObjectGuid | guid | ||
| ) |
| bool ArenaTeam::IsFighting | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool ArenaTeam::IsMember | ( | ObjectGuid | guid | ) | const |
Here is the caller graph for this function:| bool ArenaTeam::LoadArenaTeamFromDB | ( | QueryResult | arenaTeamDataResult | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool ArenaTeam::LoadMembersFromDB | ( | QueryResult | arenaTeamMembersResult | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::LoadStatsFromDB | ( | uint32 | ArenaTeamId | ) |
| int32 ArenaTeam::LostAgainst | ( | uint32 | Own_MMRating, |
| uint32 | Opponent_MMRating, | ||
| int32 & | rating_change | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void ArenaTeam::MemberLost | ( | Player * | player, |
| uint32 | againstMatchmakerRating, | ||
| int32 | MatchmakerRatingChange = -12 |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::MemberWon | ( | Player * | player, |
| uint32 | againstMatchmakerRating, | ||
| int32 | MatchmakerRatingChange | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::NotifyStatsChanged | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::OfflineMemberLost | ( | ObjectGuid | guid, |
| uint32 | againstMatchmakerRating, | ||
| int32 | MatchmakerRatingChange = -12 |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::SaveToDB | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::SendStats | ( | WorldSession * | session | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void ArenaTeam::SetCaptain | ( | ObjectGuid | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| int32 ArenaTeam::WonAgainst | ( | uint32 | Own_MMRating, |
| uint32 | Opponent_MMRating, | ||
| int32 & | rating_change | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.8