diff options
author | Justin Clark-Casey (justincc) | 2010-03-26 00:10:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-26 00:10:29 +0000 |
commit | 87fe96ae2c48216d006a02ef22392f0838fba17f (patch) | |
tree | 877528595d04123be5dcb75a203822ba39c65f4f /OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |
parent | minor: some debugging information and spacing changes to group module (diff) | |
download | opensim-SC_OLD-87fe96ae2c48216d006a02ef22392f0838fba17f.zip opensim-SC_OLD-87fe96ae2c48216d006a02ef22392f0838fba17f.tar.gz opensim-SC_OLD-87fe96ae2c48216d006a02ef22392f0838fba17f.tar.bz2 opensim-SC_OLD-87fe96ae2c48216d006a02ef22392f0838fba17f.tar.xz |
replace recent IModule.GetGroup() with better GetGroupRecord(string name)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index e357969..2c091e7 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |||
@@ -55,11 +55,18 @@ namespace OpenSim.Region.Framework.Interfaces | |||
55 | bool openEnrollment, bool allowPublish, bool maturePublish); | 55 | bool openEnrollment, bool allowPublish, bool maturePublish); |
56 | 56 | ||
57 | /// <summary> | 57 | /// <summary> |
58 | /// Get a group given its name | 58 | /// Get a group |
59 | /// </summary> | 59 | /// </summary> |
60 | /// <param name="name"></param> | 60 | /// <param name="name">Name of the group</param> |
61 | /// <returns>The group's data. Null if there is no such group.</returns> | 61 | /// <returns>The group's data. Null if there is no such group.</returns> |
62 | DirGroupsReplyData? GetGroup(string name); | 62 | GroupRecord GetGroupRecord(string name); |
63 | |||
64 | /// <summary> | ||
65 | /// Get a group | ||
66 | /// </summary> | ||
67 | /// <param name="GroupID">ID of the group</param> | ||
68 | /// <returns>The group's data. Null if there is no such group.</returns> | ||
69 | GroupRecord GetGroupRecord(UUID GroupID); | ||
63 | 70 | ||
64 | void ActivateGroup(IClientAPI remoteClient, UUID groupID); | 71 | void ActivateGroup(IClientAPI remoteClient, UUID groupID); |
65 | List<GroupTitlesData> GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); | 72 | List<GroupTitlesData> GroupTitlesRequest(IClientAPI remoteClient, UUID groupID); |
@@ -87,7 +94,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
87 | void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID); | 94 | void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID); |
88 | void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID); | 95 | void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID); |
89 | void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID); | 96 | void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID); |
90 | GroupRecord GetGroupRecord(UUID GroupID); | ||
91 | void NotifyChange(UUID GroupID); | 97 | void NotifyChange(UUID GroupID); |
92 | } | 98 | } |
93 | } \ No newline at end of file | 99 | } \ No newline at end of file |