mirror of
https://github.com/opensim/opensim.git
synced 2026-06-23 23:05:44 +08:00
30 lines
873 B
C#
30 lines
873 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
|
{
|
|
interface IPersistence
|
|
{
|
|
Object Get(Guid storageID);
|
|
Object Get();
|
|
|
|
/// <summary>
|
|
/// Stores 'data' into the persistence system
|
|
/// associated with this object, however saved
|
|
/// under the ID 'storageID'. This data may
|
|
/// be accessed by other scripts however.
|
|
/// </summary>
|
|
/// <param name="storageID"></param>
|
|
/// <param name="data"></param>
|
|
void Put(Guid storageID, Object data);
|
|
|
|
/// <summary>
|
|
/// Stores 'data' into the persistence system
|
|
/// using the default ID for this script.
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
void Put(Object data);
|
|
}
|
|
}
|