OpenSim
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Framework
GroupData.cs
Go to the documentation of this file.
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 OpenSimulator 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
OpenMetaverse;
30
31
namespace
OpenSim.Framework
32
{
33
public
class
GroupRecord
34
{
35
public
UUID
GroupID
;
36
public
string
GroupName
;
37
public
bool
AllowPublish =
true
;
38
public
bool
MaturePublish =
true
;
39
public
string
Charter
;
40
public
UUID FounderID = UUID.Zero;
41
public
UUID GroupPicture = UUID.Zero;
42
public
int
MembershipFee = 0;
43
public
bool
OpenEnrollment =
true
;
44
public
UUID OwnerRoleID = UUID.Zero;
45
public
bool
ShowInList =
false
;
46
}
47
48
public
class
GroupMembershipData
49
{
50
// Group base data
51
public
UUID
GroupID
;
52
public
string
GroupName
;
53
public
bool
AllowPublish =
true
;
54
public
bool
MaturePublish =
true
;
55
public
string
Charter
;
56
public
UUID FounderID = UUID.Zero;
57
public
UUID GroupPicture = UUID.Zero;
58
public
int
MembershipFee = 0;
59
public
bool
OpenEnrollment =
true
;
60
public
bool
ShowInList =
true
;
61
62
// Per user data
63
public
bool
AcceptNotices =
true
;
64
public
int
Contribution = 0;
65
public
ulong GroupPowers = 0;
66
public
bool
Active =
false
;
67
public
UUID ActiveRole = UUID.Zero;
68
public
bool
ListInProfile =
false
;
69
public
string
GroupTitle
;
70
}
71
72
public
struct
GroupTitlesData
73
{
74
public
string
Name
;
75
public
UUID
UUID
;
76
public
bool
Selected
;
77
}
78
79
public
struct
GroupProfileData
80
{
81
public
UUID
GroupID
;
82
public
string
Name
;
83
public
string
Charter
;
84
public
bool
ShowInList
;
85
public
string
MemberTitle
;
86
public
ulong
PowersMask
;
87
public
UUID
InsigniaID
;
88
public
UUID
FounderID
;
89
public
int
MembershipFee
;
90
public
bool
OpenEnrollment
;
91
public
int
Money
;
92
public
int
GroupMembershipCount
;
93
public
int
GroupRolesCount
;
94
public
bool
AllowPublish
;
95
public
bool
MaturePublish
;
96
public
UUID
OwnerRole
;
97
}
98
99
public
struct
GroupMembersData
100
{
101
public
UUID
AgentID
;
102
public
int
Contribution
;
103
public
string
OnlineStatus
;
104
public
ulong
AgentPowers
;
105
public
string
Title
;
106
public
bool
IsOwner
;
107
public
bool
ListInProfile
;
108
public
bool
AcceptNotices
;
109
}
110
111
public
struct
GroupRolesData
112
{
113
public
UUID
RoleID
;
114
public
string
Name
;
115
public
string
Title
;
116
public
string
Description
;
117
public
ulong
Powers
;
118
public
int
Members
;
119
}
120
121
public
struct
GroupRoleMembersData
122
{
123
public
UUID
RoleID
;
124
public
UUID
MemberID
;
125
}
126
127
public
struct
GroupNoticeData
128
{
129
public
UUID
NoticeID
;
130
public
uint
Timestamp
;
131
public
string
FromName
;
132
public
string
Subject
;
133
public
bool
HasAttachment
;
134
public
byte
AssetType
;
135
}
136
137
public
struct
GroupVoteHistory
138
{
139
public
string
VoteID
;
140
public
string
VoteInitiator
;
141
public
string
Majority
;
142
public
string
Quorum
;
143
public
string
TerseDateID
;
144
public
string
StartDateTime
;
145
public
string
EndDateTime
;
146
public
string
VoteType
;
147
public
string
VoteResult
;
148
public
string
ProposalText
;
149
}
150
151
public
struct
GroupActiveProposals
152
{
153
public
string
VoteID
;
154
public
string
VoteInitiator
;
155
public
string
Majority
;
156
public
string
Quorum
;
157
public
string
TerseDateID
;
158
public
string
StartDateTime
;
159
public
string
EndDateTime
;
160
public
string
ProposalText
;
161
}
162
}
OpenSim.Framework.GroupVoteHistory.TerseDateID
string TerseDateID
Definition:
GroupData.cs:143
OpenSim.Framework.GroupMembersData.AcceptNotices
bool AcceptNotices
Definition:
GroupData.cs:108
OpenSim.Framework.GroupProfileData.FounderID
UUID FounderID
Definition:
GroupData.cs:88
OpenSim.Framework.GroupTitlesData
Definition:
GroupData.cs:72
OpenSim.Framework.GroupMembersData.Title
string Title
Definition:
GroupData.cs:105
OpenSim.Framework.GroupVoteHistory.VoteResult
string VoteResult
Definition:
GroupData.cs:147
OpenSim.Framework.GroupActiveProposals.VoteID
string VoteID
Definition:
GroupData.cs:153
OpenSim.Framework.GroupMembershipData.GroupTitle
string GroupTitle
Definition:
GroupData.cs:69
OpenSim.Framework.GroupActiveProposals.Quorum
string Quorum
Definition:
GroupData.cs:156
OpenSim.Framework.GroupRolesData.RoleID
UUID RoleID
Definition:
GroupData.cs:113
OpenSim.Framework.GroupNoticeData.HasAttachment
bool HasAttachment
Definition:
GroupData.cs:133
OpenSim.Framework.GroupMembersData.AgentPowers
ulong AgentPowers
Definition:
GroupData.cs:104
OpenSim.Framework.GroupProfileData.PowersMask
ulong PowersMask
Definition:
GroupData.cs:86
OpenSim.Framework.GroupProfileData.GroupRolesCount
int GroupRolesCount
Definition:
GroupData.cs:93
OpenSim.Framework.GroupMembersData
Definition:
GroupData.cs:99
OpenSim.Framework.GroupNoticeData.Timestamp
uint Timestamp
Definition:
GroupData.cs:130
OpenSim.Framework.GroupRolesData.Name
string Name
Definition:
GroupData.cs:114
OpenSim.Framework.GroupVoteHistory.StartDateTime
string StartDateTime
Definition:
GroupData.cs:144
OpenSim.Framework.GroupRoleMembersData.RoleID
UUID RoleID
Definition:
GroupData.cs:123
OpenSim.Framework.GroupVoteHistory.VoteInitiator
string VoteInitiator
Definition:
GroupData.cs:140
OpenSim.Framework.GroupTitlesData.Selected
bool Selected
Definition:
GroupData.cs:76
OpenSim.Framework.GroupNoticeData
Definition:
GroupData.cs:127
OpenSim.Framework.GroupMembershipData.GroupID
UUID GroupID
Definition:
GroupData.cs:51
OpenSim.Framework.GroupRoleMembersData.MemberID
UUID MemberID
Definition:
GroupData.cs:124
OpenSim.Framework.GroupVoteHistory.VoteType
string VoteType
Definition:
GroupData.cs:146
OpenSim.Framework.GroupProfileData.MembershipFee
int MembershipFee
Definition:
GroupData.cs:89
OpenSim.Framework.GroupMembershipData.GroupName
string GroupName
Definition:
GroupData.cs:52
OpenSim.Framework.GroupProfileData.GroupID
UUID GroupID
Definition:
GroupData.cs:81
OpenSim.Framework.GroupActiveProposals.TerseDateID
string TerseDateID
Definition:
GroupData.cs:157
OpenSim.Framework.GroupProfileData.MaturePublish
bool MaturePublish
Definition:
GroupData.cs:95
OpenSim.Framework.GroupRolesData.Description
string Description
Definition:
GroupData.cs:116
OpenSim.Framework.GroupProfileData
Definition:
GroupData.cs:79
OpenSim.Framework.GroupActiveProposals
Definition:
GroupData.cs:151
OpenSim.Framework.GroupActiveProposals.EndDateTime
string EndDateTime
Definition:
GroupData.cs:159
OpenSim.Framework.GroupNoticeData.NoticeID
UUID NoticeID
Definition:
GroupData.cs:129
OpenSim.Framework.GroupVoteHistory.EndDateTime
string EndDateTime
Definition:
GroupData.cs:145
OpenSim.Framework.GroupProfileData.OpenEnrollment
bool OpenEnrollment
Definition:
GroupData.cs:90
OpenSim.Framework.GroupProfileData.ShowInList
bool ShowInList
Definition:
GroupData.cs:84
OpenSim.Framework.GroupVoteHistory.Majority
string Majority
Definition:
GroupData.cs:141
OpenSim.Framework.GroupActiveProposals.VoteInitiator
string VoteInitiator
Definition:
GroupData.cs:154
OpenSim.Framework.GroupNoticeData.FromName
string FromName
Definition:
GroupData.cs:131
OpenSim.Framework.GroupMembershipData.Charter
string Charter
Definition:
GroupData.cs:55
OpenSim.Framework.GroupMembershipData
Definition:
GroupData.cs:48
OpenSim.Framework.GroupActiveProposals.Majority
string Majority
Definition:
GroupData.cs:155
OpenSim.Framework.GroupRecord
Definition:
GroupData.cs:33
OpenSim.Framework.GroupProfileData.Name
string Name
Definition:
GroupData.cs:82
OpenSim.Framework.GroupActiveProposals.ProposalText
string ProposalText
Definition:
GroupData.cs:160
OpenSim.Framework.GroupRoleMembersData
Definition:
GroupData.cs:121
OpenSim.Framework.GroupTitlesData.UUID
UUID UUID
Definition:
GroupData.cs:75
OpenSim.Framework.GroupMembersData.IsOwner
bool IsOwner
Definition:
GroupData.cs:106
OpenSim.Framework.GroupRolesData.Title
string Title
Definition:
GroupData.cs:115
OpenSim.Framework.GroupActiveProposals.StartDateTime
string StartDateTime
Definition:
GroupData.cs:158
OpenSim.Framework.GroupNoticeData.AssetType
byte AssetType
Definition:
GroupData.cs:134
OpenSim.Framework.GroupVoteHistory.ProposalText
string ProposalText
Definition:
GroupData.cs:148
OpenSim.Framework.GroupMembersData.AgentID
UUID AgentID
Definition:
GroupData.cs:101
OpenSim.Framework.GroupTitlesData.Name
string Name
Definition:
GroupData.cs:74
OpenSim.Framework.GroupProfileData.InsigniaID
UUID InsigniaID
Definition:
GroupData.cs:87
OpenSim.Framework.GroupRolesData.Members
int Members
Definition:
GroupData.cs:118
OpenSim.Framework.GroupNoticeData.Subject
string Subject
Definition:
GroupData.cs:132
OpenSim.Framework.GroupProfileData.AllowPublish
bool AllowPublish
Definition:
GroupData.cs:94
OpenSim.Framework.GroupMembersData.ListInProfile
bool ListInProfile
Definition:
GroupData.cs:107
OpenSim.Framework.GroupVoteHistory
Definition:
GroupData.cs:137
OpenSim.Framework.GroupMembersData.Contribution
int Contribution
Definition:
GroupData.cs:102
OpenSim.Framework.GroupProfileData.Charter
string Charter
Definition:
GroupData.cs:83
OpenSim.Framework.GroupRolesData.Powers
ulong Powers
Definition:
GroupData.cs:117
OpenSim.Framework.GroupVoteHistory.VoteID
string VoteID
Definition:
GroupData.cs:139
OpenSim.Framework.GroupRecord.GroupID
UUID GroupID
Definition:
GroupData.cs:35
OpenSim.Framework.GroupProfileData.OwnerRole
UUID OwnerRole
Definition:
GroupData.cs:96
OpenSim.Framework.GroupRolesData
Definition:
GroupData.cs:111
OpenSim.Framework.GroupRecord.GroupName
string GroupName
Definition:
GroupData.cs:36
OpenSim.Framework.GroupProfileData.MemberTitle
string MemberTitle
Definition:
GroupData.cs:85
OpenSim.Framework.GroupMembersData.OnlineStatus
string OnlineStatus
Definition:
GroupData.cs:103
OpenSim.Framework.GroupRecord.Charter
string Charter
Definition:
GroupData.cs:39
OpenSim.Framework.GroupProfileData.GroupMembershipCount
int GroupMembershipCount
Definition:
GroupData.cs:92
OpenSim.Framework.GroupProfileData.Money
int Money
Definition:
GroupData.cs:91
OpenSim.Framework.GroupVoteHistory.Quorum
string Quorum
Definition:
GroupData.cs:142
Generated on Wed Apr 6 2016 04:34:16 for OpenSim by
1.8.6