take UserProfileModule out on onMakeRoot event, add some caching

This commit is contained in:
UbitUmarov
2016-12-21 22:27:48 +00:00
parent 1602148f5e
commit 330369f904
2 changed files with 310 additions and 91 deletions

View File

@@ -27,6 +27,8 @@
using System;
using OpenMetaverse;
using System.Collections.Generic;
namespace OpenSim.Framework
{
@@ -122,5 +124,17 @@ namespace OpenSim.Framework
public string UserId = UUID.Zero.ToString();
public string DataVal = string.Empty;
}
public class UserProfileCacheEntry
{
public Dictionary<UUID, string> picksList;
public Dictionary<UUID, UserProfilePick> picks;
public Dictionary<UUID, string> classifiedsLists;
public Dictionary<UUID, UserClassifiedAdd> classifieds;
public UserProfileProperties props;
public string born;
public byte[] membershipType;
public uint flags;
}
}