diff options
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 2d4fef1..dce2fd7 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Tests.Common.Mock | |||
71 | public event MoneyTransferRequest OnMoneyTransferRequest; | 71 | public event MoneyTransferRequest OnMoneyTransferRequest; |
72 | public event ParcelBuy OnParcelBuy; | 72 | public event ParcelBuy OnParcelBuy; |
73 | public event Action<IClientAPI> OnConnectionClosed; | 73 | public event Action<IClientAPI> OnConnectionClosed; |
74 | 74 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
75 | public event ImprovedInstantMessage OnInstantMessage; | 75 | public event ImprovedInstantMessage OnInstantMessage; |
76 | public event ChatMessage OnChatFromClient; | 76 | public event ChatMessage OnChatFromClient; |
77 | public event TextureRequest OnRequestTexture; | 77 | public event TextureRequest OnRequestTexture; |
@@ -88,6 +88,7 @@ namespace OpenSim.Tests.Common.Mock | |||
88 | public event ObjectDrop OnObjectDrop; | 88 | public event ObjectDrop OnObjectDrop; |
89 | public event StartAnim OnStartAnim; | 89 | public event StartAnim OnStartAnim; |
90 | public event StopAnim OnStopAnim; | 90 | public event StopAnim OnStopAnim; |
91 | public event ChangeAnim OnChangeAnim; | ||
91 | public event LinkObjects OnLinkObjects; | 92 | public event LinkObjects OnLinkObjects; |
92 | public event DelinkObjects OnDelinkObjects; | 93 | public event DelinkObjects OnDelinkObjects; |
93 | public event RequestMapBlocks OnRequestMapBlocks; | 94 | public event RequestMapBlocks OnRequestMapBlocks; |
@@ -135,6 +136,7 @@ namespace OpenSim.Tests.Common.Mock | |||
135 | public event GenericCall7 OnObjectMaterial; | 136 | public event GenericCall7 OnObjectMaterial; |
136 | public event UpdatePrimFlags OnUpdatePrimFlags; | 137 | public event UpdatePrimFlags OnUpdatePrimFlags; |
137 | public event UpdatePrimTexture OnUpdatePrimTexture; | 138 | public event UpdatePrimTexture OnUpdatePrimTexture; |
139 | public event ClientChangeObject onClientChangeObject; | ||
138 | public event UpdateVector OnUpdatePrimGroupPosition; | 140 | public event UpdateVector OnUpdatePrimGroupPosition; |
139 | public event UpdateVector OnUpdatePrimSinglePosition; | 141 | public event UpdateVector OnUpdatePrimSinglePosition; |
140 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 142 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
@@ -276,7 +278,7 @@ namespace OpenSim.Tests.Common.Mock | |||
276 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 278 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
277 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 279 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
278 | public event ClassifiedDelete OnClassifiedDelete; | 280 | public event ClassifiedDelete OnClassifiedDelete; |
279 | public event ClassifiedDelete OnClassifiedGodDelete; | 281 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
280 | 282 | ||
281 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 283 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
282 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 284 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -315,11 +317,12 @@ namespace OpenSim.Tests.Common.Mock | |||
315 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 317 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
316 | public event SimWideDeletesDelegate OnSimWideDeletes; | 318 | public event SimWideDeletesDelegate OnSimWideDeletes; |
317 | public event SendPostcard OnSendPostcard; | 319 | public event SendPostcard OnSendPostcard; |
320 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
318 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 321 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
319 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 322 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
320 | public event GodlikeMessage onGodlikeMessage; | 323 | public event GodlikeMessage onGodlikeMessage; |
321 | public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; | 324 | public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; |
322 | 325 | public event GenericCall2 OnUpdateThrottles; | |
323 | #pragma warning restore 67 | 326 | #pragma warning restore 67 |
324 | 327 | ||
325 | /// <value> | 328 | /// <value> |
@@ -520,6 +523,12 @@ namespace OpenSim.Tests.Common.Mock | |||
520 | public virtual void SetChildAgentThrottle(byte[] throttle) | 523 | public virtual void SetChildAgentThrottle(byte[] throttle) |
521 | { | 524 | { |
522 | } | 525 | } |
526 | |||
527 | public void SetAgentThrottleSilent(int throttle, int setting) | ||
528 | { | ||
529 | |||
530 | |||
531 | } | ||
523 | public byte[] GetThrottlesPacked(float multiplier) | 532 | public byte[] GetThrottlesPacked(float multiplier) |
524 | { | 533 | { |
525 | return new byte[0]; | 534 | return new byte[0]; |
@@ -541,12 +550,12 @@ namespace OpenSim.Tests.Common.Mock | |||
541 | 550 | ||
542 | } | 551 | } |
543 | 552 | ||
544 | public void SendGenericMessage(string method, List<string> message) | 553 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
545 | { | 554 | { |
546 | 555 | ||
547 | } | 556 | } |
548 | 557 | ||
549 | public void SendGenericMessage(string method, List<byte[]> message) | 558 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
550 | { | 559 | { |
551 | 560 | ||
552 | } | 561 | } |
@@ -643,7 +652,7 @@ namespace OpenSim.Tests.Common.Mock | |||
643 | { | 652 | { |
644 | } | 653 | } |
645 | 654 | ||
646 | public virtual void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance) | 655 | public virtual void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance, int transactionType, UUID sourceID, bool sourceIsGroup, UUID destID, bool destIsGroup, int amount, string item) |
647 | { | 656 | { |
648 | } | 657 | } |
649 | 658 | ||
@@ -692,6 +701,10 @@ namespace OpenSim.Tests.Common.Mock | |||
692 | { | 701 | { |
693 | } | 702 | } |
694 | 703 | ||
704 | public void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId) | ||
705 | { | ||
706 | } | ||
707 | |||
695 | public virtual void SendRemoveInventoryItem(UUID itemID) | 708 | public virtual void SendRemoveInventoryItem(UUID itemID) |
696 | { | 709 | { |
697 | } | 710 | } |
@@ -708,7 +721,7 @@ namespace OpenSim.Tests.Common.Mock | |||
708 | { | 721 | { |
709 | } | 722 | } |
710 | 723 | ||
711 | public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data) | 724 | public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory) |
712 | { | 725 | { |
713 | } | 726 | } |
714 | 727 | ||
@@ -867,11 +880,6 @@ namespace OpenSim.Tests.Common.Mock | |||
867 | 880 | ||
868 | } | 881 | } |
869 | 882 | ||
870 | public bool AddMoney(int debit) | ||
871 | { | ||
872 | return false; | ||
873 | } | ||
874 | |||
875 | public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong time, uint dlen, uint ylen, float phase) | 883 | public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong time, uint dlen, uint ylen, float phase) |
876 | { | 884 | { |
877 | } | 885 | } |
@@ -913,10 +921,10 @@ namespace OpenSim.Tests.Common.Mock | |||
913 | 921 | ||
914 | public void Close() | 922 | public void Close() |
915 | { | 923 | { |
916 | Close(false); | 924 | Close(true, false); |
917 | } | 925 | } |
918 | 926 | ||
919 | public void Close(bool force) | 927 | public void Close(bool sendStop, bool force) |
920 | { | 928 | { |
921 | // Fire the callback for this connection closing | 929 | // Fire the callback for this connection closing |
922 | // This is necesary to get the presence detector to notice that a client has logged out. | 930 | // This is necesary to get the presence detector to notice that a client has logged out. |
@@ -1263,6 +1271,5 @@ namespace OpenSim.Tests.Common.Mock | |||
1263 | public void SendPartPhysicsProprieties(ISceneEntity entity) | 1271 | public void SendPartPhysicsProprieties(ISceneEntity entity) |
1264 | { | 1272 | { |
1265 | } | 1273 | } |
1266 | |||
1267 | } | 1274 | } |
1268 | } | 1275 | } |