diff options
author | MW | 2007-06-11 10:24:24 +0000 |
---|---|---|
committer | MW | 2007-06-11 10:24:24 +0000 |
commit | ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68 (patch) | |
tree | a1e7b696b8a8a577460883b70775deb2564d6e65 /OpenSim/OpenSim.RegionServer/ClientView.API.cs | |
parent | Renamed sandBoxManager to LocalBackEndServices (diff) | |
download | opensim-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.cs | 20 |
1 files changed, 20 insertions, 0 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> |