* Changed IPersistence interface so that passing the MRMBase is unessecary.
parent
4e9403e6ef
commit
23193ab538
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Contributors, http://opensimulator.org/
|
* Copyright (c) Contributors, http://opensimulator.org/
|
||||||
* See CONTRIBUTORS.TXT for a full list of copyright holders.
|
* See CONTRIBUTORS.TXT for a full list of copyright holders.
|
||||||
*
|
*
|
||||||
|
|
|
@ -6,8 +6,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||||
{
|
{
|
||||||
interface IPersistence
|
interface IPersistence
|
||||||
{
|
{
|
||||||
Object Get(MRMBase state, Guid storageID);
|
Object Get(Guid storageID);
|
||||||
Object Get(MRMBase state);
|
Object Get();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stores 'data' into the persistence system
|
/// Stores 'data' into the persistence system
|
||||||
|
@ -15,17 +15,15 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||||
/// under the ID 'storageID'. This data may
|
/// under the ID 'storageID'. This data may
|
||||||
/// be accessed by other scripts however.
|
/// be accessed by other scripts however.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="state"></param>
|
|
||||||
/// <param name="storageID"></param>
|
/// <param name="storageID"></param>
|
||||||
/// <param name="data"></param>
|
/// <param name="data"></param>
|
||||||
void Put(MRMBase state, Guid storageID, Object data);
|
void Put(Guid storageID, Object 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="state"></param>
|
|
||||||
/// <param name="data"></param>
|
/// <param name="data"></param>
|
||||||
void Put(MRMBase state, Object data);
|
void Put(Object data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue