replace recent IModule.GetGroup() with better GetGroupRecord(string name)

This commit is contained in:
Justin Clark-Casey (justincc)
2010-03-26 00:10:29 +00:00
parent 857918d3b0
commit 87fe96ae2c
5 changed files with 38 additions and 31 deletions

View File

@@ -55,11 +55,18 @@ namespace OpenSim.Region.Framework.Interfaces
bool openEnrollment, bool allowPublish, bool maturePublish);
/// <summary>
/// Get a group given its name
/// Get a group
/// </summary>
/// <param name="name"></param>
/// <param name="name">Name of the group</param>
/// <returns>The group's data. Null if there is no such group.</returns>
DirGroupsReplyData? GetGroup(string name);
GroupRecord GetGroupRecord(string name);
/// <summary>
/// Get a group
/// </summary>
/// <param name="GroupID">ID of the group</param>
/// <returns>The group's data. Null if there is no such group.</returns>
GroupRecord GetGroupRecord(UUID GroupID);
void ActivateGroup(IClientAPI remoteClient, UUID groupID);
List<GroupTitlesData> GroupTitlesRequest(IClientAPI remoteClient, UUID groupID);
@@ -87,7 +94,6 @@ namespace OpenSim.Region.Framework.Interfaces
void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID);
void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID);
void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID);
GroupRecord GetGroupRecord(UUID GroupID);
void NotifyChange(UUID GroupID);
}
}