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