expose save and reload in npc registry to the api
This commit is contained in:
parent
c780c0ec78
commit
b3b8635477
1 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue