aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Globals.cs
diff options
context:
space:
mode:
authorMW2007-02-02 17:24:44 +0000
committerMW2007-02-02 17:24:44 +0000
commita7a1e85da0ee5dd6d57c0bde97bc620a286900a2 (patch)
treeeda37da016e9cef43f74676a7c7d1d95499ecadb /Globals.cs
parentClean up. Added GridManager and teleport between regions/sims. (diff)
downloadopensim-SC-a7a1e85da0ee5dd6d57c0bde97bc620a286900a2.zip
opensim-SC-a7a1e85da0ee5dd6d57c0bde97bc620a286900a2.tar.gz
opensim-SC-a7a1e85da0ee5dd6d57c0bde97bc620a286900a2.tar.bz2
opensim-SC-a7a1e85da0ee5dd6d57c0bde97bc620a286900a2.tar.xz
Fixed missing files
Diffstat (limited to 'Globals.cs')
-rw-r--r--Globals.cs63
1 files changed, 63 insertions, 0 deletions
diff --git a/Globals.cs b/Globals.cs
new file mode 100644
index 0000000..5763b67
--- /dev/null
+++ b/Globals.cs
@@ -0,0 +1,63 @@
1/*
2Copyright (c) 2007 Michael Wright
3
4* Copyright (c) <year>, <copyright holder>
5* All rights reserved.
6*
7* Redistribution and use in source and binary forms, with or without
8* modification, are permitted provided that the following conditions are met:
9* * Redistributions of source code must retain the above copyright
10* notice, this list of conditions and the following disclaimer.
11* * Redistributions in binary form must reproduce the above copyright
12* notice, this list of conditions and the following disclaimer in the
13* documentation and/or other materials provided with the distribution.
14* * Neither the name of the <organization> nor the
15* names of its contributors may be used to endorse or promote products
16* derived from this software without specific prior written permission.
17*
18* THIS SOFTWARE IS PROVIDED BY <copyright holder> ``AS IS'' AND ANY
19* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21* DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
22* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28*/
29
30using System;
31
32namespace OpenSim
33{
34 /// <summary>
35 /// Description of Globals.
36 /// </summary>
37 public sealed class Globals
38 {
39 private static Globals instance = new Globals();
40
41 public static Globals Instance {
42 get {
43 return instance;
44 }
45 }
46
47 private Globals()
48 {
49 }
50
51 public string RegionName="Test Sandbox\0";
52 public ulong RegionHandle= 1096213093147648;
53 public int IpPort=1000;
54
55 public bool LoginSever=true;
56
57 //public string RegionName= "The Other\0";
58 //public ulong RegionHandle= 1095113581519872;
59 //public int IpPort=1020;
60 //public bool LoginSever=false;
61
62 }
63}