expose save and reload in npc registry to the api

This commit is contained in:
Pyrbu 2024-12-24 16:14:00 +01:00
parent c780c0ec78
commit b3b8635477

View file

@ -71,4 +71,14 @@ public interface NpcRegistry {
* @param entry The npc to be registered
*/
void register(NpcEntry entry);
/**
* Reload all saveable npcs from storage
*/
void reload();
/**
* Save all saveable npcs to storage
*/
void save();
}