*Parcel Claim date is no longer Epoch (Jan 1, 1970). Now shows the actual creation/reclaim/sale date.
parent
c1456936a6
commit
ba2afef0f1
|
@ -39,7 +39,7 @@ namespace OpenSim.Framework
|
||||||
public uint auctionID = 0; //Unemplemented. If set to 0, not being auctioned
|
public uint auctionID = 0; //Unemplemented. If set to 0, not being auctioned
|
||||||
public LLUUID authBuyerID = LLUUID.Zero; //Unemplemented. Authorized Buyer's UUID
|
public LLUUID authBuyerID = LLUUID.Zero; //Unemplemented. Authorized Buyer's UUID
|
||||||
public Parcel.ParcelCategory category = new Parcel.ParcelCategory(); //Unemplemented. Parcel's chosen category
|
public Parcel.ParcelCategory category = new Parcel.ParcelCategory(); //Unemplemented. Parcel's chosen category
|
||||||
public int claimDate = 0; //Unemplemented
|
public int claimDate = 0;
|
||||||
public int claimPrice = 0; //Unemplemented
|
public int claimPrice = 0; //Unemplemented
|
||||||
public LLUUID globalID = LLUUID.Zero;
|
public LLUUID globalID = LLUUID.Zero;
|
||||||
public LLUUID groupID = LLUUID.Zero; //Unemplemented
|
public LLUUID groupID = LLUUID.Zero; //Unemplemented
|
||||||
|
|
|
@ -163,7 +163,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||||
|
|
||||||
fullSimParcel.setLandBitmap(fullSimParcel.getSquareLandBitmap(0, 0, (int)Constants.RegionSize, (int)Constants.RegionSize));
|
fullSimParcel.setLandBitmap(fullSimParcel.getSquareLandBitmap(0, 0, (int)Constants.RegionSize, (int)Constants.RegionSize));
|
||||||
fullSimParcel.landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
|
fullSimParcel.landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
|
||||||
|
fullSimParcel.landData.claimDate = Util.UnixTimeSinceEpoch();
|
||||||
AddLandObject(fullSimParcel);
|
AddLandObject(fullSimParcel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -946,6 +946,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||||
if (m_scene.ExternalChecks.ExternalChecksCanReclaimParcel(remote_client.AgentId, landList[local_id]))
|
if (m_scene.ExternalChecks.ExternalChecksCanReclaimParcel(remote_client.AgentId, landList[local_id]))
|
||||||
{
|
{
|
||||||
landList[local_id].landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
|
landList[local_id].landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
|
||||||
|
landList[local_id].landData.claimDate = Util.UnixTimeSinceEpoch();
|
||||||
m_scene.Broadcast(SendParcelOverlay);
|
m_scene.Broadcast(SendParcelOverlay);
|
||||||
landList[local_id].sendLandUpdateToClient(remote_client);
|
landList[local_id].sendLandUpdateToClient(remote_client);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue