mirror of
https://github.com/opensim/opensim.git
synced 2026-05-31 23:05:52 +08:00
Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user