diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 8a63bff..4ae533e 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -70,6 +70,8 @@ namespace OpenSim.Framework | |||
70 | 70 | ||
71 | public delegate void StopAnim(IClientAPI remoteClient, UUID animID); | 71 | public delegate void StopAnim(IClientAPI remoteClient, UUID animID); |
72 | 72 | ||
73 | public delegate void ChangeAnim(UUID animID, bool addOrRemove, bool sendPack); | ||
74 | |||
73 | public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children); | 75 | public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children); |
74 | 76 | ||
75 | public delegate void DelinkObjects(List<uint> primIds, IClientAPI client); | 77 | public delegate void DelinkObjects(List<uint> primIds, IClientAPI client); |
@@ -124,12 +126,14 @@ namespace OpenSim.Framework | |||
124 | public delegate void ObjectDrop(uint localID, IClientAPI remoteClient); | 126 | public delegate void ObjectDrop(uint localID, IClientAPI remoteClient); |
125 | 127 | ||
126 | public delegate void UpdatePrimFlags( | 128 | public delegate void UpdatePrimFlags( |
127 | uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, IClientAPI remoteClient); | 129 | uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, ExtraPhysicsData PhysData, IClientAPI remoteClient); |
128 | 130 | ||
129 | public delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient); | 131 | public delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient); |
130 | 132 | ||
131 | public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient); | 133 | public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient); |
132 | 134 | ||
135 | public delegate void ClientChangeObject(uint localID, object data ,IClientAPI remoteClient); | ||
136 | |||
133 | public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient); | 137 | public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient); |
134 | 138 | ||
135 | public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient); | 139 | public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient); |
@@ -266,6 +270,9 @@ namespace OpenSim.Framework | |||
266 | public delegate void MoveInventoryItem( | 270 | public delegate void MoveInventoryItem( |
267 | IClientAPI remoteClient, List<InventoryItemBase> items); | 271 | IClientAPI remoteClient, List<InventoryItemBase> items); |
268 | 272 | ||
273 | public delegate void MoveItemsAndLeaveCopy( | ||
274 | IClientAPI remoteClient, List<InventoryItemBase> items, UUID destFolder); | ||
275 | |||
269 | public delegate void RemoveInventoryItem( | 276 | public delegate void RemoveInventoryItem( |
270 | IClientAPI remoteClient, List<UUID> itemIDs); | 277 | IClientAPI remoteClient, List<UUID> itemIDs); |
271 | 278 | ||
@@ -441,6 +448,7 @@ namespace OpenSim.Framework | |||
441 | public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client); | 448 | public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client); |
442 | 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); | 449 | 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); |
443 | public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client); | 450 | public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client); |
451 | public delegate void ClassifiedGodDelete(UUID classifiedID, UUID queryID, IClientAPI client); | ||
444 | 452 | ||
445 | public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client); | 453 | public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client); |
446 | public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client); | 454 | public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client); |
@@ -463,9 +471,9 @@ namespace OpenSim.Framework | |||
463 | 471 | ||
464 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); | 472 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); |
465 | 473 | ||
466 | public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int Flags,UUID AgentID); | 474 | public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int type, uint flags); |
467 | 475 | ||
468 | public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name, UUID AgentID); | 476 | public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name); |
469 | 477 | ||
470 | public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); | 478 | public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); |
471 | 479 | ||
@@ -503,6 +511,7 @@ namespace OpenSim.Framework | |||
503 | public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID); | 511 | public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID); |
504 | 512 | ||
505 | public delegate void SendPostcard(IClientAPI client); | 513 | public delegate void SendPostcard(IClientAPI client); |
514 | public delegate void ChangeInventoryItemFlags(IClientAPI client, UUID itemID, uint flags); | ||
506 | 515 | ||
507 | #endregion | 516 | #endregion |
508 | 517 | ||
@@ -791,6 +800,7 @@ namespace OpenSim.Framework | |||
791 | event ObjectDrop OnObjectDrop; | 800 | event ObjectDrop OnObjectDrop; |
792 | event StartAnim OnStartAnim; | 801 | event StartAnim OnStartAnim; |
793 | event StopAnim OnStopAnim; | 802 | event StopAnim OnStopAnim; |
803 | event ChangeAnim OnChangeAnim; | ||
794 | event LinkObjects OnLinkObjects; | 804 | event LinkObjects OnLinkObjects; |
795 | event DelinkObjects OnDelinkObjects; | 805 | event DelinkObjects OnDelinkObjects; |
796 | event RequestMapBlocks OnRequestMapBlocks; | 806 | event RequestMapBlocks OnRequestMapBlocks; |
@@ -840,6 +850,7 @@ namespace OpenSim.Framework | |||
840 | event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; | 850 | event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; |
841 | event UpdatePrimFlags OnUpdatePrimFlags; | 851 | event UpdatePrimFlags OnUpdatePrimFlags; |
842 | event UpdatePrimTexture OnUpdatePrimTexture; | 852 | event UpdatePrimTexture OnUpdatePrimTexture; |
853 | event ClientChangeObject onClientChangeObject; | ||
843 | event UpdateVector OnUpdatePrimGroupPosition; | 854 | event UpdateVector OnUpdatePrimGroupPosition; |
844 | event UpdateVector OnUpdatePrimSinglePosition; | 855 | event UpdateVector OnUpdatePrimSinglePosition; |
845 | event UpdatePrimRotation OnUpdatePrimGroupRotation; | 856 | event UpdatePrimRotation OnUpdatePrimGroupRotation; |
@@ -864,6 +875,7 @@ namespace OpenSim.Framework | |||
864 | event RequestTaskInventory OnRequestTaskInventory; | 875 | event RequestTaskInventory OnRequestTaskInventory; |
865 | event UpdateInventoryItem OnUpdateInventoryItem; | 876 | event UpdateInventoryItem OnUpdateInventoryItem; |
866 | event CopyInventoryItem OnCopyInventoryItem; | 877 | event CopyInventoryItem OnCopyInventoryItem; |
878 | event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | ||
867 | event MoveInventoryItem OnMoveInventoryItem; | 879 | event MoveInventoryItem OnMoveInventoryItem; |
868 | event RemoveInventoryFolder OnRemoveInventoryFolder; | 880 | event RemoveInventoryFolder OnRemoveInventoryFolder; |
869 | event RemoveInventoryItem OnRemoveInventoryItem; | 881 | event RemoveInventoryItem OnRemoveInventoryItem; |
@@ -982,7 +994,7 @@ namespace OpenSim.Framework | |||
982 | event ClassifiedInfoRequest OnClassifiedInfoRequest; | 994 | event ClassifiedInfoRequest OnClassifiedInfoRequest; |
983 | event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 995 | event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
984 | event ClassifiedDelete OnClassifiedDelete; | 996 | event ClassifiedDelete OnClassifiedDelete; |
985 | event ClassifiedDelete OnClassifiedGodDelete; | 997 | event ClassifiedGodDelete OnClassifiedGodDelete; |
986 | 998 | ||
987 | event EventNotificationAddRequest OnEventNotificationAddRequest; | 999 | event EventNotificationAddRequest OnEventNotificationAddRequest; |
988 | event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 1000 | event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -1021,6 +1033,7 @@ namespace OpenSim.Framework | |||
1021 | event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 1033 | event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
1022 | event SimWideDeletesDelegate OnSimWideDeletes; | 1034 | event SimWideDeletesDelegate OnSimWideDeletes; |
1023 | event SendPostcard OnSendPostcard; | 1035 | event SendPostcard OnSendPostcard; |
1036 | event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
1024 | event MuteListEntryUpdate OnUpdateMuteListEntry; | 1037 | event MuteListEntryUpdate OnUpdateMuteListEntry; |
1025 | event MuteListEntryRemove OnRemoveMuteListEntry; | 1038 | event MuteListEntryRemove OnRemoveMuteListEntry; |
1026 | event GodlikeMessage onGodlikeMessage; | 1039 | event GodlikeMessage onGodlikeMessage; |
@@ -1046,7 +1059,7 @@ namespace OpenSim.Framework | |||
1046 | /// If true, attempts the close without checking active status. You do not want to try this except as a last | 1059 | /// If true, attempts the close without checking active status. You do not want to try this except as a last |
1047 | /// ditch attempt where Active == false but the ScenePresence still exists. | 1060 | /// ditch attempt where Active == false but the ScenePresence still exists. |
1048 | /// </param> | 1061 | /// </param> |
1049 | void Close(bool force); | 1062 | void Close(bool sendStop, bool force); |
1050 | 1063 | ||
1051 | void Kick(string message); | 1064 | void Kick(string message); |
1052 | 1065 | ||
@@ -1158,6 +1171,7 @@ namespace OpenSim.Framework | |||
1158 | /// </summary> | 1171 | /// </summary> |
1159 | /// <param name="Item"></param> | 1172 | /// <param name="Item"></param> |
1160 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); | 1173 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); |
1174 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId); | ||
1161 | 1175 | ||
1162 | void SendRemoveInventoryItem(UUID itemID); | 1176 | void SendRemoveInventoryItem(UUID itemID); |
1163 | 1177 | ||
@@ -1177,7 +1191,7 @@ namespace OpenSim.Framework | |||
1177 | /// <param name="node"></param> | 1191 | /// <param name="node"></param> |
1178 | void SendBulkUpdateInventory(InventoryNodeBase node); | 1192 | void SendBulkUpdateInventory(InventoryNodeBase node); |
1179 | 1193 | ||
1180 | void SendXferPacket(ulong xferID, uint packet, byte[] data); | 1194 | void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory); |
1181 | 1195 | ||
1182 | void SendAbortXferPacket(ulong xferID); | 1196 | void SendAbortXferPacket(ulong xferID); |
1183 | 1197 | ||
@@ -1329,6 +1343,8 @@ namespace OpenSim.Framework | |||
1329 | 1343 | ||
1330 | void SendObjectPropertiesReply(ISceneEntity Entity); | 1344 | void SendObjectPropertiesReply(ISceneEntity Entity); |
1331 | 1345 | ||
1346 | void SendPartPhysicsProprieties(ISceneEntity Entity); | ||
1347 | |||
1332 | void SendAgentOffline(UUID[] agentIDs); | 1348 | void SendAgentOffline(UUID[] agentIDs); |
1333 | 1349 | ||
1334 | void SendAgentOnline(UUID[] agentIDs); | 1350 | void SendAgentOnline(UUID[] agentIDs); |