aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs58
1 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs
index e433c11..c093880 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs
@@ -1,29 +1,29 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4 4
5namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 5namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
6{ 6{
7 interface IPersistence 7 interface IPersistence
8 { 8 {
9 T Get<T>(Guid storageID); 9 T Get<T>(Guid storageID);
10 T Get<T>(); 10 T Get<T>();
11 11
12 /// <summary> 12 /// <summary>
13 /// Stores 'data' into the persistence system 13 /// Stores 'data' into the persistence system
14 /// associated with this object, however saved 14 /// associated with this object, however saved
15 /// under the ID 'storageID'. This data may 15 /// under the ID 'storageID'. This data may
16 /// be accessed by other scripts however. 16 /// be accessed by other scripts however.
17 /// </summary> 17 /// </summary>
18 /// <param name="storageID"></param> 18 /// <param name="storageID"></param>
19 /// <param name="data"></param> 19 /// <param name="data"></param>
20 void Put<T>(Guid storageID, T data); 20 void Put<T>(Guid storageID, T data);
21 21
22 /// <summary> 22 /// <summary>
23 /// Stores 'data' into the persistence system 23 /// Stores 'data' into the persistence system
24 /// using the default ID for this script. 24 /// using the default ID for this script.
25 /// </summary> 25 /// </summary>
26 /// <param name="data"></param> 26 /// <param name="data"></param>
27 void Put<T>(T data); 27 void Put<T>(T data);
28 } 28 }
29} 29}