Expose the GroupRecord and it's accessor API

0.6.5-rc1
Melanie Thielker 2009-04-16 00:15:57 +00:00
parent c98287249e
commit 7e95783dd3
2 changed files with 16 additions and 9 deletions

View File

@ -30,6 +30,21 @@ using OpenMetaverse;
namespace OpenSim.Framework
{
public class GroupRecord
{
public UUID GroupID;
public string GroupName;
public bool AllowPublish = true;
public bool MaturePublish = true;
public string Charter;
public UUID FounderID = UUID.Zero;
public UUID GroupPicture = UUID.Zero;
public int MembershipFee = 0;
public bool OpenEnrollment = true;
public UUID OwnerRoleID = UUID.Zero;
public bool ShowInList = false;
}
public class GroupMembershipData
{
// Group base data

View File

@ -64,14 +64,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);
/// <summary>
/// Retrieve group profile.
/// </summary>
/// <param name="GroupID"></param>
/// <param name="GroupProfile"></param>
/// <returns>False if group does not exist</returns>
bool GetGroupProfile(UUID GroupID, out GroupProfileData GroupProfile);
GroupRecord GetGroupRecord(UUID GroupID);
}
}