aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2016-12-21 22:27:48 +0000
committerUbitUmarov2016-12-21 22:27:48 +0000
commit330369f90445bf7a017d25bbf8de647db9621f25 (patch)
tree2c782533dc100d1e9617747160c32bbfa59c5fa6 /OpenSim/Framework
parentMerge branch 'master' of opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-330369f90445bf7a017d25bbf8de647db9621f25.zip
opensim-SC_OLD-330369f90445bf7a017d25bbf8de647db9621f25.tar.gz
opensim-SC_OLD-330369f90445bf7a017d25bbf8de647db9621f25.tar.bz2
opensim-SC_OLD-330369f90445bf7a017d25bbf8de647db9621f25.tar.xz
take UserProfileModule out on onMakeRoot event, add some caching
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/UserProfiles.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/UserProfiles.cs b/OpenSim/Framework/UserProfiles.cs
index 98ab651..6d46fe9 100644
--- a/OpenSim/Framework/UserProfiles.cs
+++ b/OpenSim/Framework/UserProfiles.cs
@@ -27,6 +27,8 @@
27 27
28using System; 28using System;
29using OpenMetaverse; 29using OpenMetaverse;
30using System.Collections.Generic;
31
30 32
31namespace OpenSim.Framework 33namespace OpenSim.Framework
32{ 34{
@@ -122,5 +124,17 @@ namespace OpenSim.Framework
122 public string UserId = UUID.Zero.ToString(); 124 public string UserId = UUID.Zero.ToString();
123 public string DataVal = string.Empty; 125 public string DataVal = string.Empty;
124 } 126 }
127
128 public class UserProfileCacheEntry
129 {
130 public Dictionary<UUID, string> picksList;
131 public Dictionary<UUID, UserProfilePick> picks;
132 public Dictionary<UUID, string> classifiedsLists;
133 public Dictionary<UUID, UserClassifiedAdd> classifieds;
134 public UserProfileProperties props;
135 public string born;
136 public byte[] membershipType;
137 public uint flags;
138 }
125} 139}
126 140