TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Misc::LevelUpInfo Class Referencefinal

#include <MiscPackets.h>

+ Inheritance diagram for WorldPackets::Misc::LevelUpInfo:

Public Member Functions

 LevelUpInfo ()
 
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 Level = 0
 
uint32 HealthDelta = 0
 
std::array< uint32, MAX_POWERS > PowerDelta = { }
 
std::array< uint32, MAX_STATS > StatDelta = { }
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 381 of file MiscPackets.h.

Constructor & Destructor Documentation

◆ LevelUpInfo()

WorldPackets::Misc::LevelUpInfo::LevelUpInfo ( )
inlineexplicit

Definition at line 384 of file MiscPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 233 of file MiscPackets.cpp.

Referenced by Player::GiveLevel().

Member Data Documentation

◆ HealthDelta

uint32 WorldPackets::Misc::LevelUpInfo::HealthDelta = 0

Definition at line 389 of file MiscPackets.h.

Referenced by Player::GiveLevel().

◆ Level

uint32 WorldPackets::Misc::LevelUpInfo::Level = 0

Definition at line 388 of file MiscPackets.h.

Referenced by Player::GiveLevel().

◆ PowerDelta

std::array<uint32, MAX_POWERS> WorldPackets::Misc::LevelUpInfo::PowerDelta = { }

Definition at line 390 of file MiscPackets.h.

Referenced by Player::GiveLevel().

◆ StatDelta

std::array<uint32, MAX_STATS> WorldPackets::Misc::LevelUpInfo::StatDelta = { }

Definition at line 391 of file MiscPackets.h.

Referenced by Player::GiveLevel().


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