aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Groups/Group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Groups/Group.h')
-rw-r--r--src/server/game/Groups/Group.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/server/game/Groups/Group.h b/src/server/game/Groups/Group.h
index 6ac1b9a9b9c..b92129de48f 100644
--- a/src/server/game/Groups/Group.h
+++ b/src/server/game/Groups/Group.h
@@ -136,7 +136,7 @@ class Roll : public LootValidatorRef
ObjectGuid itemGUID;
uint32 itemid;
- int32 itemRandomPropId;
+ int32 itemRandomPropId;
uint32 itemRandomSuffix;
uint8 itemCount;
typedef std::map<ObjectGuid, RollVote> PlayerVote;
@@ -188,24 +188,24 @@ class TC_GAME_API Group
void Update(uint32 diff);
// group manipulation methods
- 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);
- static void ConvertLeaderInstancesToGroup(Player* player, Group* group, bool switchLeader);
- 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 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);
+ static void ConvertLeaderInstancesToGroup(Player* player, Group* group, bool switchLeader);
+ 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);
// properties accessories
bool IsFull() const;