diff options
author | Melanie Thielker | 2009-04-16 00:15:57 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-16 00:15:57 +0000 |
commit | 7e95783dd3fbeb7d93885e85606adc74d73e567e (patch) | |
tree | 1d9f3695064f9c2d9d063a8c92009c88a9a04475 | |
parent | Add the XML manifests needed to get the new style modules to load. (diff) | |
download | opensim-SC-7e95783dd3fbeb7d93885e85606adc74d73e567e.zip opensim-SC-7e95783dd3fbeb7d93885e85606adc74d73e567e.tar.gz opensim-SC-7e95783dd3fbeb7d93885e85606adc74d73e567e.tar.bz2 opensim-SC-7e95783dd3fbeb7d93885e85606adc74d73e567e.tar.xz |
Expose the GroupRecord and it's accessor API
-rw-r--r-- | OpenSim/Framework/GroupData.cs | 15 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | 10 |
2 files changed, 16 insertions, 9 deletions
diff --git a/OpenSim/Framework/GroupData.cs b/OpenSim/Framework/GroupData.cs index 178193e..28d1639 100644 --- a/OpenSim/Framework/GroupData.cs +++ b/OpenSim/Framework/GroupData.cs | |||
@@ -30,6 +30,21 @@ using OpenMetaverse; | |||
30 | 30 | ||
31 | namespace OpenSim.Framework | 31 | namespace OpenSim.Framework |
32 | { | 32 | { |
33 | public class GroupRecord | ||
34 | { | ||
35 | public UUID GroupID; | ||
36 | public string GroupName; | ||
37 | public bool AllowPublish = true; | ||
38 | public bool MaturePublish = true; | ||
39 | public string Charter; | ||
40 | public UUID FounderID = UUID.Zero; | ||
41 | public UUID GroupPicture = UUID.Zero; | ||
42 | public int MembershipFee = 0; | ||
43 | public bool OpenEnrollment = true; | ||
44 | public UUID OwnerRoleID = UUID.Zero; | ||
45 | public bool ShowInList = false; | ||
46 | } | ||
47 | |||
33 | public class GroupMembershipData | 48 | public class GroupMembershipData |
34 | { | 49 | { |
35 | // Group base data | 50 | // Group base data |
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index 85b8cac..6935924 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |||
@@ -64,14 +64,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
64 | void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID); | 64 | void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID); |
65 | void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID); | 65 | void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID); |
66 | void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID); | 66 | void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID); |
67 | 67 | GroupRecord GetGroupRecord(UUID GroupID); | |
68 | |||
69 | /// <summary> | ||
70 | /// Retrieve group profile. | ||
71 | /// </summary> | ||
72 | /// <param name="GroupID"></param> | ||
73 | /// <param name="GroupProfile"></param> | ||
74 | /// <returns>False if group does not exist</returns> | ||
75 | bool GetGroupProfile(UUID GroupID, out GroupProfileData GroupProfile); | ||
76 | } | 68 | } |
77 | } | 69 | } |