diff options
author | Melanie Thielker | 2008-10-21 22:54:31 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-21 22:54:31 +0000 |
commit | f44742f75f6ea8b9e641a3f319f63afcfdbe26b9 (patch) | |
tree | 0b7d50e885756d0ff1196f0c10ef05e9741419f3 /OpenSim/Framework/LLGroup.cs | |
parent | fixing OpenSim.ini.example for IRC, adding example for Concierge. (diff) | |
download | opensim-SC-f44742f75f6ea8b9e641a3f319f63afcfdbe26b9.zip opensim-SC-f44742f75f6ea8b9e641a3f319f63afcfdbe26b9.tar.gz opensim-SC-f44742f75f6ea8b9e641a3f319f63afcfdbe26b9.tar.bz2 opensim-SC-f44742f75f6ea8b9e641a3f319f63afcfdbe26b9.tar.xz |
Pare the groups module down to basics. Adjust dependent files so that a
real groups module can even be implemented.
Diffstat (limited to 'OpenSim/Framework/LLGroup.cs')
-rw-r--r-- | OpenSim/Framework/LLGroup.cs | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/OpenSim/Framework/LLGroup.cs b/OpenSim/Framework/LLGroup.cs deleted file mode 100644 index 7405b97..0000000 --- a/OpenSim/Framework/LLGroup.cs +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | |||
29 | using System; | ||
30 | using System.Collections; | ||
31 | using OpenMetaverse; | ||
32 | using System.Collections.Generic; | ||
33 | using System.Text; | ||
34 | |||
35 | namespace OpenSim.Framework | ||
36 | { | ||
37 | public class GroupData | ||
38 | { | ||
39 | public string ActiveGroupTitle; | ||
40 | public UUID GroupID; | ||
41 | public List<UUID> GroupMembers; | ||
42 | public string groupName; | ||
43 | public uint groupPowers = (uint)(GroupPowers.AllowLandmark | GroupPowers.AllowSetHome); | ||
44 | public List<string> GroupTitles; | ||
45 | public bool AcceptNotices = true; | ||
46 | public bool AllowPublish = true; | ||
47 | public string Charter = "Cool Group Yeah!"; | ||
48 | public int contribution = 0; | ||
49 | public UUID FounderID = UUID.Zero; | ||
50 | public int groupMembershipCost = 0; | ||
51 | public int groupRollsCount = 1; | ||
52 | public UUID GroupPicture = UUID.Zero; | ||
53 | public bool MaturePublish = true; | ||
54 | public int MembershipFee = 0; | ||
55 | public bool OpenEnrollment = true; | ||
56 | public bool ShowInList = true; | ||
57 | |||
58 | public GroupData() | ||
59 | { | ||
60 | GroupTitles = new List<string>(); | ||
61 | GroupMembers = new List<UUID>(); | ||
62 | } | ||
63 | |||
64 | public GroupPowers ActiveGroupPowers | ||
65 | { | ||
66 | set { groupPowers = (uint)value; } | ||
67 | get { return (GroupPowers)groupPowers; } | ||
68 | } | ||
69 | } | ||
70 | |||
71 | public class GroupList | ||
72 | { | ||
73 | public List<UUID> m_GroupList; | ||
74 | |||
75 | public GroupList() | ||
76 | { | ||
77 | m_GroupList = new List<UUID>(); | ||
78 | } | ||
79 | } | ||
80 | } | ||