LIBOMV-613 add requestID to GroupTitlesCallback too
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2941 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -475,10 +475,11 @@ namespace OpenMetaverse
|
||||
/// <summary>
|
||||
/// Callback for the title list of a group
|
||||
/// </summary>
|
||||
/// <param name="requestID"><seealso cref="UUID"/> of the request returned from RequestGroupTitles</param>
|
||||
/// <param name="groupID">Group <seealso cref="UUID"/></param>
|
||||
/// <param name="titles">A dictionary containing the titles of a group
|
||||
/// where the Key is the role <seealso cref="UUID"/>, and the values are the title details</param>
|
||||
public delegate void GroupTitlesCallback(UUID groupID, Dictionary<UUID, GroupTitle> titles);
|
||||
public delegate void GroupTitlesCallback(UUID requestID, UUID groupID, Dictionary<UUID, GroupTitle> titles);
|
||||
|
||||
/// <summary>
|
||||
/// Callback fired when group account summary information is received
|
||||
@@ -1225,7 +1226,7 @@ namespace OpenMetaverse
|
||||
groupTitleCache[block.RoleID] = groupTitle;
|
||||
}
|
||||
|
||||
try { OnGroupTitles(titles.AgentData.GroupID, groupTitleCache); }
|
||||
try { OnGroupTitles(titles.AgentData.RequestID, titles.AgentData.GroupID, groupTitleCache); }
|
||||
catch (Exception e) { Logger.Log(e.Message, Helpers.LogLevel.Error, Client, e); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ namespace groupmanager
|
||||
}
|
||||
}
|
||||
|
||||
private void GroupTitlesHandler(UUID groupID, Dictionary<UUID, GroupTitle> titles)
|
||||
private void GroupTitlesHandler(UUID requestID, UUID groupID, Dictionary<UUID, GroupTitle> titles)
|
||||
{
|
||||
Titles = titles;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user