* minor: change some static readonlys to consts
* adjust user profile iar saving path0.6.5-rc1
parent
ad012d4b46
commit
7e40315d5d
|
@ -38,53 +38,53 @@ namespace OpenSim.Framework.Serialization
|
||||||
/// <value>
|
/// <value>
|
||||||
/// The location of the archive control file
|
/// The location of the archive control file
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string CONTROL_FILE_PATH = "archive.xml";
|
public const string CONTROL_FILE_PATH = "archive.xml";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for the assets held in an archive
|
/// Path for the assets held in an archive
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string ASSETS_PATH = "assets/";
|
public const string ASSETS_PATH = "assets/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for the inventory data
|
/// Path for the inventory data
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string INVENTORY_PATH = "inventory/";
|
public const string INVENTORY_PATH = "inventory/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for the prims file
|
/// Path for the prims file
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string OBJECTS_PATH = "objects/";
|
public const string OBJECTS_PATH = "objects/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out.
|
/// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out.
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string TERRAINS_PATH = "terrains/";
|
public const string TERRAINS_PATH = "terrains/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for region settings.
|
/// Path for region settings.
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string SETTINGS_PATH = "settings/";
|
public const string SETTINGS_PATH = "settings/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Path for user profiles
|
/// Path for user profiles
|
||||||
/// </value>
|
/// </value>
|
||||||
public const string USERS_PATH = "users/";
|
public const string USERS_PATH = "userprofiles/";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// The character the separates the uuid from extension information in an archived asset filename
|
/// The character the separates the uuid from extension information in an archived asset filename
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string ASSET_EXTENSION_SEPARATOR = "_";
|
public const string ASSET_EXTENSION_SEPARATOR = "_";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Used to separate components in an inventory node name
|
/// Used to separate components in an inventory node name
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__";
|
public const string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__";
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Extensions used for asset types in the archive
|
/// Extensions used for asset types in the archive
|
||||||
/// </value>
|
/// </value>
|
||||||
public static readonly IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>();
|
public const IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>();
|
||||||
public static readonly IDictionary<string, sbyte> EXTENSION_TO_ASSET_TYPE = new Dictionary<string, sbyte>();
|
public const IDictionary<string, sbyte> EXTENSION_TO_ASSET_TYPE = new Dictionary<string, sbyte>();
|
||||||
|
|
||||||
static ArchiveConstants()
|
static ArchiveConstants()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue