From 2c04171990df9e01cd4c5aa600a6eaa1487f9605 Mon Sep 17 00:00:00 2001 From: mingchen Date: Fri, 8 Jun 2007 21:30:51 +0000 Subject: *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 --- OpenSim/OpenSim.World/World.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/OpenSim.World/World.cs') 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 Entities[UUID].BackUp(); } + //Parcel backup routines + ParcelData[] parcels = new ParcelData[parcelManager.parcelList.Count]; + int i = 0; + foreach (OpenSim.world.Parcel parcel in parcelManager.parcelList.Values) + { + parcels[i] = parcel.parcelData; + i++; + } + localStorage.SaveParcels(parcels); + // Backup successful return true; } -- cgit v1.1