diff options
author | Diva Canto | 2010-05-07 21:29:56 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-07 21:29:56 -0700 |
commit | a58859a0d4206c194c9c56212218e2cafc2cc373 (patch) | |
tree | fed51a4e40c344b76f6b8b4d5c5b2ec0d2e142e4 /OpenSim/Data/IGridUserData.cs | |
parent | improve handling of undersize sculpt textures (diff) | |
download | opensim-SC_OLD-a58859a0d4206c194c9c56212218e2cafc2cc373.zip opensim-SC_OLD-a58859a0d4206c194c9c56212218e2cafc2cc373.tar.gz opensim-SC_OLD-a58859a0d4206c194c9c56212218e2cafc2cc373.tar.bz2 opensim-SC_OLD-a58859a0d4206c194c9c56212218e2cafc2cc373.tar.xz |
GridUserService in place. Replaces the contrived concept of storing user's home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway.
BTW, the Meshing files want to be committed too -- EOFs.
Diffstat (limited to 'OpenSim/Data/IGridUserData.cs')
-rw-r--r-- | OpenSim/Data/IGridUserData.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Data/IGridUserData.cs b/OpenSim/Data/IGridUserData.cs index bd7a435..e15a1f8 100644 --- a/OpenSim/Data/IGridUserData.cs +++ b/OpenSim/Data/IGridUserData.cs | |||
@@ -37,6 +37,11 @@ namespace OpenSim.Data | |||
37 | { | 37 | { |
38 | public string UserID; | 38 | public string UserID; |
39 | public Dictionary<string, string> Data; | 39 | public Dictionary<string, string> Data; |
40 | |||
41 | public GridUserData() | ||
42 | { | ||
43 | Data = new Dictionary<string, string>(); | ||
44 | } | ||
40 | } | 45 | } |
41 | 46 | ||
42 | /// <summary> | 47 | /// <summary> |
@@ -44,7 +49,7 @@ namespace OpenSim.Data | |||
44 | /// </summary> | 49 | /// </summary> |
45 | public interface IGridUserData | 50 | public interface IGridUserData |
46 | { | 51 | { |
47 | GridUserData GetGridUserData(string userID); | 52 | GridUserData Get(string userID); |
48 | bool StoreGridUserData(GridUserData data); | 53 | bool Store(GridUserData data); |
49 | } | 54 | } |
50 | } \ No newline at end of file | 55 | } \ No newline at end of file |