diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs b/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs index 917b5d1..19ba787 100644 --- a/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs +++ b/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs | |||
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
45 | /// Dispose the database | 45 | /// Dispose the database |
46 | /// </summary> | 46 | /// </summary> |
47 | void Dispose(); | 47 | void Dispose(); |
48 | 48 | ||
49 | /// <summary> | 49 | /// <summary> |
50 | /// Stores all object's details apart from inventory | 50 | /// Stores all object's details apart from inventory |
51 | /// </summary> | 51 | /// </summary> |
@@ -75,17 +75,25 @@ namespace OpenSim.Region.Framework.Interfaces | |||
75 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); | 75 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); |
76 | 76 | ||
77 | /// <summary> | 77 | /// <summary> |
78 | /// Store a terrain revision in region storage | 78 | /// Store a terrain in region storage |
79 | /// </summary> | 79 | /// </summary> |
80 | /// <param name="ter">HeightField data</param> | 80 | /// <param name="ter">HeightField data</param> |
81 | /// <param name="regionID">region UUID</param> | 81 | /// <param name="regionID">region UUID</param> |
82 | void StoreTerrain(TerrainData terrain, UUID regionID); | 82 | void StoreTerrain(TerrainData terrain, UUID regionID); |
83 | 83 | ||
84 | /// <summary> | ||
85 | /// Store baked terrain in region storage | ||
86 | /// </summary> | ||
87 | /// <param name="ter">HeightField data</param> | ||
88 | /// <param name="regionID">region UUID</param> | ||
89 | void StoreBakedTerrain(TerrainData terrain, UUID regionID); | ||
90 | |||
91 | |||
84 | // Legacy version kept for downward compabibility | 92 | // Legacy version kept for downward compabibility |
85 | void StoreTerrain(double[,] terrain, UUID regionID); | 93 | void StoreTerrain(double[,] terrain, UUID regionID); |
86 | 94 | ||
87 | /// <summary> | 95 | /// <summary> |
88 | /// Load the latest terrain revision from region storage | 96 | /// Load terrain from region storage |
89 | /// </summary> | 97 | /// </summary> |
90 | /// <param name="regionID">the region UUID</param> | 98 | /// <param name="regionID">the region UUID</param> |
91 | /// <param name="pSizeX">the X dimension of the terrain being filled</param> | 99 | /// <param name="pSizeX">the X dimension of the terrain being filled</param> |
@@ -93,12 +101,13 @@ namespace OpenSim.Region.Framework.Interfaces | |||
93 | /// <param name="pSizeZ">the Z dimension of the terrain being filled</param> | 101 | /// <param name="pSizeZ">the Z dimension of the terrain being filled</param> |
94 | /// <returns>Heightfield data</returns> | 102 | /// <returns>Heightfield data</returns> |
95 | TerrainData LoadTerrain(UUID regionID, int pSizeX, int pSizeY, int pSizeZ); | 103 | TerrainData LoadTerrain(UUID regionID, int pSizeX, int pSizeY, int pSizeZ); |
104 | TerrainData LoadBakedTerrain(UUID regionID, int pSizeX, int pSizeY, int pSizeZ); | ||
96 | 105 | ||
97 | // Legacy version kept for downward compabibility | 106 | // Legacy version kept for downward compabibility |
98 | double[,] LoadTerrain(UUID regionID); | 107 | double[,] LoadTerrain(UUID regionID); |
99 | 108 | ||
100 | void StoreLandObject(ILandObject Parcel); | 109 | void StoreLandObject(ILandObject Parcel); |
101 | 110 | ||
102 | /// <summary> | 111 | /// <summary> |
103 | /// <list type="bullet"> | 112 | /// <list type="bullet"> |
104 | /// <item>delete from land where UUID=globalID</item> | 113 | /// <item>delete from land where UUID=globalID</item> |
@@ -107,7 +116,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
107 | /// </summary> | 116 | /// </summary> |
108 | /// <param name="globalID"></param> | 117 | /// <param name="globalID"></param> |
109 | void RemoveLandObject(UUID globalID); | 118 | void RemoveLandObject(UUID globalID); |
110 | 119 | ||
111 | List<LandData> LoadLandObjects(UUID regionUUID); | 120 | List<LandData> LoadLandObjects(UUID regionUUID); |
112 | 121 | ||
113 | void StoreRegionSettings(RegionSettings rs); | 122 | void StoreRegionSettings(RegionSettings rs); |
@@ -115,6 +124,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
115 | RegionLightShareData LoadRegionWindlightSettings(UUID regionUUID); | 124 | RegionLightShareData LoadRegionWindlightSettings(UUID regionUUID); |
116 | void StoreRegionWindlightSettings(RegionLightShareData wl); | 125 | void StoreRegionWindlightSettings(RegionLightShareData wl); |
117 | void RemoveRegionWindlightSettings(UUID regionID); | 126 | void RemoveRegionWindlightSettings(UUID regionID); |
127 | UUID[] GetObjectIDs(UUID regionID); | ||
118 | 128 | ||
119 | /// <summary> | 129 | /// <summary> |
120 | /// Load Environment settings from region storage | 130 | /// Load Environment settings from region storage |