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
This commit is contained in:
Justin Clarke Casey
2007-12-20 18:43:39 +00:00
parent 0e6915ae48
commit dd1e2c8eb9
2 changed files with 34 additions and 24 deletions

View File

@@ -383,5 +383,15 @@ namespace OpenSim.Framework
{
return Math.Min(Math.Max(x, min), max);
}
/// <summary>
/// Convert an LLUUID to a raw uuid string. This is a string without hyphens.
/// </summary>
/// <param name="lluuid"></param>
/// <returns></returns>
public static String ToRawUuidString(LLUUID lluuid)
{
return lluuid.UUID.ToString("n");
}
}
}