* More fiddling with MRM IPersistence, now stores <T> instead of Object.
parent
168752b81b
commit
d758753d7c
|
@ -6,8 +6,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||||
{
|
{
|
||||||
interface IPersistence
|
interface IPersistence
|
||||||
{
|
{
|
||||||
Object Get(Guid storageID);
|
|
||||||
Object Get();
|
T Get<T>(Guid storageID);
|
||||||
|
T Get<T>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stores 'data' into the persistence system
|
/// Stores 'data' into the persistence system
|
||||||
|
@ -17,13 +18,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="storageID"></param>
|
/// <param name="storageID"></param>
|
||||||
/// <param name="data"></param>
|
/// <param name="data"></param>
|
||||||
void Put(Guid storageID, Object data);
|
void Put<T>(Guid storageID, T data);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stores 'data' into the persistence system
|
/// Stores 'data' into the persistence system
|
||||||
/// using the default ID for this script.
|
/// using the default ID for this script.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="data"></param>
|
/// <param name="data"></param>
|
||||||
void Put(Object data);
|
void Put<T>(T data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue