ILandChannel.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 ILandChannel
  11. {
  12. bool allowedForcefulBans { get; set; }
  13. void IncomingLandObjectsFromStorage(List<LandData> data);
  14. void IncomingLandObjectFromStorage(LandData data);
  15. void NoLandDataFromStorage();
  16. ILandObject getLandObject(int x, int y);
  17. ILandObject getLandObject(float x, float y);
  18. void setPrimsTainted();
  19. bool isLandPrimCountTainted();
  20. void sendLandUpdate(ScenePresence avatar, bool force);
  21. void sendLandUpdate(ScenePresence avatar);
  22. void resetAllLandPrimCounts();
  23. void addPrimToLandPrimCounts(SceneObjectGroup obj);
  24. void removePrimFromLandPrimCounts(SceneObjectGroup obj);
  25. void finalizeLandPrimCountUpdate();
  26. void updateLandPrimCounts();
  27. void performParcelPrimCountUpdate();
  28. void updateLandObject(int local_id, LandData newData);
  29. void sendParcelOverlay(IClientAPI remote_client);
  30. void handleParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client);
  31. void handleParcelPropertiesUpdateRequest(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client);
  32. void handleParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client);
  33. void handleParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client);
  34. void handleParcelSelectObjectsRequest(int local_id, int request_type, IClientAPI remote_client);
  35. void handleParcelObjectOwnersRequest(int local_id, IClientAPI remote_client);
  36. void resetSimLandObjects();
  37. List<ILandObject> parcelsNearPoint(LLVector3 position);
  38. void sendYouAreBannedNotice(ScenePresence avatar);
  39. void handleAvatarChangingParcel(ScenePresence avatar, int localLandID, LLUUID regionID);
  40. void sendOutNearestBanLine(IClientAPI avatar);
  41. void handleSignificantClientMovement(IClientAPI remote_client);
  42. void handleAnyClientMovement(ScenePresence avatar);
  43. void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
  44. void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client);
  45. }
  46. }