using System; using System.Collections.Generic; using System.Text; namespace OpenSim.Region.OptionalModules.Scripting.Minimodule { interface IPersistence { T Get(Guid storageID); T Get(); /// /// 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. /// /// /// void Put(Guid storageID, T data); /// /// Stores 'data' into the persistence system /// using the default ID for this script. /// /// void Put(T data); } }