diff options
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> |