TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Party::PartyInvite Class Referencefinal

#include <PartyPackets.h>

+ Inheritance diagram for WorldPackets::Party::PartyInvite:

Public Member Functions

 PartyInvite ()
 
WorldPacket constWrite () override
 
void Initialize (Player const *inviter, uint32 proposedRoles, bool canAccept)
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
OpcodeServer 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
 

Public Attributes

bool CanAccept = false
 
std::string InviterName
 
uint32 ProposedRoles = 0
 
uint32 LfgCompletedMask = 0
 
std::vector< uint32LfgSlots
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 40 of file PartyPackets.h.

Constructor & Destructor Documentation

◆ PartyInvite()

WorldPackets::Party::PartyInvite::PartyInvite ( )
inline

Definition at line 43 of file PartyPackets.h.

Member Function Documentation

◆ Initialize()

void WorldPackets::Party::PartyInvite::Initialize ( Player const inviter,
uint32  proposedRoles,
bool  canAccept 
)

Definition at line 41 of file PartyPackets.cpp.

+ Here is the caller graph for this function:

◆ Write()

WorldPacket const * WorldPackets::Party::PartyInvite::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 27 of file PartyPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ CanAccept

bool WorldPackets::Party::PartyInvite::CanAccept = false

Definition at line 49 of file PartyPackets.h.

◆ InviterName

std::string WorldPackets::Party::PartyInvite::InviterName

Definition at line 52 of file PartyPackets.h.

◆ LfgCompletedMask

uint32 WorldPackets::Party::PartyInvite::LfgCompletedMask = 0

Definition at line 56 of file PartyPackets.h.

◆ LfgSlots

std::vector<uint32> WorldPackets::Party::PartyInvite::LfgSlots

Definition at line 57 of file PartyPackets.h.

◆ ProposedRoles

uint32 WorldPackets::Party::PartyInvite::ProposedRoles = 0

Definition at line 55 of file PartyPackets.h.


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