mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
add gridservice GetOnlineRegions()
This commit is contained in:
@@ -402,6 +402,11 @@ namespace OpenSim.Data.MySQL
|
||||
return Get((int)RegionFlags.Hyperlink, scopeID);
|
||||
}
|
||||
|
||||
public List<RegionData> GetOnlineRegions(UUID scopeID)
|
||||
{
|
||||
return Get((int)RegionFlags.RegionOnline, scopeID);
|
||||
}
|
||||
|
||||
private List<RegionData> Get(int regionFlags, UUID scopeID)
|
||||
{
|
||||
string command = "select * from `" + m_Realm + "` where (flags & " + regionFlags.ToString() + ") <> 0";
|
||||
|
||||
Reference in New Issue
Block a user