aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs
diff options
context:
space:
mode:
authorMelanie2013-02-14 08:40:15 +0100
committerMelanie2013-02-14 08:40:15 +0100
commit32c4e1a850fc271808f2e80c79c628ddc82e0206 (patch)
tree616c5ee88d807712d832c08cdc8b9cc0d0341980 /OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs
parentSmall fix to sim features module (diff)
downloadopensim-SC-32c4e1a850fc271808f2e80c79c628ddc82e0206.zip
opensim-SC-32c4e1a850fc271808f2e80c79c628ddc82e0206.tar.gz
opensim-SC-32c4e1a850fc271808f2e80c79c628ddc82e0206.tar.bz2
opensim-SC-32c4e1a850fc271808f2e80c79c628ddc82e0206.tar.xz
Add an event and some logic to allow customizing Simulator Features by avatar
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs b/OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs
index 8cef14e..6effcc1 100644
--- a/OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ISimulatorFeaturesModule.cs
@@ -26,18 +26,22 @@
26 */ 26 */
27 27
28using System; 28using System;
29using OpenMetaverse;
29using OpenMetaverse.StructuredData; 30using OpenMetaverse.StructuredData;
30 31
31namespace OpenSim.Region.Framework.Interfaces 32namespace OpenSim.Region.Framework.Interfaces
32{ 33{
34 public delegate void SimulatorFeaturesRequestDelegate(UUID agentID, ref OSDMap features);
35
33 /// <summary> 36 /// <summary>
34 /// Add remove or retrieve Simulator Features that will be given to a viewer via the SimulatorFeatures capability. 37 /// Add remove or retrieve Simulator Features that will be given to a viewer via the SimulatorFeatures capability.
35 /// </summary> 38 /// </summary>
36 public interface ISimulatorFeaturesModule 39 public interface ISimulatorFeaturesModule
37 { 40 {
41 event SimulatorFeaturesRequestDelegate OnSimulatorFeaturesRequest;
38 void AddFeature(string name, OSD value); 42 void AddFeature(string name, OSD value);
39 bool RemoveFeature(string name); 43 bool RemoveFeature(string name);
40 bool TryGetFeature(string name, out OSD value); 44 bool TryGetFeature(string name, out OSD value);
41 OSDMap GetFeatures(); 45 OSDMap GetFeatures();
42 } 46 }
43} \ No newline at end of file 47}