diff options
author | mingchen | 2007-06-08 19:10:55 +0000 |
---|---|---|
committer | mingchen | 2007-06-08 19:10:55 +0000 |
commit | 2239ecba188b0435d9a6d58b1c66f2b6eb591116 (patch) | |
tree | bd07f5ddd43dc11077dc445d7b50a983ed37535f /Common/OpenSim.Framework/Interfaces/ILocalStorage.cs | |
parent | *Added EstateSettings.cs and ParcelData.cs to OpenSim.Framework.Types (diff) | |
download | opensim-SC_OLD-2239ecba188b0435d9a6d58b1c66f2b6eb591116.zip opensim-SC_OLD-2239ecba188b0435d9a6d58b1c66f2b6eb591116.tar.gz opensim-SC_OLD-2239ecba188b0435d9a6d58b1c66f2b6eb591116.tar.bz2 opensim-SC_OLD-2239ecba188b0435d9a6d58b1c66f2b6eb591116.tar.xz |
*Merged EstateManager, EstateSettings, ParcelManager,Parcel, and ParcelData classes
*Incorporated EstateSettings into the RegionInfo class
*Next step is to load from db, save to db the parcel and estate settings
Diffstat (limited to 'Common/OpenSim.Framework/Interfaces/ILocalStorage.cs')
-rw-r--r-- | Common/OpenSim.Framework/Interfaces/ILocalStorage.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs index 4dd8868..7307966 100644 --- a/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs +++ b/Common/OpenSim.Framework/Interfaces/ILocalStorage.cs | |||
@@ -37,11 +37,20 @@ 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 SaveParcel(ParcelData parcel); | ||
50 | void RemoveParcel(ParcelData parcel); | ||
51 | void RemoveAllParcels(); | ||
52 | void LoadParcels(ILocalStorageParcelReceiver recv); | ||
53 | |||
45 | void ShutDown(); | 54 | void ShutDown(); |
46 | } | 55 | } |
47 | 56 | ||
@@ -50,5 +59,10 @@ namespace OpenSim.Framework.Interfaces | |||
50 | void PrimFromStorage(PrimData prim); | 59 | void PrimFromStorage(PrimData prim); |
51 | } | 60 | } |
52 | 61 | ||
62 | public interface ILocalStorageParcelReceiver | ||
63 | { | ||
64 | void ParcelFromStorage(ParcelData data); | ||
65 | void NoParcelDataFromStorage(); | ||
66 | } | ||
53 | } | 67 | } |
54 | 68 | ||