From 61d4291da56e18c7777adebbcfce2c092a2d9a69 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Tue, 24 May 2011 03:17:12 +0100
Subject: Create a method to force the script engine to save state from outside
---
OpenSim/Region/Framework/Interfaces/IScriptModule.cs | 2 ++
1 file changed, 2 insertions(+)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
index fecdd1b..d9752e6 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
@@ -50,5 +50,7 @@ namespace OpenSim.Region.Framework.Interfaces
void ResumeScript(UUID itemID);
ArrayList GetScriptErrors(UUID itemID);
+
+ void SaveAllState();
}
}
--
cgit v1.1
From 6f4d079fc5b28ef6657fe2baf6ef305a54e674d2 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 26 May 2011 01:27:01 +0100
Subject: Add a --noassets option to "save oar".
This switch stops any assets being saved in the oar.
This can be useful if you're using OAR to backup regions and you know you'll always have the original asset database available.
---
.../Framework/Interfaces/IRegionArchiverModule.cs | 25 ++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IRegionArchiverModule.cs
index d8229de..3fafc47 100644
--- a/OpenSim/Region/Framework/Interfaces/IRegionArchiverModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IRegionArchiverModule.cs
@@ -52,31 +52,44 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Archive the region to the given path
///
- ///
+ ///
/// This method occurs asynchronously. If you want notification of when it has completed then subscribe to
/// the EventManager.OnOarFileSaved event.
- ///
+ ///
///
/// If supplied, this request Id is later returned in the saved event
+ /// Options for the save
void ArchiveRegion(string savePath, Guid requestId, Dictionary options);
///
/// Archive the region to a stream.
///
- ///
+ ///
/// This method occurs asynchronously. If you want notification of when it has completed then subscribe to
/// the EventManager.OnOarFileSaved event.
- ///
+ ///
///
/// If supplied, this request Id is later returned in the saved event
void ArchiveRegion(Stream saveStream, Guid requestId);
///
+ /// Archive the region to a stream.
+ ///
+ ///
+ /// This method occurs asynchronously. If you want notification of when it has completed then subscribe to
+ /// the EventManager.OnOarFileSaved event.
+ ///
+ ///
+ /// If supplied, this request Id is later returned in the saved event
+ /// Options for the save
+ void ArchiveRegion(Stream saveStream, Guid requestId, Dictionary options);
+
+ ///
/// Dearchive the given region archive. This replaces the existing scene.
///
- ///
+ ///
/// If you want notification of when it has completed then subscribe to the EventManager.OnOarFileLoaded event.
- ///
+ ///
///
void DearchiveRegion(string loadPath);
--
cgit v1.1