* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
parent
86cc0e86d4
commit
561f241564
|
@ -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;
|
||||
|
|
|
@ -688,10 +688,10 @@ InterregionComms = "RESTComms"
|
|||
|
||||
|
||||
[Wind]
|
||||
; Enables the wind module. Default is true
|
||||
enabled = true
|
||||
; Adjusts wind strength. 0.0 = no wind, 1.0 = normal wind. Default is 1.0
|
||||
strength = 1.0
|
||||
; Enables the wind module. Default is true
|
||||
enabled = true
|
||||
; Adjusts wind strength. 0.0 = no wind, 1.0 = normal wind. Default is 1.0
|
||||
strength = 1.0
|
||||
|
||||
|
||||
[Trees]
|
||||
|
|
Loading…
Reference in New Issue