void HandleGuildBankQueryTab(GuildBankQueryTab packet) { if (GetPlayer().GetGameObjectIfCanInteractWith(packet.Banker, GameObjectTypes.GuildBank)) { Guild guild = GetPlayer().GetGuild(); if (guild) { guild.SendBankList(this, packet.Tab, packet.FullUpdate); } } }
void HandleGuildBankQueryTab(GuildBankQueryTab packet) { if (GetPlayer().GetGameObjectIfCanInteractWith(packet.Banker, GameObjectTypes.GuildBank)) { Guild guild = GetPlayer().GetGuild(); if (guild) { guild.SendBankList(this, packet.Tab, true /*packet.FullUpdate*/); } // HACK: client doesn't query entire tab content if it had received SMSG_GUILD_BANK_LIST in this session // but we broadcast bank updates to entire guild when *ANYONE* changes anything, incorrectly initializing clients // tab content with only data for that change } }