IClientAPI.cs 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471
  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. namespace OpenSim.Framework
  33. {
  34. #region Client API Delegate definitions
  35. public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args);
  36. public delegate void ChatMessage(Object sender, OSChatMessage e);
  37. public delegate void GenericMessage(Object sender, string method, List<String> args);
  38. public delegate void TextureRequest(Object sender, TextureRequestArgs e);
  39. public delegate void AvatarNowWearing(Object sender, AvatarWearingArgs e);
  40. public delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im);
  41. public delegate void RezObject(IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart,
  42. UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection,
  43. bool RezSelected, bool RemoveItem, UUID fromTaskID);
  44. public delegate UUID RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt);
  45. public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, RezMultipleAttachmentsFromInvPacket.HeaderDataBlock header,
  46. RezMultipleAttachmentsFromInvPacket.ObjectDataBlock[] objects);
  47. public delegate void ObjectAttach(
  48. IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, Quaternion rot, bool silent);
  49. public delegate void ModifyTerrain(UUID user,
  50. float height, float seconds, byte size, byte action, float north, float west, float south, float east,
  51. UUID agentId);
  52. public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes);
  53. public delegate void SetAppearance(Primitive.TextureEntry textureEntry, byte[] visualParams);
  54. public delegate void StartAnim(IClientAPI remoteClient, UUID animID);
  55. public delegate void StopAnim(IClientAPI remoteClient, UUID animID);
  56. public delegate void LinkObjects(IClientAPI remoteClient, uint parent, List<uint> children);
  57. public delegate void DelinkObjects(List<uint> primIds);
  58. public delegate void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag);
  59. public delegate void RequestMapName(IClientAPI remoteClient, string mapName);
  60. public delegate void TeleportLocationRequest(
  61. IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags);
  62. public delegate void TeleportLandmarkRequest(
  63. IClientAPI remoteClient, UUID regionID, Vector3 position);
  64. public delegate void DisconnectUser();
  65. public delegate void RequestAvatarProperties(IClientAPI remoteClient, UUID avatarID);
  66. public delegate void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData ProfileData);
  67. public delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun);
  68. public delegate void GenericCall2();
  69. // really don't want to be passing packets in these events, so this is very temporary.
  70. public delegate void GenericCall4(Packet packet, IClientAPI remoteClient);
  71. public delegate void DeRezObject(
  72. IClientAPI remoteClient, List<uint> localIDs, UUID groupID, DeRezAction action, UUID destinationID);
  73. public delegate void GenericCall5(IClientAPI remoteClient, bool status);
  74. public delegate void GenericCall7(IClientAPI remoteClient, uint localID, string message);
  75. public delegate void UpdateShape(UUID agentID, uint localID, UpdateShapeArgs shapeBlock);
  76. public delegate void ObjectExtraParams(UUID agentID, uint localID, ushort type, bool inUse, byte[] data);
  77. public delegate void ObjectSelect(uint localID, IClientAPI remoteClient);
  78. public delegate void ObjectRequest(uint localID, IClientAPI remoteClient);
  79. public delegate void RequestObjectPropertiesFamily(
  80. IClientAPI remoteClient, UUID AgentID, uint RequestFlags, UUID TaskID);
  81. public delegate void ObjectDeselect(uint localID, IClientAPI remoteClient);
  82. public delegate void ObjectDrop(uint localID, IClientAPI remoteClient);
  83. public delegate void UpdatePrimFlags(
  84. uint localID, bool UsePhysics, bool IsTemporary, bool IsPhantom, IClientAPI remoteClient);
  85. public delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient);
  86. public delegate void UpdateVector(uint localID, Vector3 pos, IClientAPI remoteClient);
  87. public delegate void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient);
  88. public delegate void UpdatePrimSingleRotation(uint localID, Quaternion rot, IClientAPI remoteClient);
  89. public delegate void UpdatePrimSingleRotationPosition(uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient);
  90. public delegate void UpdatePrimGroupRotation(uint localID, Vector3 pos, Quaternion rot, IClientAPI remoteClient);
  91. public delegate void ObjectDuplicate(uint localID, Vector3 offset, uint dupeFlags, UUID AgentID, UUID GroupID);
  92. public delegate void ObjectDuplicateOnRay(uint localID, uint dupeFlags, UUID AgentID, UUID GroupID,
  93. UUID RayTargetObj, Vector3 RayEnd, Vector3 RayStart,
  94. bool BypassRaycast, bool RayEndIsIntersection, bool CopyCenters,
  95. bool CopyRotates);
  96. public delegate void StatusChange(bool status);
  97. public delegate void NewAvatar(IClientAPI remoteClient, UUID agentID, bool status);
  98. public delegate void UpdateAgent(IClientAPI remoteClient, AgentUpdateArgs agentData);
  99. public delegate void AgentRequestSit(IClientAPI remoteClient, UUID agentID, UUID targetID, Vector3 offset);
  100. public delegate void AgentSit(IClientAPI remoteClient, UUID agentID);
  101. public delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery);
  102. public delegate void GrabObject(
  103. uint localID, Vector3 pos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs);
  104. public delegate void DeGrabObject(
  105. uint localID, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs);
  106. public delegate void MoveObject(
  107. UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs);
  108. public delegate void SpinStart(UUID objectID, IClientAPI remoteClient);
  109. public delegate void SpinObject(UUID objectID, Quaternion rotation, IClientAPI remoteClient);
  110. public delegate void SpinStop(UUID objectID, IClientAPI remoteClient);
  111. public delegate void ParcelAccessListRequest(
  112. UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
  113. public delegate void ParcelAccessListUpdateRequest(
  114. UUID agentID, UUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries,
  115. IClientAPI remote_client);
  116. public delegate void ParcelPropertiesRequest(
  117. int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client);
  118. public delegate void ParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client);
  119. public delegate void ParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client);
  120. public delegate void ParcelPropertiesUpdateRequest(LandUpdateArgs args, int local_id, IClientAPI remote_client);
  121. public delegate void ParcelSelectObjects(int land_local_id, int request_type, List<UUID> returnIDs, IClientAPI remote_client);
  122. public delegate void ParcelObjectOwnerRequest(int local_id, IClientAPI remote_client);
  123. public delegate void ParcelAbandonRequest(int local_id, IClientAPI remote_client);
  124. public delegate void ParcelGodForceOwner(int local_id, UUID ownerID, IClientAPI remote_client);
  125. public delegate void ParcelReclaim(int local_id, IClientAPI remote_client);
  126. public delegate void ParcelReturnObjectsRequest(
  127. int local_id, uint return_type, UUID[] agent_ids, UUID[] selected_ids, IClientAPI remote_client);
  128. public delegate void ParcelDeedToGroup(int local_id, UUID group_id, IClientAPI remote_client);
  129. public delegate void EstateOwnerMessageRequest(
  130. UUID AgentID, UUID SessionID, UUID TransactionID, UUID Invoice, byte[] Method, byte[][] Parameters,
  131. IClientAPI remote_client);
  132. public delegate void RegionInfoRequest(IClientAPI remote_client);
  133. public delegate void EstateCovenantRequest(IClientAPI remote_client);
  134. public delegate void UUIDNameRequest(UUID id, IClientAPI remote_client);
  135. public delegate void AddNewPrim(
  136. UUID ownerID, UUID groupID, Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape, byte bypassRaycast, Vector3 RayStart,
  137. UUID RayTargetID,
  138. byte RayEndIsIntersection);
  139. public delegate void RequestGodlikePowers(
  140. UUID AgentID, UUID SessionID, UUID token, bool GodLike, IClientAPI remote_client);
  141. public delegate void GodKickUser(
  142. UUID GodAgentID, UUID GodSessionID, UUID AgentID, uint kickflags, byte[] reason);
  143. public delegate void CreateInventoryFolder(
  144. IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID);
  145. public delegate void UpdateInventoryFolder(
  146. IClientAPI remoteClient, UUID folderID, ushort type, string name, UUID parentID);
  147. public delegate void MoveInventoryFolder(
  148. IClientAPI remoteClient, UUID folderID, UUID parentID);
  149. public delegate void CreateNewInventoryItem(
  150. IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name,
  151. sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask, int creationDate);
  152. public delegate void FetchInventoryDescendents(
  153. IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder);
  154. public delegate void PurgeInventoryDescendents(
  155. IClientAPI remoteClient, UUID folderID);
  156. public delegate void FetchInventory(IClientAPI remoteClient, UUID itemID, UUID ownerID);
  157. public delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID);
  158. /* public delegate void UpdateInventoryItem(
  159. IClientAPI remoteClient, UUID transactionID, UUID itemID, string name, string description,
  160. uint nextOwnerMask);*/
  161. public delegate void UpdateInventoryItem(
  162. IClientAPI remoteClient, UUID transactionID, UUID itemID, InventoryItemBase itemUpd);
  163. public delegate void CopyInventoryItem(
  164. IClientAPI remoteClient, uint callbackID, UUID oldAgentID, UUID oldItemID, UUID newFolderID,
  165. string newName);
  166. public delegate void MoveInventoryItem(
  167. IClientAPI remoteClient, List<InventoryItemBase> items);
  168. public delegate void RemoveInventoryItem(
  169. IClientAPI remoteClient, List<UUID> itemIDs);
  170. public delegate void RemoveInventoryFolder(
  171. IClientAPI remoteClient, List<UUID> folderIDs);
  172. public delegate void RequestAsset(IClientAPI remoteClient, RequestAssetArgs transferRequest);
  173. public delegate void AbortXfer(IClientAPI remoteClient, ulong xferID);
  174. public delegate void RezScript(IClientAPI remoteClient, InventoryItemBase item, UUID transactionID, uint localID);
  175. public delegate void UpdateTaskInventory(
  176. IClientAPI remoteClient, UUID transactionID, TaskInventoryItem item, uint localID);
  177. public delegate void MoveTaskInventory(IClientAPI remoteClient, UUID folderID, uint localID, UUID itemID);
  178. public delegate void RemoveTaskInventory(IClientAPI remoteClient, UUID itemID, uint localID);
  179. public delegate void UDPAssetUploadRequest(
  180. IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte[] data, bool storeLocal,
  181. bool tempFile);
  182. public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data);
  183. public delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName);
  184. public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID);
  185. public delegate void FriendActionDelegate(
  186. IClientAPI remoteClient, UUID agentID, UUID transactionID, List<UUID> callingCardFolders);
  187. public delegate void FriendshipTermination(IClientAPI remoteClient, UUID agentID, UUID ExID);
  188. public delegate void MoneyTransferRequest(
  189. UUID sourceID, UUID destID, int amount, int transactionType, string description);
  190. public delegate void ParcelBuy(UUID agentId, UUID groupId, bool final, bool groupOwned,
  191. bool removeContribution, int parcelLocalID, int parcelArea, int parcelPrice,
  192. bool authenticated);
  193. // We keep all this information for fraud purposes in the future.
  194. public delegate void MoneyBalanceRequest(IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID TransactionID);
  195. public delegate void ObjectPermissions(
  196. IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set);
  197. public delegate void EconomyDataRequest(UUID agentID);
  198. public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID);
  199. public delegate void ScriptAnswer(IClientAPI remoteClient, UUID objectID, UUID itemID, int answer);
  200. public delegate void RequestPayPrice(IClientAPI remoteClient, UUID objectID);
  201. public delegate void ObjectSaleInfo(
  202. IClientAPI remoteClient, UUID agentID, UUID sessionID, uint localID, byte saleType, int salePrice);
  203. public delegate void ObjectBuy(
  204. IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID groupID, UUID categoryID, uint localID,
  205. byte saleType, int salePrice);
  206. public delegate void BuyObjectInventory(
  207. IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID objectID, UUID itemID, UUID folderID);
  208. public delegate void ForceReleaseControls(IClientAPI remoteClient, UUID agentID);
  209. public delegate void GodLandStatRequest(
  210. int parcelID, uint reportType, uint requestflags, string filter, IClientAPI remoteClient);
  211. //Estate Requests
  212. public delegate void DetailedEstateDataRequest(IClientAPI remoteClient, UUID invoice);
  213. public delegate void SetEstateFlagsRequest(
  214. bool blockTerraform, bool noFly, bool allowDamage, bool blockLandResell, int maxAgents, float objectBonusFactor,
  215. int matureLevel, bool restrictPushObject, bool allowParcelChanges);
  216. public delegate void SetEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, UUID side);
  217. public delegate void SetEstateTerrainDetailTexture(IClientAPI remoteClient, int corner, UUID side);
  218. public delegate void SetEstateTerrainTextureHeights(IClientAPI remoteClient, int corner, float lowVal, float highVal
  219. );
  220. public delegate void CommitEstateTerrainTextureRequest(IClientAPI remoteClient);
  221. public delegate void SetRegionTerrainSettings(
  222. float waterHeight, float terrainRaiseLimit, float terrainLowerLimit, bool estateSun, bool fixedSun,
  223. float sunHour, bool globalSun, bool estateFixed, float estateSunHour);
  224. public delegate void EstateChangeInfo(IClientAPI client, UUID invoice, UUID senderID, UInt32 param1, UInt32 param2);
  225. public delegate void RequestTerrain(IClientAPI remoteClient, string clientFileName);
  226. public delegate void BakeTerrain(IClientAPI remoteClient);
  227. public delegate void EstateRestartSimRequest(IClientAPI remoteClient, int secondsTilReboot);
  228. public delegate void EstateChangeCovenantRequest(IClientAPI remoteClient, UUID newCovenantID);
  229. public delegate void UpdateEstateAccessDeltaRequest(
  230. IClientAPI remote_client, UUID invoice, int estateAccessType, UUID user);
  231. public delegate void SimulatorBlueBoxMessageRequest(
  232. IClientAPI remoteClient, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message);
  233. public delegate void EstateBlueBoxMessageRequest(
  234. IClientAPI remoteClient, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message);
  235. public delegate void EstateDebugRegionRequest(
  236. IClientAPI remoteClient, UUID invoice, UUID senderID, bool scripted, bool collisionEvents, bool physics);
  237. public delegate void EstateTeleportOneUserHomeRequest(
  238. IClientAPI remoteClient, UUID invoice, UUID senderID, UUID prey);
  239. public delegate void EstateTeleportAllUsersHomeRequest(IClientAPI remoteClient, UUID invoice, UUID senderID);
  240. public delegate void RegionHandleRequest(IClientAPI remoteClient, UUID regionID);
  241. public delegate void ParcelInfoRequest(IClientAPI remoteClient, UUID parcelID);
  242. public delegate void ScriptReset(IClientAPI remoteClient, UUID objectID, UUID itemID);
  243. public delegate void GetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID);
  244. public delegate void SetScriptRunning(IClientAPI remoteClient, UUID objectID, UUID itemID, bool running);
  245. public delegate void ActivateGesture(IClientAPI client, UUID gestureid, UUID assetId);
  246. public delegate void DeactivateGesture(IClientAPI client, UUID gestureid);
  247. public delegate void TerrainUnacked(IClientAPI remoteClient, int patchX, int patchY);
  248. public delegate void ObjectOwner(IClientAPI remoteClient, UUID ownerID, UUID groupID, List<uint> localIDs);
  249. public delegate void DirPlacesQuery(
  250. IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName,
  251. int queryStart);
  252. public delegate void DirFindQuery(
  253. IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart);
  254. public delegate void DirLandQuery(
  255. IClientAPI remoteClient, UUID queryID, uint queryFlags, uint searchType, int price, int area, int queryStart);
  256. public delegate void DirPopularQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags);
  257. public delegate void DirClassifiedQuery(
  258. IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, uint category, int queryStart);
  259. public delegate void EventInfoRequest(IClientAPI remoteClient, uint eventID);
  260. public delegate void ParcelSetOtherCleanTime(IClientAPI remoteClient, int localID, int otherCleanTime);
  261. public delegate void MapItemRequest(
  262. IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle);
  263. public delegate void OfferCallingCard(IClientAPI remoteClient, UUID destID, UUID transactionID);
  264. public delegate void AcceptCallingCard(IClientAPI remoteClient, UUID transactionID, UUID folderID);
  265. public delegate void DeclineCallingCard(IClientAPI remoteClient, UUID transactionID);
  266. public delegate void SoundTrigger(
  267. UUID soundId, UUID ownerid, UUID objid, UUID parentid, double Gain, Vector3 Position, UInt64 Handle);
  268. public delegate void StartLure(byte lureType, string message, UUID targetID, IClientAPI client);
  269. public delegate void TeleportLureRequest(UUID lureID, uint teleportFlags, IClientAPI client);
  270. public delegate void ClassifiedInfoRequest(UUID classifiedID, IClientAPI client);
  271. public delegate void ClassifiedInfoUpdate(UUID classifiedID, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, Vector3 globalPos, byte classifiedFlags, int price, IClientAPI client);
  272. public delegate void ClassifiedDelete(UUID classifiedID, IClientAPI client);
  273. public delegate void EventNotificationAddRequest(uint EventID, IClientAPI client);
  274. public delegate void EventNotificationRemoveRequest(uint EventID, IClientAPI client);
  275. public delegate void EventGodDelete(uint eventID, UUID queryID, string queryText, uint queryFlags, int queryStart, IClientAPI client);
  276. public delegate void ParcelDwellRequest(int localID, IClientAPI client);
  277. public delegate void UserInfoRequest(IClientAPI client);
  278. public delegate void UpdateUserInfo(bool imViaEmail, bool visible, IClientAPI client);
  279. public delegate void RetrieveInstantMessages(IClientAPI client);
  280. public delegate void PickDelete(IClientAPI client, UUID pickID);
  281. public delegate void PickGodDelete(IClientAPI client, UUID agentID, UUID pickID, UUID queryID);
  282. public delegate void PickInfoUpdate(IClientAPI client, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled);
  283. public delegate void AvatarNotesUpdate(IClientAPI client, UUID targetID, string notes);
  284. public delegate void MuteListRequest(IClientAPI client, uint muteCRC);
  285. public delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages);
  286. public delegate void GrantUserFriendRights(IClientAPI client, UUID requester, UUID target, int rights);
  287. public delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client);
  288. public delegate void AgentFOV(IClientAPI client, float verticalAngle);
  289. public delegate double UpdatePriorityHandler(UpdatePriorityData data);
  290. public delegate void MuteListEntryUpdate(IClientAPI client, UUID MuteID, string Name, int Flags,UUID AgentID);
  291. public delegate void MuteListEntryRemove(IClientAPI client, UUID MuteID, string Name, UUID AgentID);
  292. public delegate void AvatarInterestReply(IClientAPI client,UUID target, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages);
  293. public delegate void FindAgentUpdate(IClientAPI client, UUID hunter, UUID target);
  294. public delegate void TrackAgentUpdate(IClientAPI client, UUID hunter, UUID target);
  295. public delegate void FreezeUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target);
  296. public delegate void EjectUserUpdate(IClientAPI client, UUID parcelowner,uint flags, UUID target);
  297. public delegate void NewUserReport(IClientAPI client, string regionName,UUID abuserID, byte catagory, byte checkflags, string details, UUID objectID, Vector3 postion, byte reportType ,UUID screenshotID, string Summary, UUID reporter);
  298. public delegate void GodUpdateRegionInfoUpdate(IClientAPI client, float BillableFactor, ulong EstateID, ulong RegionFlags, byte[] SimName,int RedirectX, int RedirectY);
  299. public delegate void GodlikeMessage(IClientAPI client, UUID requester, byte[] Method, byte[] Parameter);
  300. public delegate void SaveStateHandler(IClientAPI client,UUID agentID);
  301. public delegate void GroupAccountSummaryRequest(IClientAPI client,UUID agentID, UUID groupID);
  302. public delegate void GroupAccountDetailsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
  303. public delegate void GroupAccountTransactionsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
  304. public delegate void ParcelBuyPass(IClientAPI client, UUID agentID, int ParcelLocalID);
  305. public delegate void ParcelGodMark(IClientAPI client, UUID agentID, int ParcelLocalID);
  306. public delegate void GroupActiveProposalsRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
  307. public delegate void GroupVoteHistoryRequest(IClientAPI client,UUID agentID, UUID groupID, UUID transactionID, UUID sessionID);
  308. public delegate void SimWideDeletesDelegate(IClientAPI client,UUID agentID, int flags, UUID targetID);
  309. public delegate void SendPostcard(IClientAPI client);
  310. #endregion
  311. public struct DirPlacesReplyData
  312. {
  313. public UUID parcelID;
  314. public string name;
  315. public bool forSale;
  316. public bool auction;
  317. public float dwell;
  318. public uint Status;
  319. }
  320. public struct DirPeopleReplyData
  321. {
  322. public UUID agentID;
  323. public string firstName;
  324. public string lastName;
  325. public string group;
  326. public bool online;
  327. public int reputation;
  328. }
  329. public struct DirEventsReplyData
  330. {
  331. public UUID ownerID;
  332. public string name;
  333. public uint eventID;
  334. public string date;
  335. public uint unixTime;
  336. public uint eventFlags;
  337. public uint Status;
  338. }
  339. public struct DirGroupsReplyData
  340. {
  341. public UUID groupID;
  342. public string groupName;
  343. public int members;
  344. public float searchOrder;
  345. }
  346. public struct DirClassifiedReplyData
  347. {
  348. public UUID classifiedID;
  349. public string name;
  350. public byte classifiedFlags;
  351. public uint creationDate;
  352. public uint expirationDate;
  353. public int price;
  354. public uint Status;
  355. }
  356. public struct DirLandReplyData
  357. {
  358. public UUID parcelID;
  359. public string name;
  360. public bool auction;
  361. public bool forSale;
  362. public int salePrice;
  363. public int actualArea;
  364. }
  365. public struct DirPopularReplyData
  366. {
  367. public UUID parcelID;
  368. public string name;
  369. public float dwell;
  370. }
  371. public struct SendAvatarData
  372. {
  373. public readonly ulong RegionHandle;
  374. public readonly string FirstName;
  375. public readonly string LastName;
  376. public readonly string GroupTitle;
  377. public readonly UUID AvatarID;
  378. public readonly uint AvatarLocalID;
  379. public readonly Vector3 Position;
  380. public readonly byte[] TextureEntry;
  381. public readonly uint ParentID;
  382. public readonly Quaternion Rotation;
  383. public SendAvatarData(ulong regionHandle, string firstName, string lastName, string groupTitle, UUID avatarID,
  384. uint avatarLocalID, Vector3 position, byte[] textureEntry, uint parentID, Quaternion rotation)
  385. {
  386. RegionHandle = regionHandle;
  387. FirstName = firstName;
  388. LastName = lastName;
  389. GroupTitle = groupTitle;
  390. AvatarID = avatarID;
  391. AvatarLocalID = avatarLocalID;
  392. Position = position;
  393. TextureEntry = textureEntry;
  394. ParentID = parentID;
  395. Rotation = rotation;
  396. }
  397. }
  398. public struct SendAvatarTerseData
  399. {
  400. public readonly ulong RegionHandle;
  401. public readonly ushort TimeDilation;
  402. public readonly uint LocalID;
  403. public readonly Vector3 Position;
  404. public readonly Vector3 Velocity;
  405. public readonly Vector3 Acceleration;
  406. public readonly Quaternion Rotation;
  407. public readonly Vector4 CollisionPlane;
  408. public readonly UUID AgentID;
  409. public readonly byte[] TextureEntry;
  410. public readonly double Priority;
  411. public SendAvatarTerseData(ulong regionHandle, ushort timeDilation, uint localID, Vector3 position, Vector3 velocity,
  412. Vector3 acceleration, Quaternion rotation, Vector4 collisionPlane, UUID agentid, byte[] textureEntry, double priority)
  413. {
  414. RegionHandle = regionHandle;
  415. TimeDilation = timeDilation;
  416. LocalID = localID;
  417. Position = position;
  418. Velocity = velocity;
  419. Acceleration = acceleration;
  420. Rotation = rotation;
  421. CollisionPlane = collisionPlane;
  422. AgentID = agentid;
  423. TextureEntry = textureEntry;
  424. Priority = priority;
  425. }
  426. }
  427. public struct SendPrimitiveTerseData
  428. {
  429. public readonly ulong RegionHandle;
  430. public readonly ushort TimeDilation;
  431. public readonly uint LocalID;
  432. public readonly Vector3 Position;
  433. public readonly Quaternion Rotation;
  434. public readonly Vector3 Velocity;
  435. public readonly Vector3 Acceleration;
  436. public readonly Vector3 AngularVelocity;
  437. public readonly UUID AssetID;
  438. public readonly UUID OwnerID;
  439. public readonly int AttachPoint;
  440. public readonly byte[] TextureEntry;
  441. public readonly double Priority;
  442. public SendPrimitiveTerseData(ulong regionHandle, ushort timeDilation, uint localID, Vector3 position,
  443. Quaternion rotation, Vector3 velocity, Vector3 acceleration, Vector3 rotationalvelocity,
  444. UUID assetID, UUID ownerID, int attachPoint, byte[] textureEntry, double priority)
  445. {
  446. RegionHandle = regionHandle;
  447. TimeDilation = timeDilation;
  448. LocalID = localID;
  449. Position = position;
  450. Rotation = rotation;
  451. Velocity = velocity;
  452. Acceleration = acceleration;
  453. AngularVelocity = rotationalvelocity;
  454. AssetID = assetID;
  455. OwnerID = ownerID;
  456. AttachPoint = attachPoint;
  457. TextureEntry = textureEntry;
  458. Priority = priority;
  459. }
  460. }
  461. public struct SendPrimitiveData
  462. {
  463. private ulong m_regionHandle;
  464. private ushort m_timeDilation;
  465. private uint m_localID;
  466. private PrimitiveBaseShape m_primShape;
  467. private Vector3 m_pos;
  468. private Vector3 m_vel;
  469. private Vector3 m_acc;
  470. private Quaternion m_rotation;
  471. private Vector3 m_rvel;
  472. private PrimFlags m_flags;
  473. private UUID m_objectID;
  474. private UUID m_ownerID;
  475. private string m_text;
  476. private byte[] m_color;
  477. private uint m_parentID;
  478. private byte[] m_particleSystem;
  479. private byte m_clickAction;
  480. private byte m_material;
  481. private byte[] m_textureanim;
  482. private bool m_attachment;
  483. private uint m_AttachPoint;
  484. private UUID m_AssetId;
  485. private UUID m_SoundId;
  486. private double m_SoundVolume;
  487. private byte m_SoundFlags;
  488. private double m_SoundRadius;
  489. private double m_priority;
  490. public SendPrimitiveData(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape,
  491. Vector3 pos, Vector3 vel, Vector3 acc, Quaternion rotation, Vector3 rvel,
  492. uint flags, UUID objectID, UUID ownerID, string text, byte[] color,
  493. uint parentID, byte[] particleSystem, byte clickAction, byte material, double priority) :
  494. this(regionHandle, timeDilation, localID, primShape, pos, vel, acc, rotation, rvel, flags, objectID,
  495. ownerID, text, color, parentID, particleSystem, clickAction, material, new byte[0], false, 0, UUID.Zero,
  496. UUID.Zero, 0, 0, 0, priority) { }
  497. public SendPrimitiveData(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape,
  498. Vector3 pos, Vector3 vel, Vector3 acc, Quaternion rotation, Vector3 rvel,
  499. uint flags,
  500. UUID objectID, UUID ownerID, string text, byte[] color, uint parentID,
  501. byte[] particleSystem,
  502. byte clickAction, byte material, byte[] textureanim, bool attachment,
  503. uint AttachPoint, UUID AssetId, UUID SoundId, double SoundVolume, byte SoundFlags,
  504. double SoundRadius, double priority)
  505. {
  506. this.m_regionHandle = regionHandle;
  507. this.m_timeDilation = timeDilation;
  508. this.m_localID = localID;
  509. this.m_primShape = primShape;
  510. this.m_pos = pos;
  511. this.m_vel = vel;
  512. this.m_acc = acc;
  513. this.m_rotation = rotation;
  514. this.m_rvel = rvel;
  515. this.m_flags = (PrimFlags)flags;
  516. this.m_objectID = objectID;
  517. this.m_ownerID = ownerID;
  518. this.m_text = text;
  519. this.m_color = color;
  520. this.m_parentID = parentID;
  521. this.m_particleSystem = particleSystem;
  522. this.m_clickAction = clickAction;
  523. this.m_material = material;
  524. this.m_textureanim = textureanim;
  525. this.m_attachment = attachment;
  526. this.m_AttachPoint = AttachPoint;
  527. this.m_AssetId = AssetId;
  528. this.m_SoundId = SoundId;
  529. this.m_SoundVolume = SoundVolume;
  530. this.m_SoundFlags = SoundFlags;
  531. this.m_SoundRadius = SoundRadius;
  532. this.m_priority = priority;
  533. }
  534. public ulong regionHandle { get { return this.m_regionHandle; } }
  535. public ushort timeDilation { get { return this.m_timeDilation; } }
  536. public uint localID { get { return this.m_localID; } }
  537. public PrimitiveBaseShape primShape { get { return this.m_primShape; } }
  538. public Vector3 pos { get { return this.m_pos; } }
  539. public Vector3 vel { get { return this.m_vel; } }
  540. public Vector3 acc { get { return this.m_acc; } }
  541. public Quaternion rotation { get { return this.m_rotation; } }
  542. public Vector3 rvel { get { return this.m_rvel; } }
  543. public PrimFlags flags { get { return this.m_flags; } }
  544. public UUID objectID { get { return this.m_objectID; } }
  545. public UUID ownerID { get { return this.m_ownerID; } }
  546. public string text { get { return this.m_text; } }
  547. public byte[] color { get { return this.m_color; } }
  548. public uint parentID { get { return this.m_parentID; } }
  549. public byte[] particleSystem { get { return this.m_particleSystem; } }
  550. public byte clickAction { get { return this.m_clickAction; } }
  551. public byte material { get { return this.m_material; } }
  552. public byte[] textureanim { get { return this.m_textureanim; } }
  553. public bool attachment { get { return this.m_attachment; } }
  554. public uint AttachPoint { get { return this.m_AttachPoint; } }
  555. public UUID AssetId { get { return this.m_AssetId; } }
  556. public UUID SoundId { get { return this.m_SoundId; } }
  557. public double SoundVolume { get { return this.m_SoundVolume; } }
  558. public byte SoundFlags { get { return this.m_SoundFlags; } }
  559. public double SoundRadius { get { return this.m_SoundRadius; } }
  560. public double priority { get { return this.m_priority; } }
  561. }
  562. public struct UpdatePriorityData {
  563. private double m_priority;
  564. private uint m_localID;
  565. public UpdatePriorityData(double priority, uint localID) {
  566. this.m_priority = priority;
  567. this.m_localID = localID;
  568. }
  569. public double priority { get { return this.m_priority; } }
  570. public uint localID { get { return this.m_localID; } }
  571. }
  572. [Flags]
  573. public enum StateUpdateTypes
  574. {
  575. None = 0,
  576. AvatarTerse = 1,
  577. PrimitiveTerse = AvatarTerse << 1,
  578. PrimitiveFull = PrimitiveTerse << 1,
  579. All = AvatarTerse | PrimitiveTerse | PrimitiveFull,
  580. }
  581. public interface IClientAPI
  582. {
  583. Vector3 StartPos { get; set; }
  584. UUID AgentId { get; }
  585. UUID SessionId { get; }
  586. UUID SecureSessionId { get; }
  587. UUID ActiveGroupId { get; }
  588. string ActiveGroupName { get; }
  589. ulong ActiveGroupPowers { get; }
  590. ulong GetGroupPowers(UUID groupID);
  591. bool IsGroupMember(UUID GroupID);
  592. string FirstName { get; }
  593. string LastName { get; }
  594. IScene Scene { get; }
  595. // [Obsolete("LLClientView Specific - Replace with ???")]
  596. int NextAnimationSequenceNumber { get; }
  597. /// <summary>
  598. /// Returns the full name of the agent/avatar represented by this client
  599. /// </summary>
  600. string Name { get; }
  601. /// <value>
  602. /// Determines whether the client thread is doing anything or not.
  603. /// </value>
  604. bool IsActive { get; set; }
  605. bool SendLogoutPacketWhenClosing { set; }
  606. // [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")]
  607. uint CircuitCode { get; }
  608. IPEndPoint RemoteEndPoint { get; }
  609. event GenericMessage OnGenericMessage;
  610. // [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")]
  611. event ImprovedInstantMessage OnInstantMessage;
  612. // [Obsolete("LLClientView Specific - Replace with more bare-bones arguments. Rename OnChat.")]
  613. event ChatMessage OnChatFromClient;
  614. // [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")]
  615. event TextureRequest OnRequestTexture;
  616. // [Obsolete("LLClientView Specific - Remove bitbuckets. Adam, can you be more specific here.. as I don't see any bit buckets.")]
  617. event RezObject OnRezObject;
  618. // [Obsolete("LLClientView Specific - Replace with more suitable arguments.")]
  619. event ModifyTerrain OnModifyTerrain;
  620. event BakeTerrain OnBakeTerrain;
  621. event EstateChangeInfo OnEstateChangeInfo;
  622. // [Obsolete("LLClientView Specific.")]
  623. event SetAppearance OnSetAppearance;
  624. // [Obsolete("LLClientView Specific - Replace and rename OnAvatarUpdate. Difference from SetAppearance?")]
  625. event AvatarNowWearing OnAvatarNowWearing;
  626. event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv;
  627. event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv;
  628. event UUIDNameRequest OnDetachAttachmentIntoInv;
  629. event ObjectAttach OnObjectAttach;
  630. event ObjectDeselect OnObjectDetach;
  631. event ObjectDrop OnObjectDrop;
  632. event StartAnim OnStartAnim;
  633. event StopAnim OnStopAnim;
  634. event LinkObjects OnLinkObjects;
  635. event DelinkObjects OnDelinkObjects;
  636. event RequestMapBlocks OnRequestMapBlocks;
  637. event RequestMapName OnMapNameRequest;
  638. event TeleportLocationRequest OnTeleportLocationRequest;
  639. event DisconnectUser OnDisconnectUser;
  640. event RequestAvatarProperties OnRequestAvatarProperties;
  641. event SetAlwaysRun OnSetAlwaysRun;
  642. event TeleportLandmarkRequest OnTeleportLandmarkRequest;
  643. event DeRezObject OnDeRezObject;
  644. event Action<IClientAPI> OnRegionHandShakeReply;
  645. event GenericCall2 OnRequestWearables;
  646. event GenericCall2 OnCompleteMovementToRegion;
  647. event UpdateAgent OnAgentUpdate;
  648. event AgentRequestSit OnAgentRequestSit;
  649. event AgentSit OnAgentSit;
  650. event AvatarPickerRequest OnAvatarPickerRequest;
  651. event Action<IClientAPI> OnRequestAvatarsData;
  652. event AddNewPrim OnAddPrim;
  653. event FetchInventory OnAgentDataUpdateRequest;
  654. event TeleportLocationRequest OnSetStartLocationRequest;
  655. event RequestGodlikePowers OnRequestGodlikePowers;
  656. event GodKickUser OnGodKickUser;
  657. event ObjectDuplicate OnObjectDuplicate;
  658. event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
  659. event GrabObject OnGrabObject;
  660. event DeGrabObject OnDeGrabObject;
  661. event MoveObject OnGrabUpdate;
  662. event SpinStart OnSpinStart;
  663. event SpinObject OnSpinUpdate;
  664. event SpinStop OnSpinStop;
  665. event UpdateShape OnUpdatePrimShape;
  666. event ObjectExtraParams OnUpdateExtraParams;
  667. event ObjectRequest OnObjectRequest;
  668. event ObjectSelect OnObjectSelect;
  669. event ObjectDeselect OnObjectDeselect;
  670. event GenericCall7 OnObjectDescription;
  671. event GenericCall7 OnObjectName;
  672. event GenericCall7 OnObjectClickAction;
  673. event GenericCall7 OnObjectMaterial;
  674. event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
  675. event UpdatePrimFlags OnUpdatePrimFlags;
  676. event UpdatePrimTexture OnUpdatePrimTexture;
  677. event UpdateVector OnUpdatePrimGroupPosition;
  678. event UpdateVector OnUpdatePrimSinglePosition;
  679. event UpdatePrimRotation OnUpdatePrimGroupRotation;
  680. event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
  681. event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
  682. event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
  683. event UpdateVector OnUpdatePrimScale;
  684. event UpdateVector OnUpdatePrimGroupScale;
  685. event StatusChange OnChildAgentStatus;
  686. event GenericCall2 OnStopMovement;
  687. event Action<UUID> OnRemoveAvatar;
  688. event ObjectPermissions OnObjectPermissions;
  689. event CreateNewInventoryItem OnCreateNewInventoryItem;
  690. event CreateInventoryFolder OnCreateNewInventoryFolder;
  691. event UpdateInventoryFolder OnUpdateInventoryFolder;
  692. event MoveInventoryFolder OnMoveInventoryFolder;
  693. event FetchInventoryDescendents OnFetchInventoryDescendents;
  694. event PurgeInventoryDescendents OnPurgeInventoryDescendents;
  695. event FetchInventory OnFetchInventory;
  696. event RequestTaskInventory OnRequestTaskInventory;
  697. event UpdateInventoryItem OnUpdateInventoryItem;
  698. event CopyInventoryItem OnCopyInventoryItem;
  699. event MoveInventoryItem OnMoveInventoryItem;
  700. event RemoveInventoryFolder OnRemoveInventoryFolder;
  701. event RemoveInventoryItem OnRemoveInventoryItem;
  702. event UDPAssetUploadRequest OnAssetUploadRequest;
  703. event XferReceive OnXferReceive;
  704. event RequestXfer OnRequestXfer;
  705. event ConfirmXfer OnConfirmXfer;
  706. event AbortXfer OnAbortXfer;
  707. event RezScript OnRezScript;
  708. event UpdateTaskInventory OnUpdateTaskInventory;
  709. event MoveTaskInventory OnMoveTaskItem;
  710. event RemoveTaskInventory OnRemoveTaskItem;
  711. event RequestAsset OnRequestAsset;
  712. event UUIDNameRequest OnNameFromUUIDRequest;
  713. event ParcelAccessListRequest OnParcelAccessListRequest;
  714. event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest;
  715. event ParcelPropertiesRequest OnParcelPropertiesRequest;
  716. event ParcelDivideRequest OnParcelDivideRequest;
  717. event ParcelJoinRequest OnParcelJoinRequest;
  718. event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
  719. event ParcelSelectObjects OnParcelSelectObjects;
  720. event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
  721. event ParcelAbandonRequest OnParcelAbandonRequest;
  722. event ParcelGodForceOwner OnParcelGodForceOwner;
  723. event ParcelReclaim OnParcelReclaim;
  724. event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest;
  725. event ParcelDeedToGroup OnParcelDeedToGroup;
  726. event RegionInfoRequest OnRegionInfoRequest;
  727. event EstateCovenantRequest OnEstateCovenantRequest;
  728. event FriendActionDelegate OnApproveFriendRequest;
  729. event FriendActionDelegate OnDenyFriendRequest;
  730. event FriendshipTermination OnTerminateFriendship;
  731. // Financial packets
  732. event MoneyTransferRequest OnMoneyTransferRequest;
  733. event EconomyDataRequest OnEconomyDataRequest;
  734. event MoneyBalanceRequest OnMoneyBalanceRequest;
  735. event UpdateAvatarProperties OnUpdateAvatarProperties;
  736. event ParcelBuy OnParcelBuy;
  737. event RequestPayPrice OnRequestPayPrice;
  738. event ObjectSaleInfo OnObjectSaleInfo;
  739. event ObjectBuy OnObjectBuy;
  740. event BuyObjectInventory OnBuyObjectInventory;
  741. event RequestTerrain OnRequestTerrain;
  742. event RequestTerrain OnUploadTerrain;
  743. event ObjectIncludeInSearch OnObjectIncludeInSearch;
  744. event UUIDNameRequest OnTeleportHomeRequest;
  745. event ScriptAnswer OnScriptAnswer;
  746. event AgentSit OnUndo;
  747. event ForceReleaseControls OnForceReleaseControls;
  748. event GodLandStatRequest OnLandStatRequest;
  749. event DetailedEstateDataRequest OnDetailedEstateDataRequest;
  750. event SetEstateFlagsRequest OnSetEstateFlagsRequest;
  751. event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture;
  752. event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture;
  753. event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights;
  754. event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest;
  755. event SetRegionTerrainSettings OnSetRegionTerrainSettings;
  756. event EstateRestartSimRequest OnEstateRestartSimRequest;
  757. event EstateChangeCovenantRequest OnEstateChangeCovenantRequest;
  758. event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest;
  759. event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest;
  760. event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
  761. event EstateDebugRegionRequest OnEstateDebugRegionRequest;
  762. event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
  763. event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest;
  764. event UUIDNameRequest OnUUIDGroupNameRequest;
  765. event RegionHandleRequest OnRegionHandleRequest;
  766. event ParcelInfoRequest OnParcelInfoRequest;
  767. event RequestObjectPropertiesFamily OnObjectGroupRequest;
  768. event ScriptReset OnScriptReset;
  769. event GetScriptRunning OnGetScriptRunning;
  770. event SetScriptRunning OnSetScriptRunning;
  771. event UpdateVector OnAutoPilotGo;
  772. event TerrainUnacked OnUnackedTerrain;
  773. event ActivateGesture OnActivateGesture;
  774. event DeactivateGesture OnDeactivateGesture;
  775. event ObjectOwner OnObjectOwner;
  776. event DirPlacesQuery OnDirPlacesQuery;
  777. event DirFindQuery OnDirFindQuery;
  778. event DirLandQuery OnDirLandQuery;
  779. event DirPopularQuery OnDirPopularQuery;
  780. event DirClassifiedQuery OnDirClassifiedQuery;
  781. event EventInfoRequest OnEventInfoRequest;
  782. event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime;
  783. event MapItemRequest OnMapItemRequest;
  784. event OfferCallingCard OnOfferCallingCard;
  785. event AcceptCallingCard OnAcceptCallingCard;
  786. event DeclineCallingCard OnDeclineCallingCard;
  787. event SoundTrigger OnSoundTrigger;
  788. event StartLure OnStartLure;
  789. event TeleportLureRequest OnTeleportLureRequest;
  790. event NetworkStats OnNetworkStatsUpdate;
  791. event ClassifiedInfoRequest OnClassifiedInfoRequest;
  792. event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
  793. event ClassifiedDelete OnClassifiedDelete;
  794. event ClassifiedDelete OnClassifiedGodDelete;
  795. event EventNotificationAddRequest OnEventNotificationAddRequest;
  796. event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
  797. event EventGodDelete OnEventGodDelete;
  798. event ParcelDwellRequest OnParcelDwellRequest;
  799. event UserInfoRequest OnUserInfoRequest;
  800. event UpdateUserInfo OnUpdateUserInfo;
  801. event RetrieveInstantMessages OnRetrieveInstantMessages;
  802. event PickDelete OnPickDelete;
  803. event PickGodDelete OnPickGodDelete;
  804. event PickInfoUpdate OnPickInfoUpdate;
  805. event AvatarNotesUpdate OnAvatarNotesUpdate;
  806. event AvatarInterestUpdate OnAvatarInterestUpdate;
  807. event GrantUserFriendRights OnGrantUserRights;
  808. event MuteListRequest OnMuteListRequest;
  809. event PlacesQuery OnPlacesQuery;
  810. event FindAgentUpdate OnFindAgent;
  811. event TrackAgentUpdate OnTrackAgent;
  812. event NewUserReport OnUserReport;
  813. event SaveStateHandler OnSaveState;
  814. event GroupAccountSummaryRequest OnGroupAccountSummaryRequest;
  815. event GroupAccountDetailsRequest OnGroupAccountDetailsRequest;
  816. event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest;
  817. event FreezeUserUpdate OnParcelFreezeUser;
  818. event EjectUserUpdate OnParcelEjectUser;
  819. event ParcelBuyPass OnParcelBuyPass;
  820. event ParcelGodMark OnParcelGodMark;
  821. event GroupActiveProposalsRequest OnGroupActiveProposalsRequest;
  822. event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
  823. event SimWideDeletesDelegate OnSimWideDeletes;
  824. event SendPostcard OnSendPostcard;
  825. event MuteListEntryUpdate OnUpdateMuteListEntry;
  826. event MuteListEntryRemove OnRemoveMuteListEntry;
  827. event GodlikeMessage onGodlikeMessage;
  828. event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
  829. /// <summary>
  830. /// Set the debug level at which packet output should be printed to console.
  831. /// </summary>
  832. void SetDebugPacketLevel(int newDebug);
  833. void InPacket(object NewPack);
  834. void ProcessInPacket(Packet NewPack);
  835. void Close();
  836. void Kick(string message);
  837. /// <summary>
  838. /// Start processing for this client.
  839. /// </summary>
  840. void Start();
  841. void Stop();
  842. // void ActivateGesture(UUID assetId, UUID gestureId);
  843. /// <summary>
  844. /// Tell this client what items it should be wearing now
  845. /// </summary>
  846. void SendWearables(AvatarWearable[] wearables, int serial);
  847. /// <summary>
  848. /// Send information about the given agent's appearance to another client.
  849. /// </summary>
  850. /// <param name="agentID">The id of the agent associated with the appearance</param>
  851. /// <param name="visualParams"></param>
  852. /// <param name="textureEntry"></param>
  853. void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry);
  854. void SendStartPingCheck(byte seq);
  855. /// <summary>
  856. /// Tell the client that an object has been deleted
  857. /// </summary>
  858. /// <param name="regionHandle"></param>
  859. /// <param name="localID"></param>
  860. void SendKillObject(ulong regionHandle, uint localID);
  861. void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs);
  862. void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args);
  863. void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source,
  864. byte audible);
  865. void SendInstantMessage(GridInstantMessage im);
  866. void SendGenericMessage(string method, List<string> message);
  867. void SendLayerData(float[] map);
  868. void SendLayerData(int px, int py, float[] map);
  869. void SendWindData(Vector2[] windSpeeds);
  870. void SendCloudData(float[] cloudCover);
  871. void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look);
  872. void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint);
  873. /// <summary>
  874. /// Return circuit information for this client.
  875. /// </summary>
  876. /// <returns></returns>
  877. AgentCircuitData RequestClientInfo();
  878. void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint,
  879. string capsURL);
  880. void SendMapBlock(List<MapBlockData> mapBlocks, uint flag);
  881. void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags);
  882. void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID,
  883. uint flags, string capsURL);
  884. void SendTeleportFailed(string reason);
  885. void SendTeleportLocationStart();
  886. void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance);
  887. void SendPayPrice(UUID objectID, int[] payPrice);
  888. void SendAvatarData(SendAvatarData data);
  889. void SendAvatarTerseUpdate(SendAvatarTerseData data);
  890. void SendCoarseLocationUpdate(List<UUID> users, List<Vector3> CoarseLocations);
  891. void AttachObject(uint localID, Quaternion rotation, byte attachPoint, UUID ownerID);
  892. void SetChildAgentThrottle(byte[] throttle);
  893. void SendPrimitiveToClient(SendPrimitiveData data);
  894. void SendPrimTerseUpdate(SendPrimitiveTerseData data);
  895. void ReprioritizeUpdates(StateUpdateTypes type, UpdatePriorityHandler handler);
  896. void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List<InventoryItemBase> items,
  897. List<InventoryFolderBase> folders, int version, bool fetchFolders,
  898. bool fetchItems);
  899. void FlushPrimUpdates();
  900. void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item);
  901. /// <summary>
  902. /// Tell the client that we have created the item it requested.
  903. /// </summary>
  904. /// <param name="Item"></param>
  905. void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId);
  906. void SendRemoveInventoryItem(UUID itemID);
  907. void SendTakeControls(int controls, bool passToAgent, bool TakeControls);
  908. void SendTaskInventory(UUID taskID, short serial, byte[] fileName);
  909. /// <summary>
  910. /// Used by the server to inform the client of new inventory items and folders.
  911. /// </summary>
  912. ///
  913. /// If the node is a folder then the contents will be transferred
  914. /// (including all descendent folders) as well as the folder itself.
  915. ///
  916. /// <param name="node"></param>
  917. void SendBulkUpdateInventory(InventoryNodeBase node);
  918. void SendXferPacket(ulong xferID, uint packet, byte[] data);
  919. void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit,
  920. int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent,
  921. float PriceObjectScaleFactor,
  922. int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent,
  923. int PricePublicObjectDecay,
  924. int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice,
  925. float TeleportPriceExponent);
  926. void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data);
  927. void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers,
  928. string groupname, string grouptitle);
  929. void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID);
  930. void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags);
  931. void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position,
  932. float gain);
  933. void SendAttachedSoundGainChange(UUID objectID, float gain);
  934. void SendNameReply(UUID profileId, string firstname, string lastname);
  935. void SendAlertMessage(string message);
  936. void SendAgentAlertMessage(string message, bool modal);
  937. void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url);
  938. void SendDialog(string objectname, UUID objectID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch,
  939. string[] buttonlabels);
  940. bool AddMoney(int debit);
  941. /// <summary>
  942. /// Update the client as to where the sun is currently located.
  943. /// </summary>
  944. /// <param name="sunPos"></param>
  945. /// <param name="sunVel"></param>
  946. /// <param name="CurrentTime">Seconds since Unix Epoch 01/01/1970 00:00:00</param>
  947. /// <param name="SecondsPerSunCycle"></param>
  948. /// <param name="SecondsPerYear"></param>
  949. /// <param name="OrbitalPosition">The orbital position is given in radians, and must be "adjusted" for the linden client, see LLClientView</param>
  950. void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear,
  951. float OrbitalPosition);
  952. void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks);
  953. void SendViewerTime(int phase);
  954. UUID GetDefaultAnimation(string name);
  955. void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, Byte[] charterMember, string flAbout,
  956. uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID);
  957. void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question);
  958. void SendHealth(float health);
  959. void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID);
  960. void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID);
  961. void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args);
  962. void SendEstateCovenantInformation(UUID covenant);
  963. void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags,
  964. uint sunPosition, UUID covenant, string abuseEmail, UUID estateOwner);
  965. void SendLandProperties(int sequence_id, bool snap_selection, int request_result, LandData landData,
  966. float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity,
  967. uint regionFlags);
  968. void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID);
  969. void SendForceClientSelectObjects(List<uint> objectIDs);
  970. void SendCameraConstraint(Vector4 ConstraintPlane);
  971. void SendLandObjectOwners(LandData land, List<UUID> groups, Dictionary<UUID, int> ownersAndCount);
  972. void SendLandParcelOverlay(byte[] data, int sequence_id);
  973. #region Parcel Methods
  974. void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time);
  975. void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID,
  976. byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight,
  977. byte mediaLoop);
  978. #endregion
  979. void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID);
  980. void SendConfirmXfer(ulong xferID, uint PacketID);
  981. void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName);
  982. void SendInitiateDownload(string simFileName, string clientFileName);
  983. /// <summary>
  984. /// Send the first part of a texture. For sufficiently small textures, this may be the only packet.
  985. /// </summary>
  986. /// <param name="numParts"></param>
  987. /// <param name="ImageUUID"></param>
  988. /// <param name="ImageSize"></param>
  989. /// <param name="ImageData"></param>
  990. /// <param name="imageCodec"></param>
  991. void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec);
  992. /// <summary>
  993. /// Send the next packet for a series of packets making up a single texture,
  994. /// as established by SendImageFirstPart()
  995. /// </summary>
  996. /// <param name="partNumber"></param>
  997. /// <param name="imageUuid"></param>
  998. /// <param name="imageData"></param>
  999. void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData);
  1000. /// <summary>
  1001. /// Tell the client that the requested texture cannot be found
  1002. /// </summary>
  1003. void SendImageNotFound(UUID imageid);
  1004. void SendShutdownConnectionNotice();
  1005. /// <summary>
  1006. /// Send statistical information about the sim to the client.
  1007. /// </summary>
  1008. /// <param name="stats"></param>
  1009. void SendSimStats(SimStats stats);
  1010. void SendObjectPropertiesFamilyData(uint RequestFlags, UUID ObjectUUID, UUID OwnerID, UUID GroupID,
  1011. uint BaseMask, uint OwnerMask, uint GroupMask, uint EveryoneMask,
  1012. uint NextOwnerMask, int OwnershipCost, byte SaleType, int SalePrice,
  1013. uint Category,
  1014. UUID LastOwnerID, string ObjectName, string Description);
  1015. void SendObjectPropertiesReply(UUID ItemID, ulong CreationDate, UUID CreatorUUID, UUID FolderUUID,
  1016. UUID FromTaskUUID,
  1017. UUID GroupUUID, short InventorySerial, UUID LastOwnerUUID, UUID ObjectUUID,
  1018. UUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle,
  1019. string ItemName,
  1020. string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask,
  1021. uint EveryoneMask,
  1022. uint BaseMask, byte saleType, int salePrice);
  1023. void SendAgentOffline(UUID[] agentIDs);
  1024. void SendAgentOnline(UUID[] agentIDs);
  1025. void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot,
  1026. Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook);
  1027. void SendAdminResponse(UUID Token, uint AdminLevel);
  1028. void SendGroupMembership(GroupMembershipData[] GroupMembership);
  1029. void SendGroupNameReply(UUID groupLLUID, string GroupName);
  1030. void SendJoinGroupReply(UUID groupID, bool success);
  1031. void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success);
  1032. void SendLeaveGroupReply(UUID groupID, bool success);
  1033. void SendCreateGroupReply(UUID groupID, bool success, string message);
  1034. void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia);
  1035. void SendScriptRunningReply(UUID objectID, UUID itemID, bool running);
  1036. void SendAsset(AssetRequestToClient req);
  1037. void SendTexture(AssetBase TextureAsset);
  1038. byte[] GetThrottlesPacked(float multiplier);
  1039. event ViewerEffectEventHandler OnViewerEffect;
  1040. event Action<IClientAPI> OnLogout;
  1041. event Action<IClientAPI> OnConnectionClosed;
  1042. void SendBlueBoxMessage(UUID FromAvatarID, String FromAvatarName, String Message);
  1043. void SendLogoutPacket();
  1044. EndPoint GetClientEP();
  1045. // WARNING WARNING WARNING
  1046. //
  1047. // The two following methods are EXCLUSIVELY for the load balancer.
  1048. // they cause a MASSIVE performance hit!
  1049. //
  1050. ClientInfo GetClientInfo();
  1051. void SetClientInfo(ClientInfo info);
  1052. void SetClientOption(string option, string value);
  1053. string GetClientOption(string option);
  1054. void SendSetFollowCamProperties(UUID objectID, SortedDictionary<int, float> parameters);
  1055. void SendClearFollowCamProperties(UUID objectID);
  1056. void SendRegionHandle(UUID regoinID, ulong handle);
  1057. void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y);
  1058. void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt);
  1059. void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data);
  1060. void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data);
  1061. void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data);
  1062. void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data);
  1063. void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data);
  1064. void SendDirLandReply(UUID queryID, DirLandReplyData[] data);
  1065. void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data);
  1066. void SendEventInfoReply(EventData info);
  1067. void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags);
  1068. void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data);
  1069. void SendOfferCallingCard(UUID srcID, UUID transactionID);
  1070. void SendAcceptCallingCard(UUID transactionID);
  1071. void SendDeclineCallingCard(UUID transactionID);
  1072. void SendTerminateFriend(UUID exFriendID);
  1073. void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name);
  1074. 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);
  1075. void SendAgentDropGroup(UUID groupID);
  1076. void RefreshGroupMembership();
  1077. void SendAvatarNotesReply(UUID targetID, string text);
  1078. void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks);
  1079. 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);
  1080. void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds);
  1081. void SendParcelDwellReply(int localID, UUID parcelID, float dwell);
  1082. void SendUserInfoReply(bool imViaEmail, bool visible, string email);
  1083. void SendUseCachedMuteList();
  1084. void SendMuteListUpdate(string filename);
  1085. void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals);
  1086. void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes);
  1087. void KillEndDone();
  1088. bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
  1089. void SendRebakeAvatarTextures(UUID textureID);
  1090. void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages);
  1091. void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt);
  1092. void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier);
  1093. void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt);
  1094. }
  1095. }