TrinityCore
|
#include <Group.h>
Classes | |
struct | MemberSlot |
Public Types | |
typedef std::list< MemberSlot > | MemberSlotList |
typedef MemberSlotList::const_iterator | member_citerator |
typedef std::unordered_map < uint32, InstanceGroupBind > | BoundInstancesMap |
Static Public Member Functions | |
static void | ConvertLeaderInstancesToGroup (Player *player, Group *group, bool switchLeader) |
convert the player's binds to the group More... | |
Protected Types | |
typedef MemberSlotList::iterator | member_witerator |
typedef std::set< Player * > | InvitesList |
typedef std::vector< Roll * > | Rolls |
Protected Member Functions | |
bool | _setMembersGroup (ObjectGuid guid, uint8 group) |
void | _homebindIfInstance (Player *player) |
void | _initRaidSubGroupsCounter () |
member_citerator | _getMemberCSlot (ObjectGuid Guid) const |
member_witerator | _getMemberWSlot (ObjectGuid Guid) |
void | SubGroupCounterIncrease (uint8 subgroup) |
void | SubGroupCounterDecrease (uint8 subgroup) |
void | ToggleGroupMemberFlag (member_witerator slot, uint8 flag, bool apply) |
request member stats checken
typedef std::unordered_map< uint32 , InstanceGroupBind> Group::BoundInstancesMap |
|
protected |
typedef MemberSlotList::const_iterator Group::member_citerator |
|
protected |
typedef std::list<MemberSlot> Group::MemberSlotList |
|
protected |
Group::Group | ( | ) |
Group::~Group | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void Group::AddRaidMarker | ( | uint8 | markerId, |
uint32 | mapId, | ||
float | positionX, | ||
float | positionY, | ||
float | positionZ, | ||
ObjectGuid | transportGuid = ObjectGuid::Empty |
||
) |
InstanceGroupBind * Group::BindToInstance | ( | InstanceSave * | save, |
bool | permanent, | ||
bool | load = false |
||
) |
void Group::BroadcastAddonMessagePacket | ( | WorldPacket const * | packet, |
const std::string & | prefix, | ||
bool | ignorePlayersInBGRaid, | ||
int | group = -1 , |
||
ObjectGuid | ignore = ObjectGuid::Empty |
||
) |
void Group::BroadcastGroupUpdate | ( | void | ) |
void Group::BroadcastPacket | ( | WorldPacket const * | packet, |
bool | ignorePlayersInBGRaid, | ||
int | group = -1 , |
||
ObjectGuid | ignoredPlayer = ObjectGuid::Empty |
||
) |
|
inline |
|
inline |
GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue | ( | Battleground const * | bgOrTemplate, |
BattlegroundQueueTypeId | bgQueueTypeId, | ||
uint32 | MinPlayerCount, | ||
uint32 | MaxPlayerCount, | ||
bool | isRated, | ||
uint32 | arenaSlot, | ||
ObjectGuid & | errorGuid | ||
) |
void Group::ChangeLeader | ( | ObjectGuid | guid, |
int8 | partyIndex = 0 |
||
) |
void Group::ChangeMembersGroup | ( | ObjectGuid | guid, |
uint8 | group | ||
) |
|
static |
convert the player's binds to the group
void Group::ConvertToGroup | ( | ) |
void Group::ConvertToLFG | ( | ) |
void Group::ConvertToRaid | ( | ) |
void Group::CountRollVote | ( | ObjectGuid | playerGUID, |
ObjectGuid | Guid, | ||
uint8 | Choise | ||
) |
void Group::CountTheRoll | ( | Rolls::iterator | roll | ) |
void Group::DeleteRaidMarker | ( | uint8 | markerId | ) |
void Group::DelinkMember | ( | ObjectGuid | guid | ) |
void Group::EndReadyCheck | ( | void | ) |
void Group::EndRoll | ( | Loot * | loot | ) |
InstanceGroupBind * Group::GetBoundInstance | ( | Player * | player | ) |
InstanceGroupBind * Group::GetBoundInstance | ( | Map * | aMap | ) |
InstanceGroupBind * Group::GetBoundInstance | ( | MapEntry const * | mapEntry | ) |
InstanceGroupBind * Group::GetBoundInstance | ( | Difficulty | difficulty, |
uint32 | mapId | ||
) |
Group::BoundInstancesMap & Group::GetBoundInstances | ( | Difficulty | difficulty | ) |
|
inline |
Difficulty Group::GetDifficultyID | ( | MapEntry const * | mapEntry | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
ObjectGuid Group::GetGUID | ( | ) | const |
Player * Group::GetInvited | ( | ObjectGuid | guid | ) | const |
ObjectGuid Group::GetLeaderGUID | ( | ) | const |
char const * Group::GetLeaderName | ( | ) | const |
|
inline |
uint8 Group::GetLfgRoles | ( | ObjectGuid | guid | ) |
ObjectGuid Group::GetLooterGuid | ( | ) | const |
LootMethod Group::GetLootMethod | ( | ) | const |
ItemQualities Group::GetLootThreshold | ( | ) | const |
ObjectGuid Group::GetMasterLooterGuid | ( | ) | const |
uint8 Group::GetMemberGroup | ( | ObjectGuid | guid | ) | const |
ObjectGuid Group::GetMemberGUID | ( | const std::string & | name | ) |
|
inline |
|
inline |
|
inline |
Group::Rolls::iterator Group::GetRoll | ( | ObjectGuid | Guid | ) |
void Group::GroupLoot | ( | Loot * | loot, |
WorldObject * | pLootedObject | ||
) |
bool Group::IsAssistant | ( | ObjectGuid | guid | ) | const |
bool Group::isBFGroup | ( | ) | const |
bool Group::isBGGroup | ( | ) | const |
bool Group::IsCreated | ( | ) | const |
bool Group::IsFull | ( | ) | const |
bool Group::IsLeader | ( | ObjectGuid | guid | ) | const |
bool Group::isLFGGroup | ( | ) | const |
bool Group::IsMember | ( | ObjectGuid | guid | ) | const |
bool Group::isRaidGroup | ( | ) | const |
bool Group::IsReadyCheckCompleted | ( | void | ) | const |
|
inline |
|
inline |
void Group::LinkMember | ( | GroupReference * | pRef | ) |
void Group::LoadGroupFromDB | ( | Field * | field | ) |
void Group::LoadMemberFromDB | ( | ObjectGuid::LowType | guidLow, |
uint8 | memberFlags, | ||
uint8 | subgroup, | ||
uint8 | roles | ||
) |
void Group::MasterLoot | ( | Loot * | loot, |
WorldObject * | pLootedObject | ||
) |
void Group::NeedBeforeGreed | ( | Loot * | loot, |
WorldObject * | pLootedObject | ||
) |
void Group::RemoveAllInvites | ( | ) |
void Group::RemoveInvite | ( | Player * | player | ) |
bool Group::RemoveMember | ( | ObjectGuid | guid, |
const RemoveMethod & | method = GROUP_REMOVEMETHOD_DEFAULT , |
||
ObjectGuid | kicker = ObjectGuid::Empty , |
||
const char * | reason = NULL |
||
) |
void Group::RemoveUniqueGroupMemberFlag | ( | GroupMemberFlags | flag | ) |
void Group::ResetMaxEnchantingLevel | ( | ) |
void Group::ResetMemberReadyChecked | ( | void | ) |
bool Group::SameSubGroup | ( | ObjectGuid | guid1, |
ObjectGuid | guid2 | ||
) | const |
bool Group::SameSubGroup | ( | ObjectGuid | guid1, |
MemberSlot const * | slot2 | ||
) | const |
void Group::SendLootRoll | ( | ObjectGuid | SourceGuid, |
ObjectGuid | TargetGuid, | ||
uint8 | RollNumber, | ||
uint8 | RollType, | ||
const Roll & | r | ||
) |
void Group::SendLootRollWon | ( | ObjectGuid | SourceGuid, |
ObjectGuid | TargetGuid, | ||
uint8 | RollNumber, | ||
uint8 | RollType, | ||
const Roll & | r | ||
) |
void Group::SendLootStartRollToPlayer | ( | uint32 | countDown, |
uint32 | mapId, | ||
Player * | p, | ||
bool | canNeed, | ||
Roll const & | r | ||
) |
void Group::SendRaidMarkersChanged | ( | WorldSession * | session = nullptr , |
int8 | partyIndex = 0 |
||
) |
void Group::SendTargetIconList | ( | WorldSession * | session, |
int8 | partyIndex = 0 |
||
) |
void Group::SendUpdate | ( | ) |
void Group::SendUpdateToPlayer | ( | ObjectGuid | playerGUID, |
MemberSlot * | slot = NULL |
||
) |
void Group::SetBattlefieldGroup | ( | Battlefield * | bf | ) |
void Group::SetBattlegroundGroup | ( | Battleground * | bg | ) |
void Group::SetDungeonDifficultyID | ( | Difficulty | difficulty | ) |
void Group::SetEveryoneIsAssistant | ( | bool | apply | ) |
void Group::SetGroupMemberFlag | ( | ObjectGuid | guid, |
bool | apply, | ||
GroupMemberFlags | flag | ||
) |
void Group::SetLegacyRaidDifficultyID | ( | Difficulty | difficulty | ) |
void Group::SetLfgRoles | ( | ObjectGuid | guid, |
uint8 | roles | ||
) |
void Group::SetLooterGuid | ( | ObjectGuid | guid | ) |
void Group::SetLootMethod | ( | LootMethod | method | ) |
void Group::SetLootThreshold | ( | ItemQualities | threshold | ) |
void Group::SetMasterLooterGuid | ( | ObjectGuid | guid | ) |
void Group::SetMemberReadyCheck | ( | ObjectGuid | guid, |
bool | ready | ||
) |
void Group::SetMemberReadyCheck | ( | MemberSlot * | slot, |
bool | ready | ||
) |
void Group::SetMemberReadyChecked | ( | MemberSlot * | slot | ) |
void Group::SetOfflineMembersReadyChecked | ( | void | ) |
void Group::SetRaidDifficultyID | ( | Difficulty | difficulty | ) |
void Group::SetTargetIcon | ( | uint8 | symbol, |
ObjectGuid | target, | ||
ObjectGuid | changedBy, | ||
uint8 | partyIndex | ||
) |
void Group::StartReadyCheck | ( | ObjectGuid | starterGuid, |
int8 | partyIndex, | ||
uint32 | duration = READYCHECK_DURATION |
||
) |
|
protected |
|
protected |
void Group::SwapMembersGroups | ( | ObjectGuid | firstGuid, |
ObjectGuid | secondGuid | ||
) |
|
protected |
void Group::Update | ( | uint32 | diff | ) |
void Group::UpdateLooterGuid | ( | WorldObject * | pLootedObject, |
bool | ifneed = false |
||
) |
void Group::UpdatePlayerOutOfRange | ( | Player * | player | ) |
void Group::UpdateReadyCheck | ( | uint32 | diff | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |