mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Core/Player: Implement server-side loading/saving of CUF profiles
CompactUnitFrames / RaidProfiles / GroupUI There are unknown fields added to DB, received and sent in packets that should be renamed
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
DROP TABLE IF EXISTS `character_cuf_profiles`;
|
||||
CREATE TABLE IF NOT EXISTS `character_cuf_profiles` (
|
||||
`guid` int(10) unsigned NOT NULL COMMENT 'Character Guid',
|
||||
`id` tinyint(3) unsigned NOT NULL COMMENT 'Profile Id (0-5)',
|
||||
`name` varchar(12) NOT NULL COMMENT 'Profile Name',
|
||||
`frameHeight` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Height',
|
||||
`frameWidth` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Width',
|
||||
`sortBy` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Sort By',
|
||||
`healthText` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Health Text',
|
||||
`boolOptions` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Many Configurable Bool Options',
|
||||
`unk146` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
||||
`unk147` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
||||
`unk148` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
||||
`unk150` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
||||
`unk152` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
||||
`unk154` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
||||
PRIMARY KEY (`guid`,`id`),
|
||||
KEY `index` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
Reference in New Issue
Block a user