diff options
author | Justin Clark-Casey (justincc) | 2010-03-25 22:47:52 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-25 22:47:52 +0000 |
commit | f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6 (patch) | |
tree | 117733099286964cf0ae32ecb17b721f62d243d6 /OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |
parent | fix unit tests broken by commit dcf18689b9ab29d4ceb2348bb56fc1f77a7a8912 (diff) | |
download | opensim-SC_OLD-f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6.zip opensim-SC_OLD-f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6.tar.gz opensim-SC_OLD-f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6.tar.bz2 opensim-SC_OLD-f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6.tar.xz |
add get group by name method to IGroupsModule
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index 8980b2d..368f2cd 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |||
@@ -37,6 +37,30 @@ namespace OpenSim.Region.Framework.Interfaces | |||
37 | { | 37 | { |
38 | event NewGroupNotice OnNewGroupNotice; | 38 | event NewGroupNotice OnNewGroupNotice; |
39 | 39 | ||
40 | /// <summary> | ||
41 | /// Create a group | ||
42 | /// </summary> | ||
43 | /// <param name="remoteClient"></param> | ||
44 | /// <param name="name"></param> | ||
45 | /// <param name="charter"></param> | ||
46 | /// <param name="showInList"></param> | ||
47 | /// <param name="insigniaID"></param> | ||
48 | /// <param name="membershipFee"></param> | ||
49 | /// <param name="openEnrollment"></param> | ||
50 | /// <param name="allowPublish"></param> | ||
51 | /// <param name="maturePublish"></param> | ||
52 | /// <returns>The UUID of the created group</returns> | ||
53 | UUID CreateGroup( | ||
54 | IClientAPI remoteClient, string name, string charter, bool showInList, UUID insigniaID, int membershipFee, | ||
55 | bool openEnrollment, bool allowPublish, bool maturePublish); | ||
56 | |||
57 | /// <summary> | ||
58 | /// Get a group given its name | ||
59 | /// </summary> | ||
60 | /// <param name="name"></param> | ||
61 | /// <returns>The group's data. Null if there is no such group.</returns> | ||
62 | DirGroupsReplyData? GetGroup(string name); | ||
63 | |||
40 | void ActivateGroup(IClientAPI remoteClient, UUID groupID); | 64 | void ActivateGroup(IClientAPI remoteClient, UUID groupID); |
41 | List<GroupTitlesData> GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); | 65 | List<GroupTitlesData> GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); |
42 | List<GroupMembersData> GroupMembersRequest(IClientAPI remoteClient, UUID groupID); | 66 | List<GroupMembersData> GroupMembersRequest(IClientAPI remoteClient, UUID groupID); |
@@ -50,8 +74,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
50 | 74 | ||
51 | void SetGroupAcceptNotices(IClientAPI remoteClient, UUID groupID, bool acceptNotices, bool listInProfile); | 75 | void SetGroupAcceptNotices(IClientAPI remoteClient, UUID groupID, bool acceptNotices, bool listInProfile); |
52 | 76 | ||
53 | void GroupTitleUpdate(IClientAPI remoteClient, UUID GroupID, UUID TitleRoleID); | 77 | void GroupTitleUpdate(IClientAPI remoteClient, UUID GroupID, UUID TitleRoleID); |
54 | UUID CreateGroup(IClientAPI remoteClient, string name, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish); | ||
55 | 78 | ||
56 | GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID GroupID); | 79 | GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID GroupID); |
57 | string GetGroupTitle(UUID avatarID); | 80 | string GetGroupTitle(UUID avatarID); |
@@ -67,4 +90,4 @@ namespace OpenSim.Region.Framework.Interfaces | |||
67 | GroupRecord GetGroupRecord(UUID GroupID); | 90 | GroupRecord GetGroupRecord(UUID GroupID); |
68 | void NotifyChange(UUID GroupID); | 91 | void NotifyChange(UUID GroupID); |
69 | } | 92 | } |
70 | } | 93 | } \ No newline at end of file |