aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/PresenceService/PresenceService.cs
diff options
context:
space:
mode:
authorMelanie2009-11-18 08:21:28 +0000
committerMelanie2009-11-18 08:21:28 +0000
commit06ecdf1967848e3f0c6b6f98aba61c7ad099f65d (patch)
tree56275806fb3df065c1734bd10d179ebfcea64c89 /OpenSim/Services/PresenceService/PresenceService.cs
parentChange PresenceData to PresenceInfo to remove a naming conflict in the (diff)
downloadopensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.zip
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.gz
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.bz2
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.xz
Tweak presence handling and whip up a database connector and handler
for testign the new generic table handling
Diffstat (limited to 'OpenSim/Services/PresenceService/PresenceService.cs')
-rw-r--r--OpenSim/Services/PresenceService/PresenceService.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs
index 8931a26..2157462 100644
--- a/OpenSim/Services/PresenceService/PresenceService.cs
+++ b/OpenSim/Services/PresenceService/PresenceService.cs
@@ -52,6 +52,15 @@ namespace OpenSim.Services.PresenceService
52 52
53 public bool Report(PresenceInfo presence) 53 public bool Report(PresenceInfo presence)
54 { 54 {
55 PresenceData p = new PresenceData();
56 p.Data = new Dictionary<string, string>();
57
58 p.UUID = presence.PrincipalID;
59 p.currentRegion = presence.RegionID;
60
61 foreach (KeyValuePair<string, string> kvp in presence.Data)
62 p.Data[kvp.Key] = kvp.Value;
63
55 return false; 64 return false;
56 } 65 }
57 } 66 }