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

#include <Group.h>

Classes

struct  MemberSlot
 
struct  NoopGroupDeleter
 

Public Types

typedef std::list< MemberSlotMemberSlotList
 
typedef MemberSlotList::const_iterator member_citerator
 
typedef std::unordered_map< uint32, InstanceGroupBindBoundInstancesMap
 

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 const &method=GROUP_REMOVEMETHOD_DEFAULT, ObjectGuid kicker=ObjectGuid::Empty, char const *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)
 
bool IsFull () const
 
bool isLFGGroup () const
 
bool isRaidGroup () const
 
bool isBGGroup () const
 
bool isBFGroup () const
 
bool IsCreated () 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 (const std::string &name)
 
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
 
MemberSlotList const & GetMemberSlots () const
 
GroupReferenceGetFirstMember ()
 
GroupReference const * GetFirstMember () const
 
uint32 GetMembersCount () const
 
uint32 GetInviteeCount () const
 
GroupType GetGroupType () const
 
uint8 GetMemberGroup (ObjectGuid guid) const
 
void ConvertToLFG ()
 
void ConvertToRaid ()
 
void SetBattlegroundGroup (Battleground *bg)
 
void SetBattlefieldGroup (Battlefield *bf)
 
GroupJoinBattlegroundResult CanJoinBattlegroundQueue (Battleground const *bgOrTemplate, BattlegroundQueueTypeId bgQueueTypeId, uint32 MinPlayerCount, uint32 MaxPlayerCount, bool isRated, uint32 arenaSlot, ObjectGuid &errorGuid) const
 
void ChangeMembersGroup (ObjectGuid guid, uint8 group)
 
void SetTargetIcon (uint8 id, ObjectGuid whoGuid, ObjectGuid targetGuid)
 
void SetGroupMemberFlag (ObjectGuid guid, bool apply, GroupMemberFlags flag)
 
void RemoveUniqueGroupMemberFlag (GroupMemberFlags flag)
 
Difficulty GetDifficulty (bool isRaid) const
 
Difficulty GetDungeonDifficulty () const
 
Difficulty GetRaidDifficulty () const
 
void SetDungeonDifficulty (Difficulty difficulty)
 
void SetRaidDifficulty (Difficulty difficulty)
 
uint16 InInstance ()
 
bool InCombatToInstance (uint32 instanceId)
 
void ResetInstances (uint8 method, bool isRaid, Player *SendMsgTo)
 
void SendTargetIconList (WorldSession *session)
 
void SendUpdate ()
 
void SendUpdateToPlayer (Player const *player, MemberSlot const *slot=nullptr)
 
void SendOriginalGroupUpdateToPlayer (Player const *player) const
 
void UpdatePlayerOutOfRange (Player *player)
 
template<class Worker >
void BroadcastWorker (Worker &worker)
 
template<class Worker >
void BroadcastWorker (Worker const &worker) const
 
void BroadcastPacket (WorldPacket const *packet, bool ignorePlayersInBGRaid, int group=-1, ObjectGuid ignoredPlayer=ObjectGuid::Empty)
 
void BroadcastReadyCheck (WorldPacket const *packet)
 
void OfflineReadyCheck ()
 
bool isRollLootActive () const
 
void SendLootStartRoll (uint32 CountDown, uint32 mapid, Roll const &r)
 
void SendLootStartRollToPlayer (uint32 countDown, uint32 mapId, Player *p, bool canNeed, Roll const &r)
 
void SendLootRoll (ObjectGuid SourceGuid, ObjectGuid TargetGuid, uint8 RollNumber, uint8 RollType, Roll const &r, bool autoPass=false)
 
void SendLootRollWon (ObjectGuid SourceGuid, ObjectGuid TargetGuid, uint8 RollNumber, uint8 RollType, Roll const &r)
 
void SendLootAllPassed (Roll const &roll)
 
void SendLooter (Creature *creature, Player *pLooter)
 
void GroupLoot (Loot *loot, WorldObject *pLootedObject)
 
void NeedBeforeGreed (Loot *loot, WorldObject *pLootedObject)
 
void MasterLoot (Loot *loot, WorldObject *pLootedObject)
 
Rolls::iterator GetRoll (ObjectGuid Guid)
 
void CountTheRoll (Rolls::iterator roll, Map *allowedMap)
 
bool CountRollVote (ObjectGuid playerGUID, ObjectGuid Guid, uint8 Choise)
 
void EndRoll (Loot *loot, Map *allowedMap)
 
void ResetMaxEnchantingLevel ()
 
void LinkMember (GroupReference *pRef)
 
void DelinkMember (ObjectGuid guid)
 
InstanceGroupBindBindToInstance (InstanceSave *save, bool permanent, bool load=false)
 
void UnbindInstance (uint32 mapid, uint8 difficulty, bool unload=false)
 
InstanceGroupBindGetBoundInstance (Player *player)
 
InstanceGroupBindGetBoundInstance (Map *aMap)
 
InstanceGroupBindGetBoundInstance (MapEntry const *mapEntry)
 
InstanceGroupBindGetBoundInstance (Difficulty difficulty, uint32 mapId)
 
BoundInstancesMapGetBoundInstances (Difficulty difficulty)
 
void StartLeaderOfflineTimer ()
 
void StopLeaderOfflineTimer ()
 
void SelectNewPartyOrRaidLeader ()
 
void BroadcastGroupUpdate (void)
 
Trinity::unique_weak_ptr< GroupGetWeakPtr () const
 

Static Public Member Functions

static void ConvertLeaderInstancesToGroup (Player *player, Group *group, bool switchLeader)
 convert the player's binds to the group
 

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)
 

Protected Attributes

MemberSlotList m_memberSlots
 
GroupRefManager m_memberMgr
 
InvitesList m_invitees
 
ObjectGuid m_leaderGuid
 
std::string m_leaderName
 
GroupType m_groupType
 
Difficulty m_dungeonDifficulty
 
Difficulty m_raidDifficulty
 
Battlegroundm_bgGroup
 
Battlefieldm_bfGroup
 
ObjectGuid m_targetIcons [TARGET_ICONS_COUNT]
 
LootMethod m_lootMethod
 
ItemQualities m_lootThreshold
 
ObjectGuid m_looterGuid
 
ObjectGuid m_masterLooterGuid
 
Rolls RollId
 
BoundInstancesMap m_boundInstances [MAX_DIFFICULTY]
 
uint8m_subGroupsCounts
 
ObjectGuid m_guid
 
uint32 m_counter
 
uint32 m_maxEnchantingLevel
 
uint32 m_dbStoreId
 
bool m_isLeaderOffline
 
TimeTracker m_leaderOfflineTimer
 
Trinity::unique_trackable_ptr< Groupm_scriptRef
 

Detailed Description

request member stats checken

Todo:
uninvite people that not accepted invite

Definition at line 164 of file Group.h.

Member Typedef Documentation

◆ BoundInstancesMap

typedef std::unordered_map< uint32 , InstanceGroupBind> Group::BoundInstancesMap

Definition at line 178 of file Group.h.

◆ InvitesList

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

Definition at line 181 of file Group.h.

◆ member_citerator

typedef MemberSlotList::const_iterator Group::member_citerator

Definition at line 176 of file Group.h.

◆ member_witerator

typedef MemberSlotList::iterator Group::member_witerator
protected

Definition at line 180 of file Group.h.

◆ MemberSlotList

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

Definition at line 175 of file Group.h.

◆ Rolls

typedef std::vector<Roll*> Group::Rolls
protected

Definition at line 183 of file Group.h.

Constructor & Destructor Documentation

◆ Group()

Group::Group ( )

Definition at line 62 of file Group.cpp.

◆ ~Group()

Group::~Group ( )

Definition at line 72 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 2677 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _getMemberWSlot()

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

Definition at line 2685 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _homebindIfInstance()

void Group::_homebindIfInstance ( Player player)
protected

Definition at line 2374 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 2665 of file Group.cpp.

+ Here is the caller graph for this function:

◆ _setMembersGroup()

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

Definition at line 1847 of file Group.cpp.

+ Here is the call graph for this function:

◆ AddInvite()

bool Group::AddInvite ( Player player)

Definition at line 326 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 347 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 395 of file Group.cpp.

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

◆ BindToInstance()

InstanceGroupBind * Group::BindToInstance ( InstanceSave save,
bool  permanent,
bool  load = false 
)

Definition at line 2321 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 2380 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 
)

Definition at line 1808 of file Group.cpp.

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

◆ BroadcastReadyCheck()

void Group::BroadcastReadyCheck ( WorldPacket const *  packet)

Definition at line 1821 of file Group.cpp.

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

◆ BroadcastWorker() [1/2]

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

Definition at line 285 of file Group.h.

+ Here is the call graph for this function:

◆ BroadcastWorker() [2/2]

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

Definition at line 292 of file Group.h.

+ Here is the call graph for this function:

◆ CanJoinBattlegroundQueue()

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

Definition at line 2008 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 704 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 1882 of file Group.cpp.

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

◆ ConvertLeaderInstancesToGroup()

void Group::ConvertLeaderInstancesToGroup ( Player player,
Group group,
bool  switchLeader 
)
static

convert the player's binds to the group

Definition at line 773 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 285 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 302 of file Group.cpp.

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

◆ CountRollVote()

bool Group::CountRollVote ( ObjectGuid  playerGUID,
ObjectGuid  Guid,
uint8  Choise 
)

Definition at line 1416 of file Group.cpp.

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

◆ CountTheRoll()

void Group::CountTheRoll ( Rolls::iterator  roll,
Map allowedMap 
)

Definition at line 1476 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 151 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 2645 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 809 of file Group.cpp.

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

◆ EndRoll()

void Group::EndRoll ( Loot loot,
Map allowedMap 
)

Definition at line 1463 of file Group.cpp.

+ Here is the call graph for this function:

◆ GetBoundInstance() [1/4]

InstanceGroupBind * Group::GetBoundInstance ( Difficulty  difficulty,
uint32  mapId 
)

Definition at line 2309 of file Group.cpp.

+ Here is the call graph for this function:

◆ GetBoundInstance() [2/4]

InstanceGroupBind * Group::GetBoundInstance ( Map aMap)

Definition at line 2293 of file Group.cpp.

+ Here is the call graph for this function:

◆ GetBoundInstance() [3/4]

InstanceGroupBind * Group::GetBoundInstance ( MapEntry const *  mapEntry)

Definition at line 2300 of file Group.cpp.

+ Here is the call graph for this function:

◆ GetBoundInstance() [4/4]

InstanceGroupBind * Group::GetBoundInstance ( Player player)

Definition at line 2286 of file Group.cpp.

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

◆ GetBoundInstances()

Group::BoundInstancesMap & Group::GetBoundInstances ( Difficulty  difficulty)

Definition at line 2660 of file Group.cpp.

◆ GetDbStoreId()

uint32 Group::GetDbStoreId ( ) const
inline

Definition at line 226 of file Group.h.

+ Here is the caller graph for this function:

◆ GetDifficulty()

Difficulty Group::GetDifficulty ( bool  isRaid) const

Definition at line 2611 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetDungeonDifficulty()

Difficulty Group::GetDungeonDifficulty ( ) const

Definition at line 2616 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetFirstMember() [1/2]

GroupReference * Group::GetFirstMember ( )
inline

Definition at line 247 of file Group.h.

+ Here is the caller graph for this function:

◆ GetFirstMember() [2/2]

GroupReference const * Group::GetFirstMember ( ) const
inline

Definition at line 248 of file Group.h.

◆ GetGroupType()

GroupType Group::GetGroupType ( ) const
inline

Definition at line 251 of file Group.h.

◆ GetGUID()

ObjectGuid Group::GetGUID ( ) const

Definition at line 2473 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 385 of file Group.cpp.

◆ GetInvited() [2/2]

Player * Group::GetInvited ( ObjectGuid  guid) const

Definition at line 375 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetInviteeCount()

uint32 Group::GetInviteeCount ( ) const
inline

Definition at line 250 of file Group.h.

+ Here is the caller graph for this function:

◆ GetLeaderGUID()

ObjectGuid Group::GetLeaderGUID ( ) const

Definition at line 2468 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLeaderName()

char const * Group::GetLeaderName ( ) const

Definition at line 2478 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLooterGuid()

ObjectGuid Group::GetLooterGuid ( ) const

Definition at line 2488 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 2483 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetLootThreshold()

ItemQualities Group::GetLootThreshold ( ) const

Definition at line 2500 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetMasterLooterGuid()

ObjectGuid Group::GetMasterLooterGuid ( ) const

Definition at line 2495 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetMemberFlags()

uint8 Group::GetMemberFlags ( ObjectGuid  guid) const

Definition at line 2523 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 2552 of file Group.cpp.

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

◆ GetMemberGUID()

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

Definition at line 2515 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetMembersCount()

uint32 Group::GetMembersCount ( ) const
inline

Definition at line 249 of file Group.h.

+ Here is the caller graph for this function:

◆ GetMemberSlots()

MemberSlotList const & Group::GetMemberSlots ( ) const
inline

Definition at line 246 of file Group.h.

+ Here is the caller graph for this function:

◆ GetRaidDifficulty()

Difficulty Group::GetRaidDifficulty ( ) const

Definition at line 2621 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetRoll()

Group::Rolls::iterator Group::GetRoll ( ObjectGuid  Guid)

Definition at line 2631 of file Group.cpp.

+ Here is the caller graph for this function:

◆ GetWeakPtr()

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

Definition at line 342 of file Group.h.

◆ GroupLoot()

void Group::GroupLoot ( Loot loot,
WorldObject pLootedObject 
)

Definition at line 1065 of file Group.cpp.

+ Here is the call graph for this function:

◆ HasFreeSlotSubGroup()

bool Group::HasFreeSlotSubGroup ( uint8  subgroup) const

Definition at line 2547 of file Group.cpp.

+ Here is the caller graph for this function:

◆ InCombatToInstance()

bool Group::InCombatToInstance ( uint32  instanceId)

Definition at line 2152 of file Group.cpp.

+ Here is the call graph for this function:

◆ InInstance()

uint16 Group::InInstance ( )

◆ IsAssistant()

bool Group::IsAssistant ( ObjectGuid  guid) const
inline

Definition at line 233 of file Group.h.

+ Here is the caller graph for this function:

◆ isBFGroup()

bool Group::isBFGroup ( ) const

Definition at line 2458 of file Group.cpp.

+ Here is the caller graph for this function:

◆ isBGGroup()

bool Group::isBGGroup ( ) const

Definition at line 2453 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsCreated()

bool Group::IsCreated ( ) const

Definition at line 2463 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 2438 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 2510 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 2443 of file Group.cpp.

+ Here is the caller graph for this function:

◆ IsMember()

bool Group::IsMember ( ObjectGuid  guid) const

Definition at line 2505 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 2448 of file Group.cpp.

+ Here is the caller graph for this function:

◆ isRollLootActive()

bool Group::isRollLootActive ( ) const

Definition at line 2626 of file Group.cpp.

+ Here is the caller graph for this function:

◆ LinkMember()

void Group::LinkMember ( GroupReference pRef)

Definition at line 2640 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 221 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 260 of file Group.cpp.

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

◆ MasterLoot()

void Group::MasterLoot ( Loot loot,
WorldObject pLootedObject 
)

Definition at line 1368 of file Group.cpp.

+ Here is the call graph for this function:

◆ NeedBeforeGreed()

void Group::NeedBeforeGreed ( Loot loot,
WorldObject pLootedObject 
)

Definition at line 1220 of file Group.cpp.

+ Here is the call graph for this function:

◆ OfflineReadyCheck()

void Group::OfflineReadyCheck ( )

Definition at line 1832 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 366 of file Group.cpp.

+ Here is the caller graph for this function:

◆ RemoveInvite()

void Group::RemoveInvite ( Player player)

Definition at line 357 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 const &  method = GROUP_REMOVEMETHOD_DEFAULT,
ObjectGuid  kicker = ObjectGuid::Empty,
char const *  reason = nullptr 
)

Definition at line 538 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 2705 of file Group.cpp.

+ Here is the caller graph for this function:

◆ ResetInstances()

void Group::ResetInstances ( uint8  method,
bool  isRaid,
Player SendMsgTo 
)

Definition at line 2165 of file Group.cpp.

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

◆ ResetMaxEnchantingLevel()

void Group::ResetMaxEnchantingLevel ( )

Definition at line 2396 of file Group.cpp.

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

◆ SameSubGroup() [1/3]

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

Definition at line 2539 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 2531 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 1870 of file Group.cpp.

+ Here is the call graph for this function:

◆ SelectNewPartyOrRaidLeader()

void Group::SelectNewPartyOrRaidLeader ( )

Definition at line 115 of file Group.cpp.

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

◆ SendLootAllPassed()

void Group::SendLootAllPassed ( Roll const &  roll)

Definition at line 1007 of file Group.cpp.

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

◆ SendLooter()

void Group::SendLooter ( Creature creature,
Player pLooter 
)

Definition at line 1028 of file Group.cpp.

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

◆ SendLootRoll()

void Group::SendLootRoll ( ObjectGuid  SourceGuid,
ObjectGuid  TargetGuid,
uint8  RollNumber,
uint8  RollType,
Roll const &  r,
bool  autoPass = false 
)

Definition at line 960 of file Group.cpp.

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

◆ SendLootRollWon()

void Group::SendLootRollWon ( ObjectGuid  SourceGuid,
ObjectGuid  TargetGuid,
uint8  RollNumber,
uint8  RollType,
Roll const &  r 
)

Definition at line 984 of file Group.cpp.

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

◆ SendLootStartRoll()

void Group::SendLootStartRoll ( uint32  CountDown,
uint32  mapid,
Roll const &  r 
)

Definition at line 914 of file Group.cpp.

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

◆ SendLootStartRollToPlayer()

void Group::SendLootStartRollToPlayer ( uint32  countDown,
uint32  mapId,
Player p,
bool  canNeed,
Roll const &  r 
)

Definition at line 938 of file Group.cpp.

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

◆ SendOriginalGroupUpdateToPlayer()

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

Definition at line 1782 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)

Definition at line 1677 of file Group.cpp.

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

◆ SendUpdate()

void Group::SendUpdate ( )

Definition at line 1697 of file Group.cpp.

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

◆ SendUpdateToPlayer()

void Group::SendUpdateToPlayer ( Player const *  player,
MemberSlot const *  slot = nullptr 
)

Definition at line 1709 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 2565 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetBattlegroundGroup()

void Group::SetBattlegroundGroup ( Battleground bg)

Definition at line 2560 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetDungeonDifficulty()

void Group::SetDungeonDifficulty ( Difficulty  difficulty)

Definition at line 2104 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 2570 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 2428 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 2413 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetLootMethod()

void Group::SetLootMethod ( LootMethod  method)

Definition at line 2408 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetLootThreshold()

void Group::SetLootThreshold ( ItemQualities  threshold)

Definition at line 2423 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetMasterLooterGuid()

void Group::SetMasterLooterGuid ( ObjectGuid  guid)

Definition at line 2418 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SetRaidDifficulty()

void Group::SetRaidDifficulty ( Difficulty  difficulty)

Definition at line 2128 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  id,
ObjectGuid  whoGuid,
ObjectGuid  targetGuid 
)

Definition at line 1656 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 2720 of file Group.cpp.

+ Here is the call graph for this function:

◆ StopLeaderOfflineTimer()

void Group::StopLeaderOfflineTimer ( )

Definition at line 2726 of file Group.cpp.

◆ SubGroupCounterDecrease()

void Group::SubGroupCounterDecrease ( uint8  subgroup)
protected

Definition at line 2699 of file Group.cpp.

+ Here is the caller graph for this function:

◆ SubGroupCounterIncrease()

void Group::SubGroupCounterIncrease ( uint8  subgroup)
protected

Definition at line 2693 of file Group.cpp.

+ Here is the caller graph for this function:

◆ ToggleGroupMemberFlag()

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

Definition at line 2712 of file Group.cpp.

+ Here is the caller graph for this function:

◆ UnbindInstance()

void Group::UnbindInstance ( uint32  mapid,
uint8  difficulty,
bool  unload = false 
)

Definition at line 2354 of file Group.cpp.

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

◆ Update()

void Group::Update ( uint32  diff)

Definition at line 102 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 1946 of file Group.cpp.

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

◆ UpdatePlayerOutOfRange()

void Group::UpdatePlayerOutOfRange ( Player player)

Definition at line 1791 of file Group.cpp.

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

Member Data Documentation

◆ m_bfGroup

Battlefield* Group::m_bfGroup
protected

Definition at line 364 of file Group.h.

◆ m_bgGroup

Battleground* Group::m_bgGroup
protected

Definition at line 363 of file Group.h.

◆ m_boundInstances

BoundInstancesMap Group::m_boundInstances[MAX_DIFFICULTY]
protected

Definition at line 371 of file Group.h.

◆ m_counter

uint32 Group::m_counter
protected

Definition at line 374 of file Group.h.

◆ m_dbStoreId

uint32 Group::m_dbStoreId
protected

Definition at line 376 of file Group.h.

◆ m_dungeonDifficulty

Difficulty Group::m_dungeonDifficulty
protected

Definition at line 361 of file Group.h.

◆ m_groupType

GroupType Group::m_groupType
protected

Definition at line 360 of file Group.h.

◆ m_guid

ObjectGuid Group::m_guid
protected

Definition at line 373 of file Group.h.

◆ m_invitees

InvitesList Group::m_invitees
protected

Definition at line 357 of file Group.h.

◆ m_isLeaderOffline

bool Group::m_isLeaderOffline
protected

Definition at line 377 of file Group.h.

◆ m_leaderGuid

ObjectGuid Group::m_leaderGuid
protected

Definition at line 358 of file Group.h.

◆ m_leaderName

std::string Group::m_leaderName
protected

Definition at line 359 of file Group.h.

◆ m_leaderOfflineTimer

TimeTracker Group::m_leaderOfflineTimer
protected

Definition at line 378 of file Group.h.

◆ m_looterGuid

ObjectGuid Group::m_looterGuid
protected

Definition at line 368 of file Group.h.

◆ m_lootMethod

LootMethod Group::m_lootMethod
protected

Definition at line 366 of file Group.h.

◆ m_lootThreshold

ItemQualities Group::m_lootThreshold
protected

Definition at line 367 of file Group.h.

◆ m_masterLooterGuid

ObjectGuid Group::m_masterLooterGuid
protected

Definition at line 369 of file Group.h.

◆ m_maxEnchantingLevel

uint32 Group::m_maxEnchantingLevel
protected

Definition at line 375 of file Group.h.

◆ m_memberMgr

GroupRefManager Group::m_memberMgr
protected

Definition at line 356 of file Group.h.

◆ m_memberSlots

MemberSlotList Group::m_memberSlots
protected

Definition at line 355 of file Group.h.

◆ m_raidDifficulty

Difficulty Group::m_raidDifficulty
protected

Definition at line 362 of file Group.h.

◆ m_scriptRef

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

Definition at line 381 of file Group.h.

◆ m_subGroupsCounts

uint8* Group::m_subGroupsCounts
protected

Definition at line 372 of file Group.h.

◆ m_targetIcons

ObjectGuid Group::m_targetIcons[TARGET_ICONS_COUNT]
protected

Definition at line 365 of file Group.h.

◆ RollId

Rolls Group::RollId
protected

Definition at line 370 of file Group.h.


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