diff options
author | mingchen | 2007-06-08 21:30:51 +0000 |
---|---|---|
committer | mingchen | 2007-06-08 21:30:51 +0000 |
commit | 2c04171990df9e01cd4c5aa600a6eaa1487f9605 (patch) | |
tree | c5664038ce624fb0f6edb63db6c62587e45518a3 /OpenSim/OpenSim.World/World.cs | |
parent | *Moved SendRegionHandshake back to IClientAPI and modded sendRegionHandshakeT... (diff) | |
download | opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.zip opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.gz opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.bz2 opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.xz |
*Added delegates and events for parcel and estate management
*Only thing left is to get the master user setup in both sandbox and grid mode
Diffstat (limited to 'OpenSim/OpenSim.World/World.cs')
-rw-r--r-- | OpenSim/OpenSim.World/World.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index e51c983..dc9602e 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs | |||
@@ -217,6 +217,16 @@ namespace OpenSim.world | |||
217 | Entities[UUID].BackUp(); | 217 | Entities[UUID].BackUp(); |
218 | } | 218 | } |
219 | 219 | ||
220 | //Parcel backup routines | ||
221 | ParcelData[] parcels = new ParcelData[parcelManager.parcelList.Count]; | ||
222 | int i = 0; | ||
223 | foreach (OpenSim.world.Parcel parcel in parcelManager.parcelList.Values) | ||
224 | { | ||
225 | parcels[i] = parcel.parcelData; | ||
226 | i++; | ||
227 | } | ||
228 | localStorage.SaveParcels(parcels); | ||
229 | |||
220 | // Backup successful | 230 | // Backup successful |
221 | return true; | 231 | return true; |
222 | } | 232 | } |