* Fixed MySQL Grid Manager

* Added preliminary support for DB UserServer (incomplete)
* Added better handling of defaults to Grid Manager.
* Renamed SQL/regions.sql to SQL/mysql-regions.sql.
This commit is contained in:
Adam Frisby
2007-05-13 14:59:24 +00:00
parent 5917d36219
commit b110179730
7 changed files with 143 additions and 85 deletions

View File

@@ -9,7 +9,7 @@ namespace OpenGrid.Framework.Data
/// <summary>
/// The name of the region
/// </summary>
public string regionName;
public string regionName = "";
/// <summary>
/// A 64-bit number combining map position into a (mostly) unique ID
@@ -32,9 +32,9 @@ namespace OpenGrid.Framework.Data
/// Authentication secrets
/// </summary>
/// <remarks>Not very secure, needs improvement.</remarks>
public string regionSendKey;
public string regionRecvKey;
public string regionSecret;
public string regionSendKey = "";
public string regionRecvKey = "";
public string regionSecret = "";
/// <summary>
/// Whether the region is online
@@ -44,9 +44,9 @@ namespace OpenGrid.Framework.Data
/// <summary>
/// Information about the server that the region is currently hosted on
/// </summary>
public string serverIP;
public string serverIP = "";
public uint serverPort;
public string serverURI;
public string serverURI = "";
/// <summary>
/// Set of optional overrides. Can be used to create non-eulicidean spaces.
@@ -60,20 +60,20 @@ namespace OpenGrid.Framework.Data
/// Optional: URI Location of the region database
/// </summary>
/// <remarks>Used for floating sim pools where the region data is not nessecarily coupled to a specific server</remarks>
public string regionDataURI;
public string regionDataURI = "";
/// <summary>
/// Region Asset Details
/// </summary>
public string regionAssetURI;
public string regionAssetSendKey;
public string regionAssetRecvKey;
public string regionAssetURI = "";
public string regionAssetSendKey = "";
public string regionAssetRecvKey = "";
/// <summary>
/// Region Userserver Details
/// </summary>
public string regionUserURI;
public string regionUserSendKey;
public string regionUserRecvKey;
public string regionUserURI = "";
public string regionUserSendKey = "";
public string regionUserRecvKey = "";
}
}