diff options
author | Justin Clarke Casey | 2008-06-21 21:20:59 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-21 21:20:59 +0000 |
commit | 908d91be78038832945eec5c4d05c71ab64e3680 (patch) | |
tree | d7274271c36fa557c0b22833e614e2e122922d6c /OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs | |
parent | * Remove redundant <scene> tag from individual object xml representation (diff) | |
download | opensim-SC_OLD-908d91be78038832945eec5c4d05c71ab64e3680.zip opensim-SC_OLD-908d91be78038832945eec5c4d05c71ab64e3680.tar.gz opensim-SC_OLD-908d91be78038832945eec5c4d05c71ab64e3680.tar.bz2 opensim-SC_OLD-908d91be78038832945eec5c4d05c71ab64e3680.tar.xz |
* refactor: Making some of the serialization names consistent, both within their pairings and with the others
* This does make some of the names less ideal than others - this should change in the future
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs index e0d2add..e6090a7 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/IRegionSerialiser.cs | |||
@@ -36,8 +36,20 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser | |||
36 | { | 36 | { |
37 | List<string> SerialiseRegion(Scene scene, string saveDir); | 37 | List<string> SerialiseRegion(Scene scene, string saveDir); |
38 | 38 | ||
39 | /// <summary> | ||
40 | /// Load prims from the xml format | ||
41 | /// </summary> | ||
42 | /// <param name="scene"></param> | ||
43 | /// <param name="fileName"></param> | ||
44 | /// <param name="newIDS"></param> | ||
45 | /// <param name="loadOffset"></param> | ||
39 | void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, LLVector3 loadOffset); | 46 | void LoadPrimsFromXml(Scene scene, string fileName, bool newIDS, LLVector3 loadOffset); |
40 | 47 | ||
48 | /// <summary> | ||
49 | /// Save prims in the xml format | ||
50 | /// </summary> | ||
51 | /// <param name="scene"> </param> | ||
52 | /// <param name="fileName"></param> | ||
41 | void SavePrimsToXml(Scene scene, string fileName); | 53 | void SavePrimsToXml(Scene scene, string fileName); |
42 | 54 | ||
43 | /// <summary> | 55 | /// <summary> |
@@ -54,10 +66,25 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser | |||
54 | /// <param name="reader"></param> | 66 | /// <param name="reader"></param> |
55 | void LoadPrimsFromXml2(Scene scene, TextReader reader); | 67 | void LoadPrimsFromXml2(Scene scene, TextReader reader); |
56 | 68 | ||
69 | /// <summary> | ||
70 | /// Save prims in the xml2 format | ||
71 | /// </summary> | ||
72 | /// <param name="scene"></param> | ||
73 | /// <param name="fileName"></param> | ||
57 | void SavePrimsToXml2(Scene scene, string fileName); | 74 | void SavePrimsToXml2(Scene scene, string fileName); |
58 | 75 | ||
59 | void LoadGroupFromXml2String(Scene scene, string xmlString); | 76 | /// <summary> |
77 | /// Load an individual scene object from the xml2 format | ||
78 | /// </summary> | ||
79 | /// <param name="scene"></param> | ||
80 | /// <param name="xmlString"></param> | ||
81 | void LoadGroupFromXml2(Scene scene, string xmlString); | ||
60 | 82 | ||
61 | string SavePrimGroupToXML2String(SceneObjectGroup grp); | 83 | /// <summary> |
84 | /// Serialize an individual scene object into the xml2 format | ||
85 | /// </summary> | ||
86 | /// <param name="grp"></param> | ||
87 | /// <returns></returns> | ||
88 | string SaveGroupToXml2(SceneObjectGroup grp); | ||
62 | } | 89 | } |
63 | } | 90 | } |