From c535f3947dbcfb78dcac8045c7452f34f8dd79eb Mon Sep 17 00:00:00 2001 From: mingchen Date: Mon, 5 May 2008 17:44:40 +0000 Subject: *Standardized the Land module by removing all references to libsecondlife.packets --- OpenSim/Framework/IClientAPI.cs | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index a58114c..49cbdfa 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -235,6 +235,26 @@ namespace OpenSim.Framework #endregion } + public class LandUpdateArgs : EventArgs + { + public LLUUID AuthBuyerID; + public Parcel.ParcelCategory Category; + public string Desc; + public LLUUID GroupID; + public byte LandingType; + public byte MediaAutoScale; + public LLUUID MediaID; + public string MediaURL; + public string MusicURL; + public string Name; + public uint ParcelFlags; + public float PassHours; + public int PassPrice; + public int SalePrice; + public LLUUID SnapshotID; + public LLVector3 UserLocation; + public LLVector3 UserLookAt; + } public delegate void TextureRequest(Object sender, TextureRequestArgs e); public delegate void AvatarNowWearing(Object sender, AvatarWearingArgs e); @@ -355,7 +375,7 @@ namespace OpenSim.Framework public delegate void ParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client); - public delegate void ParcelPropertiesUpdateRequest(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client); + public delegate void ParcelPropertiesUpdateRequest(LandUpdateArgs args, int local_id, IClientAPI remote_client); public delegate void ParcelSelectObjects(int land_local_id, int request_type, IClientAPI remote_client); @@ -778,6 +798,11 @@ namespace OpenSim.Framework void sendEstateCovenantInformation(); void sendDetailedEstateData(LLUUID invoice); + void sendLandProperties(IClientAPI remote_client, int sequence_id, bool snap_selection, int request_result, LandData landData, float simObjectBonusFactor, int simObjectCapacity); + void sendLandAccessListData(List avatars, uint accessFlag, int localLandID); + void sendForceClientSelectObjects(List objectIDs); + void sendLandObjectOwners(Dictionary ownersAndCount); + byte[] GetThrottlesPacked(float multiplier); -- cgit v1.1