Expose the GroupRecord and it's accessor API
parent
c98287249e
commit
7e95783dd3
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue