mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Server/PacketIO: Currency Updates
* Update SMSG_SET_CURRENCY & SMSG_SETUP_CURRENCY Packets. * Update of Database Structure and SQLStatements for Currencies. Signed-off-by: AriDEV <aridev666@gmail.com>
This commit is contained in:
@@ -636,11 +636,13 @@ DROP TABLE IF EXISTS `character_currency`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `character_currency` (
|
||||
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`currency` smallint(5) unsigned NOT NULL,
|
||||
`total_count` int(10) unsigned NOT NULL,
|
||||
`week_count` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`guid`,`currency`)
|
||||
`CharacterGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`Currency` smallint(5) unsigned NOT NULL,
|
||||
`Quantity` int(10) unsigned NOT NULL,
|
||||
`WeeklyQuantity` int(10) unsigned NOT NULL,
|
||||
`TrackedQuantity` int(10) unsigned NOT NULL,
|
||||
`Flags` tinyint(3) unsigned NOT NULL,
|
||||
PRIMARY KEY (`CharacterGuid`,`Currency`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user