aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IClientAPI.cs41
1 files changed, 28 insertions, 13 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index f6b7689..ad3471a 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -64,12 +64,14 @@ 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); 67 public delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems);
68 68
69 public delegate void StartAnim(IClientAPI remoteClient, UUID animID); 69 public delegate void StartAnim(IClientAPI remoteClient, UUID animID);
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);
@@ -130,6 +132,8 @@ namespace OpenSim.Framework
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
@@ -313,7 +320,7 @@ namespace OpenSim.Framework
313 public delegate void ObjectPermissions( 320 public delegate void ObjectPermissions(
314 IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set); 321 IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set);
315 322
316 public delegate void EconomyDataRequest(UUID agentID); 323 public delegate void EconomyDataRequest(IClientAPI client);
317 324
318 public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID); 325 public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID);
319 326
@@ -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;
@@ -855,6 +865,7 @@ namespace OpenSim.Framework
855 event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; 865 event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
856 event UpdatePrimFlags OnUpdatePrimFlags; 866 event UpdatePrimFlags OnUpdatePrimFlags;
857 event UpdatePrimTexture OnUpdatePrimTexture; 867 event UpdatePrimTexture OnUpdatePrimTexture;
868 event ClientChangeObject onClientChangeObject;
858 event UpdateVector OnUpdatePrimGroupPosition; 869 event UpdateVector OnUpdatePrimGroupPosition;
859 event UpdateVector OnUpdatePrimSinglePosition; 870 event UpdateVector OnUpdatePrimSinglePosition;
860 event UpdatePrimRotation OnUpdatePrimGroupRotation; 871 event UpdatePrimRotation OnUpdatePrimGroupRotation;
@@ -879,6 +890,7 @@ namespace OpenSim.Framework
879 event RequestTaskInventory OnRequestTaskInventory; 890 event RequestTaskInventory OnRequestTaskInventory;
880 event UpdateInventoryItem OnUpdateInventoryItem; 891 event UpdateInventoryItem OnUpdateInventoryItem;
881 event CopyInventoryItem OnCopyInventoryItem; 892 event CopyInventoryItem OnCopyInventoryItem;
893 event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy;
882 event MoveInventoryItem OnMoveInventoryItem; 894 event MoveInventoryItem OnMoveInventoryItem;
883 event RemoveInventoryFolder OnRemoveInventoryFolder; 895 event RemoveInventoryFolder OnRemoveInventoryFolder;
884 event RemoveInventoryItem OnRemoveInventoryItem; 896 event RemoveInventoryItem OnRemoveInventoryItem;
@@ -997,7 +1009,7 @@ namespace OpenSim.Framework
997 event ClassifiedInfoRequest OnClassifiedInfoRequest; 1009 event ClassifiedInfoRequest OnClassifiedInfoRequest;
998 event ClassifiedInfoUpdate OnClassifiedInfoUpdate; 1010 event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
999 event ClassifiedDelete OnClassifiedDelete; 1011 event ClassifiedDelete OnClassifiedDelete;
1000 event ClassifiedDelete OnClassifiedGodDelete; 1012 event ClassifiedGodDelete OnClassifiedGodDelete;
1001 1013
1002 event EventNotificationAddRequest OnEventNotificationAddRequest; 1014 event EventNotificationAddRequest OnEventNotificationAddRequest;
1003 event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; 1015 event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
@@ -1036,11 +1048,12 @@ namespace OpenSim.Framework
1036 event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; 1048 event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
1037 event SimWideDeletesDelegate OnSimWideDeletes; 1049 event SimWideDeletesDelegate OnSimWideDeletes;
1038 event SendPostcard OnSendPostcard; 1050 event SendPostcard OnSendPostcard;
1051 event ChangeInventoryItemFlags OnChangeInventoryItemFlags;
1039 event MuteListEntryUpdate OnUpdateMuteListEntry; 1052 event MuteListEntryUpdate OnUpdateMuteListEntry;
1040 event MuteListEntryRemove OnRemoveMuteListEntry; 1053 event MuteListEntryRemove OnRemoveMuteListEntry;
1041 event GodlikeMessage onGodlikeMessage; 1054 event GodlikeMessage onGodlikeMessage;
1042 event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; 1055 event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
1043 1056 event GenericCall2 OnUpdateThrottles;
1044 /// <summary> 1057 /// <summary>
1045 /// Set the debug level at which packet output should be printed to console. 1058 /// Set the debug level at which packet output should be printed to console.
1046 /// </summary> 1059 /// </summary>
@@ -1061,7 +1074,7 @@ namespace OpenSim.Framework
1061 /// If true, attempts the close without checking active status. You do not want to try this except as a last 1074 /// If true, attempts the close without checking active status. You do not want to try this except as a last
1062 /// ditch attempt where Active == false but the ScenePresence still exists. 1075 /// ditch attempt where Active == false but the ScenePresence still exists.
1063 /// </param> 1076 /// </param>
1064 void Close(bool force); 1077 void Close(bool sendStop, bool force);
1065 1078
1066 void Kick(string message); 1079 void Kick(string message);
1067 1080
@@ -1116,8 +1129,8 @@ namespace OpenSim.Framework
1116 1129
1117 void SendInstantMessage(GridInstantMessage im); 1130 void SendInstantMessage(GridInstantMessage im);
1118 1131
1119 void SendGenericMessage(string method, List<string> message); 1132 void SendGenericMessage(string method, UUID invoice, List<string> message);
1120 void SendGenericMessage(string method, List<byte[]> message); 1133 void SendGenericMessage(string method, UUID invoice, List<byte[]> message);
1121 1134
1122 void SendLayerData(float[] map); 1135 void SendLayerData(float[] map);
1123 void SendLayerData(int px, int py, float[] map); 1136 void SendLayerData(int px, int py, float[] map);
@@ -1155,13 +1168,16 @@ namespace OpenSim.Framework
1155 void SendTeleportStart(uint flags); 1168 void SendTeleportStart(uint flags);
1156 void SendTeleportProgress(uint flags, string message); 1169 void SendTeleportProgress(uint flags, string message);
1157 1170
1158 void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance); 1171 void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance, int transactionType, UUID sourceID, bool sourceIsGroup, UUID destID, bool destIsGroup, int amount, string item);
1172
1159 void SendPayPrice(UUID objectID, int[] payPrice); 1173 void SendPayPrice(UUID objectID, int[] payPrice);
1160 1174
1161 void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations); 1175 void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations);
1162 1176
1163 void SetChildAgentThrottle(byte[] throttle); 1177 void SetChildAgentThrottle(byte[] throttle);
1164 1178
1179 void SetAgentThrottleSilent(int throttle, int setting);
1180
1165 void SendAvatarDataImmediate(ISceneEntity avatar); 1181 void SendAvatarDataImmediate(ISceneEntity avatar);
1166 1182
1167 /// <summary> 1183 /// <summary>
@@ -1185,6 +1201,7 @@ namespace OpenSim.Framework
1185 /// </summary> 1201 /// </summary>
1186 /// <param name="Item"></param> 1202 /// <param name="Item"></param>
1187 void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId); 1203 void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId);
1204 void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId);
1188 1205
1189 void SendRemoveInventoryItem(UUID itemID); 1206 void SendRemoveInventoryItem(UUID itemID);
1190 1207
@@ -1204,7 +1221,7 @@ namespace OpenSim.Framework
1204 /// <param name="node"></param> 1221 /// <param name="node"></param>
1205 void SendBulkUpdateInventory(InventoryNodeBase node); 1222 void SendBulkUpdateInventory(InventoryNodeBase node);
1206 1223
1207 void SendXferPacket(ulong xferID, uint packet, byte[] data); 1224 void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory);
1208 1225
1209 void SendAbortXferPacket(ulong xferID); 1226 void SendAbortXferPacket(ulong xferID);
1210 1227
@@ -1250,8 +1267,6 @@ namespace OpenSim.Framework
1250 void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, 1267 void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch,
1251 string[] buttonlabels); 1268 string[] buttonlabels);
1252 1269
1253 bool AddMoney(int debit);
1254
1255 /// <summary> 1270 /// <summary>
1256 /// Update the client as to where the sun is currently located. 1271 /// Update the client as to where the sun is currently located.
1257 /// </summary> 1272 /// </summary>