aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2007-12-20 18:43:39 +0000
committerJustin Clarke Casey2007-12-20 18:43:39 +0000
commitdd1e2c8eb9de34c2464bd526a782b47ec1c823e5 (patch)
tree350a9419f82c8212ed733145cae95a1c4a66d4eb /OpenSim/Framework/Util.cs
parent*Ban lines now work if they are enabled grid wide. (diff)
downloadopensim-SC-dd1e2c8eb9de34c2464bd526a782b47ec1c823e5.zip
opensim-SC-dd1e2c8eb9de34c2464bd526a782b47ec1c823e5.tar.gz
opensim-SC-dd1e2c8eb9de34c2464bd526a782b47ec1c823e5.tar.bz2
opensim-SC-dd1e2c8eb9de34c2464bd526a782b47ec1c823e5.tar.xz
Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated form
Apply method to UUID crud in SqliteInventoryStore as an initial test This appears now to successfully recover inventory upon login This will almost certainly only work on standalone
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index db841cf..0b05eac 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -383,5 +383,15 @@ namespace OpenSim.Framework
383 { 383 {
384 return Math.Min(Math.Max(x, min), max); 384 return Math.Min(Math.Max(x, min), max);
385 } 385 }
386
387 /// <summary>
388 /// Convert an LLUUID to a raw uuid string. This is a string without hyphens.
389 /// </summary>
390 /// <param name="lluuid"></param>
391 /// <returns></returns>
392 public static String ToRawUuidString(LLUUID lluuid)
393 {
394 return lluuid.UUID.ToString("n");
395 }
386 } 396 }
387} 397}