mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-15 08:48:22 +00:00
[Zone] Implement Zone State Saving on Shutdown (#4715)
* Save spawns * Update base_zone_state_spawns_repository.h * Zone state save work * Code cleanup * More cleanup * Database migration * Update database_update_manifest.cpp * Revert decay at storage model * Code cleanup * More cleanup * More cleanup * More cleanup * Entity variables * Add entity variables to the schema * Post rebase * Checkpoint * Serialize / deserialize buffs * Current hp / mana / end save / load * Save / load current_waypoint * Add zone spawn protection * Finishing touches * Cleanup * Update zone_save_state.cpp * Cleanup * Update zone_save_state.cpp * Update npc.cpp * Update npc.cpp * More * Update perl_npc.cpp * Update zone_loot.cpp
This commit is contained in:
@@ -806,6 +806,11 @@ void Perl_NPC_MultiQuestEnable(NPC* self)
|
||||
self->MultiQuestEnable();
|
||||
}
|
||||
|
||||
bool Perl_NPC_IsResumedFromZoneSuspend(NPC* self)
|
||||
{
|
||||
return self->IsResumedFromZoneSuspend();
|
||||
}
|
||||
|
||||
bool Perl_NPC_CheckHandin(
|
||||
NPC* self,
|
||||
Client* c,
|
||||
@@ -983,6 +988,7 @@ void perl_register_npc()
|
||||
package.add("IsOnHatelist", &Perl_NPC_IsOnHatelist);
|
||||
package.add("IsRaidTarget", &Perl_NPC_IsRaidTarget);
|
||||
package.add("IsRareSpawn", &Perl_NPC_IsRareSpawn);
|
||||
package.add("IsResumedFromZoneSuspend", &Perl_NPC_IsResumedFromZoneSuspend);
|
||||
package.add("IsTaunting", &Perl_NPC_IsTaunting);
|
||||
package.add("IsUnderwaterOnly", (bool(*)(NPC*))&Perl_NPC_IsUnderwaterOnly);
|
||||
package.add("MerchantCloseShop", &Perl_NPC_MerchantCloseShop);
|
||||
|
||||
Reference in New Issue
Block a user