diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/CapsUtil.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/CapsUtil.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs index cbd6465..27ce402 100644 --- a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs +++ b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs | |||
@@ -35,6 +35,16 @@ namespace OpenSim.Framework.Communications.Capabilities | |||
35 | /// </summary> | 35 | /// </summary> |
36 | public class CapsUtil | 36 | public class CapsUtil |
37 | { | 37 | { |
38 | /// <summary> | ||
39 | /// Generate a CAPS seed path using a previously generated CAPS object path component | ||
40 | /// </summary> | ||
41 | /// <param name="capsKey"></param> | ||
42 | /// <returns></returns> | ||
43 | public static string GetCapsSeedPath(string capsObjectPath) | ||
44 | { | ||
45 | return "/CAPS/" + capsKey + "0000/"; | ||
46 | } | ||
47 | |||
38 | public static string GetRandomCapsPath() | 48 | public static string GetRandomCapsPath() |
39 | { | 49 | { |
40 | UUID caps = UUID.Random(); | 50 | UUID caps = UUID.Random(); |