OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NPCAvatar.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 OpenMetaverse;
32 using OpenMetaverse.Packets;
33 using OpenSim.Framework;
34 using OpenSim.Region.Framework.Interfaces;
35 using OpenSim.Region.Framework.Scenes;
36 using OpenSim.Region.CoreModules.World.Estate;
37 using log4net;
38 using System.Reflection;
39 using System.Xml;
40 
41 namespace OpenSim.Region.OptionalModules.World.NPC
42 {
43  public class NPCAvatar : IClientAPI, INPC
44  {
45  public bool SenseAsAgent { get; set; }
46 
47  public delegate void ChatToNPC(
48  string message, byte type, Vector3 fromPos, string fromName,
49  UUID fromAgentID, UUID ownerID, byte source, byte audible);
50 
54  public event ChatToNPC OnChatToNPC;
55 
59  public event Action<GridInstantMessage> OnInstantMessageToNPC;
60 
61  private readonly string m_firstname;
62  private readonly string m_lastname;
63  private readonly Vector3 m_startPos;
64  private UUID m_uuid = UUID.Random();
65  private readonly Scene m_scene;
66  private readonly UUID m_ownerID;
67  private UUID m_hostGroupID;
68 
69  public List<uint> SelectedObjects {get; private set;}
70 
71  public NPCAvatar(
72  string firstname, string lastname, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
73  {
74  m_firstname = firstname;
75  m_lastname = lastname;
76  m_startPos = position;
77  m_uuid = UUID.Random();
78  m_scene = scene;
79  m_ownerID = ownerID;
80  SenseAsAgent = senseAsAgent;
81  m_hostGroupID = UUID.Zero;
82  }
83 
84  public NPCAvatar(
85  string firstname, string lastname, UUID agentID, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
86  {
87  m_firstname = firstname;
88  m_lastname = lastname;
89  m_startPos = position;
90  m_uuid = agentID;
91  m_scene = scene;
92  m_ownerID = ownerID;
93  SenseAsAgent = senseAsAgent;
94  m_hostGroupID = UUID.Zero;
95  }
96 
97  public IScene Scene
98  {
99  get { return m_scene; }
100  }
101 
102  public int PingTimeMS { get { return 0; } }
103 
104  public UUID OwnerID
105  {
106  get { return m_ownerID; }
107  }
108 
109  public ISceneAgent SceneAgent { get; set; }
110 
111  public void Say(string message)
112  {
113  SendOnChatFromClient(0, message, ChatTypeEnum.Say);
114  }
115 
116  public void Say(int channel, string message)
117  {
118  SendOnChatFromClient(channel, message, ChatTypeEnum.Say);
119  }
120 
121  public void Shout(int channel, string message)
122  {
123  SendOnChatFromClient(channel, message, ChatTypeEnum.Shout);
124  }
125 
126  public void Whisper(int channel, string message)
127  {
128  SendOnChatFromClient(channel, message, ChatTypeEnum.Whisper);
129  }
130 
131  public void Broadcast(string message)
132  {
133  SendOnChatFromClient(0, message, ChatTypeEnum.Broadcast);
134  }
135 
136  public void GiveMoney(UUID target, int amount)
137  {
138  OnMoneyTransferRequest(m_uuid, target, amount, 1, "Payment");
139  }
140 
141  public bool Touch(UUID target)
142  {
143  SceneObjectPart part = m_scene.GetSceneObjectPart(target);
144  if (part == null)
145  return false;
146  bool objectTouchable = hasTouchEvents(part); // Only touch an object that is scripted to respond
147  if (!objectTouchable && !part.IsRoot)
148  objectTouchable = hasTouchEvents(part.ParentGroup.RootPart);
149  if (!objectTouchable)
150  return false;
151  // Set up the surface args as if the touch is from a client that does not support this
152  SurfaceTouchEventArgs surfaceArgs = new SurfaceTouchEventArgs();
153  surfaceArgs.FaceIndex = -1; // TOUCH_INVALID_FACE
154  surfaceArgs.Binormal = Vector3.Zero; // TOUCH_INVALID_VECTOR
155  surfaceArgs.Normal = Vector3.Zero; // TOUCH_INVALID_VECTOR
156  surfaceArgs.STCoord = new Vector3(-1.0f, -1.0f, 0.0f); // TOUCH_INVALID_TEXCOORD
157  surfaceArgs.UVCoord = surfaceArgs.STCoord; // TOUCH_INVALID_TEXCOORD
158  List<SurfaceTouchEventArgs> touchArgs = new List<SurfaceTouchEventArgs>();
159  touchArgs.Add(surfaceArgs);
160  Vector3 offset = part.OffsetPosition * -1.0f;
161  if (OnGrabObject == null)
162  return false;
163  OnGrabObject(part.LocalId, offset, this, touchArgs);
164  if (OnGrabUpdate != null)
165  OnGrabUpdate(part.UUID, offset, part.ParentGroup.RootPart.GroupPosition, this, touchArgs);
166  if (OnDeGrabObject != null)
167  OnDeGrabObject(part.LocalId, this, touchArgs);
168  return true;
169  }
170 
171  private bool hasTouchEvents(SceneObjectPart part)
172  {
173  if ((part.ScriptEvents & scriptEvents.touch) != 0 ||
174  (part.ScriptEvents & scriptEvents.touch_start) != 0 ||
175  (part.ScriptEvents & scriptEvents.touch_end) != 0)
176  return true;
177  return false;
178  }
179 
180  public void InstantMessage(UUID target, string message)
181  {
182  OnInstantMessage(this, new GridInstantMessage(m_scene,
183  m_uuid, m_firstname + " " + m_lastname,
184  target, 0, false, message,
185  UUID.Zero, false, Position, new byte[0], true));
186  }
187 
188  public void SendAgentOffline(UUID[] agentIDs)
189  {
190 
191  }
192 
193  public void SendAgentOnline(UUID[] agentIDs)
194  {
195 
196  }
197 
198  public void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY)
199  {
200 
201  }
202 
203  public void SendSitResponse(UUID TargetID, Vector3 OffsetPos,
204  Quaternion SitOrientation, bool autopilot,
205  Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
206  {
207 
208  }
209 
210  public void SendAdminResponse(UUID Token, uint AdminLevel)
211  {
212 
213  }
214 
215  public void SendGroupMembership(GroupMembershipData[] GroupMembership)
216  {
217 
218  }
219 
220  public Vector3 Position
221  {
222  get { return m_scene.Entities[m_uuid].AbsolutePosition; }
223  set { m_scene.Entities[m_uuid].AbsolutePosition = value; }
224  }
225 
226  public bool SendLogoutPacketWhenClosing
227  {
228  set { }
229  }
230 
231  #region Internal Functions
232 
233  private void SendOnChatFromClient(int channel, string message, ChatTypeEnum chatType)
234  {
235  if (channel == 0)
236  {
237  message = message.Trim();
238  if (string.IsNullOrEmpty(message))
239  {
240  return;
241  }
242  }
243  OSChatMessage chatFromClient = new OSChatMessage();
244  chatFromClient.Channel = channel;
245  chatFromClient.From = Name;
246  chatFromClient.Message = message;
247  chatFromClient.Position = StartPos;
248  chatFromClient.Scene = m_scene;
249  chatFromClient.Sender = this;
250  chatFromClient.SenderUUID = AgentId;
251  chatFromClient.Type = chatType;
252 
253  OnChatFromClient(this, chatFromClient);
254  }
255 
256  #endregion
257 
258  #region Event Definitions IGNORE
259 
260 // disable warning: public events constituting public API
261 #pragma warning disable 67
262  public event Action<IClientAPI> OnLogout;
266  public event ParcelBuy OnParcelBuy;
267  public event Action<IClientAPI> OnConnectionClosed;
272  public event RezObject OnRezObject;
281  public event ObjectDrop OnObjectDrop;
282  public event StartAnim OnStartAnim;
283  public event StopAnim OnStopAnim;
284  public event ChangeAnim OnChangeAnim;
295 
298  public event Action<IClientAPI> OnRegionHandShakeReply;
300  public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
305  public event AgentSit OnAgentSit;
307  public event Action<IClientAPI> OnRequestAvatarsData;
308  public event AddNewPrim OnAddPrim;
312  public event GrabObject OnGrabObject;
314  public event MoveObject OnGrabUpdate;
315  public event SpinStart OnSpinStart;
316  public event SpinObject OnSpinUpdate;
317  public event SpinStop OnSpinStop;
319 
322 
345  public event Action<UUID> OnRemoveAvatar;
346 
364  public event AbortXfer OnAbortXfer;
366  public event RezScript OnRezScript;
371 
374 
394 
399 
403 
406 
410  public event ObjectBuy OnObjectBuy;
412  public event AgentSit OnUndo;
413  public event AgentSit OnRedo;
414  public event LandUndo OnLandUndo;
415 
419 
442  public event Action<Vector3, bool, bool> OnAutoPilotGo;
443 
445 
448 
452 
460 
462 
467 
468  public event StartLure OnStartLure;
471 
476 
480 
482 
485 
487 
488  public event PickDelete OnPickDelete;
492 
494 
496 
498 
520 #pragma warning restore 67
521 
522  #endregion
523 
524  public void ActivateGesture(UUID assetId, UUID gestureId)
525  {
526  }
527  public void DeactivateGesture(UUID assetId, UUID gestureId)
528  {
529  }
530 
531  #region Overrriden Methods IGNORE
532 
533  public virtual Vector3 StartPos
534  {
535  get { return m_startPos; }
536  set { }
537  }
538 
539  public virtual UUID AgentId
540  {
541  get { return m_uuid; }
542  set { m_uuid = value; }
543  }
544 
545  public UUID SessionId
546  {
547  get { return UUID.Zero; }
548  }
549 
550  public UUID SecureSessionId
551  {
552  get { return UUID.Zero; }
553  }
554 
555  public virtual string FirstName
556  {
557  get { return m_firstname; }
558  }
559 
560  public virtual string LastName
561  {
562  get { return m_lastname; }
563  }
564 
565  public virtual String Name
566  {
567  get { return FirstName + " " + LastName; }
568  }
569 
570  public bool IsActive
571  {
572  get { return true; }
573  set { }
574  }
575 
576  public bool IsLoggingOut
577  {
578  get { return false; }
579  set { }
580  }
581  public UUID ActiveGroupId
582  {
583  get { return m_hostGroupID; }
584  set { m_hostGroupID = value; }
585  }
586 
587  public string ActiveGroupName
588  {
589  get { return String.Empty; }
590  }
591 
592  public ulong ActiveGroupPowers
593  {
594  get { return 0; }
595  }
596 
597  public bool IsGroupMember(UUID groupID)
598  {
599  return (m_hostGroupID == groupID);
600  }
601 
602  public ulong GetGroupPowers(UUID groupID)
603  {
604  return 0;
605  }
606 
607  public virtual int NextAnimationSequenceNumber
608  {
609  get { return 1; }
610  }
611 
612  public virtual void SendWearables(AvatarWearable[] wearables, int serial)
613  {
614  }
615 
616  public virtual void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
617  {
618  }
619 
620  public void SendCachedTextureResponse(ISceneEntity avatar, int serial, List<CachedTextureResponseArg> cachedTextures)
621  {
622 
623  }
624 
625  public virtual void Kick(string message)
626  {
627  }
628 
629  public virtual void SendStartPingCheck(byte seq)
630  {
631  }
632 
633  public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data)
634  {
635  }
636 
637  public virtual void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
638  {
639 
640  }
641 
642  public virtual void SendKillObject(List<uint> localID)
643  {
644  }
645 
646  public virtual void SetChildAgentThrottle(byte[] throttle)
647  {
648  }
649 
650  public virtual void SetChildAgentThrottle(byte[] throttle, float factor)
651  {
652 
653  }
654 
655  public void SetAgentThrottleSilent(int throttle, int setting)
656  {
657 
658 
659  }
660  public byte[] GetThrottlesPacked(float multiplier)
661  {
662  return new byte[0];
663  }
664 
665 
666  public virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
667  {
668  }
669 
670  public virtual void SendChatMessage(
671  string message, byte type, Vector3 fromPos, string fromName,
672  UUID fromAgentID, UUID ownerID, byte source, byte audible)
673  {
674  ChatToNPC ctn = OnChatToNPC;
675 
676  if (ctn != null)
677  ctn(message, type, fromPos, fromName, fromAgentID, ownerID, source, audible);
678  }
679 
681  {
682  Action<GridInstantMessage> oimtn = OnInstantMessageToNPC;
683 
684  if (oimtn != null)
685  oimtn(im);
686  }
687 
688  public void SendGenericMessage(string method, UUID invoice, List<string> message)
689  {
690 
691  }
692 
693  public void SendGenericMessage(string method, UUID invoice, List<byte[]> message)
694  {
695 
696  }
697 
698  public virtual bool CanSendLayerData()
699  {
700  return false;
701  }
702 
703  public virtual void SendLayerData(float[] map)
704  {
705  }
706 
707  public virtual void SendLayerData(int px, int py, float[] map)
708  {
709  }
710  public virtual void SendLayerData(int px, int py, float[] map, bool track)
711  {
712  }
713 
714  public virtual void SendWindData(Vector2[] windSpeeds) { }
715 
716  public virtual void SendCloudData(float[] cloudCover) { }
717 
718  public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
719  {
720  }
721 
722  public virtual void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
723  {
724  }
725 
727  {
728  return new AgentCircuitData();
729  }
730 
731  public virtual void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt,
732  IPEndPoint newRegionExternalEndPoint, string capsURL)
733  {
734  }
735 
736  public virtual void SendMapBlock(List<MapBlockData> mapBlocks, uint flag)
737  {
738  }
739 
740  public virtual void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
741  {
742  }
743 
744  public virtual void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint,
745  uint locationID, uint flags, string capsURL)
746  {
747  }
748 
749  public virtual void SendTeleportFailed(string reason)
750  {
751  }
752 
753  public virtual void SendTeleportStart(uint flags)
754  {
755  }
756 
757  public virtual void SendTeleportProgress(uint flags, string message)
758  {
759  }
760 
761  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)
762  {
763  }
764 
765  public virtual void SendPayPrice(UUID objectID, int[] payPrice)
766  {
767  }
768 
769  public virtual void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations)
770  {
771  }
772 
773  public virtual void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
774  {
775  }
776 
778  {
779  }
780 
781  public void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
782  {
783  }
784 
785  public void ReprioritizeUpdates()
786  {
787  }
788 
789  public void FlushPrimUpdates()
790  {
791  }
792 
793  public virtual void SendInventoryFolderDetails(UUID ownerID, UUID folderID,
794  List<InventoryItemBase> items,
795  List<InventoryFolderBase> folders,
796  int version,
797  bool fetchFolders,
798  bool fetchItems)
799  {
800  }
801 
802  public virtual void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item)
803  {
804  }
805 
806  public virtual void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackID)
807  {
808  }
809 
810  public void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId)
811  {
812  }
813 
814  public virtual void SendRemoveInventoryItem(UUID itemID)
815  {
816  }
817 
818  public virtual void SendBulkUpdateInventory(InventoryNodeBase node)
819  {
820  }
821 
822  public void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
823  {
824  }
825 
826  public virtual void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
827  {
828  }
829 
830  public virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory)
831  {
832  }
833  public virtual void SendAbortXferPacket(ulong xferID)
834  {
835 
836  }
837 
838  public virtual void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit,
839  int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor,
840  int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay,
841  int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent)
842  {
843 
844  }
845  public virtual void SendNameReply(UUID profileId, string firstname, string lastname)
846  {
847  }
848 
849  public virtual void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
850  {
851  }
852 
853  public virtual void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain,
854  byte flags)
855  {
856  }
857 
858  public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
859  {
860  }
861 
862  public void SendAttachedSoundGainChange(UUID objectID, float gain)
863  {
864 
865  }
866 
867  public void SendAlertMessage(string message)
868  {
869  }
870 
871  public void SendAgentAlertMessage(string message, bool modal)
872  {
873  }
874 
875  public void SendSystemAlertMessage(string message)
876  {
877  }
878 
879  public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message,
880  string url)
881  {
882  }
883 
884  public virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args)
885  {
886  if (OnRegionHandShakeReply != null)
887  {
888  OnRegionHandShakeReply(this);
889  }
890  }
891 
892  public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
893  {
894  }
895 
896  public void SendConfirmXfer(ulong xferID, uint PacketID)
897  {
898  }
899 
900  public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
901  {
902  }
903 
904  public void SendInitiateDownload(string simFileName, string clientFileName)
905  {
906  }
907 
908  public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
909  {
910  }
911 
912  public void SendImageNotFound(UUID imageid)
913  {
914  }
915 
916  public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData)
917  {
918  }
919 
921  {
922  }
923 
924  public void SendSimStats(SimStats stats)
925  {
926  }
927 
928  public void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags)
929  {
930 
931  }
932 
934  {
935  }
936 
937  public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong time, uint dlen, uint ylen, float phase)
938  {
939  }
940 
941  public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
942  {
943  }
944 
945  public void SendViewerTime(int phase)
946  {
947  }
948 
949  public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember,
950  string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL,
951  UUID partnerID)
952  {
953  }
954 
956  {
957  }
958 
959  public void SendTexture(AssetBase TextureAsset)
960  {
961  }
962 
963  public int DebugPacketLevel { get; set; }
964 
965  public void InPacket(object NewPack)
966  {
967  }
968 
969  public void ProcessInPacket(Packet NewPack)
970  {
971  }
972 
973  public void Close()
974  {
975  Close(true, false);
976  }
977 
978  public void Close(bool sendStop, bool force)
979  {
980  // Remove ourselves from the scene
981  m_scene.RemoveClient(AgentId, false);
982  }
983 
984  public void Start()
985  {
986  // We never start the client, so always fail.
987  throw new NotImplementedException();
988  }
989 
990  public void Stop()
991  {
992  }
993 
994  private uint m_circuitCode;
995  private IPEndPoint m_remoteEndPoint;
996 
997  public uint CircuitCode
998  {
999  get { return m_circuitCode; }
1000  set
1001  {
1002  m_circuitCode = value;
1003  m_remoteEndPoint = new IPEndPoint(IPAddress.Loopback, (ushort)m_circuitCode);
1004  }
1005  }
1006 
1007  public IPEndPoint RemoteEndPoint
1008  {
1009  get { return m_remoteEndPoint; }
1010  }
1011 
1012  public void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message)
1013  {
1014 
1015  }
1016  public void SendLogoutPacket()
1017  {
1018  }
1019 
1020  public void Terminate()
1021  {
1022  }
1023 
1025  {
1026  return null;
1027  }
1028 
1029  public void SetClientInfo(ClientInfo info)
1030  {
1031  }
1032 
1033  public void SendScriptQuestion(UUID objectID, string taskName, string ownerName, UUID itemID, int question)
1034  {
1035  }
1036  public void SendHealth(float health)
1037  {
1038  }
1039 
1040  public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
1041  {
1042  }
1043 
1044  public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
1045  {
1046  }
1047 
1049  {
1050  }
1051  public void SendEstateCovenantInformation(UUID covenant)
1052  {
1053  }
1054  public void SendTelehubInfo(UUID ObjectID, string ObjectName, Vector3 ObjectPos, Quaternion ObjectRot, List<Vector3> SpawnPoint)
1055  {
1056  }
1057  public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner)
1058  {
1059  }
1060 
1061  public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor,int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
1062  {
1063  }
1064  public void SendLandAccessListData(List<LandAccessEntry> accessList, uint accessFlag, int localLandID)
1065  {
1066  }
1067  public void SendForceClientSelectObjects(List<uint> objectIDs)
1068  {
1069  }
1070  public void SendCameraConstraint(Vector4 ConstraintPlane)
1071  {
1072  }
1073  public void SendLandObjectOwners(LandData land, List<UUID> groups, Dictionary<UUID, int> ownersAndCount)
1074  {
1075  }
1076  public void SendLandParcelOverlay(byte[] data, int sequence_id)
1077  {
1078  }
1079 
1080  public void SendGroupNameReply(UUID groupLLUID, string GroupName)
1081  {
1082  }
1083 
1084  public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
1085  {
1086  }
1087 
1088  public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
1089  {
1090  }
1091  #endregion
1092 
1093 
1094  public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
1095  {
1096  }
1097 
1098  public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID,
1099  byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight,
1100  byte mediaLoop)
1101  {
1102  }
1103 
1104  public void SendSetFollowCamProperties (UUID objectID, SortedDictionary<int, float> parameters)
1105  {
1106  }
1107 
1108  public void SendClearFollowCamProperties (UUID objectID)
1109  {
1110  }
1111 
1112  public void SendRegionHandle (UUID regoinID, ulong handle)
1113  {
1114  }
1115 
1116  public void SendParcelInfo (RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
1117  {
1118  }
1119 
1120  public void SetClientOption(string option, string value)
1121  {
1122  }
1123 
1124  public string GetClientOption(string option)
1125  {
1126  return string.Empty;
1127  }
1128 
1129  public void SendScriptTeleportRequest (string objName, string simName, Vector3 pos, Vector3 lookAt)
1130  {
1131  }
1132 
1133  public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
1134  {
1135  }
1136 
1137  public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
1138  {
1139  }
1140 
1141  public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
1142  {
1143  }
1144 
1145  public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
1146  {
1147  }
1148 
1149  public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
1150  {
1151  }
1152 
1153  public void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
1154  {
1155  }
1156 
1157  public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
1158  {
1159  }
1160 
1161  public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
1162  {
1163  }
1164 
1165  public void SendEventInfoReply (EventData info)
1166  {
1167  }
1168 
1169  public void SendOfferCallingCard (UUID destID, UUID transactionID)
1170  {
1171  }
1172 
1173  public void SendAcceptCallingCard (UUID transactionID)
1174  {
1175  }
1176 
1177  public void SendDeclineCallingCard (UUID transactionID)
1178  {
1179  }
1180 
1181  public void SendJoinGroupReply(UUID groupID, bool success)
1182  {
1183  }
1184 
1185  public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success)
1186  {
1187  }
1188 
1189  public void SendLeaveGroupReply(UUID groupID, bool success)
1190  {
1191  }
1192 
1193  public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
1194  {
1195  }
1196 
1197  public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
1198  {
1199  }
1200 
1201  public void SendTerminateFriend(UUID exFriendID)
1202  {
1203  }
1204 
1205  #region IClientAPI Members
1206 
1207 
1208  public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
1209  {
1210  //throw new NotImplementedException();
1211  return false;
1212  }
1213 
1214  public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
1215  {
1216  }
1217 
1218  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)
1219  {
1220  }
1221 
1222  public void SendAgentDropGroup(UUID groupID)
1223  {
1224  }
1225 
1226  public void SendAvatarNotesReply(UUID targetID, string text)
1227  {
1228  }
1229 
1230  public void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks)
1231  {
1232  }
1233 
1234  public void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds)
1235  {
1236  }
1237 
1238  public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
1239  {
1240  }
1241 
1242  public void SendUserInfoReply(bool imViaEmail, bool visible, string email)
1243  {
1244  }
1245 
1246  public void SendCreateGroupReply(UUID groupID, bool success, string message)
1247  {
1248  }
1249 
1251  {
1252  }
1253 
1255  {
1256  }
1257 
1258  public void SendMuteListUpdate(string filename)
1259  {
1260  }
1261 
1262  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)
1263  {
1264  }
1265  #endregion
1266 
1267  public void SendRebakeAvatarTextures(UUID textureID)
1268  {
1269  }
1270 
1271  public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
1272  {
1273  }
1274 
1275  public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt)
1276  {
1277  }
1278 
1279  public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier)
1280  {
1281  }
1282 
1283  public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt)
1284  {
1285  }
1286 
1287  public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
1288  {
1289  }
1290 
1291  public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1292  {
1293  }
1294 
1295  public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
1296  {
1297  }
1298 
1299  public void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
1300  {
1301  }
1302 
1303  public void SendAgentTerseUpdate(ISceneEntity presence)
1304  {
1305  }
1306 
1307  public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
1308  {
1309  }
1310 
1312  {
1313  }
1314 
1315  public void SendPartFullUpdate(ISceneEntity ent, uint? parentID)
1316  {
1317  }
1318 
1319  public int GetAgentThrottleSilent(int throttle)
1320  {
1321  return 0;
1322  }
1323 
1324  }
1325 }
virtual void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL)
Definition: NPCAvatar.cs:744
virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List< AvatarPickerReplyDataArgs > Data)
Definition: NPCAvatar.cs:633
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)
delegate void ParcelBuyPass(IClientAPI client, UUID agentID, int ParcelLocalID)
delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im)
delegate void ObjectDrop(uint localID, IClientAPI remoteClient)
void SendCachedTextureResponse(ISceneEntity avatar, int serial, List< CachedTextureResponseArg > cachedTextures)
Definition: NPCAvatar.cs:620
void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message)
Definition: NPCAvatar.cs:1012
DetailedEstateDataRequest OnDetailedEstateDataRequest
Definition: NPCAvatar.cs:420
delegate void TeleportCancel(IClientAPI remoteClient)
virtual void SendLayerData(int px, int py, float[] map)
Definition: NPCAvatar.cs:707
void SendLandObjectOwners(LandData land, List< UUID > groups, Dictionary< UUID, int > ownersAndCount)
Definition: NPCAvatar.cs:1073
void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
Definition: NPCAvatar.cs:1161
delegate void DirClassifiedQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, uint category, int queryStart)
void Shout(int channel, string message)
Definition: NPCAvatar.cs:121
Vector3 GroupPosition
The position of the entire group that this prim belongs to.
delegate void EventInfoRequest(IClientAPI remoteClient, uint eventID)
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)
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: NPCAvatar.cs:916
delegate void UpdatePrimSingleRotationPosition(uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient)
virtual void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
Definition: NPCAvatar.cs:722
delegate void EjectUserUpdate(IClientAPI client, UUID parcelowner, uint flags, UUID target)
void SendForceClientSelectObjects(List< uint > objectIDs)
Definition: NPCAvatar.cs:1067
delegate void AbortXfer(IClientAPI remoteClient, ulong xferID)
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)
delegate void RemoveInventoryItem(IClientAPI remoteClient, List< UUID > itemIDs)
void SendAttachedSoundGainChange(UUID objectID, float gain)
Definition: NPCAvatar.cs:862
delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient)
virtual void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List< InventoryItemBase > items, List< InventoryFolderBase > folders, int version, bool fetchFolders, bool fetchItems)
Definition: NPCAvatar.cs:793
delegate void GroupAccountSummaryRequest(IClientAPI client, UUID agentID, UUID groupID)
virtual void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
Definition: NPCAvatar.cs:740
delegate void PickInfoUpdate(IClientAPI client, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled)
void SendAgentTerseUpdate(ISceneEntity presence)
Definition: NPCAvatar.cs:1303
NPCAvatar(string firstname, string lastname, UUID agentID, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
Definition: NPCAvatar.cs:84
virtual void SendBulkUpdateInventory(InventoryNodeBase node)
Used by the server to inform the client of new inventory items and folders.
Definition: NPCAvatar.cs:818
delegate void ScriptAnswer(IClientAPI remoteClient, UUID objectID, UUID itemID, int answer)
delegate void ObjectSaleInfo(IClientAPI remoteClient, UUID agentID, UUID sessionID, uint localID, byte saleType, int salePrice)
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)
delegate void GrabObject(uint localID, Vector3 pos, IClientAPI remoteClient, List< SurfaceTouchEventArgs > surfaceArgs)
virtual void SetChildAgentThrottle(byte[] throttle, float factor)
Definition: NPCAvatar.cs:650
delegate void CachedTextureRequest(IClientAPI remoteClient, int serial, List< CachedTextureRequestArg > cachedTextureRequest)
void SendObjectPropertiesReply(ISceneEntity entity)
Definition: NPCAvatar.cs:933
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: NPCAvatar.cs:937
void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
Definition: NPCAvatar.cs:1307
delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID)
delegate void RequestPayPrice(IClientAPI remoteClient, UUID objectID)
ParcelObjectOwnerRequest OnParcelObjectOwnerRequest
Definition: NPCAvatar.cs:386
SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest
Definition: NPCAvatar.cs:431
void SendGenericMessage(string method, UUID invoice, List< byte[]> message)
Definition: NPCAvatar.cs:693
void SendJoinGroupReply(UUID groupID, bool success)
Definition: NPCAvatar.cs:1181
void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
Definition: NPCAvatar.cs:892
void SendLandParcelOverlay(byte[] data, int sequence_id)
Definition: NPCAvatar.cs:1076
delegate void MoveItemsAndLeaveCopy(IClientAPI remoteClient, List< InventoryItemBase > items, UUID destFolder)
UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation
Definition: NPCAvatar.cs:340
delegate void SoundTrigger(UUID soundId, UUID ownerid, UUID objid, UUID parentid, double Gain, Vector3 Position, UInt64 Handle, float radius)
void DeactivateGesture(UUID assetId, UUID gestureId)
Definition: NPCAvatar.cs:527
void InstantMessage(UUID target, string message)
Definition: NPCAvatar.cs:180
delegate void SetRegionTerrainSettings(float waterHeight, float terrainRaiseLimit, float terrainLowerLimit, bool estateSun, bool fixedSun, float sunHour, bool globalSun, bool estateFixed, float estateSunHour)
void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
Definition: NPCAvatar.cs:1197
SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights
Definition: NPCAvatar.cs:424
void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
Definition: NPCAvatar.cs:1133
void SendAvatarClassifiedReply(UUID targetID, Dictionary< UUID, string > classifieds)
Definition: NPCAvatar.cs:1234
void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember, string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID)
Definition: NPCAvatar.cs:949
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: NPCAvatar.cs:838
void SendAvatarPicksReply(UUID targetID, Dictionary< UUID, string > picks)
Definition: NPCAvatar.cs:1230
delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID)
void SendRegionHandle(UUID regoinID, ulong handle)
Definition: NPCAvatar.cs:1112
delegate void ObjectRequest(uint localID, IClientAPI remoteClient)
EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest
Definition: NPCAvatar.cs:432
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)
virtual void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
Definition: NPCAvatar.cs:637
void SendGroupTransactionsSummaryDetails(IClientAPI sender, UUID groupID, UUID transactionID, UUID sessionID, int amt)
Definition: NPCAvatar.cs:1283
delegate void UpdatePrimFlags(uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, ExtraPhysicsData PhysData, IClientAPI remoteClient)
delegate void RezObject(IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, bool RezSelected, bool RemoveItem, UUID fromTaskID)
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: NPCAvatar.cs:1218
delegate void SetEstateFlagsRequest(bool blockTerraform, bool noFly, bool allowDamage, bool blockLandResell, int maxAgents, float objectBonusFactor, int matureLevel, bool restrictPushObject, bool allowParcelChanges)
ChangeInventoryItemFlags OnChangeInventoryItemFlags
Definition: NPCAvatar.cs:514
void SendAsset(AssetRequestToClient req)
Definition: NPCAvatar.cs:955
virtual void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory)
Definition: NPCAvatar.cs:830
void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner)
Definition: NPCAvatar.cs:1057
delegate void ForceReleaseControls(IClientAPI remoteClient, UUID agentID)
delegate void StopAnim(IClientAPI remoteClient, UUID animID)
GroupAccountSummaryRequest OnGroupAccountSummaryRequest
Definition: NPCAvatar.cs:503
delegate void EstateChangeCovenantRequest(IClientAPI remoteClient, UUID newCovenantID)
delegate void ClientChangeObject(uint localID, object data, IClientAPI remoteClient)
delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun)
delegate void TextureRequest(Object sender, TextureRequestArgs e)
void SendAvatarNotesReply(UUID targetID, string text)
Definition: NPCAvatar.cs:1226
delegate void DelinkObjects(List< uint > primIds, IClientAPI client)
void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
Definition: NPCAvatar.cs:1094
void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId)
Definition: NPCAvatar.cs:810
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)
virtual void SetChildAgentThrottle(byte[] throttle)
Definition: NPCAvatar.cs:646
delegate void AvatarNowWearing(IClientAPI sender, AvatarWearingArgs e)
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 SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
Definition: NPCAvatar.cs:1088
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: NPCAvatar.cs:773
void GiveMoney(UUID target, int amount)
Definition: NPCAvatar.cs:136
void SendAvatarDataImmediate(ISceneEntity avatar)
Definition: NPCAvatar.cs:777
void SendTelehubInfo(UUID ObjectID, string ObjectName, Vector3 ObjectPos, Quaternion ObjectRot, List< Vector3 > SpawnPoint)
Definition: NPCAvatar.cs:1054
void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
Definition: NPCAvatar.cs:1271
void SendGroupAccountingSummary(IClientAPI sender, UUID groupID, uint moneyAmt, int totalTier, int usedTier)
Definition: NPCAvatar.cs:1279
GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate
Definition: NPCAvatar.cs:518
delegate void TeleportLocationRequest(IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags)
delegate void UserInfoRequest(IClientAPI client)
virtual void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackID)
Tell the client that we have created the item it requested.
Definition: NPCAvatar.cs:806
void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
Definition: NPCAvatar.cs:1040
void SendScriptQuestion(UUID objectID, string taskName, string ownerName, UUID itemID, int question)
Definition: NPCAvatar.cs:1033
delegate void LinkInventoryItem(IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, UUID olditemID)
delegate void EstateTeleportAllUsersHomeRequest(IClientAPI remoteClient, UUID invoice, UUID senderID)
delegate void AgentSit(IClientAPI remoteClient, UUID agentID)
delegate void ParcelObjectOwnerRequest(int local_id, IClientAPI remote_client)
delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient)
void SendGroupNameReply(UUID groupLLUID, string GroupName)
Definition: NPCAvatar.cs:1080
void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
Definition: NPCAvatar.cs:1193
void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt)
Definition: NPCAvatar.cs:1129
delegate void DirFindQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart)
void SendAdminResponse(UUID Token, uint AdminLevel)
Definition: NPCAvatar.cs:210
delegate void ParcelBuy(UUID agentId, UUID groupId, bool final, bool groupOwned, bool removeContribution, int parcelLocalID, int parcelArea, int parcelPrice, bool authenticated)
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 SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success)
Definition: NPCAvatar.cs:1185
delegate void PickGodDelete(IClientAPI client, UUID agentID, UUID pickID, UUID queryID)
Temporary interface. More methods to come at some point to make NPCs more object oriented rather than...
Definition: INPCModule.cs:50
delegate void ObjectDuplicate(uint localID, Vector3 offset, uint dupeFlags, UUID AgentID, UUID GroupID)
delegate void ClassifiedGodDelete(UUID classifiedID, UUID queryID, IClientAPI client)
void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
Definition: NPCAvatar.cs:1149
delegate void GenericCall2()
void SendConfirmXfer(ulong xferID, uint PacketID)
Definition: NPCAvatar.cs:896
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: NPCAvatar.cs:670
delegate void FreezeUserUpdate(IClientAPI client, UUID parcelowner, uint flags, UUID target)
Enapsulate statistics for a simulator/scene.
Definition: SimStats.cs:39
delegate void CopyInventoryItem(IClientAPI remoteClient, uint callbackID, UUID oldAgentID, UUID oldItemID, UUID newFolderID, string newName)
virtual void SendWearables(AvatarWearable[] wearables, int serial)
Tell this client what items it should be wearing now
Definition: NPCAvatar.cs:612
delegate void TerrainUnacked(IClientAPI remoteClient, int patchX, int patchY)
delegate void FriendActionDelegate(IClientAPI remoteClient, UUID transactionID, List< UUID > callingCardFolders)
void SendCreateGroupReply(UUID groupID, bool success, string message)
Definition: NPCAvatar.cs:1246
delegate void GenericMessage(Object sender, string method, List< String > args)
void ActivateGesture(UUID assetId, UUID gestureId)
Definition: NPCAvatar.cs:524
virtual void SendNameReply(UUID profileId, string firstname, string lastname)
Definition: NPCAvatar.cs:845
delegate void RequestGodlikePowers(UUID AgentID, UUID SessionID, UUID token, bool GodLike, IClientAPI remote_client)
delegate void GenericCall7(IClientAPI remoteClient, uint localID, string message)
delegate void ObjectSelect(uint localID, IClientAPI remoteClient)
void Say(int channel, string message)
Definition: NPCAvatar.cs:116
delegate void GodUpdateRegionInfoUpdate(IClientAPI client, float BillableFactor, ulong EstateID, ulong RegionFlags, byte[] SimName, int RedirectX, int RedirectY)
void SendTexture(AssetBase TextureAsset)
Definition: NPCAvatar.cs:959
void SendPartPhysicsProprieties(ISceneEntity entity)
Definition: NPCAvatar.cs:1311
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)
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...
delegate void StartAnim(IClientAPI remoteClient, UUID animID)
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: NPCAvatar.cs:1262
virtual void SendKillObject(List< uint > localID)
Tell the client that an object has been deleted
Definition: NPCAvatar.cs:642
void SetClientOption(string option, string value)
Definition: NPCAvatar.cs:1120
virtual void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
Definition: NPCAvatar.cs:826
Asset class. All Assets are reference by this class or a class derived from this class ...
Definition: AssetBase.cs:49
virtual void SendCoarseLocationUpdate(List< UUID > users, List< Vector3 > CoarseLocations)
Definition: NPCAvatar.cs:769
EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest
Definition: NPCAvatar.cs:434
delegate void TeleportLureRequest(UUID lureID, uint teleportFlags, IClientAPI client)
delegate void RequestTerrain(IClientAPI remoteClient, string clientFileName)
delegate void ParcelSetOtherCleanTime(IClientAPI remoteClient, int localID, int otherCleanTime)
delegate void EventNotificationAddRequest(uint EventID, IClientAPI client)
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)
delegate void ParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client)
delegate void EstateRestartSimRequest(IClientAPI remoteClient, int secondsTilReboot)
EstateDebugRegionRequest OnEstateDebugRegionRequest
Definition: NPCAvatar.cs:433
delegate void MoveInventoryFolder(IClientAPI remoteClient, UUID folderID, UUID parentID)
void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
Definition: NPCAvatar.cs:1287
ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest
Definition: NPCAvatar.cs:384
GroupAccountDetailsRequest OnGroupAccountDetailsRequest
Definition: NPCAvatar.cs:504
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: NPCAvatar.cs:761
delegate void AgentRequestSit(IClientAPI remoteClient, UUID agentID, UUID targetID, Vector3 offset)
virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args)
Definition: NPCAvatar.cs:884
delegate void CommitEstateTerrainTextureRequest(IClientAPI remoteClient)
delegate void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData ProfileData)
void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
Definition: NPCAvatar.cs:941
UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition
Definition: NPCAvatar.cs:338
void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
Definition: NPCAvatar.cs:1145
delegate void UpdateEstateAccessDeltaRequest(IClientAPI remote_client, UUID invoice, int estateAccessType, UUID user)
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)
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: NPCAvatar.cs:908
delegate void StatusChange(bool status)
void SendSetFollowCamProperties(UUID objectID, SortedDictionary< int, float > parameters)
Definition: NPCAvatar.cs:1104
delegate void UDPAssetUploadRequest(IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte[] data, bool storeLocal, bool tempFile)
delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int type, uint flags)
void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
Definition: NPCAvatar.cs:1137
EstateChangeCovenantRequest OnEstateChangeCovenantRequest
Definition: NPCAvatar.cs:429
delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, UUID invoice, UUID senderID, UUID prey)
void SendUserInfoReply(bool imViaEmail, bool visible, string email)
Definition: NPCAvatar.cs:1242
virtual void SendAbortXferPacket(ulong xferID)
Definition: NPCAvatar.cs:833
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)
bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
Definition: NPCAvatar.cs:1208
UpdatePrimSingleRotation OnUpdatePrimSingleRotation
Definition: NPCAvatar.cs:339
delegate void UpdateInventoryItem(IClientAPI remoteClient, UUID transactionID, UUID itemID, InventoryItemBase itemUpd)
An agent in the scene.
Definition: ISceneAgent.cs:39
delegate void ParcelGodMark(IClientAPI client, UUID agentID, int ParcelLocalID)
void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args)
Definition: NPCAvatar.cs:1048
delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart)
RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv
Definition: NPCAvatar.cs:277
ChatFromViewer Arguments
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 ...
delegate void DeRezObject(IClientAPI remoteClient, List< uint > localIDs, UUID groupID, DeRezAction action, UUID destinationID)
Action< IClientAPI, bool > OnCompleteMovementToRegion
Definition: NPCAvatar.cs:300
Inventory Item - contains all the properties associated with an individual inventory piece...
delegate void MuteListRequest(IClientAPI client, uint muteCRC)
Action< Vector3, bool, bool > OnAutoPilotGo
Definition: NPCAvatar.cs:442
virtual void SendRemoveInventoryItem(UUID itemID)
Definition: NPCAvatar.cs:814
delegate void ScriptReset(IClientAPI remoteClient, UUID objectID, UUID itemID)
delegate void ObjectAttach(IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent)
delegate void CreateInventoryFolder(IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID)
void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
Send a positional, velocity, etc. update to the viewer for a given entity.
Definition: NPCAvatar.cs:781
SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture
Definition: NPCAvatar.cs:422
void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
Definition: NPCAvatar.cs:1044
delegate void GroupAccountDetailsRequest(IClientAPI client, UUID agentID, UUID groupID, UUID transactionID, UUID sessionID)
void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
Definition: NPCAvatar.cs:900
virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
Sent when an agent completes its movement into a region.
Definition: NPCAvatar.cs:718
delegate void DetailedEstateDataRequest(IClientAPI remoteClient, UUID invoice)
delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle)
Details of a Parcel of land
Definition: LandData.cs:47
delegate void RemoveTaskInventory(IClientAPI remoteClient, UUID itemID, uint localID)
void SendAgentAlertMessage(string message, bool modal)
Definition: NPCAvatar.cs:871
virtual void SendWindData(Vector2[] windSpeeds)
Definition: NPCAvatar.cs:714
delegate void ObjectExtraParams(UUID agentID, uint localID, ushort type, bool inUse, byte[] data)
delegate void ObjectOwner(IClientAPI remoteClient, UUID ownerID, UUID groupID, List< uint > localIDs)
delegate void ParcelReturnObjectsRequest(int local_id, uint return_type, UUID[] agent_ids, UUID[] selected_ids, IClientAPI remote_client)
delegate void EstateChangeInfo(IClientAPI client, UUID invoice, UUID senderID, UInt32 param1, UInt32 param2)
delegate void MoveTaskInventory(IClientAPI remoteClient, UUID folderID, uint localID, UUID itemID)
void SendSimStats(SimStats stats)
Send statistical information about the sim to the client.
Definition: NPCAvatar.cs:924
void SendInstantMessage(GridInstantMessage im)
Definition: NPCAvatar.cs:680
RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv
Definition: NPCAvatar.cs:276
void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags)
Definition: NPCAvatar.cs:928
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: NPCAvatar.cs:1061
void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
Definition: NPCAvatar.cs:1238
delegate void ParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client)
EventNotificationAddRequest OnEventNotificationAddRequest
Definition: NPCAvatar.cs:477
delegate void ModifyTerrain(UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId)
NPCAvatar(string firstname, string lastname, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
Definition: NPCAvatar.cs:71
delegate void SendPostcard(IClientAPI client)
delegate void ChangeAnim(UUID animID, bool addOrRemove, bool sendPack)
delegate void UpdateAgent(IClientAPI remoteClient, AgentUpdateArgs agentData)
void SendCameraConstraint(Vector4 ConstraintPlane)
Definition: NPCAvatar.cs:1070
delegate void GodLandStatRequest(int parcelID, uint reportType, uint requestflags, string filter, IClientAPI remoteClient)
delegate void ParcelDwellRequest(int localID, IClientAPI client)
ChatToNPC OnChatToNPC
Fired when the NPC receives a chat message.
Definition: NPCAvatar.cs:54
delegate void MoveInventoryItem(IClientAPI remoteClient, List< InventoryItemBase > items)
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)
delegate void LinkObjects(IClientAPI remoteClient, uint parent, List< uint > children)
delegate void ParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client)
UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest
Definition: NPCAvatar.cs:430
ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest
Definition: NPCAvatar.cs:378
ParcelReturnObjectsRequest OnParcelReturnObjectsRequest
Definition: NPCAvatar.cs:382
delegate void StartLure(byte lureType, string message, UUID targetID, IClientAPI client)
delegate void EconomyDataRequest(IClientAPI client)
delegate void GodKickUser(UUID GodAgentID, UUID GodSessionID, UUID AgentID, uint kickflags, byte[] reason)
virtual void SendCloudData(float[] cloudCover)
Definition: NPCAvatar.cs:716
void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop)
Definition: NPCAvatar.cs:1098
delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt)
delegate void ParcelReclaim(int local_id, IClientAPI remote_client)
CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest
Definition: NPCAvatar.cs:425
Interactive OpenSim region server
Definition: OpenSim.cs:55
GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest
Definition: NPCAvatar.cs:505
void SendLeaveGroupReply(UUID groupID, bool success)
Definition: NPCAvatar.cs:1189
delegate void RegionHandleRequest(IClientAPI remoteClient, UUID regionID)
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)
EventNotificationRemoveRequest OnEventNotificationRemoveRequest
Definition: NPCAvatar.cs:478
delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client)
delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client)
void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
Definition: NPCAvatar.cs:1291
PrimUpdateFlags
Specifies the fields that have been changed when sending a prim or avatar update
Definition: IClientAPI.cs:677
Args to return to a client that queries picker data
virtual AgentCircuitData RequestClientInfo()
Return circuit information for this client.
Definition: NPCAvatar.cs:726
void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
Definition: NPCAvatar.cs:858
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)
delegate void ParcelSelectObjects(int land_local_id, int request_type, List< UUID > returnIDs, IClientAPI remote_client)
void SetAgentThrottleSilent(int throttle, int setting)
Definition: NPCAvatar.cs:655
void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
Definition: NPCAvatar.cs:1153
void SendGenericMessage(string method, UUID invoice, List< string > message)
Definition: NPCAvatar.cs:688
delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client)
void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
Definition: NPCAvatar.cs:1299
void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY)
Definition: NPCAvatar.cs:198
delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID)
delegate void DeclineCallingCard(IClientAPI remoteClient, UUID transactionID)
virtual void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags)
Definition: NPCAvatar.cs:853
delegate void EstateManageTelehub(IClientAPI client, UUID invoice, UUID senderID, string cmd, UInt32 param1)
void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
Definition: NPCAvatar.cs:822
void SendPartFullUpdate(ISceneEntity ent, uint?parentID)
Definition: NPCAvatar.cs:1315
void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
Definition: NPCAvatar.cs:1116
virtual void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
Send information about the given agent's appearance to another client.
Definition: NPCAvatar.cs:616
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.)
delegate void RequestAvatarProperties(IClientAPI remoteClient, UUID avatarID)
void SendInitiateDownload(string simFileName, string clientFileName)
Definition: NPCAvatar.cs:904
void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
Definition: NPCAvatar.cs:1141
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)
delegate void PickDelete(IClientAPI client, UUID pickID)
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)
delegate void SetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID, bool running)
void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
Definition: NPCAvatar.cs:1084
delegate void FetchInventoryDescendents(IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder)
EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest
Definition: NPCAvatar.cs:435
RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily
Definition: NPCAvatar.cs:325
void SendGroupMembership(GroupMembershipData[] GroupMembership)
Definition: NPCAvatar.cs:215
delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName)
virtual void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL)
Definition: NPCAvatar.cs:731
delegate void RemoveInventoryFolder(IClientAPI remoteClient, List< UUID > folderIDs)
delegate void LandUndo(IClientAPI remoteClient)
RequestObjectPropertiesFamily OnObjectGroupRequest
Definition: NPCAvatar.cs:418
virtual void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
Definition: NPCAvatar.cs:849
delegate void FindAgentUpdate(IClientAPI client, UUID hunter, UUID target)
delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data)
void SendGroupAccountingDetails(IClientAPI sender, UUID groupID, UUID transactionID, UUID sessionID, int amt)
Definition: NPCAvatar.cs:1275
delegate void SetAppearance(IClientAPI remoteClient, Primitive.TextureEntry textureEntry, byte[] visualParams, Vector3 AvSize, WearableCacheItem[] CacheItems)
void Whisper(int channel, string message)
Definition: NPCAvatar.cs:126
SetRegionTerrainSettings OnSetRegionTerrainSettings
Definition: NPCAvatar.cs:426
FetchInventoryDescendents OnFetchInventoryDescendents
Definition: NPCAvatar.cs:354
delegate void UpdateUserInfo(bool imViaEmail, bool visible, IClientAPI client)
delegate void EstateCovenantRequest(IClientAPI remote_client)
void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
Definition: NPCAvatar.cs:203
delegate void ParcelPropertiesUpdateRequest(LandUpdateArgs args, int local_id, IClientAPI remote_client)
void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
Definition: NPCAvatar.cs:1214
delegate void SpinStop(UUID objectID, IClientAPI remoteClient)
delegate void ChatMessage(Object sender, OSChatMessage e)
PurgeInventoryDescendents OnPurgeInventoryDescendents
Definition: NPCAvatar.cs:355
virtual void SendLayerData(int px, int py, float[] map, bool track)
Definition: NPCAvatar.cs:710
delegate void RequestObjectPropertiesFamily(IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID TaskID)
void SendLandAccessListData(List< LandAccessEntry > accessList, uint accessFlag, int localLandID)
Definition: NPCAvatar.cs:1064
SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture
Definition: NPCAvatar.cs:423
delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery)
void Start()
Start processing for this client.
Definition: NPCAvatar.cs:984
void SendOfferCallingCard(UUID destID, UUID transactionID)
Definition: NPCAvatar.cs:1169
delegate void ViewerEffectEventHandler(IClientAPI sender, List< ViewerEffectEventHandlerArg > args)
delegate void RegionInfoRequest(IClientAPI remote_client)
Action< GridInstantMessage > OnInstantMessageToNPC
Fired when the NPC receives an instant message.
Definition: NPCAvatar.cs:59
virtual void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item)
Definition: NPCAvatar.cs:802
delegate void DirLandQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags, uint searchType, int price, int area, int queryStart)
virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
Definition: NPCAvatar.cs:666
void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
Definition: NPCAvatar.cs:1295
virtual void SendTeleportProgress(uint flags, string message)
Definition: NPCAvatar.cs:757
delegate void TrackAgentUpdate(IClientAPI client, UUID hunter, UUID target)
delegate void RetrieveInstantMessages(IClientAPI client)
delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages)
virtual void SendMapBlock(List< MapBlockData > mapBlocks, uint flag)
Definition: NPCAvatar.cs:736
delegate void ObjectDeselect(uint localID, IClientAPI remoteClient)
void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
Definition: NPCAvatar.cs:1157
delegate void TeleportLandmarkRequest(IClientAPI remoteClient, AssetLandmark lm)
virtual void SendTeleportFailed(string reason)
Definition: NPCAvatar.cs:749
void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url)
Definition: NPCAvatar.cs:879
GroupActiveProposalsRequest OnGroupActiveProposalsRequest
Definition: NPCAvatar.cs:510
virtual void SendPayPrice(UUID objectID, int[] payPrice)
Definition: NPCAvatar.cs:765
delegate void UUIDNameRequest(UUID id, IClientAPI remote_client)
delegate void GetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID)
void Close(bool sendStop, bool force)
Close this client
Definition: NPCAvatar.cs:978
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)
void SendImageNotFound(UUID imageid)
Tell the client that the requested texture cannot be found
Definition: NPCAvatar.cs:912
delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client)
delegate void SimWideDeletesDelegate(IClientAPI client, UUID agentID, int flags, UUID targetID)
delegate void MoneyBalanceRequest(IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID TransactionID)
delegate void ChangeInventoryItemFlags(IClientAPI client, UUID itemID, uint flags)
delegate void DisconnectUser()