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

@@ -50,12 +50,12 @@ namespace OpenSim.Services.Interfaces
EstateSettings LoadEstateSettings(int estateID);
/// <summary>
/// Create a new estate.
/// Create a new estate. Zero estateID for auto increment id
/// </summary>
/// <returns>
/// A <see cref="EstateSettings"/>
/// </returns>
EstateSettings CreateNewEstate();
EstateSettings CreateNewEstate(int estateID = 0);
/// <summary>
/// Load/Get all estate settings.
@@ -74,7 +74,7 @@ namespace OpenSim.Services.Interfaces
/// <summary>
/// Get estate IDs.
/// </summary>
/// <param name="search">Name of estate to search for. This is the exact name, no parttern matching is done.</param>
/// <param name="search">Name of estate to search for. This is the exact name, no pattern matching is done.</param>
/// <returns></returns>
List<int> GetEstates(string search);