diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 167e4c3..e89b722 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -1349,6 +1349,20 @@ namespace OpenSim.Region.ClientStack | |||
1349 | OutPacket(sound, ThrottleOutPacketType.Task); | 1349 | OutPacket(sound, ThrottleOutPacketType.Task); |
1350 | } | 1350 | } |
1351 | 1351 | ||
1352 | public void SendTriggeredSound(LLUUID soundID, LLUUID ownerID, LLUUID objectID, LLUUID parentID, ulong handle, LLVector3 position, float gain) | ||
1353 | { | ||
1354 | SoundTriggerPacket sound = (SoundTriggerPacket)PacketPool.Instance.GetPacket(PacketType.SoundTrigger); | ||
1355 | sound.SoundData.SoundID = soundID; | ||
1356 | sound.SoundData.OwnerID = ownerID; | ||
1357 | sound.SoundData.ObjectID = objectID; | ||
1358 | sound.SoundData.ParentID = parentID; | ||
1359 | sound.SoundData.Handle = handle; | ||
1360 | sound.SoundData.Position = position; | ||
1361 | sound.SoundData.Gain = gain; | ||
1362 | |||
1363 | OutPacket(sound, ThrottleOutPacketType.Task); | ||
1364 | } | ||
1365 | |||
1352 | public void SendSunPos(LLVector3 sunPos, LLVector3 sunVel) | 1366 | public void SendSunPos(LLVector3 sunPos, LLVector3 sunVel) |
1353 | { | 1367 | { |
1354 | SimulatorViewerTimeMessagePacket viewertime = (SimulatorViewerTimeMessagePacket)PacketPool.Instance.GetPacket(PacketType.SimulatorViewerTimeMessage); | 1368 | SimulatorViewerTimeMessagePacket viewertime = (SimulatorViewerTimeMessagePacket)PacketPool.Instance.GetPacket(PacketType.SimulatorViewerTimeMessage); |