Core/Transmog: Implemented transmog collection and updated transmog handling

This commit is contained in:
Shauren
2016-07-05 22:07:35 +02:00
parent bc81ae70bc
commit f7883bd525
38 changed files with 1355 additions and 377 deletions

View File

@@ -0,0 +1,22 @@
--
-- Table structure for table `battlenet_item_appearances`
--
DROP TABLE IF EXISTS `battlenet_item_appearances`;
CREATE TABLE `battlenet_item_appearances` (
`battlenetAccountId` int(10) unsigned NOT NULL,
`blobIndex` smallint(5) unsigned NOT NULL,
`appearanceMask` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`battlenetAccountId`,`blobIndex`),
CONSTRAINT `fk_battlenet_item_appearances` FOREIGN KEY (`battlenetAccountId`) REFERENCES `battlenet_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Table structure for table `battlenet_item_favorite_appearances`
--
DROP TABLE IF EXISTS `battlenet_item_favorite_appearances`;
CREATE TABLE `battlenet_item_favorite_appearances` (
`battlenetAccountId` int(10) unsigned NOT NULL,
`itemModifiedAppearanceId` int(10) unsigned NOT NULL,
PRIMARY KEY (`battlenetAccountId`,`itemModifiedAppearanceId`),
CONSTRAINT `fk_battlenet_item_favorite_appearances` FOREIGN KEY (`battlenetAccountId`) REFERENCES `battlenet_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,37 @@
--
-- Table structure for table `item_search_name`
--
DROP TABLE IF EXISTS `item_search_name`;
CREATE TABLE `item_search_name` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Name` text,
`Flags1` int(10) unsigned NOT NULL DEFAULT '0',
`Flags2` int(10) unsigned NOT NULL DEFAULT '0',
`Flags3` int(10) unsigned NOT NULL DEFAULT '0',
`AllowableRace` int(10) unsigned NOT NULL DEFAULT '0',
`RequiredSpell` int(10) unsigned NOT NULL DEFAULT '0',
`RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0',
`RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0',
`RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0',
`ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0',
`Quality` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RequiredExpansion` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RequiredReputationRank` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`AllowableClass` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `item_search_name_locale`
--
DROP TABLE IF EXISTS `item_search_name_locale`;
CREATE TABLE `item_search_name_locale` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_lang` text,
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;