1
0

NPCAvatar.cs 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405
  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. using System;
  28. using System.Collections.Generic;
  29. using System.Net;
  30. using OpenMetaverse;
  31. using OpenMetaverse.Packets;
  32. using OpenSim.Framework;
  33. using OpenSim.Region.Framework.Interfaces;
  34. using OpenSim.Region.Framework.Scenes;
  35. using OpenSim.Region.CoreModules.World.Estate;
  36. using log4net;
  37. using System.Reflection;
  38. using System.Xml;
  39. namespace OpenSim.Region.OptionalModules.World.NPC
  40. {
  41. public class NPCAvatar : IClientAPI, INPC
  42. {
  43. public bool SenseAsAgent { get; set; }
  44. public UUID Owner
  45. {
  46. get { return m_ownerID;}
  47. }
  48. public delegate void ChatToNPC(
  49. string message, byte type, Vector3 fromPos, string fromName,
  50. UUID fromAgentID, UUID ownerID, byte source, byte audible);
  51. /// <summary>
  52. /// Fired when the NPC receives a chat message.
  53. /// </summary>
  54. public event ChatToNPC OnChatToNPC;
  55. public ViewerFlags ViewerFlags { get; private set; }
  56. /// <summary>
  57. /// Fired when the NPC receives an instant message.
  58. /// </summary>
  59. public event Action<GridInstantMessage> OnInstantMessageToNPC;
  60. private readonly string m_firstname;
  61. private readonly string m_lastname;
  62. private readonly Vector3 m_startPos;
  63. private UUID m_uuid = UUID.Random();
  64. private readonly Scene m_scene;
  65. private readonly UUID m_scopeID;
  66. private readonly UUID m_ownerID;
  67. private UUID m_hostGroupID;
  68. private string m_profileAbout = "";
  69. private UUID m_profileImage = UUID.Zero;
  70. private string m_born;
  71. public List<uint> SelectedObjects {get; private set;}
  72. public NPCAvatar(
  73. string firstname, string lastname, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
  74. {
  75. m_firstname = firstname;
  76. m_lastname = lastname;
  77. m_startPos = position;
  78. m_uuid = UUID.Random();
  79. m_scene = scene;
  80. m_scopeID = scene.RegionInfo.ScopeID;
  81. m_ownerID = ownerID;
  82. SenseAsAgent = senseAsAgent;
  83. m_hostGroupID = UUID.Zero;
  84. }
  85. public NPCAvatar(
  86. string firstname, string lastname, UUID agentID, Vector3 position, UUID ownerID, bool senseAsAgent, Scene scene)
  87. {
  88. m_firstname = firstname;
  89. m_lastname = lastname;
  90. m_startPos = position;
  91. m_uuid = agentID;
  92. m_scene = scene;
  93. m_ownerID = ownerID;
  94. SenseAsAgent = senseAsAgent;
  95. m_hostGroupID = UUID.Zero;
  96. }
  97. public string profileAbout
  98. {
  99. get { return m_profileAbout; }
  100. set
  101. {
  102. if(value.Length > 255)
  103. m_profileAbout = value.Substring(0,255);
  104. else
  105. m_profileAbout = value;
  106. }
  107. }
  108. public UUID profileImage
  109. {
  110. get { return m_profileImage; }
  111. set { m_profileImage = value; }
  112. }
  113. public IScene Scene
  114. {
  115. get { return m_scene; }
  116. }
  117. public UUID ScopeId
  118. {
  119. get { return m_scopeID; }
  120. }
  121. public int PingTimeMS { get { return 0; } }
  122. public UUID OwnerID
  123. {
  124. get { return m_ownerID; }
  125. }
  126. public ISceneAgent SceneAgent { get; set; }
  127. public void Say(string message)
  128. {
  129. SendOnChatFromClient(0, message, ChatTypeEnum.Say);
  130. }
  131. public void Say(int channel, string message)
  132. {
  133. SendOnChatFromClient(channel, message, ChatTypeEnum.Say);
  134. }
  135. public void Shout(int channel, string message)
  136. {
  137. SendOnChatFromClient(channel, message, ChatTypeEnum.Shout);
  138. }
  139. public void Whisper(int channel, string message)
  140. {
  141. SendOnChatFromClient(channel, message, ChatTypeEnum.Whisper);
  142. }
  143. public void Broadcast(string message)
  144. {
  145. SendOnChatFromClient(0, message, ChatTypeEnum.Broadcast);
  146. }
  147. public void GiveMoney(UUID target, int amount)
  148. {
  149. OnMoneyTransferRequest(m_uuid, target, amount, 1, "Payment");
  150. }
  151. public bool Touch(UUID target)
  152. {
  153. SceneObjectPart part = m_scene.GetSceneObjectPart(target);
  154. if (part == null)
  155. return false;
  156. bool objectTouchable = hasTouchEvents(part); // Only touch an object that is scripted to respond
  157. if (!objectTouchable && !part.IsRoot)
  158. objectTouchable = hasTouchEvents(part.ParentGroup.RootPart);
  159. if (!objectTouchable)
  160. return false;
  161. // Set up the surface args as if the touch is from a client that does not support this
  162. SurfaceTouchEventArgs surfaceArgs = new SurfaceTouchEventArgs()
  163. {
  164. FaceIndex = -1, // TOUCH_INVALID_FACE
  165. Binormal = Vector3.Zero, // TOUCH_INVALID_VECTOR
  166. Normal = Vector3.Zero, // TOUCH_INVALID_VECTOR
  167. STCoord = new Vector3(-1.0f, -1.0f, 0.0f), // TOUCH_INVALID_TEXCOORD
  168. UVCoord = new Vector3(-1.0f, -1.0f, 0.0f) // TOUCH_INVALID_TEXCOORD
  169. };
  170. List<SurfaceTouchEventArgs> touchArgs = new List<SurfaceTouchEventArgs>() { surfaceArgs };
  171. Vector3 offset = part.OffsetPosition * -1.0f;
  172. if (OnGrabObject == null)
  173. return false;
  174. OnGrabObject(part.LocalId, offset, this, touchArgs);
  175. OnGrabUpdate?.Invoke(part.UUID, offset, part.ParentGroup.RootPart.GroupPosition, this, touchArgs);
  176. OnDeGrabObject?.Invoke(part.LocalId, this, touchArgs);
  177. return true;
  178. }
  179. private bool hasTouchEvents(SceneObjectPart part)
  180. {
  181. return (part.ScriptEvents & scriptEvents.anytouch) != 0;
  182. }
  183. public void InstantMessage(UUID target, string message)
  184. {
  185. OnInstantMessage(this, new GridInstantMessage(m_scene,
  186. m_uuid, m_firstname + " " + m_lastname,
  187. target, 0, false, message,
  188. UUID.Zero, false, Position, Array.Empty<byte>(), true));
  189. }
  190. public void SendAgentOffline(UUID[] agentIDs)
  191. {
  192. }
  193. public void SendAgentOnline(UUID[] agentIDs)
  194. {
  195. }
  196. public void SendFindAgent(UUID HunterID, UUID PreyID, double GlobalX, double GlobalY)
  197. {
  198. }
  199. public void SendSitResponse(UUID TargetID, Vector3 OffsetPos,
  200. Quaternion SitOrientation, bool autopilot,
  201. Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
  202. {
  203. }
  204. public void SendAdminResponse(UUID Token, uint AdminLevel)
  205. {
  206. }
  207. public void SendGroupMembership(GroupMembershipData[] GroupMembership)
  208. {
  209. }
  210. public Vector3 Position
  211. {
  212. get { return m_scene.Entities[m_uuid].AbsolutePosition; }
  213. set { m_scene.Entities[m_uuid].AbsolutePosition = value; }
  214. }
  215. public bool SendLogoutPacketWhenClosing
  216. {
  217. set { }
  218. }
  219. #region Internal Functions
  220. private void SendOnChatFromClient(int channel, string message, ChatTypeEnum chatType)
  221. {
  222. if(OnChatFromClient == null)
  223. return;
  224. message = message.Trim();
  225. if (channel == 0 && message.Length == 0)
  226. return;
  227. OSChatMessage chatFromClient = new OSChatMessage()
  228. {
  229. Channel = channel,
  230. From = Name,
  231. Message = message,
  232. //Position = StartPos,
  233. Position = this.Position,
  234. Scene = m_scene,
  235. Sender = this,
  236. SenderUUID = AgentId,
  237. Type = chatType
  238. };
  239. OnChatFromClient?.Invoke(this, chatFromClient);
  240. }
  241. #endregion
  242. #region Event Definitions IGNORE
  243. // disable warning: public events constituting public API
  244. #pragma warning disable 67
  245. public event Action<IClientAPI> OnLogout;
  246. public event ObjectPermissions OnObjectPermissions;
  247. public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy;
  248. public event MoneyTransferRequest OnMoneyTransferRequest;
  249. public event ParcelBuy OnParcelBuy;
  250. public event Action<IClientAPI> OnConnectionClosed;
  251. public event GenericMessage OnGenericMessage;
  252. public event ImprovedInstantMessage OnInstantMessage;
  253. public event ChatMessage OnChatFromClient;
  254. public event TextureRequest OnRequestTexture;
  255. public event RezObject OnRezObject;
  256. public event ModifyTerrain OnModifyTerrain;
  257. public event SetAppearance OnSetAppearance;
  258. public event AvatarNowWearing OnAvatarNowWearing;
  259. public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv;
  260. public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv;
  261. public event UUIDNameRequest OnDetachAttachmentIntoInv;
  262. public event ObjectAttach OnObjectAttach;
  263. public event ObjectDeselect OnObjectDetach;
  264. public event ObjectDrop OnObjectDrop;
  265. public event StartAnim OnStartAnim;
  266. public event StopAnim OnStopAnim;
  267. public event ChangeAnim OnChangeAnim;
  268. public event LinkObjects OnLinkObjects;
  269. public event DelinkObjects OnDelinkObjects;
  270. public event RequestMapBlocks OnRequestMapBlocks;
  271. public event RequestMapName OnMapNameRequest;
  272. public event TeleportLocationRequest OnTeleportLocationRequest;
  273. public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
  274. public event TeleportCancel OnTeleportCancel;
  275. public event DisconnectUser OnDisconnectUser;
  276. public event RequestAvatarProperties OnRequestAvatarProperties;
  277. public event SetAlwaysRun OnSetAlwaysRun;
  278. public event DeRezObject OnDeRezObject;
  279. public event RezRestoreToWorld OnRezRestoreToWorld;
  280. public event Action<IClientAPI> OnRegionHandShakeReply;
  281. public event GenericCall1 OnRequestWearables;
  282. public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
  283. public event UpdateAgent OnPreAgentUpdate;
  284. public event UpdateAgent OnAgentUpdate;
  285. public event UpdateAgent OnAgentCameraUpdate;
  286. public event AgentRequestSit OnAgentRequestSit;
  287. public event AgentSit OnAgentSit;
  288. public event AvatarPickerRequest OnAvatarPickerRequest;
  289. public event Action<IClientAPI> OnRequestAvatarsData;
  290. public event AddNewPrim OnAddPrim;
  291. public event RequestGodlikePowers OnRequestGodlikePowers;
  292. public event GodKickUser OnGodKickUser;
  293. public event ObjectDuplicate OnObjectDuplicate;
  294. public event GrabObject OnGrabObject;
  295. public event DeGrabObject OnDeGrabObject;
  296. public event MoveObject OnGrabUpdate;
  297. public event SpinStart OnSpinStart;
  298. public event SpinObject OnSpinUpdate;
  299. public event SpinStop OnSpinStop;
  300. public event ViewerEffectEventHandler OnViewerEffect;
  301. public event AgentDataUpdate OnAgentDataUpdateRequest;
  302. public event TeleportLocationRequest OnSetStartLocationRequest;
  303. public event UpdateShape OnUpdatePrimShape;
  304. public event ObjectExtraParams OnUpdateExtraParams;
  305. public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
  306. public event ObjectRequest OnObjectRequest;
  307. public event ObjectSelect OnObjectSelect;
  308. public event GenericCall7 OnObjectDescription;
  309. public event GenericCall7 OnObjectName;
  310. public event GenericCall7 OnObjectClickAction;
  311. public event GenericCall7 OnObjectMaterial;
  312. public event UpdatePrimFlags OnUpdatePrimFlags;
  313. public event UpdatePrimTexture OnUpdatePrimTexture;
  314. public event UpdateVector OnUpdatePrimGroupPosition;
  315. public event UpdateVector OnUpdatePrimSinglePosition;
  316. public event ClientChangeObject onClientChangeObject;
  317. public event UpdatePrimRotation OnUpdatePrimGroupRotation;
  318. public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
  319. public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
  320. public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
  321. public event UpdateVector OnUpdatePrimScale;
  322. public event UpdateVector OnUpdatePrimGroupScale;
  323. public event StatusChange OnChildAgentStatus;
  324. public event GenericCall2 OnStopMovement;
  325. public event Action<UUID> OnRemoveAvatar;
  326. public event CreateNewInventoryItem OnCreateNewInventoryItem;
  327. public event LinkInventoryItem OnLinkInventoryItem;
  328. public event CreateInventoryFolder OnCreateNewInventoryFolder;
  329. public event UpdateInventoryFolder OnUpdateInventoryFolder;
  330. public event MoveInventoryFolder OnMoveInventoryFolder;
  331. public event RemoveInventoryFolder OnRemoveInventoryFolder;
  332. public event RemoveInventoryItem OnRemoveInventoryItem;
  333. public event FetchInventoryDescendents OnFetchInventoryDescendents;
  334. public event PurgeInventoryDescendents OnPurgeInventoryDescendents;
  335. public event FetchInventory OnFetchInventory;
  336. public event RequestTaskInventory OnRequestTaskInventory;
  337. public event UpdateInventoryItem OnUpdateInventoryItem;
  338. public event CopyInventoryItem OnCopyInventoryItem;
  339. public event MoveInventoryItem OnMoveInventoryItem;
  340. public event UDPAssetUploadRequest OnAssetUploadRequest;
  341. public event XferReceive OnXferReceive;
  342. public event RequestXfer OnRequestXfer;
  343. public event AbortXfer OnAbortXfer;
  344. public event ConfirmXfer OnConfirmXfer;
  345. public event RezScript OnRezScript;
  346. public event UpdateTaskInventory OnUpdateTaskInventory;
  347. public event MoveTaskInventory OnMoveTaskItem;
  348. public event RemoveTaskInventory OnRemoveTaskItem;
  349. public event RequestAsset OnRequestAsset;
  350. public event UUIDNameRequest OnNameFromUUIDRequest;
  351. public event UUIDNameRequest OnUUIDGroupNameRequest;
  352. public event ParcelPropertiesRequest OnParcelPropertiesRequest;
  353. public event ParcelDivideRequest OnParcelDivideRequest;
  354. public event ParcelJoinRequest OnParcelJoinRequest;
  355. public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
  356. public event ParcelAbandonRequest OnParcelAbandonRequest;
  357. public event ParcelGodForceOwner OnParcelGodForceOwner;
  358. public event ParcelReclaim OnParcelReclaim;
  359. public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest;
  360. public event ParcelAccessListRequest OnParcelAccessListRequest;
  361. public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest;
  362. public event ParcelSelectObjects OnParcelSelectObjects;
  363. public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
  364. public event ParcelDeedToGroup OnParcelDeedToGroup;
  365. public event ObjectDeselect OnObjectDeselect;
  366. public event RegionInfoRequest OnRegionInfoRequest;
  367. public event EstateCovenantRequest OnEstateCovenantRequest;
  368. public event RequestTerrain OnRequestTerrain;
  369. public event RequestTerrain OnUploadTerrain;
  370. public event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
  371. public event FriendActionDelegate OnApproveFriendRequest;
  372. public event FriendActionDelegate OnDenyFriendRequest;
  373. public event FriendshipTermination OnTerminateFriendship;
  374. public event GrantUserFriendRights OnGrantUserRights;
  375. public event EconomyDataRequest OnEconomyDataRequest;
  376. public event MoneyBalanceRequest OnMoneyBalanceRequest;
  377. public event UpdateAvatarProperties OnUpdateAvatarProperties;
  378. public event ObjectIncludeInSearch OnObjectIncludeInSearch;
  379. public event UUIDNameRequest OnTeleportHomeRequest;
  380. public event ScriptAnswer OnScriptAnswer;
  381. public event RequestPayPrice OnRequestPayPrice;
  382. public event ObjectSaleInfo OnObjectSaleInfo;
  383. public event ObjectBuy OnObjectBuy;
  384. public event BuyObjectInventory OnBuyObjectInventory;
  385. public event AgentSit OnUndo;
  386. public event AgentSit OnRedo;
  387. public event LandUndo OnLandUndo;
  388. public event ForceReleaseControls OnForceReleaseControls;
  389. public event GodLandStatRequest OnLandStatRequest;
  390. public event RequestObjectPropertiesFamily OnObjectGroupRequest;
  391. public event DetailedEstateDataRequest OnDetailedEstateDataRequest;
  392. public event SetEstateFlagsRequest OnSetEstateFlagsRequest;
  393. public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture;
  394. public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture;
  395. public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights;
  396. public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest;
  397. public event SetRegionTerrainSettings OnSetRegionTerrainSettings;
  398. public event BakeTerrain OnBakeTerrain;
  399. public event EstateRestartSimRequest OnEstateRestartSimRequest;
  400. public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest;
  401. public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest;
  402. public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest;
  403. public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
  404. public event EstateDebugRegionRequest OnEstateDebugRegionRequest;
  405. public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
  406. public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest;
  407. public event EstateChangeInfo OnEstateChangeInfo;
  408. public event EstateManageTelehub OnEstateManageTelehub;
  409. public event CachedTextureRequest OnCachedTextureRequest;
  410. public event ScriptReset OnScriptReset;
  411. public event GetScriptRunning OnGetScriptRunning;
  412. public event SetScriptRunning OnSetScriptRunning;
  413. public event Action<Vector3, bool, bool> OnAutoPilotGo;
  414. public event TerrainUnacked OnUnackedTerrain;
  415. public event RegionHandleRequest OnRegionHandleRequest;
  416. public event ParcelInfoRequest OnParcelInfoRequest;
  417. public event ActivateGesture OnActivateGesture;
  418. public event DeactivateGesture OnDeactivateGesture;
  419. public event ObjectOwner OnObjectOwner;
  420. public event DirPlacesQuery OnDirPlacesQuery;
  421. public event DirFindQuery OnDirFindQuery;
  422. public event DirLandQuery OnDirLandQuery;
  423. public event DirPopularQuery OnDirPopularQuery;
  424. public event DirClassifiedQuery OnDirClassifiedQuery;
  425. public event EventInfoRequest OnEventInfoRequest;
  426. public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime;
  427. public event MapItemRequest OnMapItemRequest;
  428. public event OfferCallingCard OnOfferCallingCard;
  429. public event AcceptCallingCard OnAcceptCallingCard;
  430. public event DeclineCallingCard OnDeclineCallingCard;
  431. public event SoundTrigger OnSoundTrigger;
  432. public event StartLure OnStartLure;
  433. public event TeleportLureRequest OnTeleportLureRequest;
  434. public event NetworkStats OnNetworkStatsUpdate;
  435. public event ClassifiedInfoRequest OnClassifiedInfoRequest;
  436. public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
  437. public event ClassifiedDelete OnClassifiedDelete;
  438. public event ClassifiedGodDelete OnClassifiedGodDelete;
  439. public event EventNotificationAddRequest OnEventNotificationAddRequest;
  440. public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
  441. public event EventGodDelete OnEventGodDelete;
  442. public event ParcelDwellRequest OnParcelDwellRequest;
  443. public event UserInfoRequest OnUserInfoRequest;
  444. public event UpdateUserInfo OnUpdateUserInfo;
  445. public event RetrieveInstantMessages OnRetrieveInstantMessages;
  446. public event PickDelete OnPickDelete;
  447. public event PickGodDelete OnPickGodDelete;
  448. public event PickInfoUpdate OnPickInfoUpdate;
  449. public event AvatarNotesUpdate OnAvatarNotesUpdate;
  450. public event MuteListRequest OnMuteListRequest;
  451. public event AvatarInterestUpdate OnAvatarInterestUpdate;
  452. public event PlacesQuery OnPlacesQuery;
  453. public event FindAgentUpdate OnFindAgent;
  454. public event TrackAgentUpdate OnTrackAgent;
  455. public event NewUserReport OnUserReport;
  456. public event SaveStateHandler OnSaveState;
  457. public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest;
  458. public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest;
  459. public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest;
  460. public event FreezeUserUpdate OnParcelFreezeUser;
  461. public event EjectUserUpdate OnParcelEjectUser;
  462. public event ParcelBuyPass OnParcelBuyPass;
  463. public event ParcelGodMark OnParcelGodMark;
  464. public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest;
  465. public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
  466. public event SimWideDeletesDelegate OnSimWideDeletes;
  467. public event SendPostcard OnSendPostcard;
  468. public event ChangeInventoryItemFlags OnChangeInventoryItemFlags;
  469. public event MuteListEntryUpdate OnUpdateMuteListEntry;
  470. public event MuteListEntryRemove OnRemoveMuteListEntry;
  471. public event GodlikeMessage onGodlikeMessage;
  472. public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
  473. public event GenericCall2 OnUpdateThrottles;
  474. public event AgentFOV OnAgentFOV;
  475. #pragma warning restore 67
  476. #endregion
  477. public void ActivateGesture(UUID assetId, UUID gestureId)
  478. {
  479. }
  480. public void DeactivateGesture(UUID assetId, UUID gestureId)
  481. {
  482. }
  483. #region Overrriden Methods IGNORE
  484. public virtual Vector3 StartPos
  485. {
  486. get { return m_startPos; }
  487. set { }
  488. }
  489. public float StartFar { get; set; }
  490. public float FOV { get; set; } = 1.25f;
  491. public int viewHeight { get; set; } = 480;
  492. public int viewWidth { get; set; } = 640;
  493. public virtual UUID AgentId
  494. {
  495. get { return m_uuid; }
  496. set { m_uuid = value; }
  497. }
  498. public UUID SessionId
  499. {
  500. get { return UUID.Zero; }
  501. }
  502. public UUID SecureSessionId
  503. {
  504. get { return UUID.Zero; }
  505. }
  506. public virtual string FirstName
  507. {
  508. get { return m_firstname; }
  509. }
  510. public virtual string LastName
  511. {
  512. get { return m_lastname; }
  513. }
  514. public virtual String Name
  515. {
  516. get { return FirstName + " " + LastName; }
  517. }
  518. public bool IsActive
  519. {
  520. get { return true; }
  521. set { }
  522. }
  523. public bool IsLoggingOut
  524. {
  525. get { return false; }
  526. set { }
  527. }
  528. public UUID ActiveGroupId
  529. {
  530. get { return m_hostGroupID; }
  531. set { m_hostGroupID = value; }
  532. }
  533. public string ActiveGroupName
  534. {
  535. get { return String.Empty; }
  536. set { }
  537. }
  538. public ulong ActiveGroupPowers
  539. {
  540. get { return 0; }
  541. set { }
  542. }
  543. public string Born
  544. {
  545. get { return m_born; }
  546. set { m_born = value; }
  547. }
  548. public bool IsGroupMember(UUID groupID)
  549. {
  550. return m_hostGroupID.Equals(groupID);
  551. }
  552. public Dictionary<UUID, ulong> GetGroupPowers()
  553. {
  554. return new Dictionary<UUID, ulong>();
  555. }
  556. public void SetGroupPowers(Dictionary<UUID, ulong> powers) { }
  557. public ulong GetGroupPowers(UUID groupID)
  558. {
  559. return 0;
  560. }
  561. public virtual int NextAnimationSequenceNumber
  562. {
  563. get { return 1; }
  564. set { }
  565. }
  566. public virtual void SendWearables(AvatarWearable[] wearables, int serial)
  567. {
  568. }
  569. public virtual void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry, float hover)
  570. {
  571. }
  572. public void SendCachedTextureResponse(ISceneEntity avatar, int serial, List<CachedTextureResponseArg> cachedTextures)
  573. {
  574. }
  575. public virtual void Kick(string message)
  576. {
  577. }
  578. public virtual void SendAvatarPickerReply(UUID QueryID, List<UserData> users)
  579. {
  580. }
  581. public virtual void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
  582. {
  583. }
  584. public virtual void SendKillObject(List<uint> localID)
  585. {
  586. }
  587. public virtual void SetChildAgentThrottle(byte[] throttle)
  588. {
  589. }
  590. public virtual void SetChildAgentThrottle(byte[] throttle, float factor)
  591. {
  592. }
  593. public void SetAgentThrottleSilent(int throttle, int setting)
  594. {
  595. }
  596. public byte[] GetThrottlesPacked(float multiplier)
  597. {
  598. return Array.Empty<byte>();
  599. }
  600. public virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
  601. {
  602. }
  603. public virtual void SendChatMessage(
  604. string message, byte type, Vector3 fromPos, string fromName,
  605. UUID fromAgentID, UUID ownerID, byte source, byte audible)
  606. {
  607. OnChatToNPC?.Invoke(message, type, fromPos, fromName, fromAgentID, ownerID, source, audible);
  608. }
  609. public void SendInstantMessage(GridInstantMessage im)
  610. {
  611. OnInstantMessageToNPC?.Invoke(im);
  612. }
  613. public void SendGenericMessage(string method, UUID invoice, List<string> message)
  614. {
  615. }
  616. public void SendGenericMessage(string method, UUID invoice, List<byte[]> message)
  617. {
  618. }
  619. public virtual bool CanSendLayerData()
  620. {
  621. return false;
  622. }
  623. public virtual void SendLayerData()
  624. {
  625. }
  626. public void SendLayerData(int[] map)
  627. {
  628. }
  629. public virtual void SendWindData(int version, Vector2[] windSpeeds) { }
  630. public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
  631. {
  632. }
  633. public virtual void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
  634. {
  635. }
  636. public virtual AgentCircuitData RequestClientInfo()
  637. {
  638. return new AgentCircuitData();
  639. }
  640. public virtual void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt,
  641. IPEndPoint newRegionExternalEndPoint, string capsURL)
  642. {
  643. }
  644. public virtual void SendMapBlock(List<MapBlockData> mapBlocks, uint flag)
  645. {
  646. }
  647. public virtual void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
  648. {
  649. }
  650. public virtual void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint,
  651. uint locationID, uint flags, string capsURL)
  652. {
  653. }
  654. public virtual void SendTeleportFailed(string reason)
  655. {
  656. }
  657. public virtual void SendTeleportStart(uint flags)
  658. {
  659. }
  660. public virtual void SendTeleportProgress(uint flags, string message)
  661. {
  662. }
  663. 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)
  664. {
  665. }
  666. public virtual void SendPayPrice(UUID objectID, int[] payPrice)
  667. {
  668. }
  669. public virtual void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations)
  670. {
  671. }
  672. public virtual void SendDialog(string objectname, UUID objectID, UUID ownerID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
  673. {
  674. }
  675. public void SendEntityFullUpdateImmediate(ISceneEntity avatar)
  676. {
  677. }
  678. public void SendEntityTerseUpdateImmediate(ISceneEntity ent)
  679. {
  680. }
  681. public void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
  682. {
  683. }
  684. public void ReprioritizeUpdates()
  685. {
  686. }
  687. public void FlushPrimUpdates()
  688. {
  689. }
  690. public virtual void SendInventoryFolderDetails(UUID ownerID, UUID folderID,
  691. List<InventoryItemBase> items,
  692. List<InventoryFolderBase> folders,
  693. int version,
  694. int descendents,
  695. bool fetchFolders,
  696. bool fetchItems)
  697. {
  698. }
  699. public void SendInventoryItemDetails(InventoryItemBase[] items)
  700. {
  701. }
  702. public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackID)
  703. {
  704. }
  705. public void SendInventoryItemCreateUpdate(InventoryItemBase Item, UUID transactionID, uint callbackId)
  706. {
  707. }
  708. public void SendRemoveInventoryItem(UUID itemID)
  709. {
  710. }
  711. public void SendRemoveInventoryItems(UUID[] items)
  712. {
  713. }
  714. public void SendBulkUpdateInventory(InventoryNodeBase node, UUID? transactionID = null)
  715. {
  716. }
  717. public void SendBulkUpdateInventory(InventoryFolderBase[] folders, InventoryItemBase[] items)
  718. {
  719. }
  720. public void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
  721. {
  722. }
  723. public void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
  724. {
  725. }
  726. public virtual void SendXferPacket(ulong xferID, uint packet,
  727. byte[] XferData, int XferDataOffset, int XferDatapktLen, bool isTaskInventory)
  728. {
  729. }
  730. public virtual void SendAbortXferPacket(ulong xferID)
  731. {
  732. }
  733. public virtual void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit,
  734. int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor,
  735. int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay,
  736. int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent)
  737. {
  738. }
  739. public virtual void SendNameReply(UUID profileId, string firstname, string lastname)
  740. {
  741. }
  742. public virtual void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
  743. {
  744. }
  745. public virtual void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain,
  746. byte flags)
  747. {
  748. }
  749. public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
  750. {
  751. }
  752. public void SendAttachedSoundGainChange(UUID objectID, float gain)
  753. {
  754. }
  755. public void SendAlertMessage(string message)
  756. {
  757. }
  758. public void SendAgentAlertMessage(string message, bool modal)
  759. {
  760. }
  761. public void SendAlertMessage(string message, string info)
  762. {
  763. }
  764. public void SendSystemAlertMessage(string message)
  765. {
  766. }
  767. public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message,
  768. string url)
  769. {
  770. }
  771. public virtual void SendRegionHandshake()
  772. {
  773. OnRegionHandShakeReply?.Invoke(this);
  774. }
  775. public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
  776. {
  777. }
  778. public void SendConfirmXfer(ulong xferID, uint PacketID)
  779. {
  780. }
  781. public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
  782. {
  783. }
  784. public void SendInitiateDownload(string simFileName, string clientFileName)
  785. {
  786. }
  787. public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
  788. {
  789. }
  790. public void SendImageNotFound(UUID imageid)
  791. {
  792. }
  793. public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData)
  794. {
  795. }
  796. public void SendShutdownConnectionNotice()
  797. {
  798. }
  799. public void SendSimStats(SimStats stats)
  800. {
  801. }
  802. public void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags)
  803. {
  804. }
  805. public void SendObjectPropertiesReply(ISceneEntity entity)
  806. {
  807. }
  808. public void SendViewerTime(Vector3 sunDir, float sunphase)
  809. {
  810. }
  811. public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
  812. {
  813. }
  814. public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] membershipType,
  815. string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL,
  816. UUID partnerID)
  817. {
  818. }
  819. public void SendAsset(AssetRequestToClient req)
  820. {
  821. }
  822. public void SendTexture(AssetBase TextureAsset)
  823. {
  824. }
  825. public int DebugPacketLevel { get; set; }
  826. public void InPacket(object NewPack)
  827. {
  828. }
  829. public void ProcessInPacket(Packet NewPack)
  830. {
  831. }
  832. public void Close()
  833. {
  834. Close(true, false);
  835. }
  836. public void Close(bool sendStop, bool force)
  837. {
  838. // Remove ourselves from the scene
  839. m_scene.RemoveClient(AgentId, false);
  840. }
  841. public void Disconnect(string reason)
  842. {
  843. Close(true, false);
  844. }
  845. public void Start()
  846. {
  847. // We never start the client, so always fail.
  848. throw new NotImplementedException();
  849. }
  850. public void Stop()
  851. {
  852. }
  853. private uint m_circuitCode;
  854. private IPEndPoint m_remoteEndPoint;
  855. public uint CircuitCode
  856. {
  857. get { return m_circuitCode; }
  858. set
  859. {
  860. m_circuitCode = value;
  861. m_remoteEndPoint = new IPEndPoint(IPAddress.Loopback, (ushort)m_circuitCode);
  862. }
  863. }
  864. public IPEndPoint RemoteEndPoint
  865. {
  866. get { return m_remoteEndPoint; }
  867. }
  868. public void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message)
  869. {
  870. }
  871. public void SendLogoutPacket()
  872. {
  873. }
  874. public void Terminate()
  875. {
  876. }
  877. public ClientInfo GetClientInfo()
  878. {
  879. return null;
  880. }
  881. public void SetClientInfo(ClientInfo info)
  882. {
  883. }
  884. public void SendScriptQuestion(UUID objectID, string taskName, string ownerName, UUID itemID, int question)
  885. {
  886. }
  887. public void SendHealth(float health)
  888. {
  889. }
  890. public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
  891. {
  892. }
  893. public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
  894. {
  895. }
  896. public void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args)
  897. {
  898. }
  899. public void SendEstateCovenantInformation(UUID covenant)
  900. {
  901. }
  902. public void SendTelehubInfo(UUID ObjectID, string ObjectName, Vector3 ObjectPos, Quaternion ObjectRot, List<Vector3> SpawnPoint)
  903. {
  904. }
  905. public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner)
  906. {
  907. }
  908. public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor,int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
  909. {
  910. }
  911. public void SendLandAccessListData(List<LandAccessEntry> accessList, uint accessFlag, int localLandID)
  912. {
  913. }
  914. public void SendForceClientSelectObjects(List<uint> objectIDs)
  915. {
  916. }
  917. public void SendCameraConstraint(Vector4 ConstraintPlane)
  918. {
  919. }
  920. public void SendLandObjectOwners(LandData land, List<UUID> groups, Dictionary<UUID, int> ownersAndCount)
  921. {
  922. }
  923. public void SendLandParcelOverlay(byte[] data, int sequence_id)
  924. {
  925. }
  926. public void SendGroupNameReply(UUID groupLLUID, string GroupName)
  927. {
  928. }
  929. public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
  930. {
  931. }
  932. public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
  933. {
  934. }
  935. #endregion
  936. public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
  937. {
  938. }
  939. public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID,
  940. byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight,
  941. byte mediaLoop)
  942. {
  943. }
  944. public void SendSetFollowCamProperties (UUID objectID, SortedDictionary<int, float> parameters)
  945. {
  946. }
  947. public void SendClearFollowCamProperties (UUID objectID)
  948. {
  949. }
  950. public void SendRegionHandle (UUID regoinID, ulong handle)
  951. {
  952. }
  953. public void SendParcelInfo (RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
  954. {
  955. }
  956. public void SetClientOption(string option, string value)
  957. {
  958. }
  959. public string GetClientOption(string option)
  960. {
  961. return string.Empty;
  962. }
  963. public void SendScriptTeleportRequest (string objName, string simName, Vector3 pos, Vector3 lookAt)
  964. {
  965. }
  966. public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
  967. {
  968. }
  969. public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
  970. {
  971. }
  972. public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
  973. {
  974. }
  975. public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
  976. {
  977. }
  978. public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
  979. {
  980. }
  981. public void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
  982. {
  983. }
  984. public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
  985. {
  986. }
  987. public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
  988. {
  989. }
  990. public void SendEventInfoReply (EventData info)
  991. {
  992. }
  993. public void SendOfferCallingCard (UUID destID, UUID transactionID)
  994. {
  995. }
  996. public void SendAcceptCallingCard (UUID transactionID)
  997. {
  998. }
  999. public void SendDeclineCallingCard (UUID transactionID)
  1000. {
  1001. }
  1002. public void SendJoinGroupReply(UUID groupID, bool success)
  1003. {
  1004. }
  1005. public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success)
  1006. {
  1007. }
  1008. public void SendLeaveGroupReply(UUID groupID, bool success)
  1009. {
  1010. }
  1011. public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
  1012. {
  1013. }
  1014. public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
  1015. {
  1016. }
  1017. public void SendTerminateFriend(UUID exFriendID)
  1018. {
  1019. }
  1020. #region IClientAPI Members
  1021. public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
  1022. {
  1023. //throw new NotImplementedException();
  1024. return false;
  1025. }
  1026. public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
  1027. {
  1028. }
  1029. 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)
  1030. {
  1031. }
  1032. public void SendAgentDropGroup(UUID groupID)
  1033. {
  1034. }
  1035. public void SendAvatarNotesReply(UUID targetID, string text)
  1036. {
  1037. }
  1038. public void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks)
  1039. {
  1040. }
  1041. public void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds)
  1042. {
  1043. }
  1044. public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
  1045. {
  1046. }
  1047. public void SendUserInfoReply(bool imViaEmail, bool visible, string email)
  1048. {
  1049. }
  1050. public void SendCreateGroupReply(UUID groupID, bool success, string message)
  1051. {
  1052. }
  1053. public void RefreshGroupMembership()
  1054. {
  1055. }
  1056. public void UpdateGroupMembership(GroupMembershipData[] data)
  1057. {
  1058. }
  1059. public void GroupMembershipRemove(UUID GroupID)
  1060. {
  1061. }
  1062. public void GroupMembershipAddReplace(UUID GroupID,ulong GroupPowers)
  1063. {
  1064. }
  1065. public void SendUseCachedMuteList()
  1066. {
  1067. }
  1068. public void SendEmpytMuteList()
  1069. {
  1070. }
  1071. public void SendMuteListUpdate(string filename)
  1072. {
  1073. }
  1074. 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)
  1075. {
  1076. }
  1077. #endregion
  1078. public void SendRebakeAvatarTextures(UUID textureID)
  1079. {
  1080. }
  1081. public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
  1082. {
  1083. }
  1084. public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt)
  1085. {
  1086. }
  1087. public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier)
  1088. {
  1089. }
  1090. public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt)
  1091. {
  1092. }
  1093. public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
  1094. {
  1095. }
  1096. public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
  1097. {
  1098. }
  1099. public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
  1100. {
  1101. }
  1102. public void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
  1103. {
  1104. }
  1105. public void SendAgentTerseUpdate(ISceneEntity presence)
  1106. {
  1107. }
  1108. public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data)
  1109. {
  1110. }
  1111. public void SendSelectedPartsProprieties(List<ISceneEntity> parts)
  1112. {
  1113. }
  1114. public void SendPartPhysicsProprieties(ISceneEntity entity)
  1115. {
  1116. }
  1117. public void SendPartFullUpdate(ISceneEntity ent, uint? parentID)
  1118. {
  1119. }
  1120. public int GetAgentThrottleSilent(int throttle)
  1121. {
  1122. return 0;
  1123. }
  1124. public uint GetViewerCaps()
  1125. {
  1126. return 0;
  1127. }
  1128. }
  1129. }