mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMask
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
This commit is contained in:
@@ -54,6 +54,21 @@ using Amib.Threading;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
[Flags]
|
||||
public enum PermissionMask : uint
|
||||
{
|
||||
None = 0,
|
||||
Transfer = 1 << 13,
|
||||
Modify = 1 << 14,
|
||||
Copy = 1 << 15,
|
||||
Export = 1 << 16,
|
||||
Move = 1 << 19,
|
||||
Damage = 1 << 20,
|
||||
// All does not contain Export, which is special and must be
|
||||
// explicitly given
|
||||
All = (1 << 13) | (1 << 14) | (1 << 15) | (1 << 19)
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The method used by Util.FireAndForget for asynchronously firing events
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user