aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
authorlbsa712007-12-27 21:41:48 +0000
committerlbsa712007-12-27 21:41:48 +0000
commitefd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch)
treebf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Framework/IClientAPI.cs
parent* removed always true if (diff)
downloadopensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz
* Optimized usings
* shortened references * Removed redundant 'this' * Normalized EOF
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r--OpenSim/Framework/IClientAPI.cs56
1 files changed, 35 insertions, 21 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 18ecd92..8ef5576 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -229,7 +229,8 @@ namespace OpenSim.Framework
229 public delegate void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos); 229 public delegate void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos);
230 230
231 public delegate void ModifyTerrain( 231 public delegate void ModifyTerrain(
232 float height, float seconds, byte size, byte action, float north, float west, float south, float east, IClientAPI remoteClient); 232 float height, float seconds, byte size, byte action, float north, float west, float south, float east,
233 IClientAPI remoteClient);
233 234
234 public delegate void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam); 235 public delegate void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam);
235 236
@@ -269,7 +270,8 @@ namespace OpenSim.Framework
269 270
270 public delegate void ObjectSelect(uint localID, IClientAPI remoteClient); 271 public delegate void ObjectSelect(uint localID, IClientAPI remoteClient);
271 272
272 public delegate void RequestObjectPropertiesFamily(IClientAPI remoteClient, LLUUID AgentID, uint RequestFlags, LLUUID TaskID); 273 public delegate void RequestObjectPropertiesFamily(
274 IClientAPI remoteClient, LLUUID AgentID, uint RequestFlags, LLUUID TaskID);
273 275
274 public delegate void ObjectDeselect(uint localID, IClientAPI remoteClient); 276 public delegate void ObjectDeselect(uint localID, IClientAPI remoteClient);
275 277
@@ -297,13 +299,17 @@ namespace OpenSim.Framework
297 299
298 public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID); 300 public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID);
299 301
300 public delegate void AvatarPickerRequest(IClientAPI remoteClient, LLUUID agentdata, LLUUID queryID, string UserQuery); 302 public delegate void AvatarPickerRequest(IClientAPI remoteClient, LLUUID agentdata, LLUUID queryID, string UserQuery
303 );
301 304
302 public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient); 305 public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient);
303 306
304 public delegate void ParcelAccessListRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID,IClientAPI remote_client); 307 public delegate void ParcelAccessListRequest(
305 308 LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
306 public delegate void ParcelAccessListUpdateRequest(LLUUID agentID, LLUUID sessionID,uint flags, int landLocalID, List<libsecondlife.ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client); 309
310 public delegate void ParcelAccessListUpdateRequest(
311 LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries,
312 IClientAPI remote_client);
307 313
308 public delegate void ParcelPropertiesRequest( 314 public delegate void ParcelPropertiesRequest(
309 int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client); 315 int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client);
@@ -330,13 +336,14 @@ namespace OpenSim.Framework
330 336
331 public delegate void RequestGodlikePowers(LLUUID AgentID, LLUUID SessionID, LLUUID token, IClientAPI remote_client); 337 public delegate void RequestGodlikePowers(LLUUID AgentID, LLUUID SessionID, LLUUID token, IClientAPI remote_client);
332 338
333 public delegate void GodKickUser(LLUUID GodAgentID, LLUUID GodSessionID, LLUUID AgentID, uint kickflags, byte[] reason); 339 public delegate void GodKickUser(
340 LLUUID GodAgentID, LLUUID GodSessionID, LLUUID AgentID, uint kickflags, byte[] reason);
334 341
335 public delegate void CreateInventoryFolder( 342 public delegate void CreateInventoryFolder(
336 IClientAPI remoteClient, LLUUID folderID, ushort folderType, string folderName, LLUUID parentID); 343 IClientAPI remoteClient, LLUUID folderID, ushort folderType, string folderName, LLUUID parentID);
337 344
338 public delegate void UpdateInventoryFolder( 345 public delegate void UpdateInventoryFolder(
339 IClientAPI remoteClient, LLUUID folderID, ushort type, string name, LLUUID parentID); 346 IClientAPI remoteClient, LLUUID folderID, ushort type, string name, LLUUID parentID);
340 347
341 public delegate void MoveInventoryFolder( 348 public delegate void MoveInventoryFolder(
342 IClientAPI remoteClient, LLUUID folderID, LLUUID parentID); 349 IClientAPI remoteClient, LLUUID folderID, LLUUID parentID);
@@ -360,7 +367,8 @@ namespace OpenSim.Framework
360 uint nextOwnerMask); 367 uint nextOwnerMask);
361 368
362 public delegate void CopyInventoryItem( 369 public delegate void CopyInventoryItem(
363 IClientAPI remoteClient, uint callbackID, LLUUID oldAgentID, LLUUID oldItemID, LLUUID newFolderID, string newName); 370 IClientAPI remoteClient, uint callbackID, LLUUID oldAgentID, LLUUID oldItemID, LLUUID newFolderID,
371 string newName);
364 372
365 public delegate void MoveInventoryItem( 373 public delegate void MoveInventoryItem(
366 IClientAPI remoteClient, LLUUID folderID, LLUUID itemID, int length, string newName); 374 IClientAPI remoteClient, LLUUID folderID, LLUUID itemID, int length, string newName);
@@ -372,15 +380,18 @@ namespace OpenSim.Framework
372 public delegate void RemoveTaskInventory(IClientAPI remoteClient, LLUUID itemID, uint localID); 380 public delegate void RemoveTaskInventory(IClientAPI remoteClient, LLUUID itemID, uint localID);
373 381
374 public delegate void UDPAssetUploadRequest( 382 public delegate void UDPAssetUploadRequest(
375 IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, byte[] data, bool storeLocal, bool tempFile); 383 IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, byte[] data, bool storeLocal,
384 bool tempFile);
376 385
377 public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data); 386 public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data);
378 387
379 public delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName); 388 public delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName);
380 389
381 public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID); 390 public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID);
382 391
383 public delegate void ObjectPermissions(IClientAPI remoteClinet, LLUUID AgentID, LLUUID SessionID, List<ObjectPermissionsPacket.ObjectDataBlock> permChanges); 392 public delegate void ObjectPermissions(
393 IClientAPI remoteClinet, LLUUID AgentID, LLUUID SessionID,
394 List<ObjectPermissionsPacket.ObjectDataBlock> permChanges);
384 395
385 public interface IClientAPI 396 public interface IClientAPI
386 { 397 {
@@ -472,19 +483,19 @@ namespace OpenSim.Framework
472 event EstateOwnerMessageRequest OnEstateOwnerMessage; 483 event EstateOwnerMessageRequest OnEstateOwnerMessage;
473 event RegionInfoRequest OnRegionInfoRequest; 484 event RegionInfoRequest OnRegionInfoRequest;
474 event EstateCovenantRequest OnEstateCovenantRequest; 485 event EstateCovenantRequest OnEstateCovenantRequest;
475 486
476 LLVector3 StartPos { get; set; } 487 LLVector3 StartPos { get; set; }
477 488
478 LLUUID AgentId { get; } 489 LLUUID AgentId { get; }
479 490
480 LLUUID SessionId { get; } 491 LLUUID SessionId { get; }
481 492
482 LLUUID SecureSessionId { get; } 493 LLUUID SecureSessionId { get; }
483 494
484 string FirstName { get; } 495 string FirstName { get; }
485 496
486 string LastName { get; } 497 string LastName { get; }
487 498
488 /// <summary> 499 /// <summary>
489 /// Returns the full name of the agent/avatar represented by this client 500 /// Returns the full name of the agent/avatar represented by this client
490 /// </summary> 501 /// </summary>
@@ -536,26 +547,29 @@ namespace OpenSim.Framework
536 547
537 void AttachObject(uint localID, LLQuaternion rotation, byte attachPoint); 548 void AttachObject(uint localID, LLQuaternion rotation, byte attachPoint);
538 void SetChildAgentThrottle(byte[] throttle); 549 void SetChildAgentThrottle(byte[] throttle);
550
539 void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, 551 void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape,
540 LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, byte[] color, 552 LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, byte[] color,
541 uint parentID, byte[] particleSystem, LLQuaternion rotation, byte clickAction); 553 uint parentID, byte[] particleSystem, LLQuaternion rotation, byte clickAction);
542 554
543 void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, 555 void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position,
544 LLQuaternion rotation); 556 LLQuaternion rotation);
557
545 void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, 558 void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position,
546 LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity); 559 LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity);
547 560
548 void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items, 561 void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items,
549 List<InventoryFolderBase> folders, bool fetchFolders, 562 List<InventoryFolderBase> folders, bool fetchFolders,
550 bool fetchItems); 563 bool fetchItems);
564
551 void SendInventoryItemDetails(LLUUID ownerID, InventoryItemBase item); 565 void SendInventoryItemDetails(LLUUID ownerID, InventoryItemBase item);
552 566
553 /// <summary> 567 /// <summary>
554 /// Tell the client that we have created the item it requested. 568 /// Tell the client that we have created the item it requested.
555 /// </summary> 569 /// </summary>
556 /// <param name="Item"></param> 570 /// <param name="Item"></param>
557 void SendInventoryItemCreateUpdate(InventoryItemBase Item); 571 void SendInventoryItemCreateUpdate(InventoryItemBase Item);
558 572
559 void SendRemoveInventoryItem(LLUUID itemID); 573 void SendRemoveInventoryItem(LLUUID itemID);
560 void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName); 574 void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName);
561 void SendXferPacket(ulong xferID, uint packet, byte[] data); 575 void SendXferPacket(ulong xferID, uint packet, byte[] data);
@@ -566,7 +580,7 @@ namespace OpenSim.Framework
566 580
567 void SendNameReply(LLUUID profileId, string firstname, string lastname); 581 void SendNameReply(LLUUID profileId, string firstname, string lastname);
568 void SendAlertMessage(string message); 582 void SendAlertMessage(string message);
569 583
570 void SendAgentAlertMessage(string message, bool modal); 584 void SendAgentAlertMessage(string message, bool modal);
571 void SendLoadURL(string objectname, LLUUID objectID, LLUUID ownerID, bool groupOwned, string message, string url); 585 void SendLoadURL(string objectname, LLUUID objectID, LLUUID ownerID, bool groupOwned, string message, string url);
572 bool AddMoney(int debit); 586 bool AddMoney(int debit);
@@ -587,4 +601,4 @@ namespace OpenSim.Framework
587 event Action<IClientAPI> OnConnectionClosed; 601 event Action<IClientAPI> OnConnectionClosed;
588 void SendLogoutPacket(); 602 void SendLogoutPacket();
589 } 603 }
590} 604} \ No newline at end of file