IClientAPI.cs 65 KB

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