#include "GuildPackets.h"
◆ GuildBankQueryResults()
WorldPackets::Guild::GuildBankQueryResults::GuildBankQueryResults |
( |
| ) |
|
|
inline |
@ SMSG_GUILD_BANK_LIST
Definition: Opcodes.h:1030
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25
◆ SetWithdrawalsRemaining()
void WorldPackets::Guild::GuildBankQueryResults::SetWithdrawalsRemaining |
( |
int32 |
withdrawalsRemaining | ) |
|
332{
335}
std::int32_t int32
Definition: Define.h:103
WorldPacket _worldPacket
Definition: Packet.h:42
int32 WithdrawalsRemaining
Definition: GuildPackets.h:490
std::size_t _withdrawalsRemainingPos
Definition: GuildPackets.h:498
void put(std::size_t pos, T value)
Definition: ByteBuffer.h:137
Referenced by Guild::_SendBankList().
◆ Write()
WorldPacket const * WorldPackets::Guild::GuildBankQueryResults::Write |
( |
| ) |
|
|
overridevirtual |
Implements WorldPackets::Packet.
286{
292
294 {
296 for (GuildBankTabInfo
const& tab :
TabInfo)
297 {
300 }
301 }
302
304 for (GuildBankItemInfo
const& item :
ItemInfo)
305 {
308 if (item.ItemID)
309 {
312 if (item.RandomPropertiesID)
314
319
320 for (GuildBankSocketEnchant const& socketEnchant : item.SocketEnchant)
321 {
324 }
325 }
326 }
327
329}
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
std::uint64_t uint64
Definition: Define.h:106
bool FullUpdate
Definition: GuildPackets.h:493
uint8 Tab
Definition: GuildPackets.h:491
std::vector< GuildBankTabInfo > TabInfo
Definition: GuildPackets.h:489
uint64 Money
Definition: GuildPackets.h:492
std::vector< GuildBankItemInfo > ItemInfo
Definition: GuildPackets.h:488
std::size_t wpos() const
Definition: ByteBuffer.h:330
References WorldPackets::Guild::GuildBankSocketEnchant::SocketEnchantID, and WorldPackets::Guild::GuildBankSocketEnchant::SocketIndex.
Referenced by Guild::_SendBankList().
◆ _withdrawalsRemainingPos
std::size_t WorldPackets::Guild::GuildBankQueryResults::_withdrawalsRemainingPos = 0 |
|
private |
◆ FullUpdate
bool WorldPackets::Guild::GuildBankQueryResults::FullUpdate = false |
◆ ItemInfo
◆ Money
uint64 WorldPackets::Guild::GuildBankQueryResults::Money = 0 |
◆ Tab
uint8 WorldPackets::Guild::GuildBankQueryResults::Tab = 0 |
◆ TabInfo
std::vector<GuildBankTabInfo> WorldPackets::Guild::GuildBankQueryResults::TabInfo |
◆ WithdrawalsRemaining
int32 WorldPackets::Guild::GuildBankQueryResults::WithdrawalsRemaining = 0 |