diff options
author | Adam Frisby | 2007-05-04 03:25:20 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-04 03:25:20 +0000 |
commit | 10f75f936e1322ea1e328799cfba08229d667a78 (patch) | |
tree | 87bc3faaeb19595a67ef0b286a93dbdb117c1942 /OpenGrid.Framework.Data/SimProfileData.cs | |
parent | fix array size (diff) | |
download | opensim-SC-10f75f936e1322ea1e328799cfba08229d667a78.zip opensim-SC-10f75f936e1322ea1e328799cfba08229d667a78.tar.gz opensim-SC-10f75f936e1322ea1e328799cfba08229d667a78.tar.bz2 opensim-SC-10f75f936e1322ea1e328799cfba08229d667a78.tar.xz |
Committing OpenGrid.Framework.Data and MySql Adaptor - not in functional state yet, posted for reference and future use.
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Framework.Data/SimProfileData.cs | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/OpenGrid.Framework.Data/SimProfileData.cs b/OpenGrid.Framework.Data/SimProfileData.cs new file mode 100644 index 0000000..a701875 --- /dev/null +++ b/OpenGrid.Framework.Data/SimProfileData.cs | |||
@@ -0,0 +1,65 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenGrid.Framework.Data | ||
6 | { | ||
7 | public class SimProfileData | ||
8 | { | ||
9 | /// <summary> | ||
10 | /// The name of the region | ||
11 | /// </summary> | ||
12 | public string regionName; | ||
13 | |||
14 | /// <summary> | ||
15 | /// A 64-bit number combining map position into a (mostly) unique ID | ||
16 | /// </summary> | ||
17 | public ulong regionHandle; | ||
18 | |||
19 | /// <summary> | ||
20 | /// OGS/OpenSim Specific ID for a region | ||
21 | /// </summary> | ||
22 | public libsecondlife.LLUUID UUID; | ||
23 | |||
24 | /// <summary> | ||
25 | /// Coordinates of the region | ||
26 | /// </summary> | ||
27 | public uint regionLocX; | ||
28 | public uint regionLocY; | ||
29 | public uint regionLocZ; // Reserved (round-robin, layers, etc) | ||
30 | |||
31 | /// <summary> | ||
32 | /// Authentication secrets | ||
33 | /// </summary> | ||
34 | /// <remarks>Not very secure, needs improvement.</remarks> | ||
35 | public string regionSendKey; | ||
36 | public string regionRecvKey; | ||
37 | public string regionSecret; | ||
38 | |||
39 | /// <summary> | ||
40 | /// Whether the region is online | ||
41 | /// </summary> | ||
42 | public bool regionOnline; | ||
43 | |||
44 | /// <summary> | ||
45 | /// Information about the server that the region is currently hosted on | ||
46 | /// </summary> | ||
47 | public string serverIP; | ||
48 | public uint serverPort; | ||
49 | public string serverURI; | ||
50 | |||
51 | /// <summary> | ||
52 | /// Set of optional overrides. Can be used to create non-eulicidean spaces. | ||
53 | /// </summary> | ||
54 | public ulong regionNorthOverrideHandle; | ||
55 | public ulong regionSouthOverrideHandle; | ||
56 | public ulong regionEastOverrideHandle; | ||
57 | public ulong regionWestOverrideHandle; | ||
58 | |||
59 | /// <summary> | ||
60 | /// Optional: URI Location of the region database | ||
61 | /// </summary> | ||
62 | /// <remarks>Used for floating sim pools where the region data is not nessecarily coupled to a specific server</remarks> | ||
63 | public string regionDataURI; | ||
64 | } | ||
65 | } | ||