aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IAvatarData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/IAvatarData.cs (renamed from OpenSim/Region/Framework/Interfaces/ITeleportModule.cs)20
1 files changed, 14 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ITeleportModule.cs b/OpenSim/Data/IAvatarData.cs
index 5f9129d..0a18e21 100644
--- a/OpenSim/Region/Framework/Interfaces/ITeleportModule.cs
+++ b/OpenSim/Data/IAvatarData.cs
@@ -27,15 +27,23 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text;
31using OpenMetaverse; 30using OpenMetaverse;
32using OpenSim.Region.Framework.Scenes; 31using OpenSim.Framework;
33 32
34namespace OpenSim.Region.Framework.Interfaces 33namespace OpenSim.Data
35{ 34{
36 public interface ITeleportModule 35 // This MUST be a ref type!
36 public class AvatarBaseData
37 { 37 {
38 void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, 38 public UUID PrincipalID;
39 Vector3 lookAt, uint teleportFlags); 39 public Dictionary<string, string> Data;
40 }
41
42 public interface IAvatarData
43 {
44 AvatarBaseData[] Get(string field, string val);
45 bool Store(AvatarBaseData data);
46 bool Delete(UUID principalID, string name);
47 bool Delete(string field, string val);
40 } 48 }
41} 49}