OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
/// <summary>
/// Update remoteClient with group information about dataForAgentID
/// </summary>
Update remoteClient with group information about dataForAgentID
Update remoteClient with group information about dataForAgentID
private void SendAgentGroupDataUpdate(IClientAPI remoteClient, UUID dataForAgentID)
        {
            if (m_debugEnabled) m_log.InfoFormat("[GROUPS]: {0} called for {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, remoteClient.Name);
            OnAgentDataUpdateRequest(remoteClient, dataForAgentID, UUID.Zero);
            remoteClient.SendGroupMembership(new GroupMembershipData[0]);
            GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, dataForAgentID);
            SendGroupMembershipInfoViaCaps(remoteClient, dataForAgentID, membershipArray);
            remoteClient.SendAvatarGroupsReply(dataForAgentID, membershipArray);
            if (remoteClient.AgentId == dataForAgentID)
                remoteClient.RefreshGroupMembership();
        }
private void SendAgentGroupDataUpdate ( IClientAPI remoteClient , UUID dataForAgentID ) { if ( m_debugEnabled ) m_log . InfoFormat ( " " , System . Reflection . MethodBase . GetCurrentMethod ( ) . Name , remoteClient . Name ) ; OnAgentDataUpdateRequest ( remoteClient , dataForAgentID , UUID . Zero ) ; remoteClient . SendGroupMembership ( new GroupMembershipData [ 0 ] ) ; GroupMembershipData [ ] membershipArray = GetProfileListedGroupMemberships ( remoteClient , dataForAgentID ) ; SendGroupMembershipInfoViaCaps ( remoteClient , dataForAgentID , membershipArray ) ; remoteClient . SendAvatarGroupsReply ( dataForAgentID , membershipArray ) ; if ( remoteClient . AgentId == dataForAgentID ) remoteClient . RefreshGroupMembership ( ) ; }
Update remoteClient with group information about dataForAgentID
Update remoteClient with group information about dataForAgentID
// TODO: All the client update functions need to be reexamined because most do too much and send too much stuff // Need to send a group membership update to the client // UDP version doesn't seem to behave nicely.  But we're going to send it out here // with an empty group membership to hopefully remove groups being displayed due // to the core Groups Stub
remoteClient
IClientAPI
dataForAgentID
UUID