aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index fca78f7..3f971a8 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -1559,6 +1559,15 @@ namespace OpenSim.Region.ClientStack
1559 OutPacket(sound, ThrottleOutPacketType.Task); 1559 OutPacket(sound, ThrottleOutPacketType.Task);
1560 } 1560 }
1561 1561
1562 public void SendAttachedSoundGainChange(LLUUID objectID, float gain)
1563 {
1564 AttachedSoundGainChangePacket sound = (AttachedSoundGainChangePacket)PacketPool.Instance.GetPacket(PacketType.AttachedSoundGainChange);
1565 sound.DataBlock.ObjectID = objectID;
1566 sound.DataBlock.Gain = gain;
1567
1568 OutPacket(sound, ThrottleOutPacketType.Task);
1569 }
1570
1562 public void SendSunPos(LLVector3 sunPos, LLVector3 sunVel) 1571 public void SendSunPos(LLVector3 sunPos, LLVector3 sunVel)
1563 { 1572 {
1564 SimulatorViewerTimeMessagePacket viewertime = (SimulatorViewerTimeMessagePacket)PacketPool.Instance.GetPacket(PacketType.SimulatorViewerTimeMessage); 1573 SimulatorViewerTimeMessagePacket viewertime = (SimulatorViewerTimeMessagePacket)PacketPool.Instance.GetPacket(PacketType.SimulatorViewerTimeMessage);