diff options
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | ||
31 | using OpenMetaverse; | 30 | using OpenMetaverse; |
32 | using OpenSim.Region.Framework.Scenes; | 31 | using OpenSim.Framework; |
33 | 32 | ||
34 | namespace OpenSim.Region.Framework.Interfaces | 33 | namespace 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 | } |