Add method doc to the Get*() methods on PrimCountModule

0.7.1-dev
Justin Clark-Casey (justincc) 2011-03-23 22:04:14 +00:00
parent 67cafbd33a
commit 08c3cd6b36
1 changed files with 27 additions and 0 deletions

View File

@ -229,6 +229,12 @@ namespace OpenSim.Region.CoreModules.World.Land
return primCounts;
}
/// <summary>
/// Get the number of prims on the parcel that are owned by the parcel owner.
/// </summary>
/// <param name="parcelID"></param>
/// <returns></returns>
public int GetOwnerCount(UUID parcelID)
{
// m_log.DebugFormat("[PRIM COUNT MODULE]: GetOwnerCount for {0}", parcelID);
@ -245,6 +251,11 @@ namespace OpenSim.Region.CoreModules.World.Land
return 0;
}
/// <summary>
/// Get the number of prims on the parcel that have been set to the group that owns the parcel.
/// </summary>
/// <param name="parcelID"></param>
/// <returns></returns>
public int GetGroupCount(UUID parcelID)
{
lock (m_TaintLock)
@ -259,6 +270,11 @@ namespace OpenSim.Region.CoreModules.World.Land
return 0;
}
/// <summary>
/// Get the number of prims on the parcel that are not owned by the parcel owner or set to the parcel group.
/// </summary>
/// <param name="parcelID"></param>
/// <returns></returns>
public int GetOthersCount(UUID parcelID)
{
lock (m_TaintLock)
@ -273,6 +289,11 @@ namespace OpenSim.Region.CoreModules.World.Land
return 0;
}
/// <summary>
/// Get the number of prims that are in the entire simulator for the owner of this parcel.
/// </summary>
/// <param name="parcelID"></param>
/// <returns></returns>
public int GetSimulatorCount(UUID parcelID)
{
lock (m_TaintLock)
@ -291,6 +312,12 @@ namespace OpenSim.Region.CoreModules.World.Land
return 0;
}
/// <summary>
/// Get the number of prims that a particular user owns on this parcel.
/// </summary>
/// <param name="parcelID"></param>
/// <param name="userID"></param>
/// <returns></returns>
public int GetUserCount(UUID parcelID, UUID userID)
{
lock (m_TaintLock)