clockwerk-opensim-stable – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 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 using System;
28  
29 namespace OpenSim.Framework
30 {
31 public class Constants
32 {
33 public const uint RegionSize = 256;
34 public const uint RegionHeight = 4096;
35 public const byte TerrainPatchSize = 16;
36 public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f";
37  
38 public enum EstateAccessCodex : uint
39 {
40 AccessOptions = 1,
41 AllowedGroups = 2,
42 EstateBans = 4,
43 EstateManagers = 8
44 }
45  
46 [Flags]public enum TeleportFlags : uint
47 {
48 /// <summary>No flags set, or teleport failed</summary>
49 Default = 0,
50 /// <summary>Set when newbie leaves help island for first time</summary>
51 SetHomeToTarget = 1 << 0,
52 /// <summary></summary>
53 SetLastToTarget = 1 << 1,
54 /// <summary>Via Lure</summary>
55 ViaLure = 1 << 2,
56 /// <summary>Via Landmark</summary>
57 ViaLandmark = 1 << 3,
58 /// <summary>Via Location</summary>
59 ViaLocation = 1 << 4,
60 /// <summary>Via Home</summary>
61 ViaHome = 1 << 5,
62 /// <summary>Via Telehub</summary>
63 ViaTelehub = 1 << 6,
64 /// <summary>Via Login</summary>
65 ViaLogin = 1 << 7,
66 /// <summary>Linden Summoned</summary>
67 ViaGodlikeLure = 1 << 8,
68 /// <summary>Linden Forced me</summary>
69 Godlike = 1 << 9,
70 /// <summary></summary>
71 NineOneOne = 1 << 10,
72 /// <summary>Agent Teleported Home via Script</summary>
73 DisableCancel = 1 << 11,
74 /// <summary></summary>
75 ViaRegionID = 1 << 12,
76 /// <summary></summary>
77 IsFlying = 1 << 13,
78 /// <summary></summary>
79 ResetHome = 1 << 14,
80 /// <summary>forced to new location for example when avatar is banned or ejected</summary>
81 ForceRedirect = 1 << 15,
82 /// <summary>Teleport Finished via a Lure</summary>
83 FinishedViaLure = 1 << 26,
84 /// <summary>Finished, Sim Changed</summary>
85 FinishedViaNewSim = 1 << 28,
86 /// <summary>Finished, Same Sim</summary>
87 FinishedViaSameSim = 1 << 29,
88 /// <summary>Agent coming into the grid from another grid</summary>
89 ViaHGLogin = 1 << 30
90 }
91  
92 }
93 }