mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Moved zonedatabase functions out of corpse.cpp
Conversion portion mostly complete Some header readability cleanup Some function renaming Struct renaming Many variable renaming MySQL error log for all of QueryDatabase Corpse table renaming Corpse table field renaming Most corpse database functions redone
This commit is contained in:
+3
-3
@@ -1744,7 +1744,7 @@ bool QuestManager::summonburriedplayercorpse(uint32 char_id, float dest_x, float
|
||||
bool Result = false;
|
||||
|
||||
if(char_id > 0) {
|
||||
Corpse* PlayerCorpse = database.SummonBurriedPlayerCorpse(char_id, zone->GetZoneID(), zone->GetInstanceID(), dest_x, dest_y, dest_z, dest_heading);
|
||||
Corpse* PlayerCorpse = database.SummonBuriedCharacterCorpses(char_id, zone->GetZoneID(), zone->GetInstanceID(), dest_x, dest_y, dest_z, dest_heading);
|
||||
if(PlayerCorpse) {
|
||||
Result = true;
|
||||
}
|
||||
@@ -1767,7 +1767,7 @@ uint32 QuestManager::getplayerburriedcorpsecount(uint32 char_id) {
|
||||
uint32 Result = 0;
|
||||
|
||||
if(char_id > 0) {
|
||||
Result = database.GetPlayerBurriedCorpseCount(char_id);
|
||||
Result = database.GetCharacterBuriedCorpseCount(char_id);
|
||||
}
|
||||
return Result;
|
||||
}
|
||||
@@ -1781,7 +1781,7 @@ bool QuestManager::buryplayercorpse(uint32 char_id)
|
||||
uint32 PlayerCorpse = database.GetFirstCorpseID(char_id);
|
||||
if(PlayerCorpse > 0)
|
||||
{
|
||||
database.BuryPlayerCorpse(PlayerCorpse);
|
||||
database.BuryCharacterCorpse(PlayerCorpse);
|
||||
Corpse* corpse = entity_list.GetCorpseByDBID(PlayerCorpse);
|
||||
if(corpse)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user