diff options
author | Adam Frisby | 2009-05-29 22:44:49 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-29 22:44:49 +0000 |
commit | 78bec422259671ad72ad46ca98ab8029b78aefe5 (patch) | |
tree | 40e6b2dcc2495cc8409a52027acc39faefb89f49 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs | |
parent | * Allows standalone region users to skip the "You must wait 5 minutes to log ... (diff) | |
download | opensim-SC-78bec422259671ad72ad46ca98ab8029b78aefe5.zip opensim-SC-78bec422259671ad72ad46ca98ab8029b78aefe5.tar.gz opensim-SC-78bec422259671ad72ad46ca98ab8029b78aefe5.tar.bz2 opensim-SC-78bec422259671ad72ad46ca98ab8029b78aefe5.tar.xz |
* Implements Sound on Objects for IObject in MRM
* Method: IObject.Sound.Play(UUID sound, double volume)
* More feature-packed API to come soon. (I want a World.Sound with arbitrary positioning)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs new file mode 100644 index 0000000..7204f02 --- /dev/null +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs | |||
@@ -0,0 +1,12 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | |||
6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object | ||
7 | { | ||
8 | interface IObjectSound | ||
9 | { | ||
10 | void Play(UUID soundAsset, double volume); | ||
11 | } | ||
12 | } | ||