aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs3
-rw-r--r--OpenSim/Framework/LLGroup.cs52
2 files changed, 55 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 690b04e..098e721 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -973,6 +973,9 @@ namespace OpenSim.Framework
973 LLVector3 CameraAtOffset, LLVector3 CameraEyeOffset, bool ForceMouseLook); 973 LLVector3 CameraAtOffset, LLVector3 CameraEyeOffset, bool ForceMouseLook);
974 974
975 void SendAdminResponse(LLUUID Token, uint AdminLevel); 975 void SendAdminResponse(LLUUID Token, uint AdminLevel);
976
977 void SendGroupMembership(GroupData[] GroupMembership);
978
976 979
977 byte[] GetThrottlesPacked(float multiplier); 980 byte[] GetThrottlesPacked(float multiplier);
978 981
diff --git a/OpenSim/Framework/LLGroup.cs b/OpenSim/Framework/LLGroup.cs
new file mode 100644
index 0000000..73d009a
--- /dev/null
+++ b/OpenSim/Framework/LLGroup.cs
@@ -0,0 +1,52 @@
1using System;
2using System.Collections;
3using libsecondlife;
4using System.Collections.Generic;
5using System.Text;
6
7namespace OpenSim.Framework
8{
9 public class GroupData
10 {
11 public string ActiveGroupTitle;
12 public LLUUID GroupID;
13 public List<LLUUID> GroupMembers;
14 public string groupName;
15 public uint groupPowers = (uint)(GroupPowers.LandAllowLandmark | GroupPowers.LandAllowSetHome);
16 public List<string> GroupTitles;
17 public bool AcceptNotices = true;
18 public bool AllowPublish = true;
19 public string Charter = "Cool Group Yeah!";
20 public int contribution = 0;
21 public LLUUID FounderID = LLUUID.Zero;
22 public int groupMembershipCost = 0;
23 public int groupRollsCount = 1;
24 public LLUUID GroupPicture = LLUUID.Zero;
25 public bool MaturePublish = true;
26 public int MembershipFee = 0;
27 public bool OpenEnrollment = true;
28 public bool ShowInList = true;
29
30 public GroupData()
31 {
32 GroupTitles = new List<string>();
33 GroupMembers = new List<LLUUID>();
34 }
35
36 public GroupPowers ActiveGroupPowers
37 {
38 set { groupPowers = (uint)value; }
39 get { return (GroupPowers)groupPowers; }
40 }
41 }
42
43 public class GroupList
44 {
45 public List<LLUUID> m_GroupList;
46
47 public GroupList()
48 {
49 m_GroupList = new List<LLUUID>();
50 }
51 }
52}