mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
This commit is contained in:
@@ -31,16 +31,13 @@ using System.Xml;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
|
||||
namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
namespace OpenSim.Framework.Serialization.External
|
||||
{
|
||||
/// <summary>
|
||||
/// Serialize and deserialize region settings for an archive file format.
|
||||
/// </summary>
|
||||
/// We didn't simply use automatic .NET serializagion for OpenSim.Framework.RegionSettings since this is really
|
||||
/// a file format rather than an object serialization.
|
||||
/// TODO: However, we could still have used separate non-framework classes here to read and write the xml
|
||||
/// automatically rather than laboriously doing it by hand using XmlTextReader and Writer. Should switch to this
|
||||
/// in the future.
|
||||
/// a file format rather than an object serialization.
|
||||
public class RegionSettingsSerializer
|
||||
{
|
||||
protected static ASCIIEncoding m_asciiEncoding = new ASCIIEncoding();
|
||||
@@ -36,6 +36,7 @@ using log4net;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Serialization;
|
||||
using OpenSim.Framework.Serialization.External;
|
||||
using OpenSim.Framework.Communications.Cache;
|
||||
using OpenSim.Region.CoreModules.World.Terrain;
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
|
||||
@@ -34,6 +34,7 @@ using log4net;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Serialization;
|
||||
using OpenSim.Framework.Serialization.External;
|
||||
using OpenSim.Region.CoreModules.World.Terrain;
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
Reference in New Issue
Block a user