diff options
author | Justin Clarke Casey | 2009-03-26 20:09:12 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-26 20:09:12 +0000 |
commit | 7e40315d5d998826ebf3a613496f85e0fe6194af (patch) | |
tree | b83f7f0ec3e7237f2429873adbb53c291690734e /OpenSim | |
parent | add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342 (diff) | |
download | opensim-SC-7e40315d5d998826ebf3a613496f85e0fe6194af.zip opensim-SC-7e40315d5d998826ebf3a613496f85e0fe6194af.tar.gz opensim-SC-7e40315d5d998826ebf3a613496f85e0fe6194af.tar.bz2 opensim-SC-7e40315d5d998826ebf3a613496f85e0fe6194af.tar.xz |
* minor: change some static readonlys to consts
* adjust user profile iar saving path
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Serialization/ArchiveConstants.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Framework/Serialization/ArchiveConstants.cs b/OpenSim/Framework/Serialization/ArchiveConstants.cs index 8ce7b56..02b13be 100644 --- a/OpenSim/Framework/Serialization/ArchiveConstants.cs +++ b/OpenSim/Framework/Serialization/ArchiveConstants.cs | |||
@@ -38,53 +38,53 @@ namespace OpenSim.Framework.Serialization | |||
38 | /// <value> | 38 | /// <value> |
39 | /// The location of the archive control file | 39 | /// The location of the archive control file |
40 | /// </value> | 40 | /// </value> |
41 | public static readonly string CONTROL_FILE_PATH = "archive.xml"; | 41 | public const string CONTROL_FILE_PATH = "archive.xml"; |
42 | 42 | ||
43 | /// <value> | 43 | /// <value> |
44 | /// Path for the assets held in an archive | 44 | /// Path for the assets held in an archive |
45 | /// </value> | 45 | /// </value> |
46 | public static readonly string ASSETS_PATH = "assets/"; | 46 | public const string ASSETS_PATH = "assets/"; |
47 | 47 | ||
48 | /// <value> | 48 | /// <value> |
49 | /// Path for the inventory data | 49 | /// Path for the inventory data |
50 | /// </value> | 50 | /// </value> |
51 | public static readonly string INVENTORY_PATH = "inventory/"; | 51 | public const string INVENTORY_PATH = "inventory/"; |
52 | 52 | ||
53 | /// <value> | 53 | /// <value> |
54 | /// Path for the prims file | 54 | /// Path for the prims file |
55 | /// </value> | 55 | /// </value> |
56 | public static readonly string OBJECTS_PATH = "objects/"; | 56 | public const string OBJECTS_PATH = "objects/"; |
57 | 57 | ||
58 | /// <value> | 58 | /// <value> |
59 | /// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out. | 59 | /// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out. |
60 | /// </value> | 60 | /// </value> |
61 | public static readonly string TERRAINS_PATH = "terrains/"; | 61 | public const string TERRAINS_PATH = "terrains/"; |
62 | 62 | ||
63 | /// <value> | 63 | /// <value> |
64 | /// Path for region settings. | 64 | /// Path for region settings. |
65 | /// </value> | 65 | /// </value> |
66 | public static readonly string SETTINGS_PATH = "settings/"; | 66 | public const string SETTINGS_PATH = "settings/"; |
67 | 67 | ||
68 | /// <value> | 68 | /// <value> |
69 | /// Path for user profiles | 69 | /// Path for user profiles |
70 | /// </value> | 70 | /// </value> |
71 | public const string USERS_PATH = "users/"; | 71 | public const string USERS_PATH = "userprofiles/"; |
72 | 72 | ||
73 | /// <value> | 73 | /// <value> |
74 | /// The character the separates the uuid from extension information in an archived asset filename | 74 | /// The character the separates the uuid from extension information in an archived asset filename |
75 | /// </value> | 75 | /// </value> |
76 | public static readonly string ASSET_EXTENSION_SEPARATOR = "_"; | 76 | public const string ASSET_EXTENSION_SEPARATOR = "_"; |
77 | 77 | ||
78 | /// <value> | 78 | /// <value> |
79 | /// Used to separate components in an inventory node name | 79 | /// Used to separate components in an inventory node name |
80 | /// </value> | 80 | /// </value> |
81 | public static readonly string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__"; | 81 | public const string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__"; |
82 | 82 | ||
83 | /// <value> | 83 | /// <value> |
84 | /// Extensions used for asset types in the archive | 84 | /// Extensions used for asset types in the archive |
85 | /// </value> | 85 | /// </value> |
86 | public static readonly IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>(); | 86 | public const IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>(); |
87 | public static readonly IDictionary<string, sbyte> EXTENSION_TO_ASSET_TYPE = new Dictionary<string, sbyte>(); | 87 | public const IDictionary<string, sbyte> EXTENSION_TO_ASSET_TYPE = new Dictionary<string, sbyte>(); |
88 | 88 | ||
89 | static ArchiveConstants() | 89 | static ArchiveConstants() |
90 | { | 90 | { |