Core/BattlePets: Basics for Battle Pets

This commit is contained in:
horn
2015-09-09 14:52:32 +02:00
parent e0fcb410b4
commit e8b1faa156
38 changed files with 5504 additions and 46 deletions

View File

@@ -167,6 +167,56 @@ LOCK TABLES `autobroadcast` WRITE;
/*!40000 ALTER TABLE `autobroadcast` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `battle_pets`
--
DROP TABLE IF EXISTS `battle_pets`;
CREATE TABLE `battle_pets` (
`guid` bigint(20) NOT NULL,
`battlenetAccountId` int(10) NOT NULL,
`species` int(10) NOT NULL,
`breed` smallint(5) NOT NULL,
`level` smallint(5) NOT NULL DEFAULT '1',
`exp` smallint(5) NOT NULL DEFAULT '0',
`health` int(10) NOT NULL DEFAULT '1',
`quality` tinyint(3) NOT NULL DEFAULT '0',
`flags` smallint(5) NOT NULL DEFAULT '0',
`name` varchar(12) NOT NULL,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `battle_pets`
--
LOCK TABLES `battle_pets` WRITE;
/*!40000 ALTER TABLE `battle_pets` DISABLE KEYS */;
/*!40000 ALTER TABLE `battle_pets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `battle_pet_slots`
--
DROP TABLE IF EXISTS `battle_pet_slots`;
CREATE TABLE `battle_pet_slots` (
`id` tinyint(3) NOT NULL,
`battlenetAccountId` int(10) NOT NULL,
`battlePetGuid` bigint(20) NOT NULL,
`locked` tinyint(3) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`,`battlenetAccountId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `battle_pet_slots`
--
LOCK TABLES `battle_pet_slots` WRITE;
/*!40000 ALTER TABLE `battle_pet_slots` DISABLE KEYS */;
/*!40000 ALTER TABLE `battle_pet_slots` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `battlenet_account_bans`
--