aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r--OpenSim/Framework/IClientAPI.cs221
1 files changed, 126 insertions, 95 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index e36edb2..a9044d5 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -47,10 +47,12 @@ namespace OpenSim.Framework
47 47
48 public delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im); 48 public delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im);
49 49
50 public delegate void RezObject(IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart, 50 public delegate void RezObject(IClientAPI remoteClient, UUID itemID, UUID GroupID,
51 UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, 51 Vector3 RayEnd, Vector3 RayStart,
52 bool RezSelected, bool RemoveItem, UUID fromTaskID); 52 UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection,
53 bool RezSelected, bool RemoveItem, UUID fromTaskID);
53 54
55 public delegate void RezRestoreToWorld(IClientAPI remoteClient, UUID itemId);
54 public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt); 56 public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt);
55 57
56 public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist ); 58 public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist );
@@ -58,20 +60,21 @@ namespace OpenSim.Framework
58 public delegate void ObjectAttach( 60 public delegate void ObjectAttach(
59 IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent); 61 IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent);
60 62
61 public delegate void ModifyTerrain(UUID user, 63 public delegate void ModifyTerrain(UUID user,
62 float height, float seconds, byte size, byte action, float north, float west, float south, float east, 64 float height, float seconds, byte size, byte action, float north, float west, float south, float east,
63 UUID agentId); 65 UUID agentId);
64 66
65 public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes); 67 public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes);
66 68
67 public delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List<CachedTextureRequestArg> cachedTextureRequest);
68
69 public delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems); 69 public delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems);
70 public delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List<CachedTextureRequestArg> cachedTextureRequest);
70 71
71 public delegate void StartAnim(IClientAPI remoteClient, UUID animID); 72 public delegate void StartAnim(IClientAPI remoteClient, UUID animID);
72 73
73 public delegate void StopAnim(IClientAPI remoteClient, UUID animID); 74 public delegate void StopAnim(IClientAPI remoteClient, UUID animID);
74 75
76 public delegate void ChangeAnim(UUID animID, bool addOrRemove, bool sendPack);
77
75 public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children); 78 public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children);
76 79
77 public delegate void DelinkObjects(List<uint> primIds, IClientAPI client); 80 public delegate void DelinkObjects(List<uint> primIds, IClientAPI client);
@@ -104,7 +107,7 @@ namespace OpenSim.Framework
104 public delegate void GenericCall4(Packet packet, IClientAPI remoteClient); 107 public delegate void GenericCall4(Packet packet, IClientAPI remoteClient);
105 108
106 public delegate void DeRezObject( 109 public delegate void DeRezObject(
107 IClientAPI remoteClient, List<uint> localIDs, UUID groupID, DeRezAction action, UUID destinationID); 110 IClientAPI remoteClient, List<uint> localIDs, UUID groupID, DeRezAction action, UUID destinationID, bool AddToReturns = true);
108 111
109 public delegate void GenericCall5(IClientAPI remoteClient, bool status); 112 public delegate void GenericCall5(IClientAPI remoteClient, bool status);
110 113
@@ -114,7 +117,7 @@ namespace OpenSim.Framework
114 117
115 public delegate void ObjectExtraParams(UUID agentID, uint localID, ushort type, bool inUse, byte[] data); 118 public delegate void ObjectExtraParams(UUID agentID, uint localID, ushort type, bool inUse, byte[] data);
116 119
117 public delegate void ObjectSelect(uint localID, IClientAPI remoteClient); 120 public delegate void ObjectSelect(List<uint> localID, IClientAPI remoteClient);
118 121
119 public delegate void ObjectRequest(uint localID, IClientAPI remoteClient); 122 public delegate void ObjectRequest(uint localID, IClientAPI remoteClient);
120 123
@@ -132,6 +135,8 @@ namespace OpenSim.Framework
132 135
133 public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient); 136 public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient);
134 137
138 public delegate void ClientChangeObject(uint localID, object data ,IClientAPI remoteClient);
139
135 public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient); 140 public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient);
136 141
137 public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient); 142 public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient);
@@ -222,10 +227,10 @@ namespace OpenSim.Framework
222 byte RayEndIsIntersection); 227 byte RayEndIsIntersection);
223 228
224 public delegate void RequestGodlikePowers( 229 public delegate void RequestGodlikePowers(
225 UUID AgentID, UUID SessionID, UUID token, bool GodLike, IClientAPI remote_client); 230 UUID AgentID, UUID SessionID, UUID token, bool GodLike);
226 231
227 public delegate void GodKickUser( 232 public delegate void GodKickUser(
228 UUID GodAgentID, UUID GodSessionID, UUID AgentID, uint kickflags, byte[] reason); 233 UUID GodAgentID, UUID AgentID, uint kickflags, byte[] reason);
229 234
230 public delegate void CreateInventoryFolder( 235 public delegate void CreateInventoryFolder(
231 IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID); 236 IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID);
@@ -238,7 +243,7 @@ namespace OpenSim.Framework
238 243
239 public delegate void CreateNewInventoryItem( 244 public delegate void CreateNewInventoryItem(
240 IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, 245 IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name,
241 sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask, int creationDate); 246 sbyte invType, sbyte type, byte wearableType, uint everyoneMask, int creationDate);
242 247
243 public delegate void LinkInventoryItem( 248 public delegate void LinkInventoryItem(
244 IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, 249 IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name,
@@ -268,6 +273,9 @@ namespace OpenSim.Framework
268 public delegate void MoveInventoryItem( 273 public delegate void MoveInventoryItem(
269 IClientAPI remoteClient, List<InventoryItemBase> items); 274 IClientAPI remoteClient, List<InventoryItemBase> items);
270 275
276 public delegate void MoveItemsAndLeaveCopy(
277 IClientAPI remoteClient, List<InventoryItemBase> items, UUID destFolder);
278
271 public delegate void RemoveInventoryItem( 279 public delegate void RemoveInventoryItem(
272 IClientAPI remoteClient, List<UUID> itemIDs); 280 IClientAPI remoteClient, List<UUID> itemIDs);
273 281
@@ -443,6 +451,7 @@ namespace OpenSim.Framework
443 public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client); 451 public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client);
444 public delegate void ClassifiedInfoUpdate(UUID classifiedID, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, Vector3 globalPos, byte classifiedFlags, int price, IClientAPI client); 452 public delegate void ClassifiedInfoUpdate(UUID classifiedID, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, Vector3 globalPos, byte classifiedFlags, int price, IClientAPI client);
445 public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client); 453 public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client);
454 public delegate void ClassifiedGodDelete(UUID classifiedID, UUID queryID, IClientAPI client);
446 455
447 public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client); 456 public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client);
448 public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client); 457 public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client);
@@ -464,47 +473,48 @@ namespace OpenSim.Framework
464 public delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client); 473 public delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client);
465 474
466 public delegate void AgentFOV(IClientAPI client, float verticalAngle); 475 public delegate void AgentFOV(IClientAPI client, float verticalAngle);
467 476
468 public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int Flags,UUID AgentID); 477 public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int type, uint flags);
469 478
470 public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name, UUID AgentID); 479 public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name);
471 480
472 public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); 481 public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages);
473 482
474 public delegate void FindAgentUpdate(IClientAPI client, UUID hunter, UUID target); 483 public delegate void FindAgentUpdate(IClientAPI client, UUID hunter, UUID target);
475 484
476 public delegate void TrackAgentUpdate(IClientAPI client, UUID hunter, UUID target); 485 public delegate void TrackAgentUpdate(IClientAPI client, UUID hunter, UUID target);
477 486
478 public delegate void FreezeUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target); 487 public delegate void FreezeUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target);
479 488
480 public delegate void EjectUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target); 489 public delegate void EjectUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target);
481 490
482 public delegate void NewUserReport(IClientAPI client, string regionName,UUID abuserID, byte catagory, byte checkflags, string details, UUID objectID, Vector3 postion, byte reportType ,UUID screenshotID, string Summary, UUID reporter); 491 public delegate void NewUserReport(IClientAPI client, string regionName,UUID abuserID, byte catagory, byte checkflags, string details, UUID objectID, Vector3 postion, byte reportType ,UUID screenshotID, string Summary, UUID reporter);
483 492
484 public delegate void GodUpdateRegionInfoUpdate(IClientAPI client, float BillableFactor, ulong EstateID, ulong RegionFlags, byte[] SimName,int RedirectX, int RedirectY); 493 public delegate void GodUpdateRegionInfoUpdate(IClientAPI client, float BillableFactor, ulong EstateID, ulong RegionFlags, byte[] SimName,int RedirectX, int RedirectY);
485 494
486 public delegate void GodlikeMessage(IClientAPI client, UUID requester, byte[] Method, byte[] Parameter); 495 public delegate void GodlikeMessage(IClientAPI client, UUID requester, byte[] Method, byte[] Parameter);
487 496
488 public delegate void SaveStateHandler(IClientAPI client,UUID agentID); 497 public delegate void SaveStateHandler(IClientAPI client,UUID agentID);
489 498
490 public delegate void GroupAccountSummaryRequest(IClientAPI client,UUID agentID, UUID groupID); 499 public delegate void GroupAccountSummaryRequest(IClientAPI client,UUID agentID, UUID groupID);
491 500
492 public delegate void GroupAccountDetailsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID); 501 public delegate void GroupAccountDetailsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
493 502
494 public delegate void GroupAccountTransactionsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID); 503 public delegate void GroupAccountTransactionsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
495 504
496 public delegate void ParcelBuyPass(IClientAPI client, UUID agentID, int ParcelLocalID); 505 public delegate void ParcelBuyPass(IClientAPI client, UUID agentID, int ParcelLocalID);
497 506
498 public delegate void ParcelGodMark(IClientAPI client, UUID agentID, int ParcelLocalID); 507 public delegate void ParcelGodMark(IClientAPI client, UUID agentID, int ParcelLocalID);
499 508
500 public delegate void GroupActiveProposalsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID); 509 public delegate void GroupActiveProposalsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
501 510
502 public delegate void GroupVoteHistoryRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID); 511 public delegate void GroupVoteHistoryRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
503 512
504 513
505 public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID); 514 public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID);
506 515
507 public delegate void SendPostcard(IClientAPI client); 516 public delegate void SendPostcard(IClientAPI client);
517 public delegate void ChangeInventoryItemFlags(IClientAPI client, UUID itemID, uint flags);
508 518
509 #endregion 519 #endregion
510 520
@@ -575,10 +585,10 @@ namespace OpenSim.Framework
575 public float dwell; 585 public float dwell;
576 } 586 }
577 587
578 public class IEntityUpdate 588 public class EntityUpdate
579 { 589 {
580 private ISceneEntity m_entity; 590 private ISceneEntity m_entity;
581 private uint m_flags; 591 private PrimUpdateFlags m_flags;
582 private int m_updateTime; 592 private int m_updateTime;
583 593
584 public ISceneEntity Entity 594 public ISceneEntity Entity
@@ -586,7 +596,7 @@ namespace OpenSim.Framework
586 get { return m_entity; } 596 get { return m_entity; }
587 } 597 }
588 598
589 public uint Flags 599 public PrimUpdateFlags Flags
590 { 600 {
591 get { return m_flags; } 601 get { return m_flags; }
592 } 602 }
@@ -596,23 +606,30 @@ namespace OpenSim.Framework
596 get { return m_updateTime; } 606 get { return m_updateTime; }
597 } 607 }
598 608
599 public virtual void Update(IEntityUpdate update) 609 public virtual void Update(EntityUpdate oldupdate)
600 { 610 {
601 m_flags |= update.Flags; 611 // we are on the new one
612 PrimUpdateFlags updateFlags = oldupdate.Flags;
613 if(m_flags.HasFlag(PrimUpdateFlags.CancelKill))
614 m_flags = PrimUpdateFlags.FullUpdate;
615 else if(updateFlags.HasFlag(PrimUpdateFlags.Kill))
616 return;
617 else // kill case will just merge in
618 m_flags |= updateFlags;
602 619
603 // Use the older of the updates as the updateTime 620 // Use the older of the updates as the updateTime
604 if (Util.EnvironmentTickCountCompare(UpdateTime, update.UpdateTime) > 0) 621 if (Util.EnvironmentTickCountCompare(UpdateTime, oldupdate.UpdateTime) > 0)
605 m_updateTime = update.UpdateTime; 622 m_updateTime = oldupdate.UpdateTime;
606 } 623 }
607 624
608 public IEntityUpdate(ISceneEntity entity, uint flags) 625 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags)
609 { 626 {
610 m_entity = entity; 627 m_entity = entity;
611 m_flags = flags; 628 m_flags = flags;
612 m_updateTime = Util.EnvironmentTickCount(); 629 m_updateTime = Util.EnvironmentTickCount();
613 } 630 }
614 631
615 public IEntityUpdate(ISceneEntity entity, uint flags, Int32 updateTime) 632 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags, Int32 updateTime)
616 { 633 {
617 m_entity = entity; 634 m_entity = entity;
618 m_flags = flags; 635 m_flags = flags;
@@ -620,29 +637,6 @@ namespace OpenSim.Framework
620 } 637 }
621 } 638 }
622 639
623 public class EntityUpdate : IEntityUpdate
624 {
625 private float m_timeDilation;
626
627 public float TimeDilation
628 {
629 get { return m_timeDilation; }
630 }
631
632 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags, float timedilation)
633 : base(entity, (uint)flags)
634 {
635 // Flags = flags;
636 m_timeDilation = timedilation;
637 }
638
639 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags, float timedilation, Int32 updateTime)
640 : base(entity,(uint)flags,updateTime)
641 {
642 m_timeDilation = timedilation;
643 }
644 }
645
646 public class PlacesReplyData 640 public class PlacesReplyData
647 { 641 {
648 public UUID OwnerID; 642 public UUID OwnerID;
@@ -691,9 +685,13 @@ namespace OpenSim.Framework
691 ExtraData = 1 << 20, 685 ExtraData = 1 << 20,
692 Sound = 1 << 21, 686 Sound = 1 << 21,
693 Joint = 1 << 22, 687 Joint = 1 << 22,
694 FullUpdate = UInt32.MaxValue 688 FullUpdate = 0x0fffffff,
689 SendInTransit = 0x20000000,
690 CancelKill = 0x4fffffff, // 1 << 30
691 Kill = 0x80000000 // 1 << 31
695 } 692 }
696 693
694/* included in .net 4.0
697 public static class PrimUpdateFlagsExtensions 695 public static class PrimUpdateFlagsExtensions
698 { 696 {
699 public static bool HasFlag(this PrimUpdateFlags updateFlags, PrimUpdateFlags flag) 697 public static bool HasFlag(this PrimUpdateFlags updateFlags, PrimUpdateFlags flag)
@@ -701,7 +699,7 @@ namespace OpenSim.Framework
701 return (updateFlags & flag) == flag; 699 return (updateFlags & flag) == flag;
702 } 700 }
703 } 701 }
704 702*/
705 public interface IClientAPI 703 public interface IClientAPI
706 { 704 {
707 Vector3 StartPos { get; set; } 705 Vector3 StartPos { get; set; }
@@ -718,11 +716,15 @@ namespace OpenSim.Framework
718 716
719 UUID SecureSessionId { get; } 717 UUID SecureSessionId { get; }
720 718
721 UUID ActiveGroupId { get; } 719 UUID ActiveGroupId { get; set; }
720
721 string ActiveGroupName { get; set;}
722 722
723 string ActiveGroupName { get; } 723 ulong ActiveGroupPowers { get; set;}
724 724
725 ulong ActiveGroupPowers { get; } 725 Dictionary<UUID, ulong> GetGroupPowers();
726
727 void SetGroupPowers(Dictionary<UUID, ulong> powers);
726 728
727 ulong GetGroupPowers(UUID groupID); 729 ulong GetGroupPowers(UUID groupID);
728 730
@@ -734,6 +736,8 @@ namespace OpenSim.Framework
734 736
735 IScene Scene { get; } 737 IScene Scene { get; }
736 738
739 List<uint> SelectedObjects { get; }
740
737 // [Obsolete("LLClientView Specific - Replace with ???")] 741 // [Obsolete("LLClientView Specific - Replace with ???")]
738 int NextAnimationSequenceNumber { get; } 742 int NextAnimationSequenceNumber { get; }
739 743
@@ -747,6 +751,8 @@ namespace OpenSim.Framework
747 /// </summary> 751 /// </summary>
748 bool IsActive { get; set; } 752 bool IsActive { get; set; }
749 753
754 int PingTimeMS { get; }
755
750 /// <summary> 756 /// <summary>
751 /// Set if the client is closing due to a logout request 757 /// Set if the client is closing due to a logout request
752 /// </summary> 758 /// </summary>
@@ -758,7 +764,7 @@ namespace OpenSim.Framework
758 /// Only set for root agents. 764 /// Only set for root agents.
759 /// </remarks> 765 /// </remarks>
760 bool IsLoggingOut { get; set; } 766 bool IsLoggingOut { get; set; }
761 767
762 bool SendLogoutPacketWhenClosing { set; } 768 bool SendLogoutPacketWhenClosing { set; }
763 769
764 // [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")] 770 // [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")]
@@ -794,6 +800,7 @@ namespace OpenSim.Framework
794 event ObjectDrop OnObjectDrop; 800 event ObjectDrop OnObjectDrop;
795 event StartAnim OnStartAnim; 801 event StartAnim OnStartAnim;
796 event StopAnim OnStopAnim; 802 event StopAnim OnStopAnim;
803 event ChangeAnim OnChangeAnim;
797 event LinkObjects OnLinkObjects; 804 event LinkObjects OnLinkObjects;
798 event DelinkObjects OnDelinkObjects; 805 event DelinkObjects OnDelinkObjects;
799 event RequestMapBlocks OnRequestMapBlocks; 806 event RequestMapBlocks OnRequestMapBlocks;
@@ -805,6 +812,7 @@ namespace OpenSim.Framework
805 event TeleportLandmarkRequest OnTeleportLandmarkRequest; 812 event TeleportLandmarkRequest OnTeleportLandmarkRequest;
806 event TeleportCancel OnTeleportCancel; 813 event TeleportCancel OnTeleportCancel;
807 event DeRezObject OnDeRezObject; 814 event DeRezObject OnDeRezObject;
815 event RezRestoreToWorld OnRezRestoreToWorld;
808 event Action<IClientAPI> OnRegionHandShakeReply; 816 event Action<IClientAPI> OnRegionHandShakeReply;
809 event GenericCall1 OnRequestWearables; 817 event GenericCall1 OnRequestWearables;
810 event Action<IClientAPI, bool> OnCompleteMovementToRegion; 818 event Action<IClientAPI, bool> OnCompleteMovementToRegion;
@@ -860,6 +868,7 @@ namespace OpenSim.Framework
860 event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; 868 event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
861 event UpdatePrimFlags OnUpdatePrimFlags; 869 event UpdatePrimFlags OnUpdatePrimFlags;
862 event UpdatePrimTexture OnUpdatePrimTexture; 870 event UpdatePrimTexture OnUpdatePrimTexture;
871 event ClientChangeObject onClientChangeObject;
863 event UpdateVector OnUpdatePrimGroupPosition; 872 event UpdateVector OnUpdatePrimGroupPosition;
864 event UpdateVector OnUpdatePrimSinglePosition; 873 event UpdateVector OnUpdatePrimSinglePosition;
865 event UpdatePrimRotation OnUpdatePrimGroupRotation; 874 event UpdatePrimRotation OnUpdatePrimGroupRotation;
@@ -884,6 +893,7 @@ namespace OpenSim.Framework
884 event RequestTaskInventory OnRequestTaskInventory; 893 event RequestTaskInventory OnRequestTaskInventory;
885 event UpdateInventoryItem OnUpdateInventoryItem; 894 event UpdateInventoryItem OnUpdateInventoryItem;
886 event CopyInventoryItem OnCopyInventoryItem; 895 event CopyInventoryItem OnCopyInventoryItem;
896 event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy;
887 event MoveInventoryItem OnMoveInventoryItem; 897 event MoveInventoryItem OnMoveInventoryItem;
888 event RemoveInventoryFolder OnRemoveInventoryFolder; 898 event RemoveInventoryFolder OnRemoveInventoryFolder;
889 event RemoveInventoryItem OnRemoveInventoryItem; 899 event RemoveInventoryItem OnRemoveInventoryItem;
@@ -1002,7 +1012,7 @@ namespace OpenSim.Framework
1002 event ClassifiedInfoRequest OnClassifiedInfoRequest; 1012 event ClassifiedInfoRequest OnClassifiedInfoRequest;
1003 event ClassifiedInfoUpdate OnClassifiedInfoUpdate; 1013 event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
1004 event ClassifiedDelete OnClassifiedDelete; 1014 event ClassifiedDelete OnClassifiedDelete;
1005 event ClassifiedDelete OnClassifiedGodDelete; 1015 event ClassifiedGodDelete OnClassifiedGodDelete;
1006 1016
1007 event EventNotificationAddRequest OnEventNotificationAddRequest; 1017 event EventNotificationAddRequest OnEventNotificationAddRequest;
1008 event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; 1018 event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
@@ -1025,7 +1035,7 @@ namespace OpenSim.Framework
1025 event MuteListRequest OnMuteListRequest; 1035 event MuteListRequest OnMuteListRequest;
1026 1036
1027 event PlacesQuery OnPlacesQuery; 1037 event PlacesQuery OnPlacesQuery;
1028 1038
1029 event FindAgentUpdate OnFindAgent; 1039 event FindAgentUpdate OnFindAgent;
1030 event TrackAgentUpdate OnTrackAgent; 1040 event TrackAgentUpdate OnTrackAgent;
1031 event NewUserReport OnUserReport; 1041 event NewUserReport OnUserReport;
@@ -1041,11 +1051,12 @@ namespace OpenSim.Framework
1041 event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; 1051 event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
1042 event SimWideDeletesDelegate OnSimWideDeletes; 1052 event SimWideDeletesDelegate OnSimWideDeletes;
1043 event SendPostcard OnSendPostcard; 1053 event SendPostcard OnSendPostcard;
1054 event ChangeInventoryItemFlags OnChangeInventoryItemFlags;
1044 event MuteListEntryUpdate OnUpdateMuteListEntry; 1055 event MuteListEntryUpdate OnUpdateMuteListEntry;
1045 event MuteListEntryRemove OnRemoveMuteListEntry; 1056 event MuteListEntryRemove OnRemoveMuteListEntry;
1046 event GodlikeMessage onGodlikeMessage; 1057 event GodlikeMessage onGodlikeMessage;
1047 event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; 1058 event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
1048 1059 event GenericCall2 OnUpdateThrottles;
1049 /// <summary> 1060 /// <summary>
1050 /// Set the debug level at which packet output should be printed to console. 1061 /// Set the debug level at which packet output should be printed to console.
1051 /// </summary> 1062 /// </summary>
@@ -1066,15 +1077,15 @@ namespace OpenSim.Framework
1066 /// If true, attempts the close without checking active status. You do not want to try this except as a last 1077 /// If true, attempts the close without checking active status. You do not want to try this except as a last
1067 /// ditch attempt where Active == false but the ScenePresence still exists. 1078 /// ditch attempt where Active == false but the ScenePresence still exists.
1068 /// </param> 1079 /// </param>
1069 void Close(bool force); 1080 void Close(bool sendStop, bool force);
1070 1081
1071 void Kick(string message); 1082 void Kick(string message);
1072 1083
1073 /// <summary> 1084 /// <summary>
1074 /// Start processing for this client. 1085 /// Start processing for this client.
1075 /// </summary> 1086 /// </summary>
1076 void Start(); 1087 void Start();
1077 1088
1078 void Stop(); 1089 void Stop();
1079 1090
1080 // void ActivateGesture(UUID assetId, UUID gestureId); 1091 // void ActivateGesture(UUID assetId, UUID gestureId);
@@ -1102,6 +1113,8 @@ namespace OpenSim.Framework
1102 /// <param name="localID"></param> 1113 /// <param name="localID"></param>
1103 void SendKillObject(List<uint> localID); 1114 void SendKillObject(List<uint> localID);
1104 1115
1116// void SendPartFullUpdate(ISceneEntity ent, uint? parentID);
1117
1105 void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs); 1118 void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs);
1106 void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args); 1119 void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args);
1107 1120
@@ -1125,11 +1138,13 @@ namespace OpenSim.Framework
1125 void SendGenericMessage(string method, UUID invoice, List<string> message); 1138 void SendGenericMessage(string method, UUID invoice, List<string> message);
1126 void SendGenericMessage(string method, UUID invoice, List<byte[]> message); 1139 void SendGenericMessage(string method, UUID invoice, List<byte[]> message);
1127 1140
1141 bool CanSendLayerData();
1142
1128 void SendLayerData(float[] map); 1143 void SendLayerData(float[] map);
1129 void SendLayerData(int px, int py, float[] map); 1144 void SendLayerData(int px, int py, float[] map);
1130 1145
1131 void SendWindData(Vector2[] windSpeeds); 1146 void SendWindData(int version, Vector2[] windSpeeds);
1132 void SendCloudData(float[] cloudCover); 1147 void SendCloudData(int version, float[] cloudCover);
1133 1148
1134 /// <summary> 1149 /// <summary>
1135 /// Sent when an agent completes its movement into a region. 1150 /// Sent when an agent completes its movement into a region.
@@ -1141,7 +1156,7 @@ namespace OpenSim.Framework
1141 void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look); 1156 void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look);
1142 1157
1143 void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint); 1158 void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint);
1144 1159
1145 /// <summary> 1160 /// <summary>
1146 /// Return circuit information for this client. 1161 /// Return circuit information for this client.
1147 /// </summary> 1162 /// </summary>
@@ -1168,8 +1183,13 @@ namespace OpenSim.Framework
1168 void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations); 1183 void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations);
1169 1184
1170 void SetChildAgentThrottle(byte[] throttle); 1185 void SetChildAgentThrottle(byte[] throttle);
1186 void SetChildAgentThrottle(byte[] throttle,float factor);
1187
1188 void SetAgentThrottleSilent(int throttle, int setting);
1189 int GetAgentThrottleSilent(int throttle);
1171 1190
1172 void SendAvatarDataImmediate(ISceneEntity avatar); 1191 void SendEntityFullUpdateImmediate(ISceneEntity entity);
1192 void SendEntityTerseUpdateImmediate(ISceneEntity entity);
1173 1193
1174 /// <summary> 1194 /// <summary>
1175 /// Send a positional, velocity, etc. update to the viewer for a given entity. 1195 /// Send a positional, velocity, etc. update to the viewer for a given entity.
@@ -1192,6 +1212,7 @@ namespace OpenSim.Framework
1192 /// </summary> 1212 /// </summary>
1193 /// <param name="Item"></param> 1213 /// <param name="Item"></param>
1194 void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); 1214 void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId);
1215 void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId);
1195 1216
1196 void SendRemoveInventoryItem(UUID itemID); 1217 void SendRemoveInventoryItem(UUID itemID);
1197 1218
@@ -1204,14 +1225,14 @@ namespace OpenSim.Framework
1204 /// <summary> 1225 /// <summary>
1205 /// Used by the server to inform the client of new inventory items and folders. 1226 /// Used by the server to inform the client of new inventory items and folders.
1206 /// </summary> 1227 /// </summary>
1207 /// 1228 ///
1208 /// If the node is a folder then the contents will be transferred 1229 /// If the node is a folder then the contents will be transferred
1209 /// (including all descendent folders) as well as the folder itself. 1230 /// (including all descendent folders) as well as the folder itself.
1210 /// 1231 ///
1211 /// <param name="node"></param> 1232 /// <param name="node"></param>
1212 void SendBulkUpdateInventory(InventoryNodeBase node); 1233 void SendBulkUpdateInventory(InventoryNodeBase node);
1213 1234
1214 void SendXferPacket(ulong xferID, uint packet, byte[] data); 1235 void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory);
1215 1236
1216 void SendAbortXferPacket(ulong xferID); 1237 void SendAbortXferPacket(ulong xferID);
1217 1238
@@ -1237,9 +1258,11 @@ namespace OpenSim.Framework
1237 void SendAttachedSoundGainChange(UUID objectID, float gain); 1258 void SendAttachedSoundGainChange(UUID objectID, float gain);
1238 1259
1239 void SendNameReply(UUID profileId, string firstname, string lastname); 1260 void SendNameReply(UUID profileId, string firstname, string lastname);
1240 void SendAlertMessage(string message);
1241 1261
1262 void SendAlertMessage(string message);
1263 void SendAlertMessage(string message, string into);
1242 void SendAgentAlertMessage(string message, bool modal); 1264 void SendAgentAlertMessage(string message, bool modal);
1265
1243 void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url); 1266 void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url);
1244 1267
1245 /// <summary> 1268 /// <summary>
@@ -1268,11 +1291,11 @@ namespace OpenSim.Framework
1268 /// <param name="OrbitalPosition">The orbital position is given in radians, and must be "adjusted" for the linden client, see LLClientView</param> 1291 /// <param name="OrbitalPosition">The orbital position is given in radians, and must be "adjusted" for the linden client, see LLClientView</param>
1269 void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, 1292 void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear,
1270 float OrbitalPosition); 1293 float OrbitalPosition);
1271 1294
1272 void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks); 1295 void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks);
1273 void SendViewerTime(int phase); 1296 void SendViewerTime(int phase);
1274 1297
1275 void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember, string flAbout, 1298 void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] membershipType, string flAbout,
1276 uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID); 1299 uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID);
1277 1300
1278 void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question); 1301 void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question);
@@ -1336,7 +1359,7 @@ namespace OpenSim.Framework
1336 void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec); 1359 void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec);
1337 1360
1338 /// <summary> 1361 /// <summary>
1339 /// Send the next packet for a series of packets making up a single texture, 1362 /// Send the next packet for a series of packets making up a single texture,
1340 /// as established by SendImageFirstPart() 1363 /// as established by SendImageFirstPart()
1341 /// </summary> 1364 /// </summary>
1342 /// <param name="partNumber"></param> 1365 /// <param name="partNumber"></param>
@@ -1361,12 +1384,16 @@ namespace OpenSim.Framework
1361 1384
1362 void SendObjectPropertiesReply(ISceneEntity Entity); 1385 void SendObjectPropertiesReply(ISceneEntity Entity);
1363 1386
1387 void SendSelectedPartsProprieties(List<ISceneEntity> parts);
1388
1364 void SendPartPhysicsProprieties(ISceneEntity Entity); 1389 void SendPartPhysicsProprieties(ISceneEntity Entity);
1365 1390
1366 void SendAgentOffline(UUID[] agentIDs); 1391 void SendAgentOffline(UUID[] agentIDs);
1367 1392
1368 void SendAgentOnline(UUID[] agentIDs); 1393 void SendAgentOnline(UUID[] agentIDs);
1369 1394
1395 void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY);
1396
1370 void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, 1397 void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot,
1371 Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook); 1398 Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook);
1372 1399
@@ -1432,6 +1459,7 @@ namespace OpenSim.Framework
1432 void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags); 1459 void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags);
1433 1460
1434 void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data); 1461 void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data);
1462 void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data);
1435 void SendOfferCallingCard(UUID srcID, UUID transactionID); 1463 void SendOfferCallingCard(UUID srcID, UUID transactionID);
1436 void SendAcceptCallingCard(UUID transactionID); 1464 void SendAcceptCallingCard(UUID transactionID);
1437 void SendDeclineCallingCard(UUID transactionID); 1465 void SendDeclineCallingCard(UUID transactionID);
@@ -1443,6 +1471,9 @@ namespace OpenSim.Framework
1443 1471
1444 void SendAgentDropGroup(UUID groupID); 1472 void SendAgentDropGroup(UUID groupID);
1445 void RefreshGroupMembership(); 1473 void RefreshGroupMembership();
1474 void UpdateGroupMembership(GroupMembershipData[] data);
1475 void GroupMembershipRemove(UUID GroupID);
1476 void GroupMembershipAddReplace(UUID GroupID,ulong GroupPowers);
1446 void SendAvatarNotesReply(UUID targetID, string text); 1477 void SendAvatarNotesReply(UUID targetID, string text);
1447 void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks); 1478 void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks);
1448 void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled); 1479 void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled);
@@ -1452,9 +1483,9 @@ namespace OpenSim.Framework
1452 void SendParcelDwellReply(int localID, UUID parcelID, float dwell); 1483 void SendParcelDwellReply(int localID, UUID parcelID, float dwell);
1453 1484
1454 void SendUserInfoReply(bool imViaEmail, bool visible, string email); 1485 void SendUserInfoReply(bool imViaEmail, bool visible, string email);
1455
1456 void SendUseCachedMuteList();
1457 1486
1487 void SendUseCachedMuteList();
1488 void SendEmpytMuteList();
1458 void SendMuteListUpdate(string filename); 1489 void SendMuteListUpdate(string filename);
1459 1490
1460 void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals); 1491 void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals);
@@ -1466,13 +1497,13 @@ namespace OpenSim.Framework
1466 void SendRebakeAvatarTextures(UUID textureID); 1497 void SendRebakeAvatarTextures(UUID textureID);
1467 1498
1468 void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages); 1499 void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages);
1469 1500
1470 void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt); 1501 void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt);
1471 1502
1472 void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier); 1503 void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier);
1473 1504
1474 void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt); 1505 void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt);
1475 1506
1476 void SendChangeUserRights(UUID agentID, UUID friendID, int rights); 1507 void SendChangeUserRights(UUID agentID, UUID friendID, int rights);
1477 void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId); 1508 void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId);
1478 1509