ILandObject.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using libsecondlife;
  5. using libsecondlife.Packets;
  6. using OpenSim.Region.Environment.Scenes;
  7. using OpenSim.Framework;
  8. namespace OpenSim.Region.Environment.Interfaces
  9. {
  10. public interface ILandObject
  11. {
  12. LandData landData { get; set; }
  13. bool[,] landBitmap { get; set; }
  14. LLUUID regionUUID { get; }
  15. bool containsPoint(int x, int y);
  16. ILandObject Copy();
  17. void sendLandUpdateToAvatarsOverMe();
  18. void sendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client);
  19. void updateLandProperties(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client);
  20. bool isEitherBannedOrRestricted(LLUUID avatar);
  21. bool isBannedFromLand(LLUUID avatar);
  22. bool isRestrictedFromLand(LLUUID avatar);
  23. void sendLandUpdateToClient(IClientAPI remote_client);
  24. ParcelAccessListReplyPacket.ListBlock[] createAccessListArrayByFlag(ParcelManager.AccessList flag);
  25. void sendAccessList(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, IClientAPI remote_client);
  26. void updateAccessList(uint flags, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client);
  27. void updateLandBitmapByteArray();
  28. void setLandBitmapFromByteArray();
  29. bool[,] getLandBitmap();
  30. void forceUpdateLandInfo();
  31. void setLandBitmap(bool[,] bitmap);
  32. bool[,] basicFullRegionLandBitmap();
  33. bool[,] getSquareLandBitmap(int start_x, int start_y, int end_x, int end_y);
  34. bool[,] modifyLandBitmapSquare(bool[,] land_bitmap, int start_x, int start_y, int end_x, int end_y, bool set_value);
  35. bool[,] mergeLandBitmaps(bool[,] bitmap_base, bool[,] bitmap_add);
  36. void sendForceObjectSelect(int local_id, int request_type, IClientAPI remote_client);
  37. void sendLandObjectOwners(IClientAPI remote_client);
  38. void returnObject(SceneObjectGroup obj);
  39. void returnLandObjects(int type, LLUUID owner);
  40. void resetLandPrimCounts();
  41. void addPrimToCount(SceneObjectGroup obj);
  42. void removePrimFromCount(SceneObjectGroup obj);
  43. }
  44. }