TrinityCore
Loading...
Searching...
No Matches
Group Class Reference

#include <Group.h>

Classes

class  CountdownInfo
 
struct  MemberSlot
 
struct  NoopGroupDeleter
 

Public Types

typedef std::list< MemberSlotMemberSlotList
 
typedef MemberSlotList::const_iterator member_citerator
 

Public Member Functions

 Group ()
 
 ~Group ()
 
void Update (uint32 diff)
 
bool Create (Player *leader)
 
void LoadGroupFromDB (Field *field)
 
void LoadMemberFromDB (ObjectGuid::LowType guidLow, uint8 memberFlags, uint8 subgroup, uint8 roles)
 
bool AddInvite (Player *player)
 
void RemoveInvite (Player *player)
 
void RemoveAllInvites ()
 
bool AddLeaderInvite (Player *player)
 
bool AddMember (Player *player)
 
bool RemoveMember (ObjectGuid guid, RemoveMethod method=GROUP_REMOVEMETHOD_DEFAULT, ObjectGuid kicker=ObjectGuid::Empty, const char *reason=nullptr)
 
void ChangeLeader (ObjectGuid guid)
 
void SetLootMethod (LootMethod method)
 
void SetLooterGuid (ObjectGuid guid)
 
void SetMasterLooterGuid (ObjectGuid guid)
 
void UpdateLooterGuid (WorldObject *pLootedObject, bool ifneed=false)
 
void SetLootThreshold (ItemQualities threshold)
 
void Disband (bool hideDestroy=false)
 
void SetLfgRoles (ObjectGuid guid, uint8 roles)
 
uint8 GetLfgRoles (ObjectGuid guid) const
 
void SetEveryoneIsAssistant (bool apply)
 
RestrictPingsTo GetRestrictPings () const
 
void SetRestrictPingsTo (RestrictPingsTo restrictTo)
 
void UpdateReadyCheck (uint32 diff)
 
void StartReadyCheck (ObjectGuid starterGuid, Milliseconds duration=Milliseconds(READYCHECK_DURATION))
 
void EndReadyCheck ()
 
bool IsReadyCheckStarted (void) const
 
bool IsReadyCheckCompleted (void) const
 
void SetOfflineMembersReadyChecked (void)
 
void SetMemberReadyCheck (ObjectGuid guid, bool ready)
 
void SetMemberReadyCheck (MemberSlot *slot, bool ready)
 
void SetMemberReadyChecked (MemberSlot *slot)
 
void ResetMemberReadyChecked (void)
 
void AddRaidMarker (uint8 markerId, uint32 mapId, float positionX, float positionY, float positionZ, ObjectGuid transportGuid=ObjectGuid::Empty)
 
void DeleteRaidMarker (uint8 markerId)
 
void SendRaidMarkersChanged (WorldSession *session=nullptr) const
 
bool IsFull () const
 
bool isLFGGroup () const
 
bool isRaidGroup () const
 
bool isBGGroup () const
 
bool isBFGroup () const
 
bool IsCreated () const
 
GroupCategory GetGroupCategory () const
 
ObjectGuid GetLeaderGUID () const
 
ObjectGuid GetGUID () const
 
const char * GetLeaderName () const
 
LootMethod GetLootMethod () const
 
ObjectGuid GetLooterGuid () const
 
ObjectGuid GetMasterLooterGuid () const
 
ItemQualities GetLootThreshold () const
 
uint32 GetDbStoreId () const
 
bool IsMember (ObjectGuid guid) const
 
bool IsLeader (ObjectGuid guid) const
 
ObjectGuid GetMemberGUID (std::string const &name) const
 
uint8 GetMemberFlags (ObjectGuid guid) const
 
bool IsAssistant (ObjectGuid guid) const
 
PlayerGetInvited (ObjectGuid guid) const
 
PlayerGetInvited (const std::string &name) const
 
bool SameSubGroup (ObjectGuid guid1, ObjectGuid guid2) const
 
bool SameSubGroup (ObjectGuid guid1, MemberSlot const *slot2) const
 
bool SameSubGroup (Player const *member1, Player const *member2) const
 
bool HasFreeSlotSubGroup (uint8 subgroup) const
 
GroupRefManagerGetMembers ()
 
GroupRefManager const & GetMembers () const
 
MemberSlotList const & GetMemberSlots () const
 
uint32 GetMembersCount () const
 
uint32 GetInviteeCount () const
 
GroupFlags GetGroupFlags () const
 
uint8 GetMemberGroup (ObjectGuid guid) const
 
void ConvertToLFG ()
 
void ConvertToRaid ()
 
void ConvertToGroup ()
 
void SetBattlegroundGroup (Battleground *bg)
 
void SetBattlefieldGroup (Battlefield *bf)
 
GroupJoinBattlegroundResult CanJoinBattlegroundQueue (BattlegroundTemplate const *bgOrTemplate, BattlegroundQueueTypeId bgQueueTypeId, uint32 MinPlayerCount, uint32 MaxPlayerCount, bool isRated, uint32 arenaSlot, ObjectGuid &errorGuid) const
 
void ChangeMembersGroup (ObjectGuid guid, uint8 group)
 
void SwapMembersGroups (ObjectGuid firstGuid, ObjectGuid secondGuid)
 
void SetTargetIcon (uint8 symbol, ObjectGuid target, ObjectGuid changedBy)
 
void SetGroupMemberFlag (ObjectGuid guid, bool apply, GroupMemberFlags flag)
 
void RemoveUniqueGroupMemberFlag (GroupMemberFlags flag)
 
void SetDungeonDifficultyID (Difficulty difficulty)
 
void SetRaidDifficultyID (Difficulty difficulty)
 
void SetLegacyRaidDifficultyID (Difficulty difficulty)
 
Difficulty GetDifficultyID (MapEntry const *mapEntry) const
 
Difficulty GetDungeonDifficultyID () const
 
Difficulty GetRaidDifficultyID () const
 
Difficulty GetLegacyRaidDifficultyID () const
 
void ResetInstances (InstanceResetMethod method, Player *notifyPlayer)
 
void SendTargetIconList (WorldSession *session) const
 
void SendUpdate () const
 
void SendUpdateToPlayer (ObjectGuid playerGUID, MemberSlot const *slot=nullptr) const
 
void SendUpdateDestroyGroupToPlayer (Player *player) const
 
void UpdatePlayerOutOfRange (Player const *player) const
 
template<class Worker >
void BroadcastWorker (Worker const &worker) const
 
void BroadcastPacket (WorldPacket const *packet, bool ignorePlayersInBGRaid, int group=-1, ObjectGuid ignoredPlayer=ObjectGuid::Empty) const
 
void BroadcastAddonMessagePacket (WorldPacket const *packet, const std::string &prefix, bool ignorePlayersInBGRaid, int group=-1, ObjectGuid ignore=ObjectGuid::Empty) const
 
void LinkMember (GroupReference *pRef)
 
void DelinkMember (ObjectGuid guid)
 
ObjectGuid GetRecentInstanceOwner (uint32 mapId) const
 
uint32 GetRecentInstanceId (uint32 mapId) const
 
void SetRecentInstance (uint32 mapId, ObjectGuid instanceOwner, uint32 instanceId)
 
void LinkOwnedInstance (GroupInstanceReference *ref)
 
void StartLeaderOfflineTimer ()
 
void StopLeaderOfflineTimer ()
 
void SelectNewPartyOrRaidLeader ()
 
void BroadcastGroupUpdate (void)
 
void StartCountdown (CountdownTimerType timerType, Seconds duration, Optional< time_t > startTime={ })
 
CountdownInfo const * GetCountdownInfo (CountdownTimerType timerType) const
 
Trinity::unique_weak_ptr< GroupGetWeakPtr () const
 

Protected Types

typedef MemberSlotList::iterator member_witerator
 
typedef std::set< Player * > InvitesList
 

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)
 

Protected Attributes

MemberSlotList m_memberSlots
 
GroupRefManager m_memberMgr
 
InvitesList m_invitees
 
ObjectGuid m_leaderGuid
 
uint8 m_leaderFactionGroup
 
std::string m_leaderName
 
GroupFlags m_groupFlags
 
GroupCategory m_groupCategory
 
Difficulty m_dungeonDifficulty
 
Difficulty m_raidDifficulty
 
Difficulty m_legacyRaidDifficulty
 
Battlegroundm_bgGroup
 
Battlefieldm_bfGroup
 
ObjectGuid m_targetIcons [TARGET_ICONS_COUNT]
 
LootMethod m_lootMethod
 
ItemQualities m_lootThreshold
 
ObjectGuid m_looterGuid
 
ObjectGuid m_masterLooterGuid
 
std::unordered_map< uint32, std::pair< ObjectGuid, uint32 > > m_recentInstances
 
GroupInstanceRefManager m_ownedInstancesMgr
 
uint8m_subGroupsCounts
 
ObjectGuid m_guid
 
uint32 m_dbStoreId
 
bool m_isLeaderOffline
 
TimeTracker m_leaderOfflineTimer
 
bool m_readyCheckStarted
 
Milliseconds m_readyCheckTimer
 
std::array< std::unique_ptr< RaidMarker >, RAID_MARKERS_COUNTm_markers
 
uint32 m_activeMarkers
 
std::array< std::unique_ptr< CountdownInfo >, 3 > m_countdowns
 
RestrictPingsTo m_pingRestriction
 
Trinity::unique_trackable_ptr< Groupm_scriptRef
 

Detailed Description

request member stats checken

Todo:
uninvite people that not accepted invite

Definition at line 204 of file Group.h.

Member Typedef Documentation

◆ InvitesList

typedef std::set<Player*> Group::InvitesList
protected

Definition at line 243 of file Group.h.

◆ member_citerator

typedef MemberSlotList::const_iterator Group::member_citerator

Definition at line 219 of file Group.h.

◆ member_witerator

typedef MemberSlotList::iterator Group::member_witerator
protected

Definition at line 242 of file Group.h.

◆ MemberSlotList

typedef std::list<MemberSlot> Group::MemberSlotList

Definition at line 218 of file Group.h.

Constructor & Destructor Documentation

◆ Group()

Group::Group ( )

Definition at line 58 of file Group.cpp.

◆ ~Group()

Group::~Group ( )

Definition at line 73 of file Group.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ _getMemberCSlot()

Group::member_citerator Group::_getMemberCSlot ( ObjectGuid  Guid) const
protected

Definition at line 1816 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _getMemberWSlot()

Group::member_witerator Group::_getMemberWSlot ( ObjectGuid  Guid)
protected

Definition at line 1821 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _homebindIfInstance()

void Group::_homebindIfInstance ( Player player)
protected

Definition at line 1395 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _initRaidSubGroupsCounter()

void Group::_initRaidSubGroupsCounter ( )
protected

Definition at line 1804 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _setMembersGroup()

bool Group::_setMembersGroup ( ObjectGuid  guid,
uint8  group 
)
protected

Definition at line 986 of file Group.cpp.

+ Here is the call graph for this function:

◆ AddInvite()

bool Group::AddInvite ( Player player)

Definition at line 354 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddLeaderInvite()

bool Group::AddLeaderInvite ( Player player)

Definition at line 375 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddMember()

bool Group::AddMember ( Player player)

Definition at line 424 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddRaidMarker()

void Group::AddRaidMarker ( uint8  markerId,
uint32  mapId,
float  positionX,
float  positionY,
float  positionZ,
ObjectGuid  transportGuid = ObjectGuid::Empty 
)

Definition at line 1576 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BroadcastAddonMessagePacket()

void Group::BroadcastAddonMessagePacket ( WorldPacket const *  packet,
const std::string &  prefix,
bool  ignorePlayersInBGRaid,
int  group = -1,
ObjectGuid  ignore = ObjectGuid::Empty 
) const

Definition at line 960 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BroadcastGroupUpdate()

void Group::BroadcastGroupUpdate ( void  )

Definition at line 1401 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BroadcastPacket()

void Group::BroadcastPacket ( WorldPacket const *  packet,
bool  ignorePlayersInBGRaid,
int  group = -1,
ObjectGuid  ignoredPlayer = ObjectGuid::Empty 
) const

Definition at line 973 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BroadcastWorker()

template<class Worker >
void Group::BroadcastWorker ( Worker const &  worker) const
inline

Definition at line 372 of file Group.h.

◆ CanJoinBattlegroundQueue()

GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue ( BattlegroundTemplate const *  bgOrTemplate,
BattlegroundQueueTypeId  bgQueueTypeId,
uint32  MinPlayerCount,
uint32  MaxPlayerCount,
bool  isRated,
uint32  arenaSlot,
ObjectGuid errorGuid 
) const

Definition at line 1191 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ChangeLeader()

void Group::ChangeLeader ( ObjectGuid  guid)

Definition at line 682 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ChangeMembersGroup()

void Group::ChangeMembersGroup ( ObjectGuid  guid,
uint8  group 
)

Definition at line 1021 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertToGroup()

void Group::ConvertToGroup ( )

Definition at line 323 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertToLFG()

void Group::ConvertToLFG ( )

Definition at line 281 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertToRaid()

void Group::ConvertToRaid ( )

Definition at line 299 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Create()

bool Group::Create ( Player leader)

Definition at line 141 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteRaidMarker()

void Group::DeleteRaidMarker ( uint8  markerId)

Definition at line 1586 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DelinkMember()

void Group::DelinkMember ( ObjectGuid  guid)

Definition at line 1797 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Disband()

void Group::Disband ( bool  hideDestroy = false)

Definition at line 727 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EndReadyCheck()

void Group::EndReadyCheck ( void  )

Definition at line 1508 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCountdownInfo()

Group::CountdownInfo const * Group::GetCountdownInfo ( CountdownTimerType  timerType) const

Definition at line 1427 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDbStoreId()

uint32 Group::GetDbStoreId ( ) const
inline

Definition at line 312 of file Group.h.

+ Here is the caller graph for this function:

◆ GetDifficultyID()

Difficulty Group::GetDifficultyID ( MapEntry const *  mapEntry) const

Definition at line 1348 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDungeonDifficultyID()

Difficulty Group::GetDungeonDifficultyID ( ) const
inline

Definition at line 359 of file Group.h.

+ Here is the caller graph for this function:

◆ GetGroupCategory()

GroupCategory Group::GetGroupCategory ( ) const
inline

Definition at line 303 of file Group.h.

+ Here is the caller graph for this function:

◆ GetGroupFlags()

GroupFlags Group::GetGroupFlags ( ) const
inline

Definition at line 337 of file Group.h.

+ Here is the caller graph for this function:

◆ GetGUID()

ObjectGuid Group::GetGUID ( ) const

Definition at line 1653 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetInvited() [1/2]

Player * Group::GetInvited ( const std::string &  name) const

Definition at line 414 of file Group.cpp.

◆ GetInvited() [2/2]

Player * Group::GetInvited ( ObjectGuid  guid) const

Definition at line 404 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetInviteeCount()

uint32 Group::GetInviteeCount ( ) const
inline

Definition at line 336 of file Group.h.

+ Here is the caller graph for this function:

◆ GetLeaderGUID()

ObjectGuid Group::GetLeaderGUID ( ) const

Definition at line 1648 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLeaderName()

char const * Group::GetLeaderName ( ) const

Definition at line 1658 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLegacyRaidDifficultyID()

Difficulty Group::GetLegacyRaidDifficultyID ( ) const
inline

Definition at line 361 of file Group.h.

+ Here is the caller graph for this function:

◆ GetLfgRoles()

uint8 Group::GetLfgRoles ( ObjectGuid  guid) const

Definition at line 1465 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetLooterGuid()

ObjectGuid Group::GetLooterGuid ( ) const

Definition at line 1668 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetLootMethod()

LootMethod Group::GetLootMethod ( ) const

Definition at line 1663 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLootThreshold()

ItemQualities Group::GetLootThreshold ( ) const

Definition at line 1680 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetMasterLooterGuid()

ObjectGuid Group::GetMasterLooterGuid ( ) const

Definition at line 1675 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetMemberFlags()

uint8 Group::GetMemberFlags ( ObjectGuid  guid) const

Definition at line 1704 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMemberGroup()

uint8 Group::GetMemberGroup ( ObjectGuid  guid) const

Definition at line 1733 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMemberGUID()

ObjectGuid Group::GetMemberGUID ( std::string const &  name) const

Definition at line 1695 of file Group.cpp.

◆ GetMembers() [1/2]

GroupRefManager & Group::GetMembers ( )
inline

Definition at line 332 of file Group.h.

+ Here is the caller graph for this function:

◆ GetMembers() [2/2]

GroupRefManager const & Group::GetMembers ( ) const
inline

Definition at line 333 of file Group.h.

◆ GetMembersCount()

uint32 Group::GetMembersCount ( ) const
inline

Definition at line 335 of file Group.h.

+ Here is the caller graph for this function:

◆ GetMemberSlots()

MemberSlotList const & Group::GetMemberSlots ( ) const
inline

Definition at line 334 of file Group.h.

+ Here is the caller graph for this function:

◆ GetRaidDifficultyID()

Difficulty Group::GetRaidDifficultyID ( ) const
inline

Definition at line 360 of file Group.h.

+ Here is the caller graph for this function:

◆ GetRecentInstanceId()

uint32 Group::GetRecentInstanceId ( uint32  mapId) const
inline

Definition at line 390 of file Group.h.

+ Here is the caller graph for this function:

◆ GetRecentInstanceOwner()

ObjectGuid Group::GetRecentInstanceOwner ( uint32  mapId) const
inline

Definition at line 384 of file Group.h.

+ Here is the caller graph for this function:

◆ GetRestrictPings()

RestrictPingsTo Group::GetRestrictPings ( ) const

Definition at line 1887 of file Group.cpp.

◆ GetWeakPtr()

Trinity::unique_weak_ptr< Group > Group::GetWeakPtr ( ) const
inline

Definition at line 413 of file Group.h.

◆ HasFreeSlotSubGroup()

bool Group::HasFreeSlotSubGroup ( uint8  subgroup) const

Definition at line 1728 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsAssistant()

bool Group::IsAssistant ( ObjectGuid  guid) const
inline

Definition at line 319 of file Group.h.

+ Here is the caller graph for this function:

◆ isBFGroup()

bool Group::isBFGroup ( ) const

Definition at line 1638 of file Group.cpp.

+ Here is the caller graph for this function:

◆ isBGGroup()

bool Group::isBGGroup ( ) const

Definition at line 1633 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsCreated()

bool Group::IsCreated ( ) const

Definition at line 1643 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsFull()

bool Group::IsFull ( ) const

Definition at line 1618 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsLeader()

bool Group::IsLeader ( ObjectGuid  guid) const

Definition at line 1690 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isLFGGroup()

bool Group::isLFGGroup ( ) const

Definition at line 1623 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsMember()

bool Group::IsMember ( ObjectGuid  guid) const

Definition at line 1685 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isRaidGroup()

bool Group::isRaidGroup ( ) const

Definition at line 1628 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsReadyCheckCompleted()

bool Group::IsReadyCheckCompleted ( void  ) const

Definition at line 1524 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsReadyCheckStarted()

bool Group::IsReadyCheckStarted ( void  ) const
inline

Definition at line 281 of file Group.h.

◆ LinkMember()

void Group::LinkMember ( GroupReference pRef)

Definition at line 1792 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LinkOwnedInstance()

void Group::LinkOwnedInstance ( GroupInstanceReference ref)

Definition at line 1390 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadGroupFromDB()

void Group::LoadGroupFromDB ( Field field)

Definition at line 211 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadMemberFromDB()

void Group::LoadMemberFromDB ( ObjectGuid::LowType  guidLow,
uint8  memberFlags,
uint8  subgroup,
uint8  roles 
)

Definition at line 248 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAllInvites()

void Group::RemoveAllInvites ( )

Definition at line 395 of file Group.cpp.

+ Here is the caller graph for this function:

◆ RemoveInvite()

void Group::RemoveInvite ( Player player)

Definition at line 386 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveMember()

bool Group::RemoveMember ( ObjectGuid  guid,
RemoveMethod  method = GROUP_REMOVEMETHOD_DEFAULT,
ObjectGuid  kicker = ObjectGuid::Empty,
const char *  reason = nullptr 
)

Definition at line 566 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveUniqueGroupMemberFlag()

void Group::RemoveUniqueGroupMemberFlag ( GroupMemberFlags  flag)

Definition at line 1838 of file Group.cpp.

+ Here is the caller graph for this function:

◆ ResetInstances()

void Group::ResetInstances ( InstanceResetMethod  method,
Player notifyPlayer 
)

Definition at line 1364 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetMemberReadyChecked()

void Group::ResetMemberReadyChecked ( void  )

Definition at line 1570 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SameSubGroup() [1/3]

bool Group::SameSubGroup ( ObjectGuid  guid1,
MemberSlot const *  slot2 
) const

Definition at line 1720 of file Group.cpp.

+ Here is the call graph for this function:

◆ SameSubGroup() [2/3]

bool Group::SameSubGroup ( ObjectGuid  guid1,
ObjectGuid  guid2 
) const

Definition at line 1712 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SameSubGroup() [3/3]

bool Group::SameSubGroup ( Player const *  member1,
Player const *  member2 
) const

Definition at line 1009 of file Group.cpp.

+ Here is the call graph for this function:

◆ SelectNewPartyOrRaidLeader()

void Group::SelectNewPartyOrRaidLeader ( )

Definition at line 105 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRaidMarkersChanged()

void Group::SendRaidMarkersChanged ( WorldSession session = nullptr) const

Definition at line 1601 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendTargetIconList()

void Group::SendTargetIconList ( WorldSession session) const

Definition at line 815 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdate()

void Group::SendUpdate ( ) const

Definition at line 828 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateDestroyGroupToPlayer()

void Group::SendUpdateDestroyGroupToPlayer ( Player player) const

Definition at line 931 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateToPlayer()

void Group::SendUpdateToPlayer ( ObjectGuid  playerGUID,
MemberSlot const *  slot = nullptr 
) const

Definition at line 834 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBattlefieldGroup()

void Group::SetBattlefieldGroup ( Battlefield bf)

Definition at line 1746 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetBattlegroundGroup()

void Group::SetBattlegroundGroup ( Battleground bg)

Definition at line 1741 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetDungeonDifficultyID()

void Group::SetDungeonDifficultyID ( Difficulty  difficulty)

Definition at line 1285 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetEveryoneIsAssistant()

void Group::SetEveryoneIsAssistant ( bool  apply)

Definition at line 1864 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGroupMemberFlag()

void Group::SetGroupMemberFlag ( ObjectGuid  guid,
bool  apply,
GroupMemberFlags  flag 
)

Definition at line 1751 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLegacyRaidDifficultyID()

void Group::SetLegacyRaidDifficultyID ( Difficulty  difficulty)

Definition at line 1327 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLfgRoles()

void Group::SetLfgRoles ( ObjectGuid  guid,
uint8  roles 
)

Definition at line 1455 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLooterGuid()

void Group::SetLooterGuid ( ObjectGuid  guid)

Definition at line 1440 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetLootMethod()

void Group::SetLootMethod ( LootMethod  method)

Definition at line 1435 of file Group.cpp.

◆ SetLootThreshold()

void Group::SetLootThreshold ( ItemQualities  threshold)

Definition at line 1450 of file Group.cpp.

◆ SetMasterLooterGuid()

void Group::SetMasterLooterGuid ( ObjectGuid  guid)

Definition at line 1445 of file Group.cpp.

◆ SetMemberReadyCheck() [1/2]

void Group::SetMemberReadyCheck ( MemberSlot slot,
bool  ready 
)

Definition at line 1542 of file Group.cpp.

+ Here is the call graph for this function:

◆ SetMemberReadyCheck() [2/2]

void Group::SetMemberReadyCheck ( ObjectGuid  guid,
bool  ready 
)

Definition at line 1532 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMemberReadyChecked()

void Group::SetMemberReadyChecked ( MemberSlot slot)

Definition at line 1563 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetOfflineMembersReadyChecked()

void Group::SetOfflineMembersReadyChecked ( void  )

Definition at line 1553 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRaidDifficultyID()

void Group::SetRaidDifficultyID ( Difficulty  difficulty)

Definition at line 1306 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRecentInstance()

void Group::SetRecentInstance ( uint32  mapId,
ObjectGuid  instanceOwner,
uint32  instanceId 
)
inline

Definition at line 396 of file Group.h.

+ Here is the caller graph for this function:

◆ SetRestrictPingsTo()

void Group::SetRestrictPingsTo ( RestrictPingsTo  restrictTo)

Definition at line 1892 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTargetIcon()

void Group::SetTargetIcon ( uint8  symbol,
ObjectGuid  target,
ObjectGuid  changedBy 
)

Definition at line 794 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StartCountdown()

void Group::StartCountdown ( CountdownTimerType  timerType,
Seconds  duration,
Optional< time_t >  startTime = { } 
)

Definition at line 1416 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StartLeaderOfflineTimer()

void Group::StartLeaderOfflineTimer ( )

Definition at line 1853 of file Group.cpp.

+ Here is the call graph for this function:

◆ StartReadyCheck()

void Group::StartReadyCheck ( ObjectGuid  starterGuid,
Milliseconds  duration = Milliseconds(READYCHECK_DURATION) 
)

Definition at line 1484 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopLeaderOfflineTimer()

void Group::StopLeaderOfflineTimer ( )

Definition at line 1859 of file Group.cpp.

◆ SubGroupCounterDecrease()

void Group::SubGroupCounterDecrease ( uint8  subgroup)
protected

Definition at line 1832 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SubGroupCounterIncrease()

void Group::SubGroupCounterIncrease ( uint8  subgroup)
protected

Definition at line 1826 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SwapMembersGroups()

void Group::SwapMembersGroups ( ObjectGuid  firstGuid,
ObjectGuid  secondGuid 
)

Definition at line 1073 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ToggleGroupMemberFlag()

void Group::ToggleGroupMemberFlag ( member_witerator  slot,
uint8  flag,
bool  apply 
)
protected

Definition at line 1845 of file Group.cpp.

+ Here is the caller graph for this function:

◆ Update()

void Group::Update ( uint32  diff)

Definition at line 90 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateLooterGuid()

void Group::UpdateLooterGuid ( WorldObject pLootedObject,
bool  ifneed = false 
)

Definition at line 1129 of file Group.cpp.

+ Here is the call graph for this function:

◆ UpdatePlayerOutOfRange()

void Group::UpdatePlayerOutOfRange ( Player const *  player) const

Definition at line 943 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateReadyCheck()

void Group::UpdateReadyCheck ( uint32  diff)

Definition at line 1474 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_activeMarkers

uint32 Group::m_activeMarkers
protected

Definition at line 458 of file Group.h.

◆ m_bfGroup

Battlefield* Group::m_bfGroup
protected

Definition at line 438 of file Group.h.

◆ m_bgGroup

Battleground* Group::m_bgGroup
protected

Definition at line 437 of file Group.h.

◆ m_countdowns

std::array<std::unique_ptr<CountdownInfo>, 3> Group::m_countdowns
protected

Definition at line 460 of file Group.h.

◆ m_dbStoreId

uint32 Group::m_dbStoreId
protected

Definition at line 448 of file Group.h.

◆ m_dungeonDifficulty

Difficulty Group::m_dungeonDifficulty
protected

Definition at line 434 of file Group.h.

◆ m_groupCategory

GroupCategory Group::m_groupCategory
protected

Definition at line 433 of file Group.h.

◆ m_groupFlags

GroupFlags Group::m_groupFlags
protected

Definition at line 432 of file Group.h.

◆ m_guid

ObjectGuid Group::m_guid
protected

Definition at line 447 of file Group.h.

◆ m_invitees

InvitesList Group::m_invitees
protected

Definition at line 428 of file Group.h.

◆ m_isLeaderOffline

bool Group::m_isLeaderOffline
protected

Definition at line 449 of file Group.h.

◆ m_leaderFactionGroup

uint8 Group::m_leaderFactionGroup
protected

Definition at line 430 of file Group.h.

◆ m_leaderGuid

ObjectGuid Group::m_leaderGuid
protected

Definition at line 429 of file Group.h.

◆ m_leaderName

std::string Group::m_leaderName
protected

Definition at line 431 of file Group.h.

◆ m_leaderOfflineTimer

TimeTracker Group::m_leaderOfflineTimer
protected

Definition at line 450 of file Group.h.

◆ m_legacyRaidDifficulty

Difficulty Group::m_legacyRaidDifficulty
protected

Definition at line 436 of file Group.h.

◆ m_looterGuid

ObjectGuid Group::m_looterGuid
protected

Definition at line 442 of file Group.h.

◆ m_lootMethod

LootMethod Group::m_lootMethod
protected

Definition at line 440 of file Group.h.

◆ m_lootThreshold

ItemQualities Group::m_lootThreshold
protected

Definition at line 441 of file Group.h.

◆ m_markers

std::array<std::unique_ptr<RaidMarker>, RAID_MARKERS_COUNT> Group::m_markers
protected

Definition at line 457 of file Group.h.

◆ m_masterLooterGuid

ObjectGuid Group::m_masterLooterGuid
protected

Definition at line 443 of file Group.h.

◆ m_memberMgr

GroupRefManager Group::m_memberMgr
protected

Definition at line 427 of file Group.h.

◆ m_memberSlots

MemberSlotList Group::m_memberSlots
protected

Definition at line 426 of file Group.h.

◆ m_ownedInstancesMgr

GroupInstanceRefManager Group::m_ownedInstancesMgr
protected

Definition at line 445 of file Group.h.

◆ m_pingRestriction

RestrictPingsTo Group::m_pingRestriction
protected

Definition at line 462 of file Group.h.

◆ m_raidDifficulty

Difficulty Group::m_raidDifficulty
protected

Definition at line 435 of file Group.h.

◆ m_readyCheckStarted

bool Group::m_readyCheckStarted
protected

Definition at line 453 of file Group.h.

◆ m_readyCheckTimer

Milliseconds Group::m_readyCheckTimer
protected

Definition at line 454 of file Group.h.

◆ m_recentInstances

std::unordered_map<uint32 , std::pair<ObjectGuid , uint32 > > Group::m_recentInstances
protected

Definition at line 444 of file Group.h.

◆ m_scriptRef

Trinity::unique_trackable_ptr<Group> Group::m_scriptRef
protected

Definition at line 465 of file Group.h.

◆ m_subGroupsCounts

uint8* Group::m_subGroupsCounts
protected

Definition at line 446 of file Group.h.

◆ m_targetIcons

ObjectGuid Group::m_targetIcons[TARGET_ICONS_COUNT]
protected

Definition at line 439 of file Group.h.


The documentation for this class was generated from the following files: