TrinityCore
Loading...
Searching...
No Matches
WorldPackets::CombatLog::AttackerStateUpdate Class Referencefinal

#include <CombatLogPackets.h>

+ Inheritance diagram for WorldPackets::CombatLog::AttackerStateUpdate:

Public Member Functions

 AttackerStateUpdate ()
 
WorldPacket const * Write () override
 
- 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
 
Packet & operator= (Packet const &right)=delete
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 

Public Attributes

uint32 Flags = 0
 
ObjectGuid AttackerGUID
 
ObjectGuid VictimGUID
 
int32 Damage = 0
 
int32 OverDamage = -1
 
std::array< SubDamage, 2 > SubDmg
 
uint8 SubDmgCount = 1
 
uint8 VictimState = 0
 
uint32 AttackerState = 0
 
uint32 MeleeSpellID = 0
 
int32 BlockAmount = 0
 
int32 RageGained = 0
 
HitInfoData HitInfo
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 88 of file CombatLogPackets.h.

Constructor & Destructor Documentation

◆ AttackerStateUpdate()

WorldPackets::CombatLog::AttackerStateUpdate::AttackerStateUpdate ( )
inlineexplicit

Definition at line 91 of file CombatLogPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::CombatLog::AttackerStateUpdate::Write ( )
overridevirtual

Member Data Documentation

◆ AttackerGUID

ObjectGuid WorldPackets::CombatLog::AttackerStateUpdate::AttackerGUID

Definition at line 96 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ AttackerState

uint32 WorldPackets::CombatLog::AttackerStateUpdate::AttackerState = 0

Definition at line 103 of file CombatLogPackets.h.

◆ BlockAmount

int32 WorldPackets::CombatLog::AttackerStateUpdate::BlockAmount = 0

Definition at line 105 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ Damage

int32 WorldPackets::CombatLog::AttackerStateUpdate::Damage = 0

Definition at line 98 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ Flags

uint32 WorldPackets::CombatLog::AttackerStateUpdate::Flags = 0

Definition at line 95 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ HitInfo

HitInfoData WorldPackets::CombatLog::AttackerStateUpdate::HitInfo

Definition at line 107 of file CombatLogPackets.h.

◆ MeleeSpellID

uint32 WorldPackets::CombatLog::AttackerStateUpdate::MeleeSpellID = 0

Definition at line 104 of file CombatLogPackets.h.

◆ OverDamage

int32 WorldPackets::CombatLog::AttackerStateUpdate::OverDamage = -1

Definition at line 99 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ RageGained

int32 WorldPackets::CombatLog::AttackerStateUpdate::RageGained = 0

Definition at line 106 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ SubDmg

std::array<SubDamage, 2> WorldPackets::CombatLog::AttackerStateUpdate::SubDmg

Definition at line 100 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ SubDmgCount

uint8 WorldPackets::CombatLog::AttackerStateUpdate::SubDmgCount = 1

Definition at line 101 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ VictimGUID

ObjectGuid WorldPackets::CombatLog::AttackerStateUpdate::VictimGUID

Definition at line 97 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().

◆ VictimState

uint8 WorldPackets::CombatLog::AttackerStateUpdate::VictimState = 0

Definition at line 102 of file CombatLogPackets.h.

Referenced by Unit::SendAttackStateUpdate().


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