PreferenceUnavailableMode.cs 597 B

123456789101112131415161718192021
  1. namespace Content.Shared.Preferences
  2. {
  3. /// <summary>
  4. /// Specifies behavior when none of the jobs you want are available at round start.
  5. /// </summary>
  6. public enum PreferenceUnavailableMode
  7. {
  8. // These enum values HAVE to match the ones in DbPreferenceUnavailableMode in Server.Database.
  9. /// <summary>
  10. /// Stay in the lobby (if the lobby is enabled).
  11. /// </summary>
  12. StayInLobby = 0,
  13. /// <summary>
  14. /// Spawn as overflow role if preference unavailable.
  15. /// </summary>
  16. SpawnAsOverflow,
  17. }
  18. }