aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/ILandChannel.cs
diff options
context:
space:
mode:
authormingchen2008-03-22 23:10:22 +0000
committermingchen2008-03-22 23:10:22 +0000
commit71ca162821ac0e5aae5f91c433b91549ae6d5419 (patch)
treefa2f13c2541075aba6807fcf95364466a785bd51 /OpenSim/Region/Environment/Interfaces/ILandChannel.cs
parentImplements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). (diff)
downloadopensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.zip
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.gz
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.bz2
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.xz
*Moved LandManagement into its own region module (spiffy!)
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/ILandChannel.cs')
-rw-r--r--OpenSim/Region/Environment/Interfaces/ILandChannel.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ILandChannel.cs b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs
new file mode 100644
index 0000000..1e0493f
--- /dev/null
+++ b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs
@@ -0,0 +1,52 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using libsecondlife;
6using libsecondlife.Packets;
7using OpenSim.Region.Environment.Scenes;
8using OpenSim.Framework;
9
10namespace OpenSim.Region.Environment.Interfaces
11{
12 public interface ILandChannel
13 {
14 bool allowedForcefulBans { get; set; }
15 void IncomingLandObjectsFromStorage(List<LandData> data);
16 void IncomingLandObjectFromStorage(LandData data);
17
18 void NoLandDataFromStorage();
19 ILandObject getLandObject(int x, int y);
20 ILandObject getLandObject(float x, float y);
21 void setPrimsTainted();
22 bool isLandPrimCountTainted();
23 void sendLandUpdate(ScenePresence avatar, bool force);
24 void sendLandUpdate(ScenePresence avatar);
25 void resetAllLandPrimCounts();
26 void addPrimToLandPrimCounts(SceneObjectGroup obj);
27 void removePrimFromLandPrimCounts(SceneObjectGroup obj);
28 void finalizeLandPrimCountUpdate();
29 void updateLandPrimCounts();
30 void performParcelPrimCountUpdate();
31 void updateLandObject(int local_id, LandData newData);
32
33 void sendParcelOverlay(IClientAPI remote_client);
34 void handleParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client);
35 void handleParcelPropertiesUpdateRequest(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client);
36 void handleParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client);
37 void handleParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client);
38 void handleParcelSelectObjectsRequest(int local_id, int request_type, IClientAPI remote_client);
39 void handleParcelObjectOwnersRequest(int local_id, IClientAPI remote_client);
40
41 void resetSimLandObjects();
42 List<ILandObject> parcelsNearPoint(LLVector3 position);
43 void sendYouAreBannedNotice(ScenePresence avatar);
44 void handleAvatarChangingParcel(ScenePresence avatar, int localLandID, LLUUID regionID);
45 void sendOutNearestBanLine(IClientAPI avatar);
46 void handleSignificantClientMovement(IClientAPI remote_client);
47 void handleAnyClientMovement(ScenePresence avatar);
48 void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
49 void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client);
50
51 }
52}