* Changed IPersistence interface so that passing the MRMBase is unessecary.

0.6.5-rc1
Adam Frisby 2009-04-04 08:36:45 +00:00
parent 4e9403e6ef
commit 23193ab538
2 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/*
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*

View File

@ -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);
}
}