mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 17:32:17 +00:00
Move player corpses on instance shutdown
Moves corpses to graveyard when an expired instance shuts down. Zones without a graveyard move them to non-instance version instead. Fixes player corpses being left inside instances that expire before graveyards process or in instances without a graveyard
This commit is contained in:
1 parent
de5b7f472d
commit
6c8c81f3db
8 files changed
+118
-17
No files matched your search
@@ -79,6 +79,9 @@ class Corpse : public Mob {
|
||||
void SetConsentGuildID(uint32 guild_id) { if (IsPlayerCorpse()) { consented_guild_id = guild_id; } }
|
||||
void AddConsentName(std::string consent_player_name);
|
||||
void RemoveConsentName(std::string consent_player_name);
|
||||
void SendWorldSpawnPlayerCorpseInZone(uint32_t zone_id);
|
||||
bool MovePlayerCorpseToGraveyard();
|
||||
bool MovePlayerCorpseToNonInstance();
|
||||
|
||||
void Delete();
|
||||
void Bury();
|
||||
|
||||
Reference in new issue
Block a user