aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/ILandObject.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Interfaces/ILandObject.cs54
1 files changed, 54 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ILandObject.cs b/OpenSim/Region/Environment/Interfaces/ILandObject.cs
new file mode 100644
index 0000000..f68fb82
--- /dev/null
+++ b/OpenSim/Region/Environment/Interfaces/ILandObject.cs
@@ -0,0 +1,54 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using libsecondlife;
6using libsecondlife.Packets;
7using OpenSim.Region.Environment.Scenes;
8
9using OpenSim.Framework;
10
11namespace OpenSim.Region.Environment.Interfaces
12{
13 public interface ILandObject
14 {
15
16 LandData landData { get; set; }
17 bool[,] landBitmap { get; set; }
18 LLUUID regionUUID { get; }
19 bool containsPoint(int x, int y);
20 ILandObject Copy();
21
22
23 void sendLandUpdateToAvatarsOverMe();
24
25 void sendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client);
26 void updateLandProperties(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client);
27 bool isEitherBannedOrRestricted(LLUUID avatar);
28 bool isBannedFromLand(LLUUID avatar);
29 bool isRestrictedFromLand(LLUUID avatar);
30 void sendLandUpdateToClient(IClientAPI remote_client);
31 ParcelAccessListReplyPacket.ListBlock[] createAccessListArrayByFlag(ParcelManager.AccessList flag);
32 void sendAccessList(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, IClientAPI remote_client);
33 void updateAccessList(uint flags, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client);
34 void updateLandBitmapByteArray();
35 void setLandBitmapFromByteArray();
36 bool[,] getLandBitmap();
37 void forceUpdateLandInfo();
38 void setLandBitmap(bool[,] bitmap);
39
40 bool[,] basicFullRegionLandBitmap();
41 bool[,] getSquareLandBitmap(int start_x, int start_y, int end_x, int end_y);
42 bool[,] modifyLandBitmapSquare(bool[,] land_bitmap, int start_x, int start_y, int end_x, int end_y, bool set_value);
43 bool[,] mergeLandBitmaps(bool[,] bitmap_base, bool[,] bitmap_add);
44 void sendForceObjectSelect(int local_id, int request_type, IClientAPI remote_client);
45 void sendLandObjectOwners(IClientAPI remote_client);
46 void returnObject(SceneObjectGroup obj);
47 void returnLandObjects(int type, LLUUID owner);
48 void resetLandPrimCounts();
49 void addPrimToCount(SceneObjectGroup obj);
50 void removePrimFromCount(SceneObjectGroup obj);
51
52
53 }
54}