From 23193ab5380e67d3b623db255ee98e84f09cccad Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 4 Apr 2009 08:36:45 +0000 Subject: * Changed IPersistence interface so that passing the MRMBase is unessecary. --- OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | 2 +- .../OptionalModules/Scripting/Minimodule/IPersistence.cs | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs index 0308079..0b8fc37 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs index 6020a7a..b6d79d4 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs @@ -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(); /// /// 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. /// - /// /// /// - void Put(MRMBase state, Guid storageID, Object data); + void Put(Guid storageID, Object data); /// /// Stores 'data' into the persistence system /// using the default ID for this script. /// - /// /// - void Put(MRMBase state, Object data); + void Put(Object data); } } -- cgit v1.1