diff options
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 59ce2c4..34c240a 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -64,14 +64,15 @@ namespace OpenSim.Framework | |||
64 | 64 | ||
65 | public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes); | 65 | public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes); |
66 | 66 | ||
67 | public delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems); | ||
67 | public delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List<CachedTextureRequestArg> cachedTextureRequest); | 68 | public delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List<CachedTextureRequestArg> cachedTextureRequest); |
68 | 69 | ||
69 | public delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams); | ||
70 | |||
71 | public delegate void StartAnim(IClientAPI remoteClient, UUID animID); | 70 | public delegate void StartAnim(IClientAPI remoteClient, UUID animID); |
72 | 71 | ||
73 | public delegate void StopAnim(IClientAPI remoteClient, UUID animID); | 72 | public delegate void StopAnim(IClientAPI remoteClient, UUID animID); |
74 | 73 | ||
74 | public delegate void ChangeAnim(UUID animID, bool addOrRemove, bool sendPack); | ||
75 | |||
75 | public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children); | 76 | public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children); |
76 | 77 | ||
77 | public delegate void DelinkObjects(List<uint> primIds, IClientAPI client); | 78 | public delegate void DelinkObjects(List<uint> primIds, IClientAPI client); |
@@ -132,6 +133,8 @@ namespace OpenSim.Framework | |||
132 | 133 | ||
133 | public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient); | 134 | public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient); |
134 | 135 | ||
136 | public delegate void ClientChangeObject(uint localID, object data ,IClientAPI remoteClient); | ||
137 | |||
135 | public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient); | 138 | public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient); |
136 | 139 | ||
137 | public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient); | 140 | public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient); |
@@ -268,6 +271,9 @@ namespace OpenSim.Framework | |||
268 | public delegate void MoveInventoryItem( | 271 | public delegate void MoveInventoryItem( |
269 | IClientAPI remoteClient, List<InventoryItemBase> items); | 272 | IClientAPI remoteClient, List<InventoryItemBase> items); |
270 | 273 | ||
274 | public delegate void MoveItemsAndLeaveCopy( | ||
275 | IClientAPI remoteClient, List<InventoryItemBase> items, UUID destFolder); | ||
276 | |||
271 | public delegate void RemoveInventoryItem( | 277 | public delegate void RemoveInventoryItem( |
272 | IClientAPI remoteClient, List<UUID> itemIDs); | 278 | IClientAPI remoteClient, List<UUID> itemIDs); |
273 | 279 | ||
@@ -443,6 +449,7 @@ namespace OpenSim.Framework | |||
443 | public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client); | 449 | 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); | 450 | 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); | 451 | public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client); |
452 | public delegate void ClassifiedGodDelete(UUID classifiedID, UUID queryID, IClientAPI client); | ||
446 | 453 | ||
447 | public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client); | 454 | public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client); |
448 | public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client); | 455 | public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client); |
@@ -465,9 +472,9 @@ namespace OpenSim.Framework | |||
465 | 472 | ||
466 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); | 473 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); |
467 | 474 | ||
468 | public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int Flags,UUID AgentID); | 475 | public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int type, uint flags); |
469 | 476 | ||
470 | public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name, UUID AgentID); | 477 | public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name); |
471 | 478 | ||
472 | public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); | 479 | public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); |
473 | 480 | ||
@@ -505,6 +512,7 @@ namespace OpenSim.Framework | |||
505 | public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID); | 512 | public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID); |
506 | 513 | ||
507 | public delegate void SendPostcard(IClientAPI client); | 514 | public delegate void SendPostcard(IClientAPI client); |
515 | public delegate void ChangeInventoryItemFlags(IClientAPI client, UUID itemID, uint flags); | ||
508 | 516 | ||
509 | #endregion | 517 | #endregion |
510 | 518 | ||
@@ -794,6 +802,7 @@ namespace OpenSim.Framework | |||
794 | event ObjectDrop OnObjectDrop; | 802 | event ObjectDrop OnObjectDrop; |
795 | event StartAnim OnStartAnim; | 803 | event StartAnim OnStartAnim; |
796 | event StopAnim OnStopAnim; | 804 | event StopAnim OnStopAnim; |
805 | event ChangeAnim OnChangeAnim; | ||
797 | event LinkObjects OnLinkObjects; | 806 | event LinkObjects OnLinkObjects; |
798 | event DelinkObjects OnDelinkObjects; | 807 | event DelinkObjects OnDelinkObjects; |
799 | event RequestMapBlocks OnRequestMapBlocks; | 808 | event RequestMapBlocks OnRequestMapBlocks; |
@@ -858,6 +867,7 @@ namespace OpenSim.Framework | |||
858 | event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; | 867 | event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; |
859 | event UpdatePrimFlags OnUpdatePrimFlags; | 868 | event UpdatePrimFlags OnUpdatePrimFlags; |
860 | event UpdatePrimTexture OnUpdatePrimTexture; | 869 | event UpdatePrimTexture OnUpdatePrimTexture; |
870 | event ClientChangeObject onClientChangeObject; | ||
861 | event UpdateVector OnUpdatePrimGroupPosition; | 871 | event UpdateVector OnUpdatePrimGroupPosition; |
862 | event UpdateVector OnUpdatePrimSinglePosition; | 872 | event UpdateVector OnUpdatePrimSinglePosition; |
863 | event UpdatePrimRotation OnUpdatePrimGroupRotation; | 873 | event UpdatePrimRotation OnUpdatePrimGroupRotation; |
@@ -882,6 +892,7 @@ namespace OpenSim.Framework | |||
882 | event RequestTaskInventory OnRequestTaskInventory; | 892 | event RequestTaskInventory OnRequestTaskInventory; |
883 | event UpdateInventoryItem OnUpdateInventoryItem; | 893 | event UpdateInventoryItem OnUpdateInventoryItem; |
884 | event CopyInventoryItem OnCopyInventoryItem; | 894 | event CopyInventoryItem OnCopyInventoryItem; |
895 | event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | ||
885 | event MoveInventoryItem OnMoveInventoryItem; | 896 | event MoveInventoryItem OnMoveInventoryItem; |
886 | event RemoveInventoryFolder OnRemoveInventoryFolder; | 897 | event RemoveInventoryFolder OnRemoveInventoryFolder; |
887 | event RemoveInventoryItem OnRemoveInventoryItem; | 898 | event RemoveInventoryItem OnRemoveInventoryItem; |
@@ -1000,7 +1011,7 @@ namespace OpenSim.Framework | |||
1000 | event ClassifiedInfoRequest OnClassifiedInfoRequest; | 1011 | event ClassifiedInfoRequest OnClassifiedInfoRequest; |
1001 | event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 1012 | event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
1002 | event ClassifiedDelete OnClassifiedDelete; | 1013 | event ClassifiedDelete OnClassifiedDelete; |
1003 | event ClassifiedDelete OnClassifiedGodDelete; | 1014 | event ClassifiedGodDelete OnClassifiedGodDelete; |
1004 | 1015 | ||
1005 | event EventNotificationAddRequest OnEventNotificationAddRequest; | 1016 | event EventNotificationAddRequest OnEventNotificationAddRequest; |
1006 | event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 1017 | event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -1039,11 +1050,12 @@ namespace OpenSim.Framework | |||
1039 | event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 1050 | event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
1040 | event SimWideDeletesDelegate OnSimWideDeletes; | 1051 | event SimWideDeletesDelegate OnSimWideDeletes; |
1041 | event SendPostcard OnSendPostcard; | 1052 | event SendPostcard OnSendPostcard; |
1053 | event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
1042 | event MuteListEntryUpdate OnUpdateMuteListEntry; | 1054 | event MuteListEntryUpdate OnUpdateMuteListEntry; |
1043 | event MuteListEntryRemove OnRemoveMuteListEntry; | 1055 | event MuteListEntryRemove OnRemoveMuteListEntry; |
1044 | event GodlikeMessage onGodlikeMessage; | 1056 | event GodlikeMessage onGodlikeMessage; |
1045 | event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; | 1057 | event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; |
1046 | 1058 | event GenericCall2 OnUpdateThrottles; | |
1047 | /// <summary> | 1059 | /// <summary> |
1048 | /// Set the debug level at which packet output should be printed to console. | 1060 | /// Set the debug level at which packet output should be printed to console. |
1049 | /// </summary> | 1061 | /// </summary> |
@@ -1064,7 +1076,7 @@ namespace OpenSim.Framework | |||
1064 | /// If true, attempts the close without checking active status. You do not want to try this except as a last | 1076 | /// If true, attempts the close without checking active status. You do not want to try this except as a last |
1065 | /// ditch attempt where Active == false but the ScenePresence still exists. | 1077 | /// ditch attempt where Active == false but the ScenePresence still exists. |
1066 | /// </param> | 1078 | /// </param> |
1067 | void Close(bool force); | 1079 | void Close(bool sendStop, bool force); |
1068 | 1080 | ||
1069 | void Kick(string message); | 1081 | void Kick(string message); |
1070 | 1082 | ||
@@ -1166,6 +1178,8 @@ namespace OpenSim.Framework | |||
1166 | 1178 | ||
1167 | void SetChildAgentThrottle(byte[] throttle); | 1179 | void SetChildAgentThrottle(byte[] throttle); |
1168 | 1180 | ||
1181 | void SetAgentThrottleSilent(int throttle, int setting); | ||
1182 | |||
1169 | void SendAvatarDataImmediate(ISceneEntity avatar); | 1183 | void SendAvatarDataImmediate(ISceneEntity avatar); |
1170 | 1184 | ||
1171 | /// <summary> | 1185 | /// <summary> |
@@ -1189,6 +1203,7 @@ namespace OpenSim.Framework | |||
1189 | /// </summary> | 1203 | /// </summary> |
1190 | /// <param name="Item"></param> | 1204 | /// <param name="Item"></param> |
1191 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); | 1205 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); |
1206 | void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId); | ||
1192 | 1207 | ||
1193 | void SendRemoveInventoryItem(UUID itemID); | 1208 | void SendRemoveInventoryItem(UUID itemID); |
1194 | 1209 | ||
@@ -1208,7 +1223,7 @@ namespace OpenSim.Framework | |||
1208 | /// <param name="node"></param> | 1223 | /// <param name="node"></param> |
1209 | void SendBulkUpdateInventory(InventoryNodeBase node); | 1224 | void SendBulkUpdateInventory(InventoryNodeBase node); |
1210 | 1225 | ||
1211 | void SendXferPacket(ulong xferID, uint packet, byte[] data); | 1226 | void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory); |
1212 | 1227 | ||
1213 | void SendAbortXferPacket(ulong xferID); | 1228 | void SendAbortXferPacket(ulong xferID); |
1214 | 1229 | ||