Files
UnrealEngine/Engine/Source/Programs/Horde/HordeServer.Shared/ConfigVersion.cs
2025-05-18 13:04:45 +08:00

41 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace HordeServer
{
#pragma warning disable CA1027 // Mark enums with FlagsAttribute
#pragma warning disable CA1069 // Enum member 'Latest' has same value as ...
/// <summary>
/// Global version number for running the server. As new features are introduced that require data migrations, this version number indicates the backwards compatibility functionality that must be enabled.
/// When adding a new version here, also add a message to ConfigService.CreateSnapshotAsync describing the steps that need to be taken to upgrade the deployment.
/// </summary>
public enum ConfigVersion
{
/// <summary>
/// Not specified
/// </summary>
None,
/// <summary>
/// Initial version number
/// </summary>
Initial,
/// <summary>
/// Ability to add/remove pools via the REST API is removed. Pools should be configured through globals.json instead.
/// </summary>
PoolsInConfigFiles,
/// <summary>
/// One after the l`ast defined version number
/// </summary>
LatestPlusOne,
/// <summary>
/// Latest version number
/// </summary>
Latest = LatestPlusOne - 1,
}
#pragma warning restore CA1069
#pragma warning restore CA1027
}