Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter

This commit is contained in:
Shauren
2025-06-27 15:29:30 +02:00
parent e0f3291eab
commit 60400d25f5
26 changed files with 996 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
--
-- Table structure for table `character_player_data_element`
--
DROP TABLE IF EXISTS `character_player_data_element`;
CREATE TABLE `character_player_data_element` (
`characterGuid` bigint unsigned NOT NULL,
`playerDataElementCharacterId` int unsigned NOT NULL,
`floatValue` float DEFAULT NULL,
`int64Value` bigint DEFAULT NULL,
PRIMARY KEY (`characterGuid`,`playerDataElementCharacterId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `character_player_data_flag`
--
DROP TABLE IF EXISTS `character_player_data_flag`;
CREATE TABLE `character_player_data_flag` (
`characterGuid` bigint unsigned NOT NULL,
`storageIndex` int unsigned NOT NULL,
`mask` bigint unsigned NOT NULL,
PRIMARY KEY (`characterGuid`,`storageIndex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;