TrinityCore
Loading...
Searching...
No Matches
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 TRINITYCORE_AZERITE_ITEM_PACKETS_H
19#define TRINITYCORE_AZERITE_ITEM_PACKETS_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
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 // TRINITYCORE_AZERITE_ITEM_PACKETS_H
#define TC_GAME_API
Definition Define.h:129
uint8_t uint8
Definition Define.h:156
int32_t int32
Definition Define.h:150
uint64_t uint64
Definition Define.h:153
AzeriteEssenceActivateResult
@ SMSG_PLAYER_AZERITE_ITEM_GAINS
Definition Opcodes.h:2086
@ SMSG_PLAYER_AZERITE_ITEM_EQUIPPED_STATUS_CHANGED
Definition Opcodes.h:2085
@ SMSG_ACTIVATE_ESSENCE_FAILED
Definition Opcodes.h:1113
@ CMSG_AZERITE_ESSENCE_ACTIVATE_ESSENCE
Definition Opcodes.h:99
@ CMSG_AZERITE_ESSENCE_UNLOCK_MILESTONE
Definition Opcodes.h:100
@ CMSG_AZERITE_EMPOWERED_ITEM_SELECT_POWER
Definition Opcodes.h:97
@ CMSG_AZERITE_EMPOWERED_ITEM_VIEWED
Definition Opcodes.h:98
std::optional< T > Optional
Optional helper class to wrap optional values within.
Definition Optional.h:25
STL namespace.