Core/Protocol: Refix MSG_GUILD_PERMISSIONS after a misstake in my last commit
This commit is contained in:
1 parent
ba23b69a17
commit
99086ac8a8
3 files changed
+4
-5
No files matched your search
@@ -1820,13 +1820,12 @@ void Guild::SendPermissions(WorldSession* session) const
|
||||
{
|
||||
uint64 guid = session->GetPlayer()->GetGUID();
|
||||
uint8 rankId = session->GetPlayer()->GetRank();
|
||||
uint8 tabSize = _GetPurchasedTabsSize();
|
||||
WorldPacket data(MSG_GUILD_PERMISSIONS, 4 * 15 + 1);
|
||||
data << uint32(rankId);
|
||||
data << uint32(_GetRankRights(rankId));
|
||||
data << uint32(_GetMemberRemainingMoney(guid));
|
||||
data << uint8(tabSize);
|
||||
for (uint8 tabId = 0; tabId < tabSize; ++tabId)
|
||||
data << uint8(_GetPurchasedTabsSize());
|
||||
for (uint8 tabId = 0; tabId < GUILD_BANK_MAX_TABS; ++tabId)
|
||||
{
|
||||
data << uint32(_GetRankBankTabRights(rankId, tabId));
|
||||
data << uint32(_GetMemberRemainingSlots(guid, tabId));
|
||||
|
||||
Reference in new issue
Block a user