aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/RegionProfileData.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Data/RegionProfileData.cs b/OpenSim/Data/RegionProfileData.cs
index 7dd4a41..8ff2184 100644
--- a/OpenSim/Data/RegionProfileData.cs
+++ b/OpenSim/Data/RegionProfileData.cs
@@ -280,22 +280,22 @@ namespace OpenSim.Data
280 set { originUUID = value; } 280 set { originUUID = value; }
281 } 281 }
282 282
283 public RegionInfo ToRegionInfo( ) 283 public RegionInfo ToRegionInfo()
284 { 284 {
285 return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort, serverURI ); 285 return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort, serverURI);
286 } 286 }
287 287
288 public static RegionProfileData FromRegionInfo( RegionInfo regionInfo ) 288 public static RegionProfileData FromRegionInfo(RegionInfo regionInfo)
289 { 289 {
290 if( regionInfo == null ) 290 if (regionInfo == null)
291 { 291 {
292 return null; 292 return null;
293 } 293 }
294 294
295 return Create(regionInfo.RegionID, regionInfo.RegionName, regionInfo.RegionLocX, 295 return Create(regionInfo.RegionID, regionInfo.RegionName, regionInfo.RegionLocX,
296 regionInfo.RegionLocY, regionInfo.ExternalHostName, 296 regionInfo.RegionLocY, regionInfo.ExternalHostName,
297 (uint) regionInfo.ExternalEndPoint.Port, regionInfo.HttpPort, regionInfo.RemotingPort, 297 (uint) regionInfo.ExternalEndPoint.Port, regionInfo.HttpPort, regionInfo.RemotingPort,
298 regionInfo.ServerURI); 298 regionInfo.ServerURI);
299 } 299 }
300 300
301 public static RegionProfileData Create(UUID regionID, string regionName, uint locX, uint locY, string externalHostName, uint regionPort, uint httpPort, uint remotingPort, string serverUri) 301 public static RegionProfileData Create(UUID regionID, string regionName, uint locX, uint locY, string externalHostName, uint regionPort, uint httpPort, uint remotingPort, string serverUri)