From 78bec422259671ad72ad46ca98ab8029b78aefe5 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 29 May 2009 22:44:49 +0000 Subject: * 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) --- .../Scripting/Minimodule/Object/IObjectSound.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectSound.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using OpenMetaverse; + +namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object +{ + interface IObjectSound + { + void Play(UUID soundAsset, double volume); + } +} -- cgit v1.1