From 10f75f936e1322ea1e328799cfba08229d667a78 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 4 May 2007 03:25:20 +0000 Subject: Committing OpenGrid.Framework.Data and MySql Adaptor - not in functional state yet, posted for reference and future use. --- OpenGrid.Framework.Data/SimProfileData.cs | 65 +++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 OpenGrid.Framework.Data/SimProfileData.cs (limited to 'OpenGrid.Framework.Data/SimProfileData.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenGrid.Framework.Data +{ + public class SimProfileData + { + /// + /// The name of the region + /// + public string regionName; + + /// + /// A 64-bit number combining map position into a (mostly) unique ID + /// + public ulong regionHandle; + + /// + /// OGS/OpenSim Specific ID for a region + /// + public libsecondlife.LLUUID UUID; + + /// + /// Coordinates of the region + /// + public uint regionLocX; + public uint regionLocY; + public uint regionLocZ; // Reserved (round-robin, layers, etc) + + /// + /// Authentication secrets + /// + /// Not very secure, needs improvement. + public string regionSendKey; + public string regionRecvKey; + public string regionSecret; + + /// + /// Whether the region is online + /// + public bool regionOnline; + + /// + /// Information about the server that the region is currently hosted on + /// + public string serverIP; + public uint serverPort; + public string serverURI; + + /// + /// Set of optional overrides. Can be used to create non-eulicidean spaces. + /// + public ulong regionNorthOverrideHandle; + public ulong regionSouthOverrideHandle; + public ulong regionEastOverrideHandle; + public ulong regionWestOverrideHandle; + + /// + /// Optional: URI Location of the region database + /// + /// Used for floating sim pools where the region data is not nessecarily coupled to a specific server + public string regionDataURI; + } +} -- cgit v1.1