diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IPresenceData.cs (renamed from OpenSim/ScriptEngine/Shared/IScriptScheduler.cs) | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/OpenSim/ScriptEngine/Shared/IScriptScheduler.cs b/OpenSim/Data/IPresenceData.cs index cf1f1ab..ca661a2 100644 --- a/OpenSim/ScriptEngine/Shared/IScriptScheduler.cs +++ b/OpenSim/Data/IPresenceData.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -24,18 +24,32 @@ | |||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | |||
27 | using System; | 28 | using System; |
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
29 | using System.Text; | ||
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.ScriptEngine.Shared; | 31 | using OpenSim.Framework; |
32 | 32 | ||
33 | namespace OpenSim.ScriptEngine.Shared | 33 | namespace OpenSim.Data |
34 | { | 34 | { |
35 | public interface IScriptScheduler : IScriptEngineComponent | 35 | public class PresenceData |
36 | { | ||
37 | public UUID PrincipalID; | ||
38 | public UUID RegionID; | ||
39 | public Dictionary<string, object> Data; | ||
40 | } | ||
41 | |||
42 | /// <summary> | ||
43 | /// An interface for connecting to the authentication datastore | ||
44 | /// </summary> | ||
45 | public interface IPresenceData | ||
36 | { | 46 | { |
37 | void AddScript(ScriptStructure script); | 47 | bool Store(PresenceData data); |
38 | void Removecript(uint id, UUID itemID); | 48 | |
39 | void Close(); | 49 | PresenceData Get(UUID principalID); |
50 | |||
51 | bool SetDataItem(UUID principalID, string item, string value); | ||
52 | |||
53 | bool Delete(UUID regionID); | ||
40 | } | 54 | } |
41 | } \ No newline at end of file | 55 | } |