From 4f237f3ae3b8561de0dacd1ec0e937ec7a8e0307 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 30 May 2008 17:52:14 +0000 Subject: * Crudely migrate SceneXmlLoader into the Serializer module --- .../Modules/World/Serialiser/IRegionSerialiser.cs | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs') diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs index 331b460..752b5b6 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs @@ -25,6 +25,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +using libsecondlife; using System.Collections.Generic; using OpenSim.Region.Environment.Scenes; @@ -32,6 +33,18 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser { public interface IRegionSerialiser { - List SerialiseRegion(Scene scene, string saveDir); + List SerialiseRegion(Scene scene, string saveDir); + + void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, LLVector3 loadOffset); + + void SavePrimsToXml(Scene scene, string fileName); + + void LoadPrimsFromXml2(Scene scene, string fileName); + + void SavePrimsToXml2(Scene scene, string fileName); + + void LoadGroupFromXml2String(Scene scene, string xmlString); + + string SavePrimGroupToXML2String(SceneObjectGroup grp); } -} \ No newline at end of file +} -- cgit v1.1