aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-09 01:37:02 +0100
committerJustin Clark-Casey (justincc)2012-10-09 01:37:02 +0100
commita0d047413b2e8bac626f13ff224e4794955fa244 (patch)
tree68dd6d80cc749228d2f2a3f86f51f0f3afbfdd87 /OpenSim/Framework
parentMove OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it eas... (diff)
downloadopensim-SC_OLD-a0d047413b2e8bac626f13ff224e4794955fa244.zip
opensim-SC_OLD-a0d047413b2e8bac626f13ff224e4794955fa244.tar.gz
opensim-SC_OLD-a0d047413b2e8bac626f13ff224e4794955fa244.tar.bz2
opensim-SC_OLD-a0d047413b2e8bac626f13ff224e4794955fa244.tar.xz
Once again, forgot to add a file.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/RegionFlags.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionFlags.cs b/OpenSim/Framework/RegionFlags.cs
new file mode 100644
index 0000000..c0630c8
--- /dev/null
+++ b/OpenSim/Framework/RegionFlags.cs
@@ -0,0 +1,52 @@
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
28using System;
29
30namespace OpenSim.Framework
31{
32 /// <summary>
33 /// Region flags used internally by OpenSimulator to store installation specific information about regions.
34 /// </summary>
35 /// <remarks>
36 /// Don't confuse with OpenMetaverse.RegionFlags which are client facing flags (i.e. they go over the wire).
37 /// </remarks>
38 [Flags]
39 public enum RegionFlags : int
40 {
41 DefaultRegion = 1, // Used for new Rez. Random if multiple defined
42 FallbackRegion = 2, // Regions we redirect to when the destination is down
43 RegionOnline = 4, // Set when a region comes online, unset when it unregisters and DeleteOnUnregister is false
44 NoDirectLogin = 8, // Region unavailable for direct logins (by name)
45 Persistent = 16, // Don't remove on unregister
46 LockedOut = 32, // Don't allow registration
47 NoMove = 64, // Don't allow moving this region
48 Reservation = 128, // This is an inactive reservation
49 Authenticate = 256, // Require authentication
50 Hyperlink = 512 // Record represents a HG link
51 }
52} \ No newline at end of file