diff options
author | UbitUmarov | 2016-12-21 22:27:48 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-21 22:27:48 +0000 |
commit | 330369f90445bf7a017d25bbf8de647db9621f25 (patch) | |
tree | 2c782533dc100d1e9617747160c32bbfa59c5fa6 /OpenSim/Framework | |
parent | Merge branch 'master' of opensimulator.org:/var/git/opensim (diff) | |
download | opensim-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.cs | 14 |
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 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using System.Collections.Generic; | ||
31 | |||
30 | 32 | ||
31 | namespace OpenSim.Framework | 33 | namespace 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 | ||