diff options
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 10 |
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 | } |