diff options
author | Teravus Ovares | 2008-05-14 06:58:32 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-14 06:58:32 +0000 |
commit | 5b4d7922ea304f638b6a9bd0a324abefd1403ec1 (patch) | |
tree | 2f8be6c0b270ecc33b56e1d716d1977e9a3d9620 /OpenSim/Framework | |
parent | More formatting cleanup. Minor refactoring. (diff) | |
download | opensim-SC-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.zip opensim-SC-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.gz opensim-SC-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.bz2 opensim-SC-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 3 | ||||
-rw-r--r-- | OpenSim/Framework/LLGroup.cs | 52 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections; | ||
3 | using libsecondlife; | ||
4 | using System.Collections.Generic; | ||
5 | using System.Text; | ||
6 | |||
7 | namespace 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 | } | ||