Expose the GroupRecord and it's accessor API
parent
c98287249e
commit
7e95783dd3
|
@ -30,6 +30,21 @@ using OpenMetaverse;
|
||||||
|
|
||||||
namespace OpenSim.Framework
|
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
|
public class GroupMembershipData
|
||||||
{
|
{
|
||||||
// Group base data
|
// Group base data
|
||||||
|
|
|
@ -64,14 +64,6 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||||
void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID);
|
void LeaveGroupRequest(IClientAPI remoteClient, UUID GroupID);
|
||||||
void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID);
|
void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID);
|
||||||
void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID);
|
void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID);
|
||||||
|
GroupRecord GetGroupRecord(UUID GroupID);
|
||||||
|
|
||||||
/// <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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue