mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user