mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-18 02:03:52 +00:00
optimization: async dedicated server autosaving (#1473)
This commit is contained in:
parent
c2ea1fa62b
commit
034c313ddf
4 changed files with 143 additions and 0 deletions
|
|
@ -77,6 +77,11 @@ public:
|
|||
virtual void LockSaveAccess();
|
||||
virtual void ReleaseSaveAccess();
|
||||
|
||||
#ifdef MINECRAFT_SERVER_BUILD
|
||||
static void flushPendingBackgroundSave();
|
||||
static bool hasPendingBackgroundSave();
|
||||
#endif
|
||||
|
||||
virtual ESavePlatform getSavePlatform();
|
||||
virtual bool isSaveEndianDifferent();
|
||||
virtual void setLocalPlatform();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue