add method docs for DAMap.GetStore() and DAMap.SetStore()

cpu-performance
dahlia 2013-06-27 18:44:27 -07:00
parent d47fc48b32
commit 529633d970
1 changed files with 12 additions and 0 deletions

View File

@ -216,6 +216,12 @@ namespace OpenSim.Framework
} }
} }
/// <summary>
/// Retrieve a Dynamic Attribute store
/// </summary>
/// <param name="ns">namespace for the store - use "OpenSim" for in-core modules</param>
/// <param name="storeName">name of the store within the namespace</param>
/// <returns>an OSDMap representing the stored data, or null if not found</returns>
public OSDMap GetStore(string ns, string storeName) public OSDMap GetStore(string ns, string storeName)
{ {
OSD namespaceOsd; OSD namespaceOsd;
@ -234,6 +240,12 @@ namespace OpenSim.Framework
return null; return null;
} }
/// <summary>
/// Saves a Dynamic attribute store
/// </summary>
/// <param name="ns">namespace for the store - use "OpenSim" for in-core modules</param>
/// <param name="storeName">name of the store within the namespace</param>
/// <param name="store">an OSDMap representing the data to store</param>
public void SetStore(string ns, string storeName, OSDMap store) public void SetStore(string ns, string storeName, OSDMap store)
{ {
ValidateNamespace(ns); ValidateNamespace(ns);