OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
TestClient.cs
Go to the documentation of this file.
1 /*
2  * Copyright (c) Contributors, http://opensimulator.org/
3  * See CONTRIBUTORS.TXT for a full list of copyright holders.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  * * Redistributions of source code must retain the above copyright
8  * notice, this list of conditions and the following disclaimer.
9  * * Redistributions in binary form must reproduce the above copyright
10  * notice, this list of conditions and the following disclaimer in the
11  * documentation and/or other materials provided with the distribution.
12  * * Neither the name of the OpenSimulator Project nor the
13  * names of its contributors may be used to endorse or promote products
14  * derived from this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19  * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */
27 
28 using System;
29 using System.Collections.Generic;
30 using System.Net;
31 using System.Reflection;
32 using System.Threading;
33 using log4net;
34 using OpenMetaverse;
35 using OpenMetaverse.Packets;
36 using OpenSim.Framework;
37 using OpenSim.Region.Framework.Interfaces;
38 using OpenSim.Region.Framework.Scenes;
39 using OpenSim.Framework.Client;
40 
41 namespace OpenSim.Tests.Common
42 {
44  {
45  private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 
47  EventWaitHandle wh = new EventWaitHandle (false, EventResetMode.AutoReset, "Crossing");
48 
49  private Scene m_scene;
50 
51  // Properties so that we can get at received data for test purposes
52  public List<uint> ReceivedKills { get; private set; }
53  public List<UUID> ReceivedOfflineNotifications { get; private set; }
54  public List<UUID> ReceivedOnlineNotifications { get; private set; }
55  public List<UUID> ReceivedFriendshipTerminations { get; private set; }
56 
57  public List<ImageDataPacket> SentImageDataPackets { get; private set; }
58  public List<ImagePacketPacket> SentImagePacketPackets { get; private set; }
59  public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; }
60 
61  // Test client specific events - for use by tests to implement some IClientAPI behaviour.
62  public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion;
63  public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour;
64  public event TestClientOnSendRegionTeleportDelegate OnTestClientSendRegionTeleport;
65 
66  public event Action<ISceneEntity, PrimUpdateFlags> OnReceivedEntityUpdate;
67 
68  public event OnReceivedChatMessageDelegate OnReceivedChatMessage;
69  public event Action<GridInstantMessage> OnReceivedInstantMessage;
70 
71  public event Action<UUID> OnReceivedSendRebakeAvatarTextures;
72 
73  public delegate void TestClientOnSendRegionTeleportDelegate(
74  ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint,
75  uint locationID, uint flags, string capsURL);
76 
77  public delegate void OnReceivedChatMessageDelegate(
78  string message, byte type, Vector3 fromPos, string fromName,
79  UUID fromAgentID, UUID ownerID, byte source, byte audible);
80 
81 
82 // disable warning: public events, part of the public API
83 #pragma warning disable 67
84 
85  public event Action<IClientAPI> OnLogout;
87 
89  public event ParcelBuy OnParcelBuy;
90  public event Action<IClientAPI> OnConnectionClosed;
95  public event RezObject OnRezObject;
97  public event BakeTerrain OnBakeTerrain;
105  public event ObjectDrop OnObjectDrop;
106  public event StartAnim OnStartAnim;
107  public event StopAnim OnStopAnim;
108  public event ChangeAnim OnChangeAnim;
119 
122  public event Action<IClientAPI> OnRegionHandShakeReply;
124  public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
129  public event AgentSit OnAgentSit;
131  public event Action<IClientAPI> OnRequestAvatarsData;
132  public event AddNewPrim OnAddPrim;
136  public event GrabObject OnGrabObject;
138  public event MoveObject OnGrabUpdate;
139  public event SpinStart OnSpinStart;
140  public event SpinObject OnSpinUpdate;
141  public event SpinStop OnSpinStop;
143 
146 
169  public event Action<UUID> OnRemoveAvatar;
170 
191  public event AbortXfer OnAbortXfer;
192  public event RezScript OnRezScript;
200 
220 
222 
227 
231 
234 
238  public event ObjectBuy OnObjectBuy;
240  public event AgentSit OnUndo;
241  public event AgentSit OnRedo;
242  public event LandUndo OnLandUndo;
243 
245 
248 
267  public event Action<Vector3, bool, bool> OnAutoPilotGo;
268 
270 
273 
277 
285 
287 
291 
293 
294  public event StartLure OnStartLure;
297 
302 
306 
308 
311 
313 
314  public event PickDelete OnPickDelete;
318 
320 
322 
324 
346 #pragma warning restore 67
347 
351  private UUID m_agentId;
352 
353  public ISceneAgent SceneAgent { get; set; }
354 
358  public string CapsSeedUrl;
359 
360  private Vector3 startPos = new Vector3(((int)Constants.RegionSize * 0.5f), ((int)Constants.RegionSize * 0.5f), 2);
361 
362  public virtual Vector3 StartPos
363  {
364  get { return startPos; }
365  set { }
366  }
367 
368  public virtual UUID AgentId
369  {
370  get { return m_agentId; }
371  }
372 
373  public UUID SessionId { get; set; }
374 
375  public UUID SecureSessionId { get; set; }
376 
377  public virtual string FirstName
378  {
379  get { return m_firstName; }
380  }
381  private string m_firstName;
382 
383  public virtual string LastName
384  {
385  get { return m_lastName; }
386  }
387  private string m_lastName;
388 
389  public virtual String Name
390  {
391  get { return FirstName + " " + LastName; }
392  }
393 
394  public int PingTimeMS { get { return 0; } }
395 
396  public bool IsActive
397  {
398  get { return true; }
399  set { }
400  }
401 
402  public bool IsLoggingOut { get; set; }
403 
404  public UUID ActiveGroupId
405  {
406  get { return UUID.Zero; }
407  }
408 
409  public string ActiveGroupName
410  {
411  get { return String.Empty; }
412  }
413 
414  public ulong ActiveGroupPowers
415  {
416  get { return 0; }
417  }
418 
419  public bool IsGroupMember(UUID groupID)
420  {
421  return false;
422  }
423 
424  public ulong GetGroupPowers(UUID groupID)
425  {
426  return 0;
427  }
428 
429  public virtual int NextAnimationSequenceNumber
430  {
431  get { return 1; }
432  }
433 
434  public IScene Scene
435  {
436  get { return m_scene; }
437  }
438 
439  public bool SendLogoutPacketWhenClosing
440  {
441  set { }
442  }
443 
444  private uint m_circuitCode;
445 
446  public uint CircuitCode
447  {
448  get { return m_circuitCode; }
449  set { m_circuitCode = value; }
450  }
451 
452  public IPEndPoint RemoteEndPoint
453  {
454  get { return new IPEndPoint(IPAddress.Loopback, (ushort)m_circuitCode); }
455  }
456 
457  public List<uint> SelectedObjects {get; private set;}
458 
465  public TestClient(AgentCircuitData agentData, Scene scene)
466  {
467  m_agentId = agentData.AgentID;
468  m_firstName = agentData.firstname;
469  m_lastName = agentData.lastname;
470  m_circuitCode = agentData.circuitcode;
471  m_scene = scene;
472  SessionId = agentData.SessionID;
473  SecureSessionId = agentData.SecureSessionID;
474  CapsSeedUrl = agentData.CapsPath;
475 
476  ReceivedKills = new List<uint>();
477  ReceivedOfflineNotifications = new List<UUID>();
478  ReceivedOnlineNotifications = new List<UUID>();
479  ReceivedFriendshipTerminations = new List<UUID>();
480 
481  SentImageDataPackets = new List<ImageDataPacket>();
482  SentImagePacketPackets = new List<ImagePacketPacket>();
483  SentImageNotInDatabasePackets = new List<ImageNotInDatabasePacket>();
484  }
485 
492  public bool Chat(int channel, ChatTypeEnum type, string message)
493  {
494  ChatMessage handlerChatFromClient = OnChatFromClient;
495 
496  if (handlerChatFromClient != null)
497  {
498  OSChatMessage args = new OSChatMessage();
499  args.Channel = channel;
500  args.From = Name;
501  args.Message = message;
502  args.Type = type;
503 
504  args.Scene = Scene;
505  args.Sender = this;
506  args.SenderUUID = AgentId;
507 
508  handlerChatFromClient(this, args);
509  }
510 
511  return true;
512  }
513 
520  public void Teleport(ulong regionHandle, Vector3 position, Vector3 lookAt)
521  {
522  OnTeleportLocationRequest(this, regionHandle, position, lookAt, 16);
523  }
524 
525  public void CompleteMovement()
526  {
527  if (OnCompleteMovementToRegion != null)
528  OnCompleteMovementToRegion(this, true);
529  }
530 
536  {
537  ImprovedInstantMessage handlerInstantMessage = OnInstantMessage;
538 
539  if (handlerInstantMessage != null)
540  handlerInstantMessage(this, im);
541  }
542 
543  public virtual void ActivateGesture(UUID assetId, UUID gestureId)
544  {
545  }
546 
547  public virtual void SendWearables(AvatarWearable[] wearables, int serial)
548  {
549  }
550 
551  public virtual void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
552  {
553  }
554 
555  public void SendCachedTextureResponse(ISceneEntity avatar, int serial, List<CachedTextureResponseArg> cachedTextures)
556  {
557 
558  }
559 
560  public virtual void Kick(string message)
561  {
562  }
563 
564  public virtual void SendStartPingCheck(byte seq)
565  {
566  }
567 
568  public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data)
569  {
570  }
571 
572  public virtual void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
573  {
574  }
575 
576  public virtual void SendKillObject(List<uint> localID)
577  {
578  ReceivedKills.AddRange(localID);
579  }
580 
581  public void SendPartFullUpdate(ISceneEntity ent, uint? parentID)
582  {
583  }
584 
585  public virtual void SetChildAgentThrottle(byte[] throttle)
586  {
587  }
588 
589  public virtual void SetChildAgentThrottle(byte[] throttle, float factor)
590  {
591  }
592 
593  public void SetAgentThrottleSilent(int throttle, int setting)
594  {
595  }
596 
597  public int GetAgentThrottleSilent(int throttle)
598  {
599  return 0;
600  }
601 
602  public byte[] GetThrottlesPacked(float multiplier)
603  {
604  return new byte[0];
605  }
606 
607  public virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
608  {
609  }
610 
611  public virtual void SendChatMessage(
612  string message, byte type, Vector3 fromPos, string fromName,
613  UUID fromAgentID, UUID ownerID, byte source, byte audible)
614  {
615 // Console.WriteLine("mmm {0} {1} {2}", message, Name, AgentId);
616  if (OnReceivedChatMessage != null)
617  OnReceivedChatMessage(message, type, fromPos, fromName, fromAgentID, ownerID, source, audible);
618  }
619 
621  {
622  if (OnReceivedInstantMessage != null)
623  OnReceivedInstantMessage(im);
624  }
625 
626  public void SendGenericMessage(string method, UUID invoice, List<string> message)
627  {
628 
629  }
630 
631  public void SendGenericMessage(string method, UUID invoice, List<byte[]> message)
632  {
633 
634  }
635 
636  public virtual bool CanSendLayerData()
637  {
638  return false;
639  }
640 
641  public virtual void SendLayerData(float[] map)
642  {
643  }
644 
645  public virtual void SendLayerData(int px, int py, float[] map)
646  {
647  }
648  public virtual void SendLayerData(int px, int py, float[] map, bool track)
649  {
650  }
651 
652  public virtual void SendWindData(Vector2[] windSpeeds) { }
653 
654  public virtual void SendCloudData(float[] cloudCover) { }
655 
656  public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
657  {
658  if (OnReceivedMoveAgentIntoRegion != null)
659  OnReceivedMoveAgentIntoRegion(regInfo, pos, look);
660  }
661 
663  {
664  AgentCircuitData agentData = new AgentCircuitData();
665  agentData.AgentID = AgentId;
666  agentData.SessionID = SessionId;
667  agentData.SecureSessionID = UUID.Zero;
668  agentData.circuitcode = m_circuitCode;
669  agentData.child = false;
670  agentData.firstname = m_firstName;
671  agentData.lastname = m_lastName;
672 
673  ICapabilitiesModule capsModule = m_scene.RequestModuleInterface<ICapabilitiesModule>();
674  if (capsModule != null)
675  {
676  agentData.CapsPath = capsModule.GetCapsPath(m_agentId);
677  agentData.ChildrenCapSeeds = new Dictionary<ulong, string>(capsModule.GetChildrenSeeds(m_agentId));
678  }
679 
680  return agentData;
681  }
682 
683  public virtual void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
684  {
685  if (OnTestClientInformClientOfNeighbour != null)
686  OnTestClientInformClientOfNeighbour(neighbourHandle, neighbourExternalEndPoint);
687  }
688 
689  public virtual void SendRegionTeleport(
690  ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint,
691  uint locationID, uint flags, string capsURL)
692  {
693  m_log.DebugFormat(
694  "[TEST CLIENT]: Received SendRegionTeleport for {0} {1} on {2}", m_firstName, m_lastName, m_scene.Name);
695 
696  CapsSeedUrl = capsURL;
697 
698  if (OnTestClientSendRegionTeleport != null)
699  OnTestClientSendRegionTeleport(
700  regionHandle, simAccess, regionExternalEndPoint, locationID, flags, capsURL);
701  }
702 
703  public virtual void SendTeleportFailed(string reason)
704  {
705  m_log.DebugFormat(
706  "[TEST CLIENT]: Teleport failed for {0} {1} on {2} with reason {3}",
707  m_firstName, m_lastName, m_scene.Name, reason);
708  }
709 
710  public virtual void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt,
711  IPEndPoint newRegionExternalEndPoint, string capsURL)
712  {
713  // This is supposed to send a packet to the client telling it's ready to start region crossing.
714  // Instead I will just signal I'm ready, mimicking the communication behavior.
715  // It's ugly, but avoids needless communication setup. This is used in ScenePresenceTests.cs.
716  // Arthur V.
717 
718  wh.Set();
719  }
720 
721  public virtual void SendMapBlock(List<MapBlockData> mapBlocks, uint flag)
722  {
723  }
724 
725  public virtual void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
726  {
727  }
728 
729  public virtual void SendTeleportStart(uint flags)
730  {
731  }
732 
733  public void SendTeleportProgress(uint flags, string message)
734  {
735  }
736 
737  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)
738  {
739  }
740 
741  public virtual void SendPayPrice(UUID objectID, int[] payPrice)
742  {
743  }
744 
745  public virtual void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations)
746  {
747  }
748 
749  public virtual void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
750  {
751  }
752 
754  {
755  }
756 
757  public void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
758  {
759  if (OnReceivedEntityUpdate != null)
760  OnReceivedEntityUpdate(entity, updateFlags);
761  }
762 
763  public void ReprioritizeUpdates()
764  {
765  }
766 
767  public void FlushPrimUpdates()
768  {
769  }
770 
771  public virtual void SendInventoryFolderDetails(UUID ownerID, UUID folderID,
772  List<InventoryItemBase> items,
773  List<InventoryFolderBase> folders,
774  int version,
775  bool fetchFolders,
776  bool fetchItems)
777  {
778  }
779 
780  public virtual void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item)
781  {
782  }
783 
784  public virtual void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackID)
785  {
786  }
787 
788  public void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId)
789  {
790  }
791 
792  public virtual void SendRemoveInventoryItem(UUID itemID)
793  {
794  }
795 
796  public virtual void SendBulkUpdateInventory(InventoryNodeBase node)
797  {
798  }
799 
800  public void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
801  {
802  }
803 
804  public virtual void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
805  {
806  }
807 
808  public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory)
809  {
810  }
811 
812  public virtual void SendAbortXferPacket(ulong xferID)
813  {
814 
815  }
816 
817  public virtual void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit,
818  int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor,
819  int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay,
820  int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent)
821  {
822  }
823 
824  public virtual void SendNameReply(UUID profileId, string firstname, string lastname)
825  {
826  }
827 
828  public virtual void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
829  {
830  }
831 
832  public virtual void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain,
833  byte flags)
834  {
835  }
836 
837  public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
838  {
839  }
840 
841  public void SendAttachedSoundGainChange(UUID objectID, float gain)
842  {
843 
844  }
845 
846  public void SendAlertMessage(string message)
847  {
848  }
849 
850  public void SendAgentAlertMessage(string message, bool modal)
851  {
852  }
853 
854  public void SendSystemAlertMessage(string message)
855  {
856  }
857 
858  public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message,
859  string url)
860  {
861  }
862 
863  public virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args)
864  {
865  if (OnRegionHandShakeReply != null)
866  {
867  OnRegionHandShakeReply(this);
868  }
869  }
870 
871  public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
872  {
873  }
874 
875  public void SendConfirmXfer(ulong xferID, uint PacketID)
876  {
877  }
878 
879  public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
880  {
881  }
882 
883  public void SendInitiateDownload(string simFileName, string clientFileName)
884  {
885  }
886 
887  public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
888  {
889  ImageDataPacket im = new ImageDataPacket();
890  im.Header.Reliable = false;
891  im.ImageID.Packets = numParts;
892  im.ImageID.ID = ImageUUID;
893 
894  if (ImageSize > 0)
895  im.ImageID.Size = ImageSize;
896 
897  im.ImageData.Data = ImageData;
898  im.ImageID.Codec = imageCodec;
899  im.Header.Zerocoded = true;
900  SentImageDataPackets.Add(im);
901  }
902 
903  public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData)
904  {
905  ImagePacketPacket im = new ImagePacketPacket();
906  im.Header.Reliable = false;
907  im.ImageID.Packet = partNumber;
908  im.ImageID.ID = imageUuid;
909  im.ImageData.Data = imageData;
910  SentImagePacketPackets.Add(im);
911  }
912 
913  public void SendImageNotFound(UUID imageid)
914  {
915  ImageNotInDatabasePacket p = new ImageNotInDatabasePacket();
916  p.ImageID.ID = imageid;
917 
918  SentImageNotInDatabasePackets.Add(p);
919  }
920 
922  {
923  }
924 
925  public void SendSimStats(SimStats stats)
926  {
927  }
928 
929  public void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags)
930  {
931  }
932 
934  {
935  }
936 
937  public void SendAgentOffline(UUID[] agentIDs)
938  {
939  ReceivedOfflineNotifications.AddRange(agentIDs);
940  }
941 
942  public void SendAgentOnline(UUID[] agentIDs)
943  {
944  ReceivedOnlineNotifications.AddRange(agentIDs);
945  }
946 
947  public void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY)
948  {
949  }
950 
951  public void SendSitResponse(UUID TargetID, Vector3 OffsetPos,
952  Quaternion SitOrientation, bool autopilot,
953  Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
954  {
955  }
956 
957  public void SendAdminResponse(UUID Token, uint AdminLevel)
958  {
959 
960  }
961 
962  public void SendGroupMembership(GroupMembershipData[] GroupMembership)
963  {
964 
965  }
966 
967  public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong time, uint dlen, uint ylen, float phase)
968  {
969  }
970 
971  public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
972  {
973  }
974 
975  public void SendViewerTime(int phase)
976  {
977  }
978 
979  public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember,
980  string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL,
981  UUID partnerID)
982  {
983  }
984 
985  public int DebugPacketLevel { get; set; }
986 
987  public void InPacket(object NewPack)
988  {
989  }
990 
991  public void ProcessInPacket(Packet NewPack)
992  {
993  }
994 
998  public void Logout()
999  {
1000  // We must set this here so that the presence is removed from the PresenceService by the PresenceDetector
1001  IsLoggingOut = true;
1002 
1003  Close();
1004  }
1005 
1006  public void Close()
1007  {
1008  Close(true, false);
1009  }
1010 
1011  public void Close(bool sendStop, bool force)
1012  {
1013  // Fire the callback for this connection closing
1014  // This is necesary to get the presence detector to notice that a client has logged out.
1015  if (OnConnectionClosed != null)
1016  OnConnectionClosed(this);
1017 
1018  m_scene.RemoveClient(AgentId, true);
1019  }
1020 
1021  public void Start()
1022  {
1023  throw new NotImplementedException();
1024  }
1025 
1026  public void Stop()
1027  {
1028  }
1029 
1030  public void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message)
1031  {
1032 
1033  }
1034  public void SendLogoutPacket()
1035  {
1036  }
1037 
1038  public void Terminate()
1039  {
1040  }
1041 
1043  {
1044  return null;
1045  }
1046 
1047  public void SetClientInfo(ClientInfo info)
1048  {
1049  }
1050 
1051  public void SendScriptQuestion(UUID objectID, string taskName, string ownerName, UUID itemID, int question)
1052  {
1053  }
1054  public void SendHealth(float health)
1055  {
1056  }
1057 
1058  public void SendTelehubInfo(UUID ObjectID, string ObjectName, Vector3 ObjectPos, Quaternion ObjectRot, List<Vector3> SpawnPoint)
1059  {
1060  }
1061 
1062  public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
1063  {
1064  }
1065 
1066  public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
1067  {
1068  }
1069 
1071  {
1072  }
1073 
1074  public void SendEstateCovenantInformation(UUID covenant)
1075  {
1076  }
1077 
1078  public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner)
1079  {
1080  }
1081 
1082  public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
1083  {
1084  }
1085 
1086  public void SendLandAccessListData(List<LandAccessEntry> accessList, uint accessFlag, int localLandID)
1087  {
1088  }
1089 
1090  public void SendForceClientSelectObjects(List<uint> objectIDs)
1091  {
1092  }
1093 
1094  public void SendCameraConstraint(Vector4 ConstraintPlane)
1095  {
1096  }
1097 
1098  public void SendLandObjectOwners(LandData land, List<UUID> groups, Dictionary<UUID, int> ownersAndCount)
1099  {
1100  }
1101 
1102  public void SendLandParcelOverlay(byte[] data, int sequence_id)
1103  {
1104  }
1105 
1106  public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
1107  {
1108  }
1109 
1110  public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType,
1111  string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop)
1112  {
1113  }
1114 
1115  public void SendGroupNameReply(UUID groupLLUID, string GroupName)
1116  {
1117  }
1118 
1119  public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
1120  {
1121  }
1122 
1123  public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
1124  {
1125  }
1126 
1128  {
1129  }
1130 
1131  public void SendTexture(AssetBase TextureAsset)
1132  {
1133 
1134  }
1135 
1136  public void SendSetFollowCamProperties (UUID objectID, SortedDictionary<int, float> parameters)
1137  {
1138  }
1139 
1140  public void SendClearFollowCamProperties (UUID objectID)
1141  {
1142  }
1143 
1144  public void SendRegionHandle (UUID regoinID, ulong handle)
1145  {
1146  }
1147 
1148  public void SendParcelInfo (RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
1149  {
1150  }
1151 
1152  public void SetClientOption(string option, string value)
1153  {
1154  }
1155 
1156  public string GetClientOption(string option)
1157  {
1158  return string.Empty;
1159  }
1160 
1161  public void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt)
1162  {
1163  }
1164 
1165  public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
1166  {
1167  }
1168 
1169  public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
1170  {
1171  }
1172 
1173  public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
1174  {
1175  }
1176 
1177  public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
1178  {
1179  }
1180 
1181  public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
1182  {
1183  }
1184 
1185  public void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
1186  {
1187  }
1188 
1189  public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
1190  {
1191  }
1192 
1193  public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
1194  {
1195  }
1196 
1197  public void SendEventInfoReply (EventData info)
1198  {
1199  }
1200 
1201  public void SendOfferCallingCard (UUID destID, UUID transactionID)
1202  {
1203  }
1204 
1205  public void SendAcceptCallingCard (UUID transactionID)
1206  {
1207  }
1208 
1209  public void SendDeclineCallingCard (UUID transactionID)
1210  {
1211  }
1212 
1213  public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
1214  {
1215  }
1216 
1217  public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
1218  {
1219  }
1220 
1221  public void SendJoinGroupReply(UUID groupID, bool success)
1222  {
1223  }
1224 
1225  public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool succss)
1226  {
1227  }
1228 
1229  public void SendLeaveGroupReply(UUID groupID, bool success)
1230  {
1231  }
1232 
1233  public void SendTerminateFriend(UUID exFriendID)
1234  {
1235  ReceivedFriendshipTerminations.Add(exFriendID);
1236  }
1237 
1238  public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
1239  {
1240  //throw new NotImplementedException();
1241  return false;
1242  }
1243 
1244  public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
1245  {
1246  }
1247 
1248  public void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price)
1249  {
1250  }
1251 
1252  public void SendAgentDropGroup(UUID groupID)
1253  {
1254  }
1255 
1256  public void SendAvatarNotesReply(UUID targetID, string text)
1257  {
1258  }
1259 
1260  public void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks)
1261  {
1262  }
1263 
1264  public void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds)
1265  {
1266  }
1267 
1268  public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
1269  {
1270  }
1271 
1272  public void SendUserInfoReply(bool imViaEmail, bool visible, string email)
1273  {
1274  }
1275 
1276  public void SendCreateGroupReply(UUID groupID, bool success, string message)
1277  {
1278  }
1279 
1281  {
1282  }
1283 
1285  {
1286  }
1287 
1288  public void SendMuteListUpdate(string filename)
1289  {
1290  }
1291 
1292  public 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)
1293  {
1294  }
1295 
1296  public bool TryGet<T>(out T iface)
1297  {
1298  iface = default(T);
1299  return false;
1300  }
1301 
1302  public T Get<T>()
1303  {
1304  return default(T);
1305  }
1306 
1307  public void Disconnect(string reason)
1308  {
1309  }
1310 
1311  public void Disconnect()
1312  {
1313  }
1314 
1315  public void SendRebakeAvatarTextures(UUID textureID)
1316  {
1317  if (OnReceivedSendRebakeAvatarTextures != null)
1318  OnReceivedSendRebakeAvatarTextures(textureID);
1319  }
1320 
1321  public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
1322  {
1323  }
1324 
1325  public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt)
1326  {
1327  }
1328 
1329  public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier)
1330  {
1331  }
1332 
1333  public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt)
1334  {
1335  }
1336 
1337  public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
1338  {
1339  }
1340 
1341  public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1342  {
1343  }
1344 
1345  public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
1346  {
1347  }
1348 
1349  public void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
1350  {
1351  }
1352 
1353  public void SendAgentTerseUpdate(ISceneEntity presence)
1354  {
1355  }
1356 
1357  public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
1358  {
1359  }
1360 
1362  {
1363  }
1364  }
1365 }
ParcelDwellRequest OnParcelDwellRequest
Definition: TestClient.cs:307
ClassifiedGodDelete OnClassifiedGodDelete
Definition: TestClient.cs:301
void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner)
Definition: TestClient.cs:1078
delegate void ObjectPermissions(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set)
delegate void RezScript(IClientAPI remoteClient, InventoryItemBase item, UUID transactionID, uint localID)
void SetClientInfo(ClientInfo info)
Definition: TestClient.cs:1047
void SendGroupTransactionsSummaryDetails(IClientAPI sender, UUID groupID, UUID transactionID, UUID sessionID, int amt)
Definition: TestClient.cs:1333
delegate void ParcelBuyPass(IClientAPI client, UUID agentID, int ParcelLocalID)
GrantUserFriendRights OnGrantUserRights
Definition: TestClient.cs:226
virtual void SendLayerData(int px, int py, float[] map, bool track)
Definition: TestClient.cs:648
void SendSetFollowCamProperties(UUID objectID, SortedDictionary< int, float > parameters)
Definition: TestClient.cs:1136
delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im)
UpdateInventoryItem OnUpdateInventoryItem
Definition: TestClient.cs:182
delegate void ObjectDrop(uint localID, IClientAPI remoteClient)
UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest
Definition: TestClient.cs:258
GroupAccountDetailsRequest OnGroupAccountDetailsRequest
Definition: TestClient.cs:330
void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember, string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID)
Definition: TestClient.cs:979
delegate void TeleportCancel(IClientAPI remoteClient)
void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags)
Definition: TestClient.cs:929
SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture
Definition: TestClient.cs:252
delegate void DirClassifiedQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, uint category, int queryStart)
SetScriptRunning OnSetScriptRunning
Definition: TestClient.cs:266
delegate void EventInfoRequest(IClientAPI remoteClient, uint eventID)
void SendLandParcelOverlay(byte[] data, int sequence_id)
Definition: TestClient.cs:1102
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)
ObjectDuplicate OnObjectDuplicate
Definition: TestClient.cs:135
delegate void UpdatePrimSingleRotationPosition(uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient)
delegate void EjectUserUpdate(IClientAPI client, UUID parcelowner, uint flags, UUID target)
void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
Definition: TestClient.cs:871
delegate void AbortXfer(IClientAPI remoteClient, ulong xferID)
virtual void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
Definition: TestClient.cs:804
delegate void UpdatePrimGroupRotation(uint localID, Vector3 pos, Quaternion rot, IClientAPI remoteClient)
delegate void PurgeInventoryDescendents(IClientAPI remoteClient, UUID folderID)
delegate void RequestAsset(IClientAPI remoteClient, RequestAssetArgs transferRequest)
delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List< KeyValuePair< UUID, uint >> rezlist)
virtual void SendKillObject(List< uint > localID)
Tell the client that an object has been deleted
Definition: TestClient.cs:576
delegate void RemoveInventoryItem(IClientAPI remoteClient, List< UUID > itemIDs)
ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest
Definition: TestClient.cs:210
UpdateInventoryFolder OnUpdateInventoryFolder
Definition: TestClient.cs:174
delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient)
virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
Sent when an agent completes its movement into a region.
Definition: TestClient.cs:656
ParcelSelectObjects OnParcelSelectObjects
Definition: TestClient.cs:211
void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
Definition: TestClient.cs:1217
TestClient(AgentCircuitData agentData, Scene scene)
Constructor
Definition: TestClient.cs:465
delegate void GroupAccountSummaryRequest(IClientAPI client, UUID agentID, UUID groupID)
void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
Definition: TestClient.cs:1213
delegate void PickInfoUpdate(IClientAPI client, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled)
virtual void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
Open a dialog box on the client.
Definition: TestClient.cs:749
RegionInfoRequest OnRegionInfoRequest
Definition: TestClient.cs:215
delegate void ScriptAnswer(IClientAPI remoteClient, UUID objectID, UUID itemID, int answer)
virtual void SendCloudData(float[] cloudCover)
Definition: TestClient.cs:654
delegate void ObjectSaleInfo(IClientAPI remoteClient, UUID agentID, UUID sessionID, uint localID, byte saleType, int salePrice)
void SendAgentOffline(UUID[] agentIDs)
Definition: TestClient.cs:937
ParcelPropertiesRequest OnParcelPropertiesRequest
Definition: TestClient.cs:201
void SendMuteListUpdate(string filename)
Definition: TestClient.cs:1288
void SendScriptQuestion(UUID objectID, string taskName, string ownerName, UUID itemID, int question)
Definition: TestClient.cs:1051
GodLandStatRequest OnLandStatRequest
Definition: TestClient.cs:246
delegate void UpdateTaskInventory(IClientAPI remoteClient, UUID transactionID, TaskInventoryItem item, uint localID)
delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient)
delegate void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag)
delegate void RezRestoreToWorld(IClientAPI remoteClient, UUID itemId)
void SendRebakeAvatarTextures(UUID textureID)
Definition: TestClient.cs:1315
delegate void GrabObject(uint localID, Vector3 pos, IClientAPI remoteClient, List< SurfaceTouchEventArgs > surfaceArgs)
delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List< CachedTextureRequestArg > cachedTextureRequest)
virtual void Kick(string message)
Definition: TestClient.cs:560
void SetClientOption(string option, string value)
Definition: TestClient.cs:1152
bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
Definition: TestClient.cs:1238
void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
Definition: TestClient.cs:1106
void SendAsset(AssetRequestToClient req)
Definition: TestClient.cs:1127
delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID)
void Start()
Start processing for this client.
Definition: TestClient.cs:1021
UpdateAvatarProperties OnUpdateAvatarProperties
Definition: TestClient.cs:230
RequestAvatarProperties OnRequestAvatarProperties
Definition: TestClient.cs:117
delegate void RequestPayPrice(IClientAPI remoteClient, UUID objectID)
UpdateVector OnUpdatePrimGroupPosition
Definition: TestClient.cs:159
ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest
Definition: TestClient.cs:204
RequestObjectPropertiesFamily OnObjectGroupRequest
Definition: TestClient.cs:247
void SendConfirmXfer(ulong xferID, uint PacketID)
Definition: TestClient.cs:875
RetrieveInstantMessages OnRetrieveInstantMessages
Definition: TestClient.cs:312
void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
Definition: TestClient.cs:1244
void SendImageNotFound(UUID imageid)
Tell the client that the requested texture cannot be found
Definition: TestClient.cs:913
void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
Definition: TestClient.cs:1341
delegate void MoveItemsAndLeaveCopy(IClientAPI remoteClient, List< InventoryItemBase > items, UUID destFolder)
delegate void SoundTrigger(UUID soundId, UUID ownerid, UUID objid, UUID parentid, double Gain, Vector3 Position, UInt64 Handle, float radius)
void SendAlertMessage(string message)
Definition: TestClient.cs:846
void SendAvatarDataImmediate(ISceneEntity avatar)
Definition: TestClient.cs:753
GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate
Definition: TestClient.cs:344
MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy
Definition: TestClient.cs:91
delegate void SetRegionTerrainSettings(float waterHeight, float terrainRaiseLimit, float terrainLowerLimit, bool estateSun, bool fixedSun, float sunHour, bool globalSun, bool estateFixed, float estateSunHour)
virtual void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
Send information about the given agent's appearance to another client.
Definition: TestClient.cs:551
Action< IClientAPI, bool > OnCompleteMovementToRegion
Definition: TestClient.cs:124
CreateNewInventoryItem OnCreateNewInventoryItem
Definition: TestClient.cs:171
GroupVoteHistoryRequest OnGroupVoteHistoryRequest
Definition: TestClient.cs:337
ChangeInventoryItemFlags OnChangeInventoryItemFlags
Definition: TestClient.cs:340
void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
Send land properties to the client.
Definition: TestClient.cs:1082
void SendCreateGroupReply(UUID groupID, bool success, string message)
Definition: TestClient.cs:1276
RequestMapBlocks OnRequestMapBlocks
Definition: TestClient.cs:111
void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
Definition: TestClient.cs:1185
UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation
Definition: TestClient.cs:164
RequestPayPrice OnRequestPayPrice
Definition: TestClient.cs:236
delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID)
MoveTaskInventory OnMoveTaskItem
Definition: TestClient.cs:194
RezRestoreToWorld OnRezRestoreToWorld
Definition: TestClient.cs:121
FreezeUserUpdate OnParcelFreezeUser
Definition: TestClient.cs:332
delegate void ObjectRequest(uint localID, IClientAPI remoteClient)
void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
Definition: TestClient.cs:1337
UUIDNameRequest OnTeleportHomeRequest
Definition: TestClient.cs:233
void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId)
Definition: TestClient.cs:788
delegate void ParcelAbandonRequest(int local_id, IClientAPI remote_client)
delegate void AcceptCallingCard(IClientAPI remoteClient, UUID transactionID, UUID folderID)
delegate void UpdateInventoryFolder(IClientAPI remoteClient, UUID folderID, ushort type, string name, UUID parentID)
MuteListEntryRemove OnRemoveMuteListEntry
Definition: TestClient.cs:342
Action< GridInstantMessage > OnReceivedInstantMessage
Definition: TestClient.cs:69
virtual void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags)
Definition: TestClient.cs:832
delegate void UpdatePrimFlags(uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, ExtraPhysicsData PhysData, IClientAPI remoteClient)
void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
Send a positional, velocity, etc. update to the viewer for a given entity.
Definition: TestClient.cs:757
delegate void RezObject(IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, bool RezSelected, bool RemoveItem, UUID fromTaskID)
void SendGroupAccountingDetails(IClientAPI sender, UUID groupID, UUID transactionID, UUID sessionID, int amt)
Definition: TestClient.cs:1325
ObjectIncludeInSearch OnObjectIncludeInSearch
Definition: TestClient.cs:232
delegate void SetEstateFlagsRequest(bool blockTerraform, bool noFly, bool allowDamage, bool blockLandResell, int maxAgents, float objectBonusFactor, int matureLevel, bool restrictPushObject, bool allowParcelChanges)
RegionHandleRequest OnRegionHandleRequest
Definition: TestClient.cs:271
virtual void SendPayPrice(UUID objectID, int[] payPrice)
Definition: TestClient.cs:741
delegate void ForceReleaseControls(IClientAPI remoteClient, UUID agentID)
delegate void StopAnim(IClientAPI remoteClient, UUID animID)
delegate void EstateChangeCovenantRequest(IClientAPI remoteClient, UUID newCovenantID)
ClassifiedInfoRequest OnClassifiedInfoRequest
Definition: TestClient.cs:298
delegate void ClientChangeObject(uint localID, object data, IClientAPI remoteClient)
delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun)
void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url)
Definition: TestClient.cs:858
delegate void TextureRequest(Object sender, TextureRequestArgs e)
void SendJoinGroupReply(UUID groupID, bool success)
Definition: TestClient.cs:1221
delegate void DelinkObjects(List< uint > primIds, IClientAPI client)
void SendAvatarPicksReply(UUID targetID, Dictionary< UUID, string > picks)
Definition: TestClient.cs:1260
bool IsGroupMember(UUID groupID)
Definition: TestClient.cs:419
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)
RemoveTaskInventory OnRemoveTaskItem
Definition: TestClient.cs:195
delegate void AvatarNowWearing(IClientAPI sender, AvatarWearingArgs e)
FriendshipTermination OnTerminateFriendship
Definition: TestClient.cs:225
virtual AgentCircuitData RequestClientInfo()
Return circuit information for this client.
Definition: TestClient.cs:662
delegate void FriendshipTermination(IClientAPI remoteClient, UUID ExID)
delegate void GroupActiveProposalsRequest(IClientAPI client, UUID agentID, UUID groupID, UUID transactionID, UUID sessionID)
delegate void ActivateGesture(IClientAPI client, UUID gestureid, UUID assetId)
delegate void ParcelGodForceOwner(int local_id, UUID ownerID, IClientAPI remote_client)
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)
Definition: TestClient.cs:1292
SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture
Definition: TestClient.cs:251
DirPopularQuery OnDirPopularQuery
Definition: TestClient.cs:281
UpdateVector OnUpdatePrimSinglePosition
Definition: TestClient.cs:160
void Close()
Close this client
Definition: TestClient.cs:1006
SimWideDeletesDelegate OnSimWideDeletes
Definition: TestClient.cs:338
void SendPartFullUpdate(ISceneEntity ent, uint?parentID)
Definition: TestClient.cs:581
ClassifiedDelete OnClassifiedDelete
Definition: TestClient.cs:300
delegate void TeleportLocationRequest(IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags)
void SendSystemAlertMessage(string message)
Definition: TestClient.cs:854
delegate void UserInfoRequest(IClientAPI client)
ParcelObjectOwnerRequest OnParcelObjectOwnerRequest
Definition: TestClient.cs:212
void Logout()
This is a TestClient only method to do shutdown tasks that are normally carried out by LLUDPServer...
Definition: TestClient.cs:998
void SetAgentThrottleSilent(int throttle, int setting)
Definition: TestClient.cs:593
delegate void LinkInventoryItem(IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, UUID olditemID)
virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
Definition: TestClient.cs:607
delegate void EstateTeleportAllUsersHomeRequest(IClientAPI remoteClient, UUID invoice, UUID senderID)
void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
Definition: TestClient.cs:1119
delegate void AgentSit(IClientAPI remoteClient, UUID agentID)
delegate void ParcelObjectOwnerRequest(int local_id, IClientAPI remote_client)
virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List< AvatarPickerReplyDataArgs > Data)
Definition: TestClient.cs:568
delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient)
ClassifiedInfoUpdate OnClassifiedInfoUpdate
Definition: TestClient.cs:299
void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
Send the first part of a texture. For sufficiently small textures, this may be the only packet...
Definition: TestClient.cs:887
delegate void DirFindQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart)
delegate void ParcelBuy(UUID agentId, UUID groupId, bool final, bool groupOwned, bool removeContribution, int parcelLocalID, int parcelArea, int parcelPrice, bool authenticated)
SaveStateHandler OnSaveState
Definition: TestClient.cs:328
SetRegionTerrainSettings OnSetRegionTerrainSettings
Definition: TestClient.cs:255
delegate void MoneyTransferRequest(UUID sourceID, UUID destID, int amount, int transactionType, string description)
delegate void AddNewPrim(UUID ownerID, UUID groupID, Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape, byte bypassRaycast, Vector3 RayStart, UUID RayTargetID, byte RayEndIsIntersection)
delegate void ParcelDeedToGroup(int local_id, UUID group_id, IClientAPI remote_client)
void SendAcceptCallingCard(UUID transactionID)
Definition: TestClient.cs:1205
delegate void PickGodDelete(IClientAPI client, UUID agentID, UUID pickID, UUID queryID)
void SendGroupNameReply(UUID groupLLUID, string GroupName)
Definition: TestClient.cs:1115
void SendClearFollowCamProperties(UUID objectID)
Definition: TestClient.cs:1140
AvatarPickerRequest OnAvatarPickerRequest
Definition: TestClient.cs:130
void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
Definition: TestClient.cs:1148
delegate void ObjectDuplicate(uint localID, Vector3 offset, uint dupeFlags, UUID AgentID, UUID GroupID)
ParcelJoinRequest OnParcelJoinRequest
Definition: TestClient.cs:203
void SendGroupAccountingSummary(IClientAPI sender, UUID groupID, uint moneyAmt, int totalTier, int usedTier)
Definition: TestClient.cs:1329
EstateChangeInfo OnEstateChangeInfo
Definition: TestClient.cs:217
void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY)
Definition: TestClient.cs:947
virtual void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent)
Definition: TestClient.cs:817
delegate void ClassifiedGodDelete(UUID classifiedID, UUID queryID, IClientAPI client)
void SendAvatarNotesReply(UUID targetID, string text)
Definition: TestClient.cs:1256
UUIDNameRequest OnNameFromUUIDRequest
Definition: TestClient.cs:198
delegate void GenericCall2()
Action< RegionInfo, Vector3, Vector3 > OnReceivedMoveAgentIntoRegion
Definition: TestClient.cs:62
ulong GetGroupPowers(UUID groupID)
Definition: TestClient.cs:424
delegate void FreezeUserUpdate(IClientAPI client, UUID parcelowner, uint flags, UUID target)
Enapsulate statistics for a simulator/scene.
Definition: SimStats.cs:39
void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
Definition: TestClient.cs:1321
delegate void CopyInventoryItem(IClientAPI remoteClient, uint callbackID, UUID oldAgentID, UUID oldItemID, UUID newFolderID, string newName)
void SendGroupMembership(GroupMembershipData[] GroupMembership)
Definition: TestClient.cs:962
Action< ISceneEntity, PrimUpdateFlags > OnReceivedEntityUpdate
Definition: TestClient.cs:66
virtual void SendMapBlock(List< MapBlockData > mapBlocks, uint flag)
Definition: TestClient.cs:721
delegate void TerrainUnacked(IClientAPI remoteClient, int patchX, int patchY)
delegate void FriendActionDelegate(IClientAPI remoteClient, UUID transactionID, List< UUID > callingCardFolders)
RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily
Definition: TestClient.cs:149
delegate void GenericMessage(Object sender, string method, List< String > args)
RemoveInventoryItem OnRemoveInventoryItem
Definition: TestClient.cs:177
void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price)
Definition: TestClient.cs:1248
delegate void RequestGodlikePowers(UUID AgentID, UUID SessionID, UUID token, bool GodLike, IClientAPI remote_client)
delegate void GenericCall7(IClientAPI remoteClient, uint localID, string message)
virtual void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item)
Definition: TestClient.cs:780
delegate void ObjectSelect(uint localID, IClientAPI remoteClient)
SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights
Definition: TestClient.cs:253
void SendTelehubInfo(UUID ObjectID, string ObjectName, Vector3 ObjectPos, Quaternion ObjectRot, List< Vector3 > SpawnPoint)
Definition: TestClient.cs:1058
virtual void SetChildAgentThrottle(byte[] throttle)
Definition: TestClient.cs:585
Action< UUID > OnReceivedSendRebakeAvatarTextures
Definition: TestClient.cs:71
delegate void GodUpdateRegionInfoUpdate(IClientAPI client, float BillableFactor, ulong EstateID, ulong RegionFlags, byte[] SimName, int RedirectX, int RedirectY)
void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
Definition: TestClient.cs:1173
void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
Definition: TestClient.cs:1349
DeclineCallingCard OnDeclineCallingCard
Definition: TestClient.cs:290
delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes)
delegate void SaveStateHandler(IClientAPI client, UUID agentID)
delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name)
void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
Definition: TestClient.cs:1123
EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest
Definition: TestClient.cs:263
void SendHealth(float health)
Definition: TestClient.cs:1054
void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
Definition: TestClient.cs:971
OfferCallingCard OnOfferCallingCard
Definition: TestClient.cs:288
delegate void DeGrabObject(uint localID, IClientAPI remoteClient, List< SurfaceTouchEventArgs > surfaceArgs)
delegate void EstateDebugRegionRequest(IClientAPI remoteClient, UUID invoice, UUID senderID, bool scripted, bool collisionEvents, bool physics)
This class was created to refactor OutPacket out of AssetCache There is a conflict between OpenSim...
void SendCachedTextureResponse(ISceneEntity avatar, int serial, List< CachedTextureResponseArg > cachedTextures)
Definition: TestClient.cs:555
UpdatePrimFlags OnUpdatePrimFlags
Definition: TestClient.cs:156
delegate void StartAnim(IClientAPI remoteClient, UUID animID)
void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
Definition: TestClient.cs:1165
ViewerEffectEventHandler OnViewerEffect
Definition: TestClient.cs:142
ForceReleaseControls OnForceReleaseControls
Definition: TestClient.cs:244
RequestGodlikePowers OnRequestGodlikePowers
Definition: TestClient.cs:133
void SendDeclineCallingCard(UUID transactionID)
Definition: TestClient.cs:1209
virtual void SendNameReply(UUID profileId, string firstname, string lastname)
Definition: TestClient.cs:824
virtual void SendWindData(Vector2[] windSpeeds)
Definition: TestClient.cs:652
string GetClientOption(string option)
Definition: TestClient.cs:1156
void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
Definition: TestClient.cs:1062
ImprovedInstantMessage OnInstantMessage
Definition: TestClient.cs:92
void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
Definition: TestClient.cs:1177
virtual void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
Definition: TestClient.cs:828
void SendLandAccessListData(List< LandAccessEntry > accessList, uint accessFlag, int localLandID)
Definition: TestClient.cs:1086
Asset class. All Assets are reference by this class or a class derived from this class ...
Definition: AssetBase.cs:49
MoneyTransferRequest OnMoneyTransferRequest
Definition: TestClient.cs:88
ParcelGodForceOwner OnParcelGodForceOwner
Definition: TestClient.cs:206
void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong time, uint dlen, uint ylen, float phase)
Update the client as to where the sun is currently located.
Definition: TestClient.cs:967
delegate void TeleportLureRequest(UUID lureID, uint teleportFlags, IClientAPI client)
delegate void RequestTerrain(IClientAPI remoteClient, string clientFileName)
void SendAttachedSoundGainChange(UUID objectID, float gain)
Definition: TestClient.cs:841
delegate void ParcelSetOtherCleanTime(IClientAPI remoteClient, int localID, int otherCleanTime)
delegate void EventNotificationAddRequest(uint EventID, IClientAPI client)
void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop)
Definition: TestClient.cs:1110
delegate void ObjectBuy(IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID groupID, UUID categoryID, uint localID, byte saleType, int salePrice)
delegate void EventGodDelete(uint eventID, UUID queryID, string queryText, uint queryFlags, int queryStart, IClientAPI client)
delegate void SimulatorBlueBoxMessageRequest(IClientAPI remoteClient, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
Definition: TestClient.cs:1357
delegate void ParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client)
delegate void EstateRestartSimRequest(IClientAPI remoteClient, int secondsTilReboot)
delegate void MoveInventoryFolder(IClientAPI remoteClient, UUID folderID, UUID parentID)
FriendActionDelegate OnApproveFriendRequest
Definition: TestClient.cs:223
AvatarNowWearing OnAvatarNowWearing
Definition: TestClient.cs:99
EventInfoRequest OnEventInfoRequest
Definition: TestClient.cs:283
EjectUserUpdate OnParcelEjectUser
Definition: TestClient.cs:333
void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message)
Definition: TestClient.cs:1030
UpdatePrimTexture OnUpdatePrimTexture
Definition: TestClient.cs:157
void SendTexture(AssetBase TextureAsset)
Definition: TestClient.cs:1131
delegate void AgentRequestSit(IClientAPI remoteClient, UUID agentID, UUID targetID, Vector3 offset)
FriendActionDelegate OnDenyFriendRequest
Definition: TestClient.cs:224
delegate void CommitEstateTerrainTextureRequest(IClientAPI remoteClient)
delegate void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData ProfileData)
void ProcessInPacket(Packet NewPack)
Definition: TestClient.cs:991
EconomyDataRequest OnEconomyDataRequest
Definition: TestClient.cs:228
Action< Vector3, bool, bool > OnAutoPilotGo
Definition: TestClient.cs:267
delegate void UpdateEstateAccessDeltaRequest(IClientAPI remote_client, UUID invoice, int estateAccessType, UUID user)
AvatarInterestUpdate OnAvatarInterestUpdate
Definition: TestClient.cs:321
void SendAgentOnline(UUID[] agentIDs)
Definition: TestClient.cs:942
delegate void MoveObject(UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient, List< SurfaceTouchEventArgs > surfaceArgs)
delegate void ObjectDuplicateOnRay(uint localID, uint dupeFlags, UUID AgentID, UUID GroupID, UUID RayTargetObj, Vector3 RayEnd, Vector3 RayStart, bool BypassRaycast, bool RayEndIsIntersection, bool CopyCenters, bool CopyRotates)
delegate void StatusChange(bool status)
Action< IClientAPI > OnLogout
Definition: TestClient.cs:85
delegate void UDPAssetUploadRequest(IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte[] data, bool storeLocal, bool tempFile)
ClientChangeObject onClientChangeObject
Definition: TestClient.cs:158
delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int type, uint flags)
void InPacket(object NewPack)
Definition: TestClient.cs:987
ObjectDuplicateOnRay OnObjectDuplicateOnRay
Definition: TestClient.cs:221
void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
Definition: TestClient.cs:1268
delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, UUID invoice, UUID senderID, UUID prey)
FetchInventoryDescendents OnFetchInventoryDescendents
Definition: TestClient.cs:178
SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest
Definition: TestClient.cs:259
UUIDNameRequest OnDetachAttachmentIntoInv
Definition: TestClient.cs:102
TextureRequest OnRequestTexture
Definition: TestClient.cs:94
delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient)
delegate void UpdateShape(UUID agentID, uint localID, UpdateShapeArgs shapeBlock)
delegate void GrantUserFriendRights(IClientAPI client, UUID target, int rights)
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)
Definition: TestClient.cs:737
DeactivateGesture OnDeactivateGesture
Definition: TestClient.cs:275
void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt)
Definition: TestClient.cs:1161
virtual void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL)
Definition: TestClient.cs:689
virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args)
Definition: TestClient.cs:863
delegate void UpdateInventoryItem(IClientAPI remoteClient, UUID transactionID, UUID itemID, InventoryItemBase itemUpd)
void HandleImprovedInstantMessage(GridInstantMessage im)
Emulate sending an IM from the viewer to the simulator.
Definition: TestClient.cs:535
An agent in the scene.
Definition: ISceneAgent.cs:39
delegate void ParcelGodMark(IClientAPI client, UUID agentID, int ParcelLocalID)
UpdatePrimSingleRotation OnUpdatePrimSingleRotation
Definition: TestClient.cs:162
delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart)
UUIDNameRequest OnUUIDGroupNameRequest
Definition: TestClient.cs:199
AcceptCallingCard OnAcceptCallingCard
Definition: TestClient.cs:289
RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv
Definition: TestClient.cs:100
ChatFromViewer Arguments
CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest
Definition: TestClient.cs:254
RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv
Definition: TestClient.cs:101
delegate void GodlikeMessage(IClientAPI client, UUID requester, byte[] Method, byte[] Parameter)
Circuit data for an agent. Connection information shared between regions that accept UDP connections ...
TeleportLureRequest OnTeleportLureRequest
Definition: TestClient.cs:295
PurgeInventoryDescendents OnPurgeInventoryDescendents
Definition: TestClient.cs:179
virtual void SendCoarseLocationUpdate(List< UUID > users, List< Vector3 > CoarseLocations)
Definition: TestClient.cs:745
void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
Definition: TestClient.cs:1345
delegate void DeRezObject(IClientAPI remoteClient, List< uint > localIDs, UUID groupID, DeRezAction action, UUID destinationID)
Inventory Item - contains all the properties associated with an individual inventory piece...
delegate void MuteListRequest(IClientAPI client, uint muteCRC)
void SendOfferCallingCard(UUID destID, UUID transactionID)
Definition: TestClient.cs:1201
virtual void SendBulkUpdateInventory(InventoryNodeBase node)
Used by the server to inform the client of new inventory items and folders.
Definition: TestClient.cs:796
delegate void ScriptReset(IClientAPI remoteClient, UUID objectID, UUID itemID)
virtual void SendTeleportFailed(string reason)
Definition: TestClient.cs:703
void SendObjectPropertiesReply(ISceneEntity entity)
Definition: TestClient.cs:933
delegate void ObjectAttach(IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent)
delegate void CreateInventoryFolder(IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID)
virtual void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, UUID ownerID, byte source, byte audible)
Send chat to the viewer.
Definition: TestClient.cs:611
EstateDebugRegionRequest OnEstateDebugRegionRequest
Definition: TestClient.cs:261
delegate void GroupAccountDetailsRequest(IClientAPI client, UUID agentID, UUID groupID, UUID transactionID, UUID sessionID)
byte[] GetThrottlesPacked(float multiplier)
Definition: TestClient.cs:602
delegate void DetailedEstateDataRequest(IClientAPI remoteClient, UUID invoice)
delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle)
FetchInventory OnAgentDataUpdateRequest
Definition: TestClient.cs:144
Details of a Parcel of land
Definition: LandData.cs:47
delegate void RemoveTaskInventory(IClientAPI remoteClient, UUID itemID, uint localID)
delegate void ObjectExtraParams(UUID agentID, uint localID, ushort type, bool inUse, byte[] data)
RemoveInventoryFolder OnRemoveInventoryFolder
Definition: TestClient.cs:176
delegate void ObjectOwner(IClientAPI remoteClient, UUID ownerID, UUID groupID, List< uint > localIDs)
void SendSimStats(SimStats stats)
Send statistical information about the sim to the client.
Definition: TestClient.cs:925
delegate void ParcelReturnObjectsRequest(int local_id, uint return_type, UUID[] agent_ids, UUID[] selected_ids, IClientAPI remote_client)
void SendInstantMessage(GridInstantMessage im)
Definition: TestClient.cs:620
delegate void EstateChangeInfo(IClientAPI client, UUID invoice, UUID senderID, UInt32 param1, UInt32 param2)
GetScriptRunning OnGetScriptRunning
Definition: TestClient.cs:265
delegate void MoveTaskInventory(IClientAPI remoteClient, UUID folderID, uint localID, UUID itemID)
AvatarNotesUpdate OnAvatarNotesUpdate
Definition: TestClient.cs:317
BuyObjectInventory OnBuyObjectInventory
Definition: TestClient.cs:239
TrackAgentUpdate OnTrackAgent
Definition: TestClient.cs:326
delegate void ParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client)
void Close(bool sendStop, bool force)
Close this client
Definition: TestClient.cs:1011
delegate void ModifyTerrain(UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId)
EventNotificationRemoveRequest OnEventNotificationRemoveRequest
Definition: TestClient.cs:304
void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
Definition: TestClient.cs:1066
delegate void SendPostcard(IClientAPI client)
void SendTeleportProgress(uint flags, string message)
Definition: TestClient.cs:733
delegate void ChangeAnim(UUID animID, bool addOrRemove, bool sendPack)
void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData)
Send the next packet for a series of packets making up a single texture, as established by SendImageF...
Definition: TestClient.cs:903
delegate void UpdateAgent(IClientAPI remoteClient, AgentUpdateArgs agentData)
delegate void GodLandStatRequest(int parcelID, uint reportType, uint requestflags, string filter, IClientAPI remoteClient)
SetEstateFlagsRequest OnSetEstateFlagsRequest
Definition: TestClient.cs:250
AgentRequestSit OnAgentRequestSit
Definition: TestClient.cs:128
TeleportLocationRequest OnTeleportLocationRequest
Definition: TestClient.cs:113
virtual void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
Definition: TestClient.cs:683
delegate void ParcelDwellRequest(int localID, IClientAPI client)
MuteListRequest OnMuteListRequest
Definition: TestClient.cs:319
ObjectPermissions OnObjectPermissions
Definition: TestClient.cs:86
delegate void MoveInventoryItem(IClientAPI remoteClient, List< InventoryItemBase > items)
TestClientOnSendRegionTeleportDelegate OnTestClientSendRegionTeleport
Definition: TestClient.cs:64
delegate void AvatarNotesUpdate(IClientAPI client, UUID targetID, string notes)
delegate void GroupAccountTransactionsRequest(IClientAPI client, UUID agentID, UUID groupID, UUID transactionID, UUID sessionID)
delegate void BuyObjectInventory(IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID objectID, UUID itemID, UUID folderID)
GroupActiveProposalsRequest OnGroupActiveProposalsRequest
Definition: TestClient.cs:336
UserInfoRequest OnUserInfoRequest
Definition: TestClient.cs:309
delegate void LinkObjects(IClientAPI remoteClient, uint parent, List< uint > children)
void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
Definition: TestClient.cs:800
delegate void ParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client)
void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool succss)
Definition: TestClient.cs:1225
void SendAgentTerseUpdate(ISceneEntity presence)
Definition: TestClient.cs:1353
virtual void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
Definition: TestClient.cs:725
delegate void StartLure(byte lureType, string message, UUID targetID, IClientAPI client)
virtual void SendLayerData(int px, int py, float[] map)
Definition: TestClient.cs:645
delegate void EconomyDataRequest(IClientAPI client)
delegate void GodKickUser(UUID GodAgentID, UUID GodSessionID, UUID AgentID, uint kickflags, byte[] reason)
UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition
Definition: TestClient.cs:163
void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args)
Definition: TestClient.cs:1070
delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt)
delegate void ParcelReclaim(int local_id, IClientAPI remote_client)
EstateCovenantRequest OnEstateCovenantRequest
Definition: TestClient.cs:216
void SendTerminateFriend(UUID exFriendID)
Definition: TestClient.cs:1233
void SendEventInfoReply(EventData info)
Definition: TestClient.cs:1197
delegate void RegionHandleRequest(IClientAPI remoteClient, UUID regionID)
EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest
Definition: TestClient.cs:262
void SendAgentDropGroup(UUID groupID)
Definition: TestClient.cs:1252
delegate void EstateBlueBoxMessageRequest(IClientAPI remoteClient, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
delegate void SetEstateTerrainDetailTexture(IClientAPI remoteClient, int corner, UUID side)
delegate void SpinStart(UUID objectID, IClientAPI remoteClient)
delegate void DeactivateGesture(IClientAPI client, UUID gestureid)
delegate void ParcelInfoRequest(IClientAPI remoteClient, UUID parcelID)
delegate void SpinObject(UUID objectID, Quaternion rotation, IClientAPI remoteClient)
MuteListEntryUpdate OnUpdateMuteListEntry
Definition: TestClient.cs:341
virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory)
Definition: TestClient.cs:808
delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client)
delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client)
EstateChangeCovenantRequest OnEstateChangeCovenantRequest
Definition: TestClient.cs:257
PrimUpdateFlags
Specifies the fields that have been changed when sending a prim or avatar update
Definition: IClientAPI.cs:677
ParcelAbandonRequest OnParcelAbandonRequest
Definition: TestClient.cs:205
int GetAgentThrottleSilent(int throttle)
Definition: TestClient.cs:597
Args to return to a client that queries picker data
delegate void RequestMapName(IClientAPI remoteClient, string mapName, uint flags)
delegate void SetEstateTerrainTextureHeights(IClientAPI remoteClient, int corner, float lowVal, float highVal)
delegate void ParcelAccessListUpdateRequest(UUID agentID, uint flags, int landLocalID, UUID transactionID, int sequenceID, int sections, List< LandAccessEntry > entries, IClientAPI remote_client)
RequestTaskInventory OnRequestTaskInventory
Definition: TestClient.cs:181
void SendUserInfoReply(bool imViaEmail, bool visible, string email)
Definition: TestClient.cs:1272
delegate void ParcelSelectObjects(int land_local_id, int request_type, List< UUID > returnIDs, IClientAPI remote_client)
delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client)
delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID)
delegate void DeclineCallingCard(IClientAPI remoteClient, UUID transactionID)
CreateInventoryFolder OnCreateNewInventoryFolder
Definition: TestClient.cs:173
delegate void EstateManageTelehub(IClientAPI client, UUID invoice, UUID senderID, string cmd, UInt32 param1)
ParcelDeedToGroup OnParcelDeedToGroup
Definition: TestClient.cs:213
Action< ulong, IPEndPoint > OnTestClientInformClientOfNeighbour
Definition: TestClient.cs:63
delegate void GroupVoteHistoryRequest(IClientAPI client, UUID agentID, UUID groupID, UUID transactionID, UUID sessionID)
delegate void GenericCall1(IClientAPI remoteClient)
Common base class for inventory nodes of different types (files, folders, etc.)
Action< IClientAPI > OnConnectionClosed
Definition: TestClient.cs:90
delegate void RequestAvatarProperties(IClientAPI remoteClient, UUID avatarID)
TeleportLandmarkRequest OnTeleportLandmarkRequest
Definition: TestClient.cs:114
delegate void SetEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, UUID side)
delegate void ParcelAccessListRequest(UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client)
delegate void BakeTerrain(IClientAPI remoteClient)
void Teleport(ulong regionHandle, Vector3 position, Vector3 lookAt)
Attempt a teleport to the given region.
Definition: TestClient.cs:520
delegate void PickDelete(IClientAPI client, UUID pickID)
ParcelSetOtherCleanTime OnParcelSetOtherCleanTime
Definition: TestClient.cs:284
delegate void OfferCallingCard(IClientAPI remoteClient, UUID destID, UUID transactionID)
delegate void FetchInventory(IClientAPI remoteClient, UUID itemID, UUID ownerID)
delegate void DirPopularQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags)
ParcelReturnObjectsRequest OnParcelReturnObjectsRequest
Definition: TestClient.cs:208
delegate void SetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID, bool running)
virtual void SendLayerData(float[] map)
Definition: TestClient.cs:641
LinkInventoryItem OnLinkInventoryItem
Definition: TestClient.cs:172
virtual void SendStartPingCheck(byte seq)
Definition: TestClient.cs:564
delegate void FetchInventoryDescendents(IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder)
ObjectExtraParams OnUpdateExtraParams
Definition: TestClient.cs:148
virtual void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List< InventoryItemBase > items, List< InventoryFolderBase > folders, int version, bool fetchFolders, bool fetchItems)
Definition: TestClient.cs:771
ParcelDivideRequest OnParcelDivideRequest
Definition: TestClient.cs:202
void SendGenericMessage(string method, UUID invoice, List< string > message)
Definition: TestClient.cs:626
virtual void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackID)
Tell the client that we have created the item it requested.
Definition: TestClient.cs:784
TeleportLocationRequest OnSetStartLocationRequest
Definition: TestClient.cs:145
void SendPartPhysicsProprieties(ISceneEntity entity)
Definition: TestClient.cs:1361
void SendLeaveGroupReply(UUID groupID, bool success)
Definition: TestClient.cs:1229
virtual void SendWearables(AvatarWearable[] wearables, int serial)
Tell this client what items it should be wearing now
Definition: TestClient.cs:547
void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
Definition: TestClient.cs:951
MoveInventoryItem OnMoveInventoryItem
Definition: TestClient.cs:184
UpdatePrimRotation OnUpdatePrimGroupRotation
Definition: TestClient.cs:161
void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
Definition: TestClient.cs:1181
void SendAdminResponse(UUID Token, uint AdminLevel)
Definition: TestClient.cs:957
delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName)
delegate void RemoveInventoryFolder(IClientAPI remoteClient, List< UUID > folderIDs)
delegate void LandUndo(IClientAPI remoteClient)
delegate void FindAgentUpdate(IClientAPI client, UUID hunter, UUID target)
delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data)
MoveInventoryFolder OnMoveInventoryFolder
Definition: TestClient.cs:175
ActivateGesture OnActivateGesture
Definition: TestClient.cs:274
CopyInventoryItem OnCopyInventoryItem
Definition: TestClient.cs:183
GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest
Definition: TestClient.cs:331
delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems)
virtual void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL)
Definition: TestClient.cs:710
void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
Definition: TestClient.cs:1193
virtual void SendAbortXferPacket(ulong xferID)
Definition: TestClient.cs:812
bool Chat(int channel, ChatTypeEnum type, string message)
Trigger chat coming from this connection.
Definition: TestClient.cs:492
void SendLandObjectOwners(LandData land, List< UUID > groups, Dictionary< UUID, int > ownersAndCount)
Definition: TestClient.cs:1098
void SendInitiateDownload(string simFileName, string clientFileName)
Definition: TestClient.cs:883
delegate void UpdateUserInfo(bool imViaEmail, bool visible, IClientAPI client)
delegate void EstateCovenantRequest(IClientAPI remote_client)
virtual void SendRemoveInventoryItem(UUID itemID)
Definition: TestClient.cs:792
ParcelAccessListRequest OnParcelAccessListRequest
Definition: TestClient.cs:209
virtual void SendTeleportStart(uint flags)
Definition: TestClient.cs:729
delegate void ParcelPropertiesUpdateRequest(LandUpdateArgs args, int local_id, IClientAPI remote_client)
virtual void SetChildAgentThrottle(byte[] throttle, float factor)
Definition: TestClient.cs:589
delegate void SpinStop(UUID objectID, IClientAPI remoteClient)
ParcelInfoRequest OnParcelInfoRequest
Definition: TestClient.cs:272
EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest
Definition: TestClient.cs:260
delegate void ChatMessage(Object sender, OSChatMessage e)
void SendViewerTime(int phase)
Definition: TestClient.cs:975
delegate void RequestObjectPropertiesFamily(IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID TaskID)
OnReceivedChatMessageDelegate OnReceivedChatMessage
Definition: TestClient.cs:68
void SendAvatarClassifiedReply(UUID targetID, Dictionary< UUID, string > classifieds)
Definition: TestClient.cs:1264
delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery)
virtual void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
Definition: TestClient.cs:572
delegate void ViewerEffectEventHandler(IClientAPI sender, List< ViewerEffectEventHandlerArg > args)
CachedTextureRequest OnCachedTextureRequest
Definition: TestClient.cs:219
delegate void RegionInfoRequest(IClientAPI remote_client)
void SendEstateCovenantInformation(UUID covenant)
Definition: TestClient.cs:1074
delegate void DirLandQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags, uint searchType, int price, int area, int queryStart)
void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
Definition: TestClient.cs:1189
EstateManageTelehub OnEstateManageTelehub
Definition: TestClient.cs:218
UDPAssetUploadRequest OnAssetUploadRequest
Definition: TestClient.cs:185
delegate void TrackAgentUpdate(IClientAPI client, UUID hunter, UUID target)
void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
Definition: TestClient.cs:1169
virtual void ActivateGesture(UUID assetId, UUID gestureId)
Definition: TestClient.cs:543
delegate void RetrieveInstantMessages(IClientAPI client)
delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages)
void SendRegionHandle(UUID regoinID, ulong handle)
Definition: TestClient.cs:1144
delegate void ObjectDeselect(uint localID, IClientAPI remoteClient)
DirClassifiedQuery OnDirClassifiedQuery
Definition: TestClient.cs:282
delegate void TeleportLandmarkRequest(IClientAPI remoteClient, AssetLandmark lm)
void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
Definition: TestClient.cs:879
void SendAgentAlertMessage(string message, bool modal)
Definition: TestClient.cs:850
Action< IClientAPI > OnRequestAvatarsData
Definition: TestClient.cs:131
UpdateTaskInventory OnUpdateTaskInventory
Definition: TestClient.cs:193
GroupAccountSummaryRequest OnGroupAccountSummaryRequest
Definition: TestClient.cs:329
void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
Definition: TestClient.cs:837
EventNotificationAddRequest OnEventNotificationAddRequest
Definition: TestClient.cs:303
delegate void UUIDNameRequest(UUID id, IClientAPI remote_client)
delegate void GetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID)
void Disconnect(string reason)
Definition: TestClient.cs:1307
void SendCameraConstraint(Vector4 ConstraintPlane)
Definition: TestClient.cs:1094
delegate void CreateNewInventoryItem(IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask, int creationDate)
delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client)
Action< IClientAPI > OnRegionHandShakeReply
Definition: TestClient.cs:122
delegate void SimWideDeletesDelegate(IClientAPI client, UUID agentID, int flags, UUID targetID)
EstateRestartSimRequest OnEstateRestartSimRequest
Definition: TestClient.cs:256
void SendGenericMessage(string method, UUID invoice, List< byte[]> message)
Definition: TestClient.cs:631
DetailedEstateDataRequest OnDetailedEstateDataRequest
Definition: TestClient.cs:249
delegate void MoneyBalanceRequest(IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID TransactionID)
MoneyBalanceRequest OnMoneyBalanceRequest
Definition: TestClient.cs:229
delegate void ChangeInventoryItemFlags(IClientAPI client, UUID itemID, uint flags)
void SendForceClientSelectObjects(List< uint > objectIDs)
Definition: TestClient.cs:1090
delegate void DisconnectUser()