mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/PacketIO: Port guild packets to classes as example of new self-validating strings
(cherry picked from commit f0fe5f8b66)
This commit is contained in:
@@ -2192,7 +2192,7 @@ void Guild::SendPermissions(WorldSession* session) const
|
||||
|
||||
WorldPackets::Guild::GuildPermissionsQueryResults queryResult;
|
||||
queryResult.RankID = rankId;
|
||||
queryResult.WithdrawGoldLimit = int32(_GetRankBankMoneyPerDay(rankId));
|
||||
queryResult.WithdrawGoldLimit = _GetRankBankMoneyPerDay(rankId);
|
||||
queryResult.Flags = _GetRankRights(rankId);
|
||||
queryResult.NumTabs = _GetPurchasedTabsSize();
|
||||
queryResult.Tab.reserve(GUILD_BANK_MAX_TABS);
|
||||
|
||||
Reference in New Issue
Block a user