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

View File

@@ -0,0 +1,18 @@
--
CREATE TABLE `spam_reports` (
`ID` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`SpamType` TINYINT UNSIGNED NOT NULL COMMENT '0 = mail, 1 = chat, 2 = calendar',
`SpammerGuid` INT UNSIGNED NOT NULL DEFAULT '0',
`Unk1` INT UNSIGNED NULL DEFAULT '0',
`MailIdOrMessageType` INT UNSIGNED NULL DEFAULT '0',
`ChannelId` INT UNSIGNED NULL COMMENT 'Only used if SpamType = 1',
`SecondsSinceMessage` INT UNSIGNED NULL COMMENT 'Only used if SpamType = 1',
`Description` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
`Time` INT NULL DEFAULT NULL COMMENT 'Time of report',
PRIMARY KEY (`ID`) USING BTREE
)
CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci
ENGINE = InnoDB
ROW_FORMAT = DEFAULT
;