AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Misc::CrossedInebriationThreshold Class Referencefinal

#include "MiscPackets.h"

Inheritance diagram for WorldPackets::Misc::CrossedInebriationThreshold:
WorldPackets::ServerPacket WorldPackets::Packet

Public Member Functions

 CrossedInebriationThreshold ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, std::size_t initialSize=200)
 
void Read () 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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
std::size_t GetSize () const
 

Public Attributes

ObjectGuid Guid
 
uint32 Threshold = 0
 
uint32 ItemID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ CrossedInebriationThreshold()

WorldPackets::Misc::CrossedInebriationThreshold::CrossedInebriationThreshold ( )
inline
@ SMSG_CROSSED_INEBRIATION_THRESHOLD
Definition: Opcodes.h:991
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Misc::CrossedInebriationThreshold::Write ( )
overridevirtual

Implements WorldPackets::Packet.

114{
118
119 return &_worldPacket;
120}
std::uint32_t uint32
Definition: Define.h:107
WorldPacket _worldPacket
Definition: Packet.h:42
ObjectGuid Guid
Definition: MiscPackets.h:175
uint32 Threshold
Definition: MiscPackets.h:176
uint32 ItemID
Definition: MiscPackets.h:177

Referenced by Player::SetDrunkValue().

Member Data Documentation

◆ Guid

ObjectGuid WorldPackets::Misc::CrossedInebriationThreshold::Guid

Referenced by Player::SetDrunkValue().

◆ ItemID

uint32 WorldPackets::Misc::CrossedInebriationThreshold::ItemID = 0

Referenced by Player::SetDrunkValue().

◆ Threshold

uint32 WorldPackets::Misc::CrossedInebriationThreshold::Threshold = 0

Referenced by Player::SetDrunkValue().