mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
* Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
This commit is contained in:
@@ -973,6 +973,9 @@ namespace OpenSim.Framework
|
||||
LLVector3 CameraAtOffset, LLVector3 CameraEyeOffset, bool ForceMouseLook);
|
||||
|
||||
void SendAdminResponse(LLUUID Token, uint AdminLevel);
|
||||
|
||||
void SendGroupMembership(GroupData[] GroupMembership);
|
||||
|
||||
|
||||
byte[] GetThrottlesPacked(float multiplier);
|
||||
|
||||
|
||||
52
OpenSim/Framework/LLGroup.cs
Normal file
52
OpenSim/Framework/LLGroup.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using libsecondlife;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public class GroupData
|
||||
{
|
||||
public string ActiveGroupTitle;
|
||||
public LLUUID GroupID;
|
||||
public List<LLUUID> GroupMembers;
|
||||
public string groupName;
|
||||
public uint groupPowers = (uint)(GroupPowers.LandAllowLandmark | GroupPowers.LandAllowSetHome);
|
||||
public List<string> GroupTitles;
|
||||
public bool AcceptNotices = true;
|
||||
public bool AllowPublish = true;
|
||||
public string Charter = "Cool Group Yeah!";
|
||||
public int contribution = 0;
|
||||
public LLUUID FounderID = LLUUID.Zero;
|
||||
public int groupMembershipCost = 0;
|
||||
public int groupRollsCount = 1;
|
||||
public LLUUID GroupPicture = LLUUID.Zero;
|
||||
public bool MaturePublish = true;
|
||||
public int MembershipFee = 0;
|
||||
public bool OpenEnrollment = true;
|
||||
public bool ShowInList = true;
|
||||
|
||||
public GroupData()
|
||||
{
|
||||
GroupTitles = new List<string>();
|
||||
GroupMembers = new List<LLUUID>();
|
||||
}
|
||||
|
||||
public GroupPowers ActiveGroupPowers
|
||||
{
|
||||
set { groupPowers = (uint)value; }
|
||||
get { return (GroupPowers)groupPowers; }
|
||||
}
|
||||
}
|
||||
|
||||
public class GroupList
|
||||
{
|
||||
public List<LLUUID> m_GroupList;
|
||||
|
||||
public GroupList()
|
||||
{
|
||||
m_GroupList = new List<LLUUID>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user