TrinityCore
AzeritePackets.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef AzeriteItemPackets_h__
19#define AzeriteItemPackets_h__
20
21#include "Packet.h"
22#include "ItemDefines.h"
23#include "ObjectGuid.h"
24#include "Optional.h"
25
26namespace WorldPackets
27{
28 namespace Azerite
29 {
31 {
32 public:
34
35 WorldPacket const* Write() override;
36
39 };
40
42 {
43 public:
45
46 void Read() override;
47
49 };
50
52 {
53 public:
55
56 void Read() override;
57
60 };
61
63 {
64 public:
66
67 WorldPacket const* Write() override;
68
73 };
74
76 {
77 public:
79
80 void Read() override;
81
83 };
84
86 {
87 public:
89
90 void Read() override;
91
96 };
97
99 {
100 public:
102
103 WorldPacket const* Write() override;
104
105 bool IsHeartEquipped = false;
106 };
107 }
108}
109
110#endif // AzeriteItemPackets_h__
#define TC_GAME_API
Definition: Define.h:123
uint8_t uint8
Definition: Define.h:144
int32_t int32
Definition: Define.h:138
uint64_t uint64
Definition: Define.h:141
AzeriteEssenceActivateResult
Definition: ItemDefines.h:274
std::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Optional.h:25
WorldPacket const * Write() override
@ CMSG_AZERITE_ESSENCE_ACTIVATE_ESSENCE
Definition: Opcodes.h:106
@ CMSG_AZERITE_ESSENCE_UNLOCK_MILESTONE
Definition: Opcodes.h:107
@ CMSG_AZERITE_EMPOWERED_ITEM_SELECT_POWER
Definition: Opcodes.h:104
@ CMSG_AZERITE_EMPOWERED_ITEM_VIEWED
Definition: Opcodes.h:105
@ SMSG_PLAYER_AZERITE_ITEM_GAINS
Definition: Opcodes.h:1728
@ SMSG_PLAYER_AZERITE_ITEM_EQUIPPED_STATUS_CHANGED
Definition: Opcodes.h:1727
@ SMSG_ACTIVATE_ESSENCE_FAILED
Definition: Opcodes.h:915
STL namespace.