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.cs48
1 files changed, 47 insertions, 1 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs
index 316d2a3..61eb35e 100644
--- a/OpenSim/Framework/Constants.cs
+++ b/OpenSim/Framework/Constants.cs
@@ -24,6 +24,7 @@
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 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. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27using System;
27 28
28namespace OpenSim.Framework 29namespace OpenSim.Framework
29{ 30{
@@ -40,5 +41,50 @@ namespace OpenSim.Framework
40 EstateBans = 20, 41 EstateBans = 20,
41 EstateManagers = 24 42 EstateManagers = 24
42 } 43 }
44
45 [Flags]public enum TeleportFlags : uint
46 {
47 /// <summary>No flags set, or teleport failed</summary>
48 Default = 0,
49 /// <summary>Set when newbie leaves help island for first time</summary>
50 SetHomeToTarget = 1 << 0,
51 /// <summary></summary>
52 SetLastToTarget = 1 << 1,
53 /// <summary>Via Lure</summary>
54 ViaLure = 1 << 2,
55 /// <summary>Via Landmark</summary>
56 ViaLandmark = 1 << 3,
57 /// <summary>Via Location</summary>
58 ViaLocation = 1 << 4,
59 /// <summary>Via Home</summary>
60 ViaHome = 1 << 5,
61 /// <summary>Via Telehub</summary>
62 ViaTelehub = 1 << 6,
63 /// <summary>Via Login</summary>
64 ViaLogin = 1 << 7,
65 /// <summary>Linden Summoned</summary>
66 ViaGodlikeLure = 1 << 8,
67 /// <summary>Linden Forced me</summary>
68 Godlike = 1 << 9,
69 /// <summary></summary>
70 NineOneOne = 1 << 10,
71 /// <summary>Agent Teleported Home via Script</summary>
72 DisableCancel = 1 << 11,
73 /// <summary></summary>
74 ViaRegionID = 1 << 12,
75 /// <summary></summary>
76 IsFlying = 1 << 13,
77 /// <summary></summary>
78 ResetHome = 1 << 14,
79 /// <summary>forced to new location for example when avatar is banned or ejected</summary>
80 ForceRedirect = 1 << 15,
81 /// <summary>Teleport Finished via a Lure</summary>
82 FinishedViaLure = 1 << 26,
83 /// <summary>Finished, Sim Changed</summary>
84 FinishedViaNewSim = 1 << 28,
85 /// <summary>Finished, Same Sim</summary>
86 FinishedViaSameSim = 1 << 29
87 }
88
43 } 89 }
44} \ No newline at end of file 90}