aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenSim.Framework/Interfaces/ILocalStorage.cs')
-rw-r--r--Common/OpenSim.Framework/Interfaces/ILocalStorage.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
index 4dd8868..9fa3a00 100644
--- a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
+++ b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs
@@ -37,11 +37,17 @@ namespace OpenSim.Framework.Interfaces
37 public interface ILocalStorage 37 public interface ILocalStorage
38 { 38 {
39 void Initialise(string datastore); 39 void Initialise(string datastore);
40
40 void StorePrim(PrimData prim); 41 void StorePrim(PrimData prim);
41 void RemovePrim(LLUUID primID); 42 void RemovePrim(LLUUID primID);
42 void LoadPrimitives(ILocalStorageReceiver receiver); 43 void LoadPrimitives(ILocalStorageReceiver receiver);
44
43 float[] LoadWorld(); 45 float[] LoadWorld();
44 void SaveMap(float[] heightmap); 46 void SaveMap(float[] heightmap);
47
48 void SaveParcels(ParcelData[] parcels);
49 void LoadParcels(ILocalStorageParcelReceiver recv);
50
45 void ShutDown(); 51 void ShutDown();
46 } 52 }
47 53
@@ -49,6 +55,11 @@ namespace OpenSim.Framework.Interfaces
49 { 55 {
50 void PrimFromStorage(PrimData prim); 56 void PrimFromStorage(PrimData prim);
51 } 57 }
52 58
59 public interface ILocalStorageParcelReceiver
60 {
61 void ParcelFromStorage(ParcelData data);
62 void NoParcelDataFromStorage();
63 }
53} 64}
54 65