Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().

This commit is contained in:
alondria
2008-03-22 23:02:41 +00:00
parent 74023aa97c
commit 5ebef6410e
5 changed files with 39 additions and 7 deletions

View File

@@ -1559,6 +1559,15 @@ namespace OpenSim.Region.ClientStack
OutPacket(sound, ThrottleOutPacketType.Task);
}
public void SendAttachedSoundGainChange(LLUUID objectID, float gain)
{
AttachedSoundGainChangePacket sound = (AttachedSoundGainChangePacket)PacketPool.Instance.GetPacket(PacketType.AttachedSoundGainChange);
sound.DataBlock.ObjectID = objectID;
sound.DataBlock.Gain = gain;
OutPacket(sound, ThrottleOutPacketType.Task);
}
public void SendSunPos(LLVector3 sunPos, LLVector3 sunVel)
{
SimulatorViewerTimeMessagePacket viewertime = (SimulatorViewerTimeMessagePacket)PacketPool.Instance.GetPacket(PacketType.SimulatorViewerTimeMessage);