aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-26 17:42:35 +0000
committerJustin Clarke Casey2008-11-26 17:42:35 +0000
commitc85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b (patch)
tree0c4ababd430b79a96b1b36a5b18a7a7b925c89b4
parent* minor: Remove unused SetAnimation method that was identical to TrySetAnimation (diff)
downloadopensim-SC-c85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b.zip
opensim-SC-c85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b.tar.gz
opensim-SC-c85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b.tar.bz2
opensim-SC-c85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b.tar.xz
* restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData
* I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs11
-rw-r--r--OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs25
2 files changed, 35 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index f64b142..992e84d 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -307,7 +307,12 @@ namespace OpenSim.Data.MySQL
307 ExecuteNonQuery(cmd); 307 ExecuteNonQuery(cmd);
308 } 308 }
309 } 309 }
310 310
311 /// <summary>
312 /// Remove all persisted items of the given prim.
313 /// The caller must acquire the necessrary synchronization locks and commit or rollback changes.
314 /// </summary>
315 /// <param name="uuid">the Item UUID</param>
311 private void RemoveItems(UUID uuid) 316 private void RemoveItems(UUID uuid)
312 { 317 {
313 lock (m_Connection) 318 lock (m_Connection)
@@ -403,6 +408,10 @@ namespace OpenSim.Data.MySQL
403 return objects; 408 return objects;
404 } 409 }
405 410
411 /// <summary>
412 /// Load in a prim's persisted inventory.
413 /// </summary>
414 /// <param name="prim">The prim</param>
406 private void LoadItems(SceneObjectPart prim) 415 private void LoadItems(SceneObjectPart prim)
407 { 416 {
408 lock (m_Connection) 417 lock (m_Connection)
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
index 0ee4933..78fc626 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
@@ -67,13 +67,38 @@ namespace OpenSim.Region.Environment.Interfaces
67 /// <returns></returns> 67 /// <returns></returns>
68 void StorePrimInventory(UUID primID, ICollection<TaskInventoryItem> items); 68 void StorePrimInventory(UUID primID, ICollection<TaskInventoryItem> items);
69 69
70 /// <summary>
71 /// Load persisted objects from region storage.
72 /// </summary>
73 /// <param name="regionUUID">the Region UUID</param>
74 /// <returns>List of loaded groups</returns>
70 List<SceneObjectGroup> LoadObjects(UUID regionUUID); 75 List<SceneObjectGroup> LoadObjects(UUID regionUUID);
71 76
77 /// <summary>
78 /// Store a terrain revision in region storage
79 /// </summary>
80 /// <param name="ter">HeightField data</param>
81 /// <param name="regionID">region UUID</param>
72 void StoreTerrain(double[,] terrain, UUID regionID); 82 void StoreTerrain(double[,] terrain, UUID regionID);
83
84 /// <summary>
85 /// Load the latest terrain revision from region storage
86 /// </summary>
87 /// <param name="regionID">the region UUID</param>
88 /// <returns>Heightfield data</returns>
73 double[,] LoadTerrain(UUID regionID); 89 double[,] LoadTerrain(UUID regionID);
74 90
75 void StoreLandObject(ILandObject Parcel); 91 void StoreLandObject(ILandObject Parcel);
92
93 /// <summary>
94 /// <list type="bullet">
95 /// <item>delete from land where UUID=globalID</item>
96 /// <item>delete from landaccesslist where LandUUID=globalID</item>
97 /// </list>
98 /// </summary>
99 /// <param name="globalID"></param>
76 void RemoveLandObject(UUID globalID); 100 void RemoveLandObject(UUID globalID);
101
77 List<LandData> LoadLandObjects(UUID regionUUID); 102 List<LandData> LoadLandObjects(UUID regionUUID);
78 103
79 void StoreRegionSettings(RegionSettings rs); 104 void StoreRegionSettings(RegionSettings rs);