Property | Type | Description | |
---|---|---|---|
EnqueueTask | void | ||
SaveManager | System | ||
SaveWorker | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Processes any outstanding saves, shutsdown the save thread and returns
|
|
OnSaveWorld ( WorldSaveEventArgs args ) : void |
SaveWorld event handler which notifies users that the server may lag
|
|
SaveWorld ( bool wait = true, bool resetTime = false, bool direct = false ) : void |
Saves the map data
|
Method | Description | |
---|---|---|
EnqueueTask ( SaveTask task ) : void | ||
SaveManager ( ) : System | ||
SaveWorker ( ) : void |
public OnSaveWorld ( WorldSaveEventArgs args ) : void | ||
args | WorldSaveEventArgs | |
return | void |
public SaveWorld ( bool wait = true, bool resetTime = false, bool direct = false ) : void | ||
wait | bool | wait for all pending saves to finish (default: true) |
resetTime | bool | reset the last save time counter (default: false) |
direct | bool | use the realsaveWorld method instead of saveWorld event (default: false) |
return | void |