Skip to content

Commit c72b93f

Browse files
committed
Merge pull request #23 from fly-man-/patch-2
Updating GroupPowers
2 parents ba7890b + 18d9c61 commit c72b93f

File tree

1 file changed

+38
-31
lines changed

1 file changed

+38
-31
lines changed

OpenMetaverse/GroupManager.cs

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -372,31 +372,22 @@ public enum GroupPowers : ulong
372372
LandSetSale = 1UL << 14,
373373
/// <summary>Can subdivide and join parcels</summary>
374374
LandDivideJoin = 1UL << 15,
375-
376-
377-
// Chat
378-
/// <summary>Can join group chat sessions</summary>
379-
JoinChat = 1UL << 16,
380-
/// <summary>Can use voice chat in Group Chat sessions</summary>
381-
AllowVoiceChat = 1UL << 27,
382-
/// <summary>Can moderate group chat sessions</summary>
383-
ModerateChat = 1UL << 37,
384-
385-
// Parcel identity
386-
/// <summary>Can toggle "Show in Find Places" and set search category</summary>
387-
FindPlaces = 1UL << 17,
388-
/// <summary>Can change parcel name, description, and 'Publish on web' settings</summary>
389-
LandChangeIdentity = 1UL << 18,
390-
/// <summary>Can set the landing point and teleport routing on group land</summary>
391-
SetLandingPoint = 1UL << 19,
392-
375+
393376
// Parcel settings
394377
/// <summary>Can change music and media settings</summary>
395378
ChangeMedia = 1UL << 20,
396379
/// <summary>Can toggle 'Edit Terrain' option in Land settings</summary>
397380
LandEdit = 1UL << 21,
398381
/// <summary>Can toggle various About Land > Options settings</summary>
399382
LandOptions = 1UL << 22,
383+
384+
// Parcel identity
385+
/// <summary>Can toggle "Show in Find Places" and set search category</summary>
386+
FindPlaces = 1UL << 17,
387+
/// <summary>Can change parcel name, description, and 'Publish on web' settings</summary>
388+
LandChangeIdentity = 1UL << 18,
389+
/// <summary>Can set the landing point and teleport routing on group land</summary>
390+
SetLandingPoint = 1UL << 19,
400391

401392
// Parcel powers
402393
/// <summary>Can always terraform land, even if parcel settings have it turned off</summary>
@@ -409,8 +400,9 @@ public enum GroupPowers : ulong
409400
AllowLandmark = 1UL << 26,
410401
/// <summary>Can set home location on any group owned parcel</summary>
411402
AllowSetHome = 1UL << 28,
412-
413-
403+
/// <summary>Allowed to hold events on group-owned land</summary>
404+
HostEvent = 1UL << 41,
405+
414406
// Parcel access
415407
/// <summary>Can modify public access settings for group owned parcels</summary>
416408
LandManageAllowed = 1UL << 29,
@@ -420,32 +412,29 @@ public enum GroupPowers : ulong
420412
LandManagePasses = 1UL << 31,
421413
/// <summary>Can eject and freeze other avatars on group owned land</summary>
422414
LandEjectAndFreeze = 1UL << 32,
423-
415+
424416
// Parcel content
425417
/// <summary>Can return objects set to group</summary>
426418
ReturnGroupSet = 1UL << 33,
427419
/// <summary>Can return non-group owned/set objects</summary>
428420
ReturnNonGroup = 1UL << 34,
429421
/// <summary>Can return group owned objects</summary>
430422
ReturnGroupOwned = 1UL << 48,
431-
432423
/// <summary>Can landscape using Linden plants</summary>
433-
LandGardening = 1UL << 35,
434-
435-
// Objects
424+
LandGardening = 1UL << 35,
425+
426+
// Object Management
436427
/// <summary>Can deed objects to group</summary>
437428
DeedObject = 1UL << 36,
438429
/// <summary>Can move group owned objects</summary>
439430
ObjectManipulate = 1UL << 38,
440431
/// <summary>Can set group owned objects for-sale</summary>
441432
ObjectSetForSale = 1UL << 39,
442-
433+
434+
// Accounting
443435
/// <summary>Pay group liabilities and receive group dividends</summary>
444436
Accountable = 1UL << 40,
445-
446-
/// <summary>List and Host group events</summary>
447-
HostEvent = 1UL << 41,
448-
437+
449438
// Notices and proposals
450439
/// <summary>Can send group notices</summary>
451440
SendNotices = 1UL << 42,
@@ -454,7 +443,25 @@ public enum GroupPowers : ulong
454443
/// <summary>Can create group proposals</summary>
455444
StartProposal = 1UL << 44,
456445
/// <summary>Can vote on group proposals</summary>
457-
VoteOnProposal = 1UL << 45
446+
VoteOnProposal = 1UL << 45,
447+
448+
// Group chat moderation related
449+
/// <summary>Can join group chat sessions</summary>
450+
JoinChat = 1UL << 16,
451+
/// <summary>Can use voice chat in Group Chat sessions</summary>
452+
AllowVoiceChat = 1UL << 27,
453+
/// <summary>Can moderate group chat sessions</summary>
454+
ModerateChat = 1UL << 37,
455+
456+
// Experiences
457+
/// <summary>Has admin rights to any experiences owned by this group</summary>
458+
ExperienceAdmin = 1UL << 49,
459+
/// <summary>Can sign scripts for experiences owned by this group</summary>
460+
ExperienceCreator = 1UL << 50,
461+
462+
// Group Banning
463+
/// <summary>Allows access to ban / un-ban agents from a group</summary>
464+
GroupBanAccess = 1UL << 51
458465
}
459466

460467
/// <summary>

0 commit comments

Comments
 (0)