Adds preference unavailable setting to profiles.

This commit is contained in:
Pieter-Jan Briers
2020-01-19 18:33:22 +01:00
parent 77367345b6
commit fc2d53eb4f
7 changed files with 113 additions and 26 deletions

View File

@@ -0,0 +1,20 @@
namespace Content.Shared.Preferences
{
/// <summary>
/// Specifies behavior when none of the jobs you want are available at round start.
/// </summary>
public enum PreferenceUnavailableMode
{
// These enum values HAVE to match the ones in DbPreferenceUnavailableMode in Server.Database.
/// <summary>
/// Stay in the lobby (if the lobby is enabled).
/// </summary>
StayInLobby = 0,
/// <summary>
/// Spawn as overflow role if preference unavailable.
/// </summary>
SpawnAsOverflow,
}
}