NPCAvatar.cs 46 KB

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