Core/Phases: more work on corpse phasing

- moved all sql queries to prepared statements
- implemented corpse phases saving, loading, cleaning
This commit is contained in:
Rat
2014-10-29 21:47:25 +01:00
parent 49187f51b5
commit 517369a3df
6 changed files with 45 additions and 3 deletions

View File

@@ -4,5 +4,7 @@ DROP TABLE IF EXISTS `corpse_phases`;
CREATE TABLE `corpse_phases` (
`Guid` int(10) unsigned NOT NULL,
`PhaseId` int(10) unsigned NOT NULL,
`Time` int(10) unsigned NOT NULL DEFAULT '0',
`CorpseType` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`Guid`,`PhaseId`)
);