* 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)
0.6.1-post-fixes
Justin Clarke Casey 2008-11-26 17:42:35 +00:00
parent 3e3cf67b00
commit c85e2a0fb0
2 changed files with 35 additions and 1 deletions

View File

@ -308,6 +308,11 @@ namespace OpenSim.Data.MySQL
} }
} }
/// <summary>
/// Remove all persisted items of the given prim.
/// The caller must acquire the necessrary synchronization locks and commit or rollback changes.
/// </summary>
/// <param name="uuid">the Item UUID</param>
private void RemoveItems(UUID uuid) private void RemoveItems(UUID uuid)
{ {
lock (m_Connection) lock (m_Connection)
@ -403,6 +408,10 @@ namespace OpenSim.Data.MySQL
return objects; return objects;
} }
/// <summary>
/// Load in a prim's persisted inventory.
/// </summary>
/// <param name="prim">The prim</param>
private void LoadItems(SceneObjectPart prim) private void LoadItems(SceneObjectPart prim)
{ {
lock (m_Connection) lock (m_Connection)

View File

@ -67,13 +67,38 @@ namespace OpenSim.Region.Environment.Interfaces
/// <returns></returns> /// <returns></returns>
void StorePrimInventory(UUID primID, ICollection<TaskInventoryItem> items); void StorePrimInventory(UUID primID, ICollection<TaskInventoryItem> items);
/// <summary>
/// Load persisted objects from region storage.
/// </summary>
/// <param name="regionUUID">the Region UUID</param>
/// <returns>List of loaded groups</returns>
List<SceneObjectGroup> LoadObjects(UUID regionUUID); List<SceneObjectGroup> LoadObjects(UUID regionUUID);
/// <summary>
/// Store a terrain revision in region storage
/// </summary>
/// <param name="ter">HeightField data</param>
/// <param name="regionID">region UUID</param>
void StoreTerrain(double[,] terrain, UUID regionID); void StoreTerrain(double[,] terrain, UUID regionID);
/// <summary>
/// Load the latest terrain revision from region storage
/// </summary>
/// <param name="regionID">the region UUID</param>
/// <returns>Heightfield data</returns>
double[,] LoadTerrain(UUID regionID); double[,] LoadTerrain(UUID regionID);
void StoreLandObject(ILandObject Parcel); void StoreLandObject(ILandObject Parcel);
/// <summary>
/// <list type="bullet">
/// <item>delete from land where UUID=globalID</item>
/// <item>delete from landaccesslist where LandUUID=globalID</item>
/// </list>
/// </summary>
/// <param name="globalID"></param>
void RemoveLandObject(UUID globalID); void RemoveLandObject(UUID globalID);
List<LandData> LoadLandObjects(UUID regionUUID); List<LandData> LoadLandObjects(UUID regionUUID);
void StoreRegionSettings(RegionSettings rs); void StoreRegionSettings(RegionSettings rs);