From 1b7d0a6c93eb4a056d39b9cc708283086f8e8bf8 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 12 May 2009 14:59:11 +0000 Subject: Paving the way for syncing group permissions across a grid --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 4 ++++ OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 2 ++ .../Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 1 + OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 4 ++++ 5 files changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index a157df5..72cb5c8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -10512,7 +10512,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP #endregion - private void RefreshGroupMembership() + public void RefreshGroupMembership() { if (m_GroupsModule != null) { diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index ddb27fe..3e9195e 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -1074,6 +1074,10 @@ namespace OpenSim.Region.Examples.SimpleModule { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index 6935924..8183828 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs @@ -32,10 +32,12 @@ using OpenSim.Framework; namespace OpenSim.Region.Framework.Interfaces { public delegate void NewGroupNotice(UUID groupID, UUID noticeID); + public delegate void GroupChange(UUID groupID); public interface IGroupsModule { event NewGroupNotice OnNewGroupNotice; + event GroupChange OnGroupChange; void ActivateGroup(IClientAPI remoteClient, UUID groupID); List GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index 3476cdb..2a3df8c 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs @@ -541,6 +541,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups #region IGroupsModule Members public event NewGroupNotice OnNewGroupNotice; + public event GroupChange OnGroupChange; public GroupRecord GetGroupRecord(UUID GroupID) { diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d3be827..f529c9e 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs @@ -1074,6 +1074,10 @@ namespace OpenSim.Region.OptionalModules.World.NPC { } + public void RefreshGroupMembership() + { + } + public void SendUseCachedMuteList() { } -- cgit v1.1