aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authoralondria2008-03-22 23:02:41 +0000
committeralondria2008-03-22 23:02:41 +0000
commit5ebef6410eeef54e1bd3d00331996daba78aa534 (patch)
treea43204b7a152b00170a9c5a7754908eee74ed58e /OpenSim/Region/ClientStack
parent* Miscellaneous comment before I found out that mantis 807 probably isn't an ... (diff)
downloadopensim-SC_OLD-5ebef6410eeef54e1bd3d00331996daba78aa534.zip
opensim-SC_OLD-5ebef6410eeef54e1bd3d00331996daba78aa534.tar.gz
opensim-SC_OLD-5ebef6410eeef54e1bd3d00331996daba78aa534.tar.bz2
opensim-SC_OLD-5ebef6410eeef54e1bd3d00331996daba78aa534.tar.xz
Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().
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);