aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Constants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Constants.cs')
-rw-r--r--OpenSim/Framework/Constants.cs19
1 files changed, 16 insertions, 3 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs
index 48478b4..28055b8 100644
--- a/OpenSim/Framework/Constants.cs
+++ b/OpenSim/Framework/Constants.cs
@@ -46,12 +46,21 @@ namespace OpenSim.Framework
46 46
47 public enum EstateAccessCodex : uint 47 public enum EstateAccessCodex : uint
48 { 48 {
49 AccessOptions = 1, 49 AllowedAccess = 1,
50 AllowedGroups = 2, 50 AllowedGroups = 2,
51 EstateBans = 4, 51 EstateBans = 4,
52 EstateManagers = 8 52 EstateManagers = 8
53 } 53 }
54 54
55 public enum EstateAccessLimits : int
56 {
57 AllowedAccess = 500,
58 AllowedGroups = 63,
59 EstateBans = 500,
60 EstateManagers = 10
61 }
62
63 // Identical to the one in OpenMetaverse, except I'm extending it now, and OpenSim decided to copy it here, making life hard.
55 [Flags]public enum TeleportFlags : uint 64 [Flags]public enum TeleportFlags : uint
56 { 65 {
57 /// <summary>No flags set, or teleport failed</summary> 66 /// <summary>No flags set, or teleport failed</summary>
@@ -64,7 +73,7 @@ namespace OpenSim.Framework
64 ViaLure = 1 << 2, 73 ViaLure = 1 << 2,
65 /// <summary>Via Landmark</summary> 74 /// <summary>Via Landmark</summary>
66 ViaLandmark = 1 << 3, 75 ViaLandmark = 1 << 3,
67 /// <summary>Via Location</summary> 76 /// <summary>Via Location, seems to be a catch all, includes scripted TPs.</summary>
68 ViaLocation = 1 << 4, 77 ViaLocation = 1 << 4,
69 /// <summary>Via Home</summary> 78 /// <summary>Via Home</summary>
70 ViaHome = 1 << 5, 79 ViaHome = 1 << 5,
@@ -74,7 +83,7 @@ namespace OpenSim.Framework
74 ViaLogin = 1 << 7, 83 ViaLogin = 1 << 7,
75 /// <summary>Linden Summoned</summary> 84 /// <summary>Linden Summoned</summary>
76 ViaGodlikeLure = 1 << 8, 85 ViaGodlikeLure = 1 << 8,
77 /// <summary>Linden Forced me</summary> 86 /// <summary>"Linden Forced me" it used to say, but the code says "This user will be a God in the destination scene, too", but then is ignored.</summary>
78 Godlike = 1 << 9, 87 Godlike = 1 << 9,
79 /// <summary></summary> 88 /// <summary></summary>
80 NineOneOne = 1 << 10, 89 NineOneOne = 1 << 10,
@@ -88,6 +97,10 @@ namespace OpenSim.Framework
88 ResetHome = 1 << 14, 97 ResetHome = 1 << 14,
89 /// <summary>forced to new location for example when avatar is banned or ejected</summary> 98 /// <summary>forced to new location for example when avatar is banned or ejected</summary>
90 ForceRedirect = 1 << 15, 99 ForceRedirect = 1 << 15,
100 /// <summary>Via script.</summary>
101 ViaScript = 1 << 16,
102 /// <summary>Via map, though this is a guess.</summary>
103 ViaMap = 1 << 17,
91 /// <summary>Teleport Finished via a Lure</summary> 104 /// <summary>Teleport Finished via a Lure</summary>
92 FinishedViaLure = 1 << 26, 105 FinishedViaLure = 1 << 26,
93 /// <summary>Finished, Sim Changed</summary> 106 /// <summary>Finished, Sim Changed</summary>