mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
remove now unused individual LandData prim counts.
However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
This commit is contained in:
@@ -54,12 +54,10 @@ namespace OpenSim.Framework
|
||||
private int _claimPrice = 0; //Unemplemented
|
||||
private UUID _globalID = UUID.Zero;
|
||||
private UUID _groupID = UUID.Zero;
|
||||
private int _groupPrims = 0;
|
||||
private bool _isGroupOwned = false;
|
||||
private byte[] _bitmap = new byte[512];
|
||||
private string _description = String.Empty;
|
||||
|
||||
|
||||
private uint _flags = (uint) ParcelFlags.AllowFly | (uint) ParcelFlags.AllowLandmark |
|
||||
(uint) ParcelFlags.AllowAPrimitiveEntry |
|
||||
(uint) ParcelFlags.AllowDeedToGroup | (uint) ParcelFlags.AllowTerraform |
|
||||
@@ -72,17 +70,13 @@ namespace OpenSim.Framework
|
||||
private int _localID = 0;
|
||||
private byte _mediaAutoScale = 0;
|
||||
private UUID _mediaID = UUID.Zero;
|
||||
|
||||
private string _mediaURL = String.Empty;
|
||||
private string _musicURL = String.Empty;
|
||||
private int _otherPrims = 0;
|
||||
private UUID _ownerID = UUID.Zero;
|
||||
private int _ownerPrims = 0;
|
||||
private List<ParcelManager.ParcelAccessEntry> _parcelAccessList = new List<ParcelManager.ParcelAccessEntry>();
|
||||
private float _passHours = 0;
|
||||
private int _passPrice = 0;
|
||||
private int _salePrice = 0; //Unemeplemented. Parcels price.
|
||||
private int _selectedPrims = 0;
|
||||
private int _simwideArea = 0;
|
||||
private int _simwidePrims = 0;
|
||||
private UUID _snapshotID = UUID.Zero;
|
||||
@@ -283,19 +277,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Number of SceneObjectPart that are owned by a Group
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public int GroupPrims {
|
||||
get {
|
||||
return _groupPrims;
|
||||
}
|
||||
set {
|
||||
_groupPrims = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the Land Parcel is owned by a group
|
||||
/// </summary>
|
||||
@@ -453,20 +434,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Number of SceneObjectPart that are owned by users who do not own the parcel
|
||||
/// and don't have the 'group. These are elegable for AutoReturn collection
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public int OtherPrims {
|
||||
get {
|
||||
return _otherPrims;
|
||||
}
|
||||
set {
|
||||
_otherPrims = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Owner Avatar or Group of the parcel. Naturally, all land masses must be
|
||||
/// owned by someone
|
||||
@@ -480,19 +447,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Number of SceneObjectPart that are owned by the owner of the parcel
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public int OwnerPrims {
|
||||
get {
|
||||
return _ownerPrims;
|
||||
}
|
||||
set {
|
||||
_ownerPrims = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// List of access data for the parcel. User data, some bitflags, and a time
|
||||
/// </summary>
|
||||
@@ -541,19 +495,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Number of SceneObjectPart that are currently selected by avatar
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public int SelectedPrims {
|
||||
get {
|
||||
return _selectedPrims;
|
||||
}
|
||||
set {
|
||||
_selectedPrims = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Number of meters^2 in the Simulator
|
||||
/// </summary>
|
||||
@@ -666,10 +607,6 @@ namespace OpenSim.Framework
|
||||
landData._claimPrice = _claimPrice;
|
||||
landData._globalID = _globalID;
|
||||
landData._groupID = _groupID;
|
||||
landData._groupPrims = _groupPrims;
|
||||
landData._otherPrims = _otherPrims;
|
||||
landData._ownerPrims = _ownerPrims;
|
||||
landData._selectedPrims = _selectedPrims;
|
||||
landData._isGroupOwned = _isGroupOwned;
|
||||
landData._localID = _localID;
|
||||
landData._landingType = _landingType;
|
||||
@@ -731,4 +668,4 @@ namespace OpenSim.Framework
|
||||
return land;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user