TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Guild::GuildSetAchievementTracking Class Referencefinal

#include <GuildPackets.h>

Public Member Functions

 GuildSetAchievementTracking (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

std::set< uint32AchievementIDs
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Guild::GuildSetAchievementTracking::GuildSetAchievementTracking ( WorldPacket &&  packet)
inline
1013 : ClientPacket(CMSG_GUILD_SET_ACHIEVEMENT_TRACKING, std::move(packet)) { }
Definition: Opcodes.h:340
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Guild::GuildSetAchievementTracking::Read ( )
overridevirtual

Implements WorldPackets::Packet.

820 {
821  uint32 count;
822  _worldPacket >> count;
823 
824  for (uint32 i = 0; i < count; ++i)
825  {
826  uint32 value;
827  _worldPacket >> value;
828  AchievementIDs.insert(value);
829  }
830 }
std::set< uint32 > AchievementIDs
Definition: GuildPackets.h:1017
WorldPacket _worldPacket
Definition: Packet.h:43
uint32_t uint32
Definition: Define.h:150
const FieldDescriptor value
Definition: descriptor.h:1522

Member Data Documentation

std::set<uint32> WorldPackets::Guild::GuildSetAchievementTracking::AchievementIDs

The documentation for this class was generated from the following files: