diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 591890f..3491645 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2330,6 +2330,13 @@ if (m_shape != null) { | |||
2330 | } | 2330 | } |
2331 | } | 2331 | } |
2332 | 2332 | ||
2333 | /// <summary> | ||
2334 | /// Trigger or play an attached sound in this part's inventory. | ||
2335 | /// </summary> | ||
2336 | /// <param name="sound"></param> | ||
2337 | /// <param name="volume"></param> | ||
2338 | /// <param name="triggered"></param> | ||
2339 | /// <param name="flags"></param> | ||
2333 | public void SendSound(string sound, double volume, bool triggered, byte flags) | 2340 | public void SendSound(string sound, double volume, bool triggered, byte flags) |
2334 | { | 2341 | { |
2335 | if (volume > 1) | 2342 | if (volume > 1) |