mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
* There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
This commit is contained in:
@@ -159,6 +159,31 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Preloads User data into the region cache. Modules may use this service to add non-standard clients
|
||||
/// </summary>
|
||||
/// <param name="userID"></param>
|
||||
/// <param name="userData"></param>
|
||||
public void PreloadUserCache(LLUUID userID, UserProfileData userData)
|
||||
{
|
||||
if (userID == LLUUID.Zero)
|
||||
return;
|
||||
|
||||
lock (m_userProfiles)
|
||||
{
|
||||
if (m_userProfiles.ContainsKey(userID))
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
CachedUserInfo userInfo = new CachedUserInfo(m_commsManager, userData);
|
||||
m_userProfiles.Add(userID, userInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handle an inventory folder creation request from the client.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user