18 #ifndef MailPackets_h__
19 #define MailPackets_h__
92 std::vector<MailListEntry>
Mails;
100 void Read()
override;
129 void Read()
override;
154 void Read()
override;
165 void Read()
override;
177 void Read()
override;
188 void Read()
override;
200 void Read()
override;
234 std::vector<MailNextTimeEntry>
Next;
262 #endif // MailPackets_h__
Definition: MailPackets.h:218
Definition: Opcodes.h:1212
uint32 MailID
Definition: MailPackets.h:141
Definition: MailPackets.h:106
int32 Flags
Definition: MailPackets.h:65
int64 Money
Definition: MailPackets.h:204
WorldPacket const * Write() override
Definition: MailPackets.cpp:274
uint32 MailID
Definition: MailPackets.h:103
std::vector< ObjectGuid::LowType > LowGuids
Definition: MailPackets.h:81
MailGetList(WorldPacket &&packet)
Definition: MailPackets.h:76
Definition: MailPackets.h:109
void Read() override
Definition: MailPackets.cpp:216
Definition: Opcodes.h:403
bool BiReceipt
Definition: MailPackets.h:169
Definition: MailPackets.h:39
Definition: ByteBuffer.h:70
bool Unlocked
Definition: MailPackets.h:50
int8_t int8
Definition: Define.h:148
ByteBuffer & operator<<(ByteBuffer &data, WorldPackets::Mail::MailAttachedItem const &att)
Definition: MailPackets.cpp:42
uint8 SenderType
Definition: MailPackets.h:59
std::vector< MailNextTimeEntry > Next
Definition: MailPackets.h:234
MailTakeItem(WorldPacket &&packet)
Definition: MailPackets.h:186
Definition: MailPackets.h:54
int32 MailID
Definition: MailPackets.h:156
MailAttachedItem(::Item const *item, uint8 pos)
Definition: MailPackets.cpp:23
int64_t int64
Definition: Define.h:145
uint32 BagResult
Definition: MailPackets.h:144
void Read() override
Definition: MailPackets.cpp:135
void Read() override
Definition: MailPackets.cpp:185
MailMarkAsRead(WorldPacket &&packet)
Definition: MailPackets.h:163
ObjectGuid Mailbox
Definition: MailPackets.h:102
ObjectGuid SenderGuid
Definition: MailPackets.h:222
Definition: Opcodes.h:399
std::string Body
Definition: MailPackets.h:69
uint32 QtyInInventory
Definition: MailPackets.h:146
Definition: Opcodes.h:1311
Definition: MailPackets.h:195
ObjectGuid SenderGUID
Definition: MailPackets.h:157
int32 StationeryID
Definition: MailPackets.h:118
Definition: Opcodes.h:599
void Read() override
Definition: MailPackets.cpp:155
Definition: Opcodes.h:401
MailCommandResult()
Definition: MailPackets.h:137
int64 Cod
Definition: MailPackets.h:120
Definition: MailPackets.h:237
Definition: MailPackets.h:160
Definition: MailPackets.h:111
Definition: MailPackets.h:207
int32 StationeryID
Definition: MailPackets.h:226
int32 MailID
Definition: MailPackets.h:203
int32 Count
Definition: MailPackets.h:46
Definition: MailPackets.h:134
Definition: MailPackets.h:73
WorldPacket const * Write() override
Definition: MailPackets.cpp:191
int32 DeleteReason
Definition: MailPackets.h:180
void Read() override
Definition: MailPackets.cpp:161
int32 MailTemplateID
Definition: MailPackets.h:67
int32 MailID
Definition: MailPackets.h:168
NotifyRecievedMail()
Definition: MailPackets.h:240
float TimeLeft
Definition: MailPackets.h:223
std::string Target
Definition: MailPackets.h:121
ObjectGuid Mailbox
Definition: MailPackets.h:167
std::vector< MailAttachment > Attachments
Definition: MailPackets.h:124
int32 Charges
Definition: MailPackets.h:36
Definition: MailPackets.h:172
Item::ItemInstance Item
Definition: MailPackets.h:45
int32 AttachID
Definition: MailPackets.h:44
Definition: Opcodes.h:1211
ShowMailbox()
Definition: MailPackets.h:250
Definition: Opcodes.h:522
int32 AttachID
Definition: MailPackets.h:192
MailListResult()
Definition: MailPackets.h:87
uint32 ErrorCode
Definition: MailPackets.h:143
int32 StationeryID
Definition: MailPackets.h:63
MailTakeMoney(WorldPacket &&packet)
Definition: MailPackets.h:198
int32_t int32
Definition: Define.h:146
std::vector< MailAttachedItem > Attachments
Definition: MailPackets.h:70
int32 TotalNumRecords
Definition: MailPackets.h:91
int64 Cod
Definition: MailPackets.h:62
uint32_t uint32
Definition: Define.h:150
float NextMailTime
Definition: MailPackets.h:233
WorldPacket const * Write() override
Definition: MailPackets.cpp:250
uint32 Command
Definition: MailPackets.h:142
boost::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Common.h:170
int32 Enchant
Definition: MailPackets.h:34
Definition: MailPackets.h:95
Definition: Opcodes.h:405
Definition: MailPackets.h:32
int8 AltSenderType
Definition: MailPackets.h:225
int64 SendMoney
Definition: MailPackets.h:119
int32 Duration
Definition: MailPackets.h:35
ObjectGuid Mailbox
Definition: MailPackets.h:202
std::vector< MailListEntry > Mails
Definition: MailPackets.h:92
Definition: MailPackets.h:247
ObjectGuid Mailbox
Definition: MailPackets.h:190
MailCreateTextItem(WorldPacket &&packet)
Definition: MailPackets.h:98
Definition: BattlegroundMgr.h:57
std::string Subject
Definition: MailPackets.h:122
std::string Body
Definition: MailPackets.h:123
void Read() override
Definition: MailPackets.cpp:223
int32 MailID
Definition: MailPackets.h:191
MailQueryNextTimeResult()
Definition: MailPackets.h:229
float Delay
Definition: MailPackets.h:244
ObjectGuid Mailbox
Definition: MailPackets.h:80
ObjectGuid ItemGUID
Definition: MailPackets.h:114
void Read() override
Definition: MailPackets.h:212
int32 MailID
Definition: MailPackets.h:58
void Read() override
Definition: MailPackets.cpp:203
MailReturnToSender(WorldPacket &&packet)
Definition: MailPackets.h:152
Optional< uint32 > AltSenderID
Definition: MailPackets.h:61
std::string Subject
Definition: MailPackets.h:68
Definition: Opcodes.h:1520
uint32 AttachID
Definition: MailPackets.h:145
MailAttachedItemEnchant Enchants[8]
Definition: MailPackets.h:51
MailNextTimeEntry(::Mail const *mail)
Definition: MailPackets.cpp:230
MailListEntry(::Mail const *mail,::Player *player)
Definition: MailPackets.cpp:65
WorldPacket const * Write() override
Definition: MailPackets.cpp:267
int32 Durability
Definition: MailPackets.h:49
Definition: Opcodes.h:400
int32 MaxDurability
Definition: MailPackets.h:48
Definition: Opcodes.h:1213
ObjectGuid Mailbox
Definition: MailPackets.h:117
uint8_t uint8
Definition: Define.h:152
Definition: Position.h:27
float DaysLeft
Definition: MailPackets.h:66
int32 MailID
Definition: MailPackets.h:179
uint8 AttachPosition
Definition: MailPackets.h:113
StructSendMail Info
Definition: MailPackets.h:131
Definition: ItemPackets.h:40
Definition: MailPackets.h:183
Definition: ObjectGuid.h:189
ObjectGuid PostmasterGUID
Definition: MailPackets.h:254
Definition: MailPackets.h:84
Definition: MailPackets.h:149
void Read() override
Definition: MailPackets.cpp:210
WorldPacket const * Write() override
Definition: MailPackets.cpp:144
Optional< ObjectGuid > SenderCharacter
Definition: MailPackets.h:60
int32 Charges
Definition: MailPackets.h:47
MailQueryNextMailTime(WorldPacket &&packet)
Definition: MailPackets.h:210
Definition: WorldPacket.h:26
Definition: Opcodes.h:404
int64 SentMoney
Definition: MailPackets.h:64
Definition: Opcodes.h:402
SendMail(WorldPacket &&packet)
Definition: MailPackets.h:127
int32 AltSenderID
Definition: MailPackets.h:224
Definition: MailPackets.h:215
MailDelete(WorldPacket &&packet)
Definition: MailPackets.h:175