aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Null
diff options
context:
space:
mode:
authorDiva Canto2010-07-31 16:40:58 -0700
committerDiva Canto2010-07-31 16:40:58 -0700
commitc4ecbd1fb1ce5450b66a7de41a0e34cc3474e04a (patch)
tree0bdf9adcb49a5de2779bc2dee7c62027d3830c89 /OpenSim/Data/Null
parentImplemented console command "show hyperlinks". (diff)
downloadopensim-SC_OLD-c4ecbd1fb1ce5450b66a7de41a0e34cc3474e04a.zip
opensim-SC_OLD-c4ecbd1fb1ce5450b66a7de41a0e34cc3474e04a.tar.gz
opensim-SC_OLD-c4ecbd1fb1ce5450b66a7de41a0e34cc3474e04a.tar.bz2
opensim-SC_OLD-c4ecbd1fb1ce5450b66a7de41a0e34cc3474e04a.tar.xz
White space from previous commit.
Diffstat (limited to 'OpenSim/Data/Null')
-rw-r--r--OpenSim/Data/Null/NullRegionData.cs58
1 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Data/Null/NullRegionData.cs b/OpenSim/Data/Null/NullRegionData.cs
index 397b32d..f276d10 100644
--- a/OpenSim/Data/Null/NullRegionData.cs
+++ b/OpenSim/Data/Null/NullRegionData.cs
@@ -49,8 +49,8 @@ namespace OpenSim.Data.Null
49 if (Instance == null) 49 if (Instance == null)
50 Instance = this; 50 Instance = this;
51 //Console.WriteLine("[XXX] NullRegionData constructor"); 51 //Console.WriteLine("[XXX] NullRegionData constructor");
52 } 52 }
53 53
54 public List<RegionData> Get(string regionName, UUID scopeID) 54 public List<RegionData> Get(string regionName, UUID scopeID)
55 { 55 {
56 if (Instance != this) 56 if (Instance != this)
@@ -160,37 +160,37 @@ namespace OpenSim.Data.Null
160 m_regionData.Remove(regionID); 160 m_regionData.Remove(regionID);
161 161
162 return true; 162 return true;
163 } 163 }
164 164
165 public List<RegionData> GetDefaultRegions(UUID scopeID) 165 public List<RegionData> GetDefaultRegions(UUID scopeID)
166 { 166 {
167 return Get((int)RegionFlags.DefaultRegion, scopeID); 167 return Get((int)RegionFlags.DefaultRegion, scopeID);
168 } 168 }
169 169
170 public List<RegionData> GetFallbackRegions(UUID scopeID, int x, int y) 170 public List<RegionData> GetFallbackRegions(UUID scopeID, int x, int y)
171 { 171 {
172 return Get((int)RegionFlags.FallbackRegion, scopeID); 172 return Get((int)RegionFlags.FallbackRegion, scopeID);
173 } 173 }
174 174
175 public List<RegionData> GetHyperlinks(UUID scopeID) 175 public List<RegionData> GetHyperlinks(UUID scopeID)
176 { 176 {
177 return Get((int)RegionFlags.Hyperlink, scopeID); 177 return Get((int)RegionFlags.Hyperlink, scopeID);
178 } 178 }
179 179
180 private List<RegionData> Get(int regionFlags, UUID scopeID) 180 private List<RegionData> Get(int regionFlags, UUID scopeID)
181 { 181 {
182 if (Instance != this) 182 if (Instance != this)
183 return Instance.Get(regionFlags, scopeID); 183 return Instance.Get(regionFlags, scopeID);
184 184
185 List<RegionData> ret = new List<RegionData>(); 185 List<RegionData> ret = new List<RegionData>();
186 186
187 foreach (RegionData r in m_regionData.Values) 187 foreach (RegionData r in m_regionData.Values)
188 { 188 {
189 if ((Convert.ToInt32(r.Data["flags"]) & regionFlags) != 0) 189 if ((Convert.ToInt32(r.Data["flags"]) & regionFlags) != 0)
190 ret.Add(r); 190 ret.Add(r);
191 } 191 }
192 192
193 return ret; 193 return ret;
194 } 194 }
195 } 195 }
196} \ No newline at end of file 196} \ No newline at end of file