Core/Player: implemented Toybox

* now you can use all the things in toybox - add new toys, set them as favorite and use them
This commit is contained in:
MitchesD
2015-08-26 11:12:35 +02:00
parent ca5c5221ba
commit 614b5832ba
24 changed files with 449 additions and 16 deletions

View File

@@ -193,6 +193,30 @@ LOCK TABLES `battlenet_account_bans` WRITE;
/*!40000 ALTER TABLE `battlenet_account_bans` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `battlenet_account_toys`
--
DROP TABLE IF EXISTS `battlenet_account_toys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `battlenet_account_toys` (
`accountId` int(10) unsigned NOT NULL,
`itemId` int(11) NOT NULL DEFAULT '0',
`isFavourite` tinyint(1) DEFAULT '0',
PRIMARY KEY (`accountId`,`itemId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `battlenet_account_toys`
--
LOCK TABLES `battlenet_account_toys` WRITE;
/*!40000 ALTER TABLE `battlenet_account_toys` DISABLE KEYS */;
/*!40000 ALTER TABLE `battlenet_account_toys` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `battlenet_accounts`
--
@@ -671,4 +695,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2015-07-13 23:49:27
-- Dump completed on 2015-08-25 22:49:45