aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer
diff options
context:
space:
mode:
authorMW2007-06-11 10:24:24 +0000
committerMW2007-06-11 10:24:24 +0000
commited80c7ae322cf77bbdf10fc1fa2c02da8d16ea68 (patch)
treea1e7b696b8a8a577460883b70775deb2564d6e65 /OpenSim/OpenSim.RegionServer
parentRenamed sandBoxManager to LocalBackEndServices (diff)
downloadopensim-SC-ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68.zip
opensim-SC-ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68.tar.gz
opensim-SC-ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68.tar.bz2
opensim-SC-ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68.tar.xz
Added AttachObject method to IClientAPI.
Added RequestAvatar(LLUUID avatarID) method to world.
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs20
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.cs2
2 files changed, 21 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index fe46fcb..780035c 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -425,6 +425,26 @@ namespace OpenSim
425 #region Primitive Packet/data Sending Methods 425 #region Primitive Packet/data Sending Methods
426 426
427 /// <summary> 427 /// <summary>
428 ///
429 /// </summary>
430 /// <param name="localID"></param>
431 /// <param name="rotation"></param>
432 /// <param name="attachPoint"></param>
433 public void AttachObject(uint localID, LLQuaternion rotation, byte attachPoint)
434 {
435 ObjectAttachPacket attach = new ObjectAttachPacket();
436 attach.AgentData.AgentID = this.AgentID;
437 attach.AgentData.SessionID = this.SessionID;
438 attach.AgentData.AttachmentPoint = attachPoint;
439 attach.ObjectData = new ObjectAttachPacket.ObjectDataBlock[1];
440 attach.ObjectData[0] = new ObjectAttachPacket.ObjectDataBlock();
441 attach.ObjectData[0].ObjectLocalID = localID;
442 attach.ObjectData[0].Rotation = rotation;
443
444 this.OutPacket(attach);
445 }
446
447 /// <summary>
428 /// Sends a full ObjectUpdatePacket to a client to inform it of a new primitive 448 /// Sends a full ObjectUpdatePacket to a client to inform it of a new primitive
429 /// or big changes to a existing primitive. 449 /// or big changes to a existing primitive.
430 /// </summary> 450 /// </summary>
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.cs b/OpenSim/OpenSim.RegionServer/ClientView.cs
index 809d3cf..f9a7fe4 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.cs
@@ -69,7 +69,7 @@ namespace OpenSim
69 69
70 private AgentAssetUpload UploadAssets; 70 private AgentAssetUpload UploadAssets;
71 private LLUUID newAssetFolder = LLUUID.Zero; 71 private LLUUID newAssetFolder = LLUUID.Zero;
72 private bool debug = true; 72 private bool debug = false;
73 protected IWorld m_world; 73 protected IWorld m_world;
74 private Dictionary<uint, ClientView> m_clientThreads; 74 private Dictionary<uint, ClientView> m_clientThreads;
75 private AssetCache m_assetCache; 75 private AssetCache m_assetCache;