Reworked storing key bindings.

This commit is contained in:
MobiusDev
2017-11-13 15:42:25 +00:00
parent d076494f9f
commit 65ff1ead8a
55 changed files with 175 additions and 4965 deletions

View File

@@ -1,12 +0,0 @@
DROP TABLE IF EXISTS `character_ui_actions`;
CREATE TABLE IF NOT EXISTS `character_ui_actions` (
`charId` int(10) unsigned NOT NULL DEFAULT '0',
`cat` tinyint(4) NOT NULL,
`order` tinyint(4) NOT NULL,
`cmd` int(8) NOT NULL DEFAULT '0',
`key` int(8) NOT NULL,
`tgKey1` int(8) DEFAULT NULL,
`tgKey2` int(8) DEFAULT NULL,
`show` tinyint(4) NOT NULL,
PRIMARY KEY (`charId`,`cat`,`cmd`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -1,8 +0,0 @@
DROP TABLE IF EXISTS `character_ui_categories`;
CREATE TABLE IF NOT EXISTS `character_ui_categories` (
`charId` int(10) unsigned NOT NULL DEFAULT '0',
`catId` tinyint(4) NOT NULL,
`order` tinyint(4) NOT NULL,
`cmdId` int(8) NOT NULL DEFAULT '0',
PRIMARY KEY (`charId`,`catId`,`order`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;