diff options
author | Jeff Ames | 2008-03-22 23:39:07 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-22 23:39:07 +0000 |
commit | 37121bcf72263f1fea76fc5193b1cfa6c4b1f460 (patch) | |
tree | b22e52b086e8f39d85755202512711287a708ca3 /OpenSim/Region/Environment/Interfaces | |
parent | *Moved LandManagement into its own region module (spiffy!) (diff) | |
download | opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.zip opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.gz opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.bz2 opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.xz |
Update svn properties.
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/ILandChannel.cs | 104 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/ILandObject.cs | 108 |
2 files changed, 106 insertions, 106 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ILandChannel.cs b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs index 1e0493f..c100764 100644 --- a/OpenSim/Region/Environment/Interfaces/ILandChannel.cs +++ b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs | |||
@@ -1,52 +1,52 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | using libsecondlife; | 5 | using libsecondlife; |
6 | using libsecondlife.Packets; | 6 | using libsecondlife.Packets; |
7 | using OpenSim.Region.Environment.Scenes; | 7 | using OpenSim.Region.Environment.Scenes; |
8 | using OpenSim.Framework; | 8 | using OpenSim.Framework; |
9 | 9 | ||
10 | namespace OpenSim.Region.Environment.Interfaces | 10 | namespace OpenSim.Region.Environment.Interfaces |
11 | { | 11 | { |
12 | public interface ILandChannel | 12 | public interface ILandChannel |
13 | { | 13 | { |
14 | bool allowedForcefulBans { get; set; } | 14 | bool allowedForcefulBans { get; set; } |
15 | void IncomingLandObjectsFromStorage(List<LandData> data); | 15 | void IncomingLandObjectsFromStorage(List<LandData> data); |
16 | void IncomingLandObjectFromStorage(LandData data); | 16 | void IncomingLandObjectFromStorage(LandData data); |
17 | 17 | ||
18 | void NoLandDataFromStorage(); | 18 | void NoLandDataFromStorage(); |
19 | ILandObject getLandObject(int x, int y); | 19 | ILandObject getLandObject(int x, int y); |
20 | ILandObject getLandObject(float x, float y); | 20 | ILandObject getLandObject(float x, float y); |
21 | void setPrimsTainted(); | 21 | void setPrimsTainted(); |
22 | bool isLandPrimCountTainted(); | 22 | bool isLandPrimCountTainted(); |
23 | void sendLandUpdate(ScenePresence avatar, bool force); | 23 | void sendLandUpdate(ScenePresence avatar, bool force); |
24 | void sendLandUpdate(ScenePresence avatar); | 24 | void sendLandUpdate(ScenePresence avatar); |
25 | void resetAllLandPrimCounts(); | 25 | void resetAllLandPrimCounts(); |
26 | void addPrimToLandPrimCounts(SceneObjectGroup obj); | 26 | void addPrimToLandPrimCounts(SceneObjectGroup obj); |
27 | void removePrimFromLandPrimCounts(SceneObjectGroup obj); | 27 | void removePrimFromLandPrimCounts(SceneObjectGroup obj); |
28 | void finalizeLandPrimCountUpdate(); | 28 | void finalizeLandPrimCountUpdate(); |
29 | void updateLandPrimCounts(); | 29 | void updateLandPrimCounts(); |
30 | void performParcelPrimCountUpdate(); | 30 | void performParcelPrimCountUpdate(); |
31 | void updateLandObject(int local_id, LandData newData); | 31 | void updateLandObject(int local_id, LandData newData); |
32 | 32 | ||
33 | void sendParcelOverlay(IClientAPI remote_client); | 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); | 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); | 35 | void handleParcelPropertiesUpdateRequest(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client); |
36 | void handleParcelDivideRequest(int west, int south, int east, int north, 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); | 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); | 38 | void handleParcelSelectObjectsRequest(int local_id, int request_type, IClientAPI remote_client); |
39 | void handleParcelObjectOwnersRequest(int local_id, IClientAPI remote_client); | 39 | void handleParcelObjectOwnersRequest(int local_id, IClientAPI remote_client); |
40 | 40 | ||
41 | void resetSimLandObjects(); | 41 | void resetSimLandObjects(); |
42 | List<ILandObject> parcelsNearPoint(LLVector3 position); | 42 | List<ILandObject> parcelsNearPoint(LLVector3 position); |
43 | void sendYouAreBannedNotice(ScenePresence avatar); | 43 | void sendYouAreBannedNotice(ScenePresence avatar); |
44 | void handleAvatarChangingParcel(ScenePresence avatar, int localLandID, LLUUID regionID); | 44 | void handleAvatarChangingParcel(ScenePresence avatar, int localLandID, LLUUID regionID); |
45 | void sendOutNearestBanLine(IClientAPI avatar); | 45 | void sendOutNearestBanLine(IClientAPI avatar); |
46 | void handleSignificantClientMovement(IClientAPI remote_client); | 46 | void handleSignificantClientMovement(IClientAPI remote_client); |
47 | void handleAnyClientMovement(ScenePresence avatar); | 47 | void handleAnyClientMovement(ScenePresence avatar); |
48 | void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client); | 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); | 49 | void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client); |
50 | 50 | ||
51 | } | 51 | } |
52 | } | 52 | } |
diff --git a/OpenSim/Region/Environment/Interfaces/ILandObject.cs b/OpenSim/Region/Environment/Interfaces/ILandObject.cs index f68fb82..61d8670 100644 --- a/OpenSim/Region/Environment/Interfaces/ILandObject.cs +++ b/OpenSim/Region/Environment/Interfaces/ILandObject.cs | |||
@@ -1,54 +1,54 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | using libsecondlife; | 5 | using libsecondlife; |
6 | using libsecondlife.Packets; | 6 | using libsecondlife.Packets; |
7 | using OpenSim.Region.Environment.Scenes; | 7 | using OpenSim.Region.Environment.Scenes; |
8 | 8 | ||
9 | using OpenSim.Framework; | 9 | using OpenSim.Framework; |
10 | 10 | ||
11 | namespace OpenSim.Region.Environment.Interfaces | 11 | namespace OpenSim.Region.Environment.Interfaces |
12 | { | 12 | { |
13 | public interface ILandObject | 13 | public interface ILandObject |
14 | { | 14 | { |
15 | 15 | ||
16 | LandData landData { get; set; } | 16 | LandData landData { get; set; } |
17 | bool[,] landBitmap { get; set; } | 17 | bool[,] landBitmap { get; set; } |
18 | LLUUID regionUUID { get; } | 18 | LLUUID regionUUID { get; } |
19 | bool containsPoint(int x, int y); | 19 | bool containsPoint(int x, int y); |
20 | ILandObject Copy(); | 20 | ILandObject Copy(); |
21 | 21 | ||
22 | 22 | ||
23 | void sendLandUpdateToAvatarsOverMe(); | 23 | void sendLandUpdateToAvatarsOverMe(); |
24 | 24 | ||
25 | void sendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client); | 25 | void sendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client); |
26 | void updateLandProperties(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client); | 26 | void updateLandProperties(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client); |
27 | bool isEitherBannedOrRestricted(LLUUID avatar); | 27 | bool isEitherBannedOrRestricted(LLUUID avatar); |
28 | bool isBannedFromLand(LLUUID avatar); | 28 | bool isBannedFromLand(LLUUID avatar); |
29 | bool isRestrictedFromLand(LLUUID avatar); | 29 | bool isRestrictedFromLand(LLUUID avatar); |
30 | void sendLandUpdateToClient(IClientAPI remote_client); | 30 | void sendLandUpdateToClient(IClientAPI remote_client); |
31 | ParcelAccessListReplyPacket.ListBlock[] createAccessListArrayByFlag(ParcelManager.AccessList flag); | 31 | ParcelAccessListReplyPacket.ListBlock[] createAccessListArrayByFlag(ParcelManager.AccessList flag); |
32 | void sendAccessList(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, IClientAPI remote_client); | 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); | 33 | void updateAccessList(uint flags, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client); |
34 | void updateLandBitmapByteArray(); | 34 | void updateLandBitmapByteArray(); |
35 | void setLandBitmapFromByteArray(); | 35 | void setLandBitmapFromByteArray(); |
36 | bool[,] getLandBitmap(); | 36 | bool[,] getLandBitmap(); |
37 | void forceUpdateLandInfo(); | 37 | void forceUpdateLandInfo(); |
38 | void setLandBitmap(bool[,] bitmap); | 38 | void setLandBitmap(bool[,] bitmap); |
39 | 39 | ||
40 | bool[,] basicFullRegionLandBitmap(); | 40 | bool[,] basicFullRegionLandBitmap(); |
41 | bool[,] getSquareLandBitmap(int start_x, int start_y, int end_x, int end_y); | 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); | 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); | 43 | bool[,] mergeLandBitmaps(bool[,] bitmap_base, bool[,] bitmap_add); |
44 | void sendForceObjectSelect(int local_id, int request_type, IClientAPI remote_client); | 44 | void sendForceObjectSelect(int local_id, int request_type, IClientAPI remote_client); |
45 | void sendLandObjectOwners(IClientAPI remote_client); | 45 | void sendLandObjectOwners(IClientAPI remote_client); |
46 | void returnObject(SceneObjectGroup obj); | 46 | void returnObject(SceneObjectGroup obj); |
47 | void returnLandObjects(int type, LLUUID owner); | 47 | void returnLandObjects(int type, LLUUID owner); |
48 | void resetLandPrimCounts(); | 48 | void resetLandPrimCounts(); |
49 | void addPrimToCount(SceneObjectGroup obj); | 49 | void addPrimToCount(SceneObjectGroup obj); |
50 | void removePrimFromCount(SceneObjectGroup obj); | 50 | void removePrimFromCount(SceneObjectGroup obj); |
51 | 51 | ||
52 | 52 | ||
53 | } | 53 | } |
54 | } | 54 | } |