AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GuildPackets.h File Reference
#include "Guild.h"
#include "ObjectGuid.h"
#include "Packet.h"
#include "PacketUtilities.h"
#include <array>
#include <boost/container/static_vector.hpp>

Go to the source code of this file.

Classes

class  WorldPackets::Guild::QueryGuildInfo
 
struct  WorldPackets::Guild::GuildInfo
 
class  WorldPackets::Guild::QueryGuildInfoResponse
 
class  WorldPackets::Guild::GuildCreate
 
class  WorldPackets::Guild::GuildGetInfo
 
class  WorldPackets::Guild::GuildInfoResponse
 
class  WorldPackets::Guild::GuildGetRoster
 
struct  WorldPackets::Guild::GuildRosterMemberData
 
struct  WorldPackets::Guild::GuildRankData
 
class  WorldPackets::Guild::GuildRoster
 
class  WorldPackets::Guild::GuildUpdateMotdText
 
class  WorldPackets::Guild::GuildCommandResult
 
class  WorldPackets::Guild::AcceptGuildInvite
 
class  WorldPackets::Guild::GuildDeclineInvitation
 
class  WorldPackets::Guild::GuildInviteByName
 
class  WorldPackets::Guild::GuildInvite
 
class  WorldPackets::Guild::GuildEvent
 
struct  WorldPackets::Guild::GuildEventEntry
 
class  WorldPackets::Guild::GuildEventLogQuery
 
class  WorldPackets::Guild::GuildEventLogQueryResults
 
class  WorldPackets::Guild::GuildPermissionsQuery
 
class  WorldPackets::Guild::GuildPermissionsQueryResults
 
struct  WorldPackets::Guild::GuildPermissionsQueryResults::GuildRankTabPermissions
 
class  WorldPackets::Guild::GuildSetRankPermissions
 
class  WorldPackets::Guild::GuildAddRank
 
class  WorldPackets::Guild::GuildDeleteRank
 
class  WorldPackets::Guild::GuildUpdateInfoText
 
class  WorldPackets::Guild::GuildSetMemberNote
 
class  WorldPackets::Guild::GuildDelete
 
class  WorldPackets::Guild::GuildDemoteMember
 
class  WorldPackets::Guild::GuildPromoteMember
 
class  WorldPackets::Guild::GuildOfficerRemoveMember
 
class  WorldPackets::Guild::GuildLeave
 
class  WorldPackets::Guild::GuildBankActivate
 
class  WorldPackets::Guild::GuildBankBuyTab
 
class  WorldPackets::Guild::GuildBankUpdateTab
 
class  WorldPackets::Guild::GuildBankDepositMoney
 
class  WorldPackets::Guild::GuildBankQueryTab
 
class  WorldPackets::Guild::GuildBankRemainingWithdrawMoneyQuery
 
class  WorldPackets::Guild::GuildBankRemainingWithdrawMoney
 
class  WorldPackets::Guild::GuildBankWithdrawMoney
 
struct  WorldPackets::Guild::GuildBankSocketEnchant
 
struct  WorldPackets::Guild::GuildBankItemInfo
 
struct  WorldPackets::Guild::GuildBankTabInfo
 
class  WorldPackets::Guild::GuildBankQueryResults
 
class  WorldPackets::Guild::GuildBankSwapItems
 
class  WorldPackets::Guild::GuildBankLogQuery
 
struct  WorldPackets::Guild::GuildBankLogEntry
 
class  WorldPackets::Guild::GuildBankLogQueryResults
 
class  WorldPackets::Guild::GuildBankTextQuery
 
class  WorldPackets::Guild::GuildBankTextQueryResult
 
class  WorldPackets::Guild::GuildBankSetTabText
 
class  WorldPackets::Guild::GuildSetGuildMaster
 
class  WorldPackets::Guild::SaveGuildEmblem
 
class  WorldPackets::Guild::PlayerSaveGuildEmblem
 

Namespaces

namespace  WorldPackets
 
namespace  WorldPackets::Guild
 

Functions

ByteBufferoperator<< (ByteBuffer &data, WorldPackets::Guild::GuildRosterMemberData const &rosterMemberData)
 
ByteBufferoperator<< (ByteBuffer &data, WorldPackets::Guild::GuildRankData const &rankData)
 

Function Documentation

◆ operator<<() [1/2]

ByteBuffer & operator<< ( ByteBuffer data,
WorldPackets::Guild::GuildRankData const &  rankData 
)
195{
196 data << uint32(rankData.Flags);
197 data << uint32(rankData.WithdrawGoldLimit);
198
199 for (uint8 i = 0; i < GUILD_BANK_MAX_TABS; i++)
200 {
201 data << uint32(rankData.TabFlags[i]);
202 data << uint32(rankData.TabWithdrawItemLimit[i]);
203 }
204
205 return data;
206}
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ GUILD_BANK_MAX_TABS
Definition: Guild.h:42

References WorldPackets::Guild::GuildRankData::Flags, GUILD_BANK_MAX_TABS, WorldPackets::Guild::GuildRankData::TabFlags, WorldPackets::Guild::GuildRankData::TabWithdrawItemLimit, and WorldPackets::Guild::GuildRankData::WithdrawGoldLimit.

◆ operator<<() [2/2]

ByteBuffer & operator<< ( ByteBuffer data,
WorldPackets::Guild::GuildRosterMemberData const &  rosterMemberData 
)
104{
105 data << rosterMemberData.Guid;
106 data << uint8(rosterMemberData.Status);
107 data << rosterMemberData.Name;
108 data << int32(rosterMemberData.RankID);
109 data << uint8(rosterMemberData.Level);
110 data << uint8(rosterMemberData.ClassID);
111 data << uint8(rosterMemberData.Gender);
112 data << int32(rosterMemberData.AreaID);
113 if (!rosterMemberData.Status)
114 data << float(rosterMemberData.LastSave);
115
116 data << rosterMemberData.Note;
117 data << rosterMemberData.OfficerNote;
118
119 return data;
120}
std::int32_t int32
Definition: Define.h:103

References WorldPackets::Guild::GuildRosterMemberData::AreaID, WorldPackets::Guild::GuildRosterMemberData::ClassID, WorldPackets::Guild::GuildRosterMemberData::Gender, WorldPackets::Guild::GuildRosterMemberData::Guid, WorldPackets::Guild::GuildRosterMemberData::LastSave, WorldPackets::Guild::GuildRosterMemberData::Level, WorldPackets::Guild::GuildRosterMemberData::Name, WorldPackets::Guild::GuildRosterMemberData::Note, WorldPackets::Guild::GuildRosterMemberData::OfficerNote, WorldPackets::Guild::GuildRosterMemberData::RankID, and WorldPackets::Guild::GuildRosterMemberData::Status.