Allow estate config files to specify a specific EstateID. Defaults to 0 if not specified which uses auto increment id as current behaviour.

This commit is contained in:
Alicia Raven
2020-12-15 17:05:30 +00:00
parent 73d33aee32
commit a969797512
10 changed files with 81 additions and 38 deletions

View File

@@ -88,9 +88,9 @@ namespace OpenSim.Services.EstateService
return m_database.LoadEstateSettings(estateID);
}
public EstateSettings CreateNewEstate()
public EstateSettings CreateNewEstate(int estateID = 0)
{
return m_database.CreateNewEstate();
return m_database.CreateNewEstate(estateID);
}
public List<EstateSettings> LoadEstateSettingsAll()