From b12f4ef7d58cfe4d815feb2db1f88f223c7f2a61 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Thu, 7 Sep 2017 07:41:16 -0500 Subject: Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) --- src/Root.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index 44567018d..46b202c88 100644 --- a/src/Root.h +++ b/src/Root.h @@ -135,6 +135,9 @@ public: /** Saves all chunks in all worlds */ void SaveAllChunks(void); // tolua_export + /** Sets whether saving chunks is enabled in all worlds (overrides however the worlds were already set) */ + void SetSavingEnabled(bool a_SavingEnabled); // tolua_export + /** Calls the callback for each player in all worlds */ bool ForEachPlayer(cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS << -- cgit v1.2.3