aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/LLGroup.cs
blob: 73d009abb596081e47c257c3a0bcd5615888156e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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>();
        }
    }
}