Core/AreaTriggers: Fix triggering of client areatriggers for some shapes

This commit is contained in:
Meji
2024-05-04 13:20:13 +02:00
committed by Shauren
parent 38e99e1569
commit b070e63fa8
17 changed files with 324 additions and 112 deletions

View File

@@ -0,0 +1,45 @@
--
-- Table structure for table `location`
--
DROP TABLE IF EXISTS `location`;
CREATE TABLE `location` (
`ID` int unsigned NOT NULL DEFAULT '0',
`PosX` float NOT NULL DEFAULT '0',
`PosY` float NOT NULL DEFAULT '0',
`PosZ` float NOT NULL DEFAULT '0',
`Rot1` float NOT NULL DEFAULT '0',
`Rot2` float NOT NULL DEFAULT '0',
`Rot3` float NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `path`
--
DROP TABLE IF EXISTS `path`;
CREATE TABLE `path` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Type` tinyint unsigned NOT NULL DEFAULT '0',
`SplineType` tinyint unsigned NOT NULL DEFAULT '0',
`Red` tinyint unsigned NOT NULL DEFAULT '0',
`Green` tinyint unsigned NOT NULL DEFAULT '0',
`Blue` tinyint unsigned NOT NULL DEFAULT '0',
`Alpha` tinyint unsigned NOT NULL DEFAULT '0',
`Flags` tinyint unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `path_node`
--
DROP TABLE IF EXISTS `path_node`;
CREATE TABLE `path_node` (
`ID` int unsigned NOT NULL DEFAULT '0',
`PathID` smallint unsigned NOT NULL DEFAULT '0',
`Sequence` smallint NOT NULL DEFAULT '0',
`LocationID` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;