mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Changed IPersistence interface so that passing the MRMBase is unessecary.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user