feat(Core/Opcodes): Implement CMSG_COMPLAIN & CMSG_CALENDAR_COMPLAIN (#25329)

Co-authored-by: Dmitri Petmanson <53072+laizerox@users.noreply.github.com>
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
This commit is contained in:
Kitzunu
2026-04-03 20:49:14 +02:00
committed by GitHub
parent 161abfdc85
commit ab2f9524c1
11 changed files with 72 additions and 16 deletions
@@ -16,6 +16,7 @@
*/
#include "CalendarPackets.h"
#include "Packet.h"
void WorldPackets::Calendar::GetEvent::Read()
{
@@ -149,14 +149,14 @@ void WorldPackets::Misc::Complain::Read()
{
case 0:
_worldPacket >> Unk1; // const 0
_worldPacket >> Unk2; // probably mail id
_worldPacket >> Unk3; // const 0
_worldPacket >> MailIdOrMessageType; // probably mail id
_worldPacket >> ChannelId; // const 0
break;
case 1:
_worldPacket >> Unk1; // probably language
_worldPacket >> Unk2; // message type?
_worldPacket >> Unk3; // probably channel id
_worldPacket >> Unk4; // unk random value
_worldPacket >> MailIdOrMessageType;
_worldPacket >> ChannelId;
_worldPacket >> SecondsSinceMessage;
_worldPacket >> Description; // spam description string (messagetype, channel name, player name, message)
break;
}
+6 -6
View File
@@ -218,13 +218,13 @@ namespace WorldPackets
void Read() override;
uint8 SpamType = 0; // 0 - mail, 1 - chat
uint8 SpamType = 0; // 0 - mail, 1 - chat
ObjectGuid SpammerGuid;
uint32 Unk1 = 0;
uint32 Unk2 = 0;
uint32 Unk3 = 0;
uint32 Unk4 = 0;
std::string Description = "";
uint32 Unk1 = 0;
uint32 MailIdOrMessageType = 0;
uint32 ChannelId = 0;
uint32 SecondsSinceMessage = 0;
std::string Description = "";
};
class ComplainResult final : public ServerPacket